Quantum Fourier transform
The quantum Fourier transform changes from basis labels to evenly weighted phase patterns.
How it works
Encode
For a basis input x, every output y has equal magnitude and relative phase 2πxy/N.
Build
Hadamards and controlled phase rotations implement the transform. Swaps fix wire order when needed.
Decode
An inverse QFT converts a phase pattern to a basis label. Non-grid phases distribute weight over several labels.
Equation and quantities
- N · register dimension
- x · input basis label
- y · output basis label
Worked example
Input for gives amplitudes (1, i, −1, −i)/2. A direct basis measurement is uniform even though the phases retain the input information.
Why it matters
QFT and inverse QFT are tools for phase estimation and period finding.
Limits and assumptions
A single measurement cannot read every transformed amplitude. The speed of implementing the transform does not imply fast classical access to all coefficients.
What does applying the inverse QFT to the diagram’s state return?
The basis state .