For a function of period dividing , prepare a uniform superposition of inputs, evaluate the function into a second register, and measure that register. The first register becomes a periodic coset state. Applying the quantum Fourier transform and measuring gives
For the exact sample , reducing
recovers denominator . Thus one sample reveals the full period exactly when is coprime to ; otherwise it reveals only a proper divisor and the algorithm must obtain more information.
Suppose a function has least period and distinct values on distinct period cosets. Two independent Fourier samples have the form with uniform . The displayed candidate is , so exact recovery occurs when no prime divisor of divides both residues. The Chinese remainder theorem gives probability , using the Euler product. Unlike a single-sample coprimality probability, this bound is uniformly greater than one half. A candidate-period test makes successful recovery heralded when such a test is available.
Suppose a function on has least period and is injective on each period. A Fourier sample gives the candidate denominator . If equality of function values can be tested efficiently, then is the full period exactly when , so each successful run is certified. A sample succeeds with probability , and an inverse-polylogarithmic lower bound for this ratio permits amplification to constant success probability with polynomially many repetitions.
The function on has period four. Measuring function value in its uniform input-output state leaves . The quantum Fourier transform modulo twelve then returns each of with probability .

Articles by others on the same topic (0)

There are currently no matching articles.