Let . The quantum Fourier transform modulo is the unitary operator
Its images form the Fourier basis.
Changing the summation variable from to gives
Thus the quantum Fourier transform diagonalizes the cyclic shift.
For ,
Consequently the product states
form an eigenbasis, with corresponding eigenvalues
One classical query at any chosen returns only . Every possible slope is compatible with that answer by choosing , so no one-query classical algorithm can determine with certainty.
For the quantum algorithm, let and prepare
Part (b) shows that the single query applies quantum phase kickback:
The unknown intercept contributes only a global phase. Applying to the first register produces , whose computational-basis measurement determines with certainty after one query.
Let on the input register and let on the target register. Both are fixed unitary operators independent of . Conjugating the query by the input shift gives
because the intermediate query is made at . Conjugating by target negation gives
since . Each construction uses exactly once.
Compose the two constructions in part (d) to obtain
using two queries to . For
over , the finite difference is
This is affine with slope . Apply the one-query affine procedure from part (c) to the implemented oracle . It returns with certainty, after which the fixed classical computation
recovers the quadratic coefficient. Since one use of consists of one use each of and , the algorithm makes exactly two calls to the original oracle .

Articles by others on the same topic (0)

There are currently no matching articles.