Skip to main content
KetQat

Appearance

Algorithm · intermediate

Quantum phase estimation

Estimates the eigenphase of a unitary on a supplied eigenvector by applying controlled powers U^(2^k) to a register of t control qubits prepared in uniform superposition, then an inverse quantum Fourier transform and a measurement; uses 2^t - 1 controlled applications of U.

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.

Input. A unitary UU on a target register, given through controlled applications; a target state ∣u⟩\ket{u}; the number tt of control qubits. Write T=2tT = 2^t.

Procedure.

  1. Prepare the control register in ∣0⟩⊗t\ket{0}^{\otimes t} and apply H⊗tH^{\otimes t}, giving T−1/2∑k=0T−1∣k⟩T^{-1/2}\sum_{k=0}^{T-1}\ket{k}.
  2. For s=0,…,t−1s = 0, \dots, t-1, apply controlled-U2sU^{2^{s}} with control the control qubit of weight 2s2^{s} (qubit t−1−st-1-s in the big-endian convention) and target the target register.
  3. Apply the inverse QFT FT†F_T\dagg to the control register.
  4. Measure the control register in the computational basis, obtaining an integer m∈{0,…,T−1}m \in \{0, \dots, T-1\}, and output φ~=m/T\tilde\varphi = m/T.
Quantum circuit on 4 wires (c0, c1, c2, u). step 1: H on c0; H on c1; H on c2. step 2: U on c2, u. step 3: U^2 on c1, u. step 4: U^4 on c0, u. step 5: QFT† on c0, c1, c2. step 6: measure c0; measure c1; measure c2.c0c1c2uHHHUU^2U^4QFT†
Phase estimation with three control qubits c0, c1, c2 (c0 most significant) and target register u. Each control is put in superposition, controls a power of U whose exponent is its binary weight, and the controls then pass through an inverse QFT and are measured.

Why it works. If the target is an eigenvector, controlled-U2sU^{2^s} leaves it unchanged and multiplies the ∣1⟩\ket{1} component of its control by e2πi 2sφe^{2\pi i\, 2^{s}\varphi} (phase kickback). After step 2 the registers are

(1T∑k=0T−1e2πi φk∣k⟩)⊗∣u⟩.\Big(\frac{1}{\sqrt{T}} \sum_{k=0}^{T-1} e^{2\pi i\, \varphi k}\ket{k}\Big) \otimes \ket{u} .

If TφT\varphi is an integer m0m_0, this control state is exactly FT∣m0⟩F_T\ket{m_0}, so step 3 returns ∣m0⟩\ket{m_0} and the output is exact. Otherwise the outcome distribution is the phase estimation kernel, concentrated near TφT\varphi; its accuracy is quantified in the accuracy theorem.

Superpositions. If the target is ∑scs∣us⟩\sum_s c_s \ket{u_s} with U∣us⟩=e2πiφs∣us⟩U\ket{u_s} = e^{2\pi i\varphi_s}\ket{u_s}, the eigenvectors are orthogonal, so the outcome distribution is the mixture with weights ∣cs∣2\lvert c_s\rvert^2 of the distributions for each φs\varphi_s. After outcome mm the target is proportional to ∑scsαm(φs)∣us⟩\sum_s c_s \alpha_m(\varphi_s)\ket{u_s}, where αm(φ)\alpha_m(\varphi) is the amplitude of ∣m⟩\ket{m} for a single eigenphase; it is close to one eigenvector when the eigenphases are separated by much more than 1/T1/T.

Cost. tt Hadamards, one inverse QFT on tt qubits (O(t2)O(t^2) gates, or fewer approximately), and controlled powers amounting to ∑s<t2s=T−1\sum_{s<t} 2^{s} = T - 1 controlled applications of UU when each power is implemented by repetition. When U2sU^{2^s} can be implemented directly at lower cost, as for modular multiplication in Shor's algorithm, the cost is much smaller.

The eigenvalue-measurement idea is due to Kitaev; the form with an inverse QFT is that of Cleve, Ekert, Macchiavello and Mosca, and section 5.2 of Nielsen and Chuang is a textbook account.

Holds when

  • A controlled version of UU (with a fixed global phase) is available as a black box or circuit.
  • The target register is prepared in an eigenvector ∣u⟩\ket{u} with U∣u⟩=e2πiφ∣u⟩U\ket{u} = e^{2\pi i\varphi}\ket{u}, φ∈[0,1)\varphi \in [0,1), or in a superposition of eigenvectors.
Mentions
Mentioned in

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. A. Yu. Kitaev (1995). Quantum measurements and the Abelian stabilizer problem. arXiv:quant-ph/9511026
  2. Richard Cleve, Artur Ekert, Chiara Macchiavello, Michele Mosca (1998). Quantum algorithms revisited. Proceedings of the Royal Society A 454, 339-354. doi:10.1098/rspa.1998.0164arXiv:quant-ph/9708016
  3. 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 with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Procedure, phase kickback state, exactness when T phi is an integer, the circuit diagram (weights of c0..c2), cost T - 1 controlled-U and the superposition case re-derived; the inverse-QFT output distribution checked numerically (pure-Python simulation, t = 1..6, random phases). Compared with Cleve-Ekert-Macchiavello-Mosca, arXiv:quant-ph/9708016, Section 5 (phase estimation via the QFT, eqs. 5.1-5.3) and Kitaev arXiv:quant-ph/9511026 abstract (eigenvalue measurement); Nielsen-Chuang Section 5.2 via the publisher's table of contents.

    The record said that after measuring, the target is '(close to) the corresponding eigenvector' for a superposition input; that fails when eigenphases are within about 1/T. Replaced with the exact post-measurement state and the separation condition.

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 07310982d8f7c1d7. Source file knowledge/records/algorithm/quantum-phase-estimation.md in the content repository (readable there once it is public).