The hidden subgroup problem for a group is specified by an oracle that hides an unknown subgroup : it is constant on each left coset of and takes distinct values on distinct cosets. The task is to determine , usually by finding a generating set for it.
Put . For ,
Thus is constant on every left coset of and takes different values on different cosets. Its oracle is therefore an oracle for the hidden subgroup problem, and the hidden subgroup is precisely the stabilizer subgroup .