Writing , the quantum Fourier transform acts on a computational-basis state as
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.
The two registers start in . A quantum Fourier transform on the first and evaluation of give
The first measurement, on the function register, returns . The compatible inputs are , so the normalized state becomes
Apply to the first register and put . Its state is
The geometric sum vanishes unless . Thus this is
up to the unchanged second register. The outcomes each have probability , in accordance with the quantum Fourier transform of a periodic coset state.
For the stated second outcome,
The continued-fraction algorithm therefore returns denominator . Since the numerator is coprime to the true period, exact period recovery from a Fourier sample succeeds, and direct evaluation confirms that the least period is
All steps through the transformed state are the same as in part (c), but the second measurement now gives . The classical fraction is
so reduction or the continued-fraction algorithm proposes denominator . This is not a period, since for example
Equivalently, the sample has and true period , with , so it reveals only . The algorithm does not succeed from this sample and must be repeated.

Articles by others on the same topic (0)

There are currently no matching articles.