The distinct values in one period imply that is the least positive period, , and . Write , where and . Use the positive-exponent quantum Fourier transform convention already used in the concept article. The amplitude of first-register value is
By the root-of-unity filter, the inner sum vanishes unless . Define
The distinct give an orthonormal basis of the second register, and the transformed state is
Reindexing modulo shows
Consequently measurement in this common eigenbasis returns each with probability ; the corresponding eigenvalue of is a uniformly sampled th root of unity. A single measured phase reveals the denominator , which need not be . Repeated samples permit exact period recovery from a Fourier sample, for example by taking the least common multiple of their reduced denominators. The simultaneous eigenspaces and their probabilities depend on , not on the particular labels .
Applying the transform twice gives
The root-of-unity filter makes the inner sum equal to exactly when and zero otherwise. Hence
Applying modular negation twice gives
Therefore is an involution. Every one of its eigenvalues satisfies , so its spectrum is contained in , as summarized by the square of the quantum Fourier transform.
A shift-invariant basis is a common eigenbasis of all cyclic shift operators . For the displayed Fourier states, orthonormality follows from the root-of-unity filter:
There are vectors in this orthonormal set in the -dimensional Hilbert space, so they form a basis. Reindexing the finite sum gives
Thus every is simultaneously an eigenvector of every shift, with eigenvalue for .
Summing the eigenvectors and reversing the finite sums gives
The root-of-unity filter makes the inner sum equal to for and zero otherwise. Since ,
Square of the quantum Fourier transform Created 2026-09-24 Updated 2026-09-28
The root-of-unity filter gives
Thus , while the square is an involution whose eigenvalues lie in .