In this paper, we consider the hidden subgroup problem (HSP) over the class of semi-direct product groups Zn ⋊ Zq. The definition of the semi-direct product depending on the choice of an homomorphism, we first analyze the different possibilities for this homomorphism in function of n and q. Then, we present a polynomial-time quantum algorithm solving the HSP over the groups of the form Zpr ⋊ Zp...