With , the quantum Fourier transform over the additive group is
Apply Hadamard gates to to prepare
Reversibly compute the efficiently decidable predicate into an ancillary qubit and measure it. The success probability is , and conditioned on success the first register is exactly
Restart after a failed measurement. After attempts, the probability that all attempts fail is below , so the state is prepared with probability at least using a number of gates polynomial in and .
Write . Applying the phase gate
to qubit contributes . The product of these gates is therefore
Similarly, for and , apply a controlled phase gate
between every pair . The accumulated phase is
The controlled phase gates implement
Prepare in the second register by part (ii), while preserving the first register . Applying the diagonal unitary from part (iii) gives
The preparation can be made coherent using amplitude amplification in place of postselection when this map is needed as a subroutine.
The shift acts on a Fourier state as
Thus is an eigenvector of with eigenphase . Apply the unitary part of exact quantum phase estimation for to a zeroed control register and this Fourier state. It writes the eigenphase label coherently:
Start with and a zeroed second register. Apply the coherent construction from part (a)(iv) to obtain
Now run the inverse of the phase-estimation map from part (b) on the two registers. It erases the first label in both branches:
Discarding the zeroed register leaves the required quantum Fourier transform of the superposition. The coherent use of a computed label followed by its inverse is an uncomputation.

Articles by others on the same topic (0)

There are currently no matching articles.