Measuring the coset state in the group shift operator eigenbasis samples uniformly from the annihilator of a subgroup of a finite abelian group . Indeed,
so the character-sum cancellation lemma gives probability on and zero elsewhere. The modulus of is one, so the offset has no effect on the distribution.
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.