Quantum Outpost

Algorithm Zoo · Primitives

Quantum Fourier Transform

Also known as: QFT

First described: Coppersmith (1994), used by Shor (1994), Kitaev (1995), 1994

Status: Proven Maturity: Production primitive Speedup: Exponential in N (with caveats — see verdict)

The problem

Apply the discrete Fourier transform to a quantum state's amplitude vector.

QFT|x⟩ = (1/√N) Σ_y e^{2πixy/N} |y⟩. Implemented in O(n²) gates (or O(n log n) with approximate gates) on n = log₂(N) qubits — exponentially shallower than the O(N log N) classical FFT.

Best classical

O(N log N) classical FFT — extremely fast and used everywhere.

Quantum complexity

O(n²) gates (exact), O(n log n) (approximate to constant ε)

Our verdict

The most important quantum subroutine and the most misunderstood. QFT is not 'a fast Fourier transform' — it's a basis change. Its power comes from coupling with phase estimation to extract period information. Anywhere your algorithm needs period-finding or eigenphase-readout, QFT is the engine.

When to use it

When not to use it

Classical baseline

Classical FFT is one of the most-engineered algorithms in human history (FFTW, MKL, cuFFT). For any task that needs the Fourier coefficients classically, classical FFT wins by enormous constants.

Hardware cost

n(n+1)/2 controlled-phase gates plus n Hadamards. Controlled-phases with tiny rotations are the practical pain point — approximate QFT drops the smallest rotations and saves depth.

Key papers

Deep-dive tutorials

Last verified: 2026-05-24

Weekly dispatch

Quantum, for people who already code.

One serious tutorial per week, plus the industry moves that actually matter. No hype, no hand-waving.

Free. Unsubscribe anytime. We will never sell your email.