Skip to main content
KetQat

Appearance

Proof · intermediate

Proof of the accuracy bounds for phase estimation

Elementary bounds on the Fejér kernel - sin x >= 2x/pi below pi/2 and |sin pi x| >= 2|x| below 1/2 - give the 4/pi^2 bound for the nearest integer and a 1/(2(e-1)) tail bound, which is then solved for the number of control qubits.

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.

By the outcome distribution, the measured integer mm has amplitude αm=T−1∑k=0T−1e2πikδm\alpha_m = T^{-1}\sum_{k=0}^{T-1} e^{2\pi i k\delta_m} with δm=φ−m/T\delta_m = \varphi - m/T, and ∣αm∣2=sin⁡2(πTδm)/(T2sin⁡2(πδm))\lvert\alpha_m\rvert^2 = \sin^2(\pi T\delta_m)/(T^2\sin^2(\pi\delta_m)). Both depend on δm\delta_m only modulo 1. Two elementary inequalities are used: for 0≤x≤π/20 \le x \le \pi/2, sin⁡x≥2x/π\sin x \ge 2x/\pi (concavity of sin⁡\sin on [0,π][0,\pi]); and for ∣x∣≤1/2\lvert x\rvert \le 1/2, ∣sin⁡πx∣≥2∣x∣\lvert\sin \pi x\rvert \ge 2\lvert x\rvert (the same inequality with x↦πxx \mapsto \pi x).

Part 1. If Tφ=m0∈ZT\varphi = m_0 \in \Z then δm0=0\delta_{m_0} = 0 and every term of the sum for αm0\alpha_{m_0} equals 1, so αm0=1\alpha_{m_0} = 1.

Part 2. Choose the representative of δ=δm∗\delta = \delta_{m^\ast} with ∣δ∣≤1/(2T)\lvert\delta\rvert \le 1/(2T). If δ=0\delta = 0 we are in Part 1. Otherwise sin⁡2(πδ)≤(πδ)2\sin^2(\pi\delta) \le (\pi\delta)^2, and πT∣δ∣≤π/2\pi T\lvert\delta\rvert \le \pi/2 gives sin⁡2(πTδ)≥(2T∣δ∣)2\sin^2(\pi T\delta) \ge (2T\lvert\delta\rvert)^2. Hence

Pr⁡[m=m∗]≥4T2δ2T2 π2δ2=4π2.\Pr[m = m^\ast] \ge \frac{4T^2\delta^2}{T^2\,\pi^2\delta^2} = \frac{4}{\pi^2} .

Part 3. Write Δ=φ−b/T∈[0,1/T)\Delta = \varphi - b/T \in [0, 1/T) and label outcomes by m=b+ℓm = b + \ell modulo TT with ℓ∈{−T/2+1,…,T/2}\ell \in \{-T/2 + 1, \dots, T/2\} (for T≥2T \ge 2), so that ∣m−b∣T=∣ℓ∣\lvert m - b\rvert_T = \lvert\ell\rvert. Then δm=Δ−ℓ/T\delta_m = \Delta - \ell/T, and this representative satisfies ∣δm∣≤1/2\lvert\delta_m\rvert \le 1/2: for ℓ≥1\ell \ge 1, −1/2≤δm<0-1/2 \le \delta_m < 0; for ℓ≤0\ell \le 0, 0≤δm<1/T+(T/2−1)/T=1/20 \le \delta_m < 1/T + (T/2 - 1)/T = 1/2. Bounding the numerator of the amplitude by ∣1−e2πiTδm∣≤2\lvert 1 - e^{2\pi i T\delta_m}\rvert \le 2 and the denominator by ∣1−e2πiδm∣=2∣sin⁡πδm∣≥4∣δm∣\lvert 1 - e^{2\pi i\delta_m}\rvert = 2\lvert\sin\pi\delta_m\rvert \ge 4\lvert\delta_m\rvert,

∣αm∣≤2T⋅4∣δm∣=12∣TΔ−ℓ∣.\lvert\alpha_m\rvert \le \frac{2}{T \cdot 4\lvert\delta_m\rvert} = \frac{1}{2\lvert T\Delta - \ell\rvert} .

Since 0≤TΔ<10 \le T\Delta < 1: for ℓ≥1\ell \ge 1, ∣TΔ−ℓ∣>ℓ−1\lvert T\Delta - \ell\rvert > \ell - 1; for ℓ≤−1\ell \le -1, ∣TΔ−ℓ∣≥∣ℓ∣\lvert T\Delta - \ell\rvert \ge \lvert\ell\rvert. Therefore, for e≥2e \ge 2,

Pr⁡[∣ℓ∣>e]≤14∑ℓ=e+1∞1(ℓ−1)2+14∑ℓ=e+1∞1ℓ2≤12∑j=e∞1j2≤12∫e−1∞dxx2=12(e−1),\Pr\big[\lvert\ell\rvert > e\big] \le \frac14 \sum_{\ell = e+1}^{\infty} \frac{1}{(\ell-1)^2} + \frac14 \sum_{\ell = e+1}^{\infty} \frac{1}{\ell^2} \le \frac12 \sum_{j = e}^{\infty} \frac{1}{j^2} \le \frac12 \int_{e-1}^{\infty} \frac{dx}{x^2} = \frac{1}{2(e-1)} ,

where the middle step uses 1/ℓ2≤1/(ℓ−1)21/\ell^2 \le 1/(\ell-1)^2 and the last uses 1/j2≤∫j−1jdx/x21/j^2 \le \int_{j-1}^{j} dx/x^2.

Part 4. Put e=2t−n−1e = 2^{t-n} - 1. The hypothesis on tt gives 2t−n≥2+1/(2ε)>22^{t-n} \ge 2 + 1/(2\varepsilon) > 2, and since 2t−n2^{t-n} is a power of 2, e≥3e \ge 3. If ∣m−b∣T≤e\lvert m - b\rvert_T \le e then

∣mT−φ∣1≤∣m−b∣TT+Δ<eT+1T=2t−n2t=2−n.\Big\lvert \frac{m}{T} - \varphi \Big\rvert_1 \le \frac{\lvert m - b\rvert_T}{T} + \Delta < \frac{e}{T} + \frac{1}{T} = \frac{2^{t-n}}{2^{t}} = 2^{-n} .

By Part 3 this fails with probability at most 1/(2(e−1))=1/(2(2t−n−2))1/(2(e-1)) = 1/(2(2^{t-n} - 2)), which is at most ε\varepsilon exactly when 2t−n≥2+1/(2ε)2^{t-n} \ge 2 + 1/(2\varepsilon), the hypothesis. The cost statement follows from ∑s=0t−12s=T−1\sum_{s=0}^{t-1} 2^s = T - 1 and T≤2n+1(2+1/(2ε))T \le 2^{n+1}(2 + 1/(2\varepsilon)) for the smallest admissible tt.

Parts 3 and 4 follow the argument of section 5.2.1 of Nielsen and Chuang, written out here with the representatives made explicit.

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. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667

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)

    Parts 1-4 checked line by line (Fejer-kernel inequalities, representative choice for delta_m, tail sum to 1/(2(e-1)), choice e = 2^(t-n) - 1 and the equivalence with the hypothesis on t); verified numerically for 3000 random phases with t = 2..9: Pr[nearest] >= 4/pi^2 (minimum found 0.4057), tail bound for every e, and the part-4 guarantee for eps in {0.5, 0.25, 0.1, 0.05, 0.01} (numpy script). Nielsen-Chuang is not openly readable, so the cited section was not checked against the book.

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 3e991b5756ef5293. Source file knowledge/records/proof/phase-estimation-accuracy.md in the content repository (readable there once it is public).