For a subgroup of a finite abelian group , its annihilator is
These are exactly the linear characters that descend to the quotient group . The character group of a finite abelian group has the same size as the group, so . The annihilator is what abelian hidden-subgroup Fourier sampling measures.
Measure the coset state in the common eigenbasis of the group shift operators. Its overlap is
The character-sum cancellation lemma makes this sum when is trivial on , and zero otherwise. Hence, with the annihilator of a subgroup of a finite abelian group,
Since , this is the uniform distribution on a finite set . The factor has modulus one, so the distribution is independent of . This is abelian hidden-subgroup Fourier sampling.