Skip to main content
KetQat

Appearance

Theorem · intermediate

Error bound for the approximate quantum Fourier transform

Deleting from the n-qubit QFT circuit every controlled rotation by an angle below 2 pi / 2^b changes the unitary by at most 2 pi n / 2^b in operator norm, so O(n log(n/epsilon)) gates suffice for accuracy epsilon.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

For an integer bb with 1≤b≤n1 \le b \le n, let F~(b)\tilde F^{(b)} be the unitary implemented by the QFT circuit on nn qubits after every controlled-RkR_k with k>bk > b is deleted. Then

∥F2n−F~(b)∥  ≤  ∑k=b+1n(n−k+1) 2sin⁡ ⁣π2k  <  2πn2b.\big\lVert F_{2^n} - \tilde F^{(b)} \big\rVert \;\le\; \sum_{k=b+1}^{n} (n-k+1)\, 2\sin\!\frac{\pi}{2^{k}} \;<\; \frac{2\pi n}{2^{b}} .

Consequently, for every input state the outcome distributions of a computational-basis measurement after F2nF_{2^n} and after F~(b)\tilde F^{(b)} differ by less than 2πn/2b2\pi n / 2^{b} in total variation distance. Choosing b=⌈log⁡2(2πn/ε)⌉b = \lceil \log_2 (2\pi n/\varepsilon) \rceil (if this exceeds nn, nothing is deleted) gives error at most ε\varepsilon with at most n(b−1)n(b-1) controlled rotations, that is O(nlog⁡(n/ε))O(n \log(n/\varepsilon)) gates.

Truncating the small rotations was proposed by Coppersmith and analysed, including under decoherence, by Barenco, Ekert, Suominen and Törmä; the bound above is the elementary one obtained from the triangle inequality, and those papers give sharper estimates. Cleve and Watrous give circuits of size O(nlog⁡(n/ε))O(n \log(n/\varepsilon)) and depth O(log⁡n+log⁡log⁡(1/ε))O(\log n + \log\log(1/\varepsilon)) for the same accuracy, and an Ω(log⁡n)\Omega(\log n) depth lower bound at constant error.

Holds when

  • N=2nN = 2^n and the exact circuit is the standard QFT circuit with controlled gates Rk=diag⁡(1,e2πi/2k)R_k = \operatorname{diag}(1, e^{2\pi i/2^k}), 2≤k≤n2 \le k \le n.
  • Error is measured in the operator norm; all remaining gates are exact.

Proof

Proof of the approximate QFT error boundMachine-checked

Step 1: errors add. Let U=UT⋯U1U = U_T \cdots U_1 and V=VT⋯V1V = V_T \cdots V_1 be products of unitaries. Then

U−V=∑t=1TUT⋯Ut+1 (Ut−Vt) Vt−1⋯V1,U - V = \sum_{t=1}^{T} U_T \cdots U_{t+1}\, (U_t - V_t)\, V_{t-1} \cdots V_1 ,

because the sum telescopes. Unitaries have norm 1 and the operator norm is submultiplicative, so ∥U−V∥≤∑t∥Ut−Vt∥\lVert U - V \rVert \le \sum_t \lVert U_t - V_t \rVert.

Step 2: one deleted gate. Deleting a gate is the same as replacing it by the identity. The controlled-RkR_k gate is diag⁡(1,1,1,e2πi/2k)\operatorname{diag}(1, 1, 1, e^{2\pi i/2^k}), so

∥controlled-Rk−I∥=∣e2πi/2k−1∣=2sin⁡π2k≤2π2k.\lVert \text{controlled-}R_k - I \rVert = \lvert e^{2\pi i/2^k} - 1 \rvert = 2 \sin\frac{\pi}{2^{k}} \le \frac{2\pi}{2^{k}} .

Step 3: count. In the QFT circuit, stage mm uses RkR_k for 2≤k≤n−m+12 \le k \le n-m+1, so RkR_k occurs in the n−k+1n - k + 1 stages m=1,…,n−k+1m = 1, \dots, n-k+1. Applying Step 1 with Ut=VtU_t = V_t for every kept gate and Step 2 for every deleted one,

∥F2n−F~(b)∥≤∑k=b+1n(n−k+1) 2sin⁡π2k<2πn∑k=b+1∞2−k=2πn2b.\big\lVert F_{2^n} - \tilde F^{(b)} \big\rVert \le \sum_{k=b+1}^{n} (n-k+1)\, 2 \sin\frac{\pi}{2^{k}} < 2\pi n \sum_{k=b+1}^{\infty} 2^{-k} = \frac{2\pi n}{2^{b}} .

The kept rotations number ∑k=2b(n−k+1)≤n(b−1)\sum_{k=2}^{b} (n-k+1) \le n(b-1).

Step 4: measurement statistics. Let ∣ψ⟩\ket{\psi} be any unit vector, ∣u⟩=F2n∣ψ⟩\ket{u} = F_{2^n}\ket{\psi}, ∣v⟩=F~(b)∣ψ⟩\ket{v} = \tilde F^{(b)}\ket{\psi}, and δ=∥∣u⟩−∣v⟩∥≤∥F2n−F~(b)∥\delta = \lVert \ket{u} - \ket{v} \rVert \le \lVert F_{2^n} - \tilde F^{(b)} \rVert. The trace distance of two pure states is 1−∣⟨u∣v⟩∣2\sqrt{1 - \lvert\braket{u}{v}\rvert^2}, and

1−∣⟨u∣v⟩∣2=(1−∣⟨u∣v⟩∣)(1+∣⟨u∣v⟩∣)≤2 (1−Re⁡⟨u∣v⟩)=δ2,1 - \lvert\braket{u}{v}\rvert^2 = (1 - \lvert\braket{u}{v}\rvert)(1 + \lvert\braket{u}{v}\rvert) \le 2\,(1 - \operatorname{Re}\braket{u}{v}) = \delta^2 ,

so the trace distance is at most δ\delta. The total variation distance between the outcome distributions of any measurement is at most the trace distance (it is the trace distance of the post-measurement classical states, and trace distance does not increase under channels). For a mixed input the same bound follows by convexity. Step 1 and Step 4 are the standard error-accumulation arguments of section 4.5.3 of Nielsen and Chuang.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Don Coppersmith (1994). An approximate Fourier transform useful in quantum factoring. IBM Research Report RC 19642 (posted to arXiv in 2002). arXiv:quant-ph/0201067
  2. Adriano Barenco, Artur Ekert, Kalle-Antti Suominen, Päivi Törmä (1996). Approximate quantum Fourier transform and decoherence. Physical Review A 54, 139-146. doi:10.1103/PhysRevA.54.139arXiv:quant-ph/9601018
  3. Richard Cleve, John Watrous (2000). Fast parallel circuits for the quantum Fourier transform. Proceedings of the 41st Annual Symposium on Foundations of Computer Science (FOCS 2000), 526-536. doi:10.1109/SFCS.2000.892140arXiv:quant-ph/0006004

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Bound re-derived (n-k+1 controlled-R_k gates per k, ||R_k - I|| = 2 sin(pi/2^k) < 2 pi/2^k, triangle inequality, geometric sum) and checked numerically: for n = 1..5 and every b the operator norm of F - F~(b) (power iteration) was below the stated sum, and the number of retained rotations was at most n(b-1). The total-variation consequence and the choice of b checked directly. Attributions compared with the abstracts of Coppersmith arXiv:quant-ph/0201067, Barenco-Ekert-Suominen-Torma arXiv:quant-ph/9601018 and Cleve-Watrous arXiv:quant-ph/0006004 (size O(n log(n/eps)), depth O(log n + log log(1/eps)), Omega(log n) depth lower bound at constant error).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision d8fa15042c6c260c. Source file knowledge/records/theorem/approximate-qft-error-bound.md in the content repository (readable there once it is public).