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.
Write and , where is the character group of a finite abelian group. The Fundamental theorem of finitely generated abelian groups writes the finite group as a product of cyclic groups. A character of a cyclic group factor of order is determined by an arbitrary th root of unity, so . This description also shows that the characters separate points: if , a nonzero coordinate of is detected by a character with .
Multiplication by permutes , so
For this forces . For every summand is one. Since , the character-sum cancellation lemma gives
All character values are roots of unity, so inversion here is also complex conjugation. This is the finite-abelian version of character orthogonality.
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.