Skip to content
DAH
Wiki/Quantum AlgorithmsAlgorithmMature

Quantum phase estimation

Phase estimation reads out an eigenvalue of a unitary to t bits using controlled powers of it and an inverse Fourier transform; it is the core of Shor's algorithm and of ground-state energy estimation.

On this page14 sections
Why other work relies on it

Fault-tolerant chemistry and materials proposals estimate energies with phase estimation, so its cost and its need for a good initial state decide whether those applications pay off.

A quantum routine that measures the energy levels of a system very precisely; it powers Shor's algorithm and quantum chemistry.

  1. 1Energy appears as a turning phase
  2. 2Apply evolution for doubling times
  3. 3Fourier transform reads off the phase
  4. 4Good starting state needed
  5. 5Precision costs 1/ε, not 1/ε²

Eigenvalues as phases. For a unitary UU (a matrix that preserves vector length, like a rotation), each eigenvector ∣ψ⟩|\psi\rangle satisfies U∣ψ⟩=e2πiφ∣ψ⟩U|\psi\rangle=e^{2\pi i\varphi}|\psi\rangle: applying UU only turns a phase. Phase estimation finds φ\varphi.

How. Put tt helper qubits in superposition. Helper jj controls 2j2^j applications of UU, so the helpers pick up phases φ,2φ,4φ,…\varphi, 2\varphi, 4\varphi,\dots, which encode the binary digits of φ\varphi. An inverse quantum Fourier transform turns these phases into a bit string, and measuring it gives φ\varphi to tt binary digits with good probability.

Precision. Getting φ\varphi to accuracy ε\varepsilon costs about 1/ε1/\varepsilon applications of UU (the Heisenberg limit). Estimating it by repeating a simple measurement would cost about 1/ε21/\varepsilon^2, because statistical error shrinks only like one over the square root of the number of samples.

Energies. For a Hamiltonian HH (the energy operator), use U=e−iHtU=e^{-iHt}, built with Hamiltonian simulation. Its eigenphases are the energies times tt. If the input is not an eigenvector but a mixture, phase estimation returns energy EkE_k with probability equal to the squared overlap of the input with eigenvector kk. So to find the ground-state energy you need a starting state with a decent overlap with the ground state. For strongly correlated molecules this may be hard, and a 2023 review found no evidence yet of a generic exponential advantage for chemistry.

Early-fault-tolerant versions use a single helper qubit and many short runs, trading circuit depth for repetitions.

Engineering analogy. Phase estimation is like measuring a frequency by counting cycles: the longer you watch an oscillator, the more precisely you know its frequency, and the error falls in proportion to the observation time. That is the source of the 1/ε1/\varepsilon cost.

Go deeper

The full technical text.

The primitive

Let UU be a unitary with eigenvector ∣ψ⟩|\psi\rangle, U∣ψ⟩=e2πiφ∣ψ⟩U|\psi\rangle=e^{2\pi i\varphi}|\psi\rangle. Phase estimation puts tt ancilla qubits in uniform superposition, applies U2jU^{2^j} controlled on ancilla jj, and finishes with an inverse quantum Fourier transform. Measuring the ancillas gives the best tt-bit approximation of φ\varphi with probability at least 4/π2≈0.4054/\pi^2\approx 0.405, and a few extra ancillas push the success probability close to one. The method goes back to Kitaev (1995); Cleve, Ekert, Macchiavello and Mosca (1998) gave the now-standard Fourier-transform form.

Precision ε\varepsilon costs O(1/ε)O(1/\varepsilon) total applications of UU, the Heisenberg limit, against O(1/ε2)O(1/\varepsilon^2) for estimating the phase by repeated sampling. In Shor's algorithm, UU is multiplication by aa modulo NN and the phase reveals the order rr.

Energies of molecules and materials

For a Hamiltonian HH, phase estimation on U=e−iHtU=e^{-iHt} (or on a qubitization walk operator, whose eigenphases are arccos⁡(E/λ)\arccos(E/\lambda)) returns an energy. Abrams and Lloyd (1999) proposed this for eigenvalues, and Aspuru-Guzik, Dutoi, Love and Head-Gordon (2005) for molecular energies. If the input state ∣ϕ⟩|\phi\rangle is not an eigenstate, the outcome is EkE_k with probability ∣⟨ψk∣ϕ⟩∣2|\langle\psi_k|\phi\rangle|^2, so finding the ground-state energy needs an initial state with non-negligible overlap with the ground state.

That requirement is the crux. Lee et al. (2023) reviewed the evidence and found no case yet for a generic exponential advantage across chemical space: where good initial states are easy to prepare, classical heuristics also tend to work. Gharibian and Le Gall (2023) made this precise: given a good initial state, estimating a local Hamiltonian's ground energy to constant precision can be done classically, while inverse-polynomial precision is BQP-complete, so the quantum advantage, if any, comes from precision.

Early-fault-tolerant variants

Textbook phase estimation needs many ancillas and deep controlled circuits. Single-ancilla methods keep the Heisenberg scaling with shallower circuits: Kitaev's iterative version, and the method of Lin and Tong (2022), which uses one ancilla and classical post-processing of many short runs to estimate the ground energy and the cumulative spectral distribution.

Cost

For the iron–molybdenum cofactor of nitrogenase (FeMoco), Reiher et al. (2017) gave the first detailed fault-tolerant estimate; qubitization with low-rank and tensor-hypercontraction factorisations of the Hamiltonian (Babbush et al., 2018; Lee et al., 2021) lowered the estimated gate counts substantially. These remain paper estimates for machines that do not exist yet.

Words on this page (7)
Words on this page
eigenvalue
A number λ for which a matrix acting on a vector just scales it by λ.
unitary
A transformation that preserves the length of quantum state vectors; every quantum gate is one.
Hamiltonian
The operator whose eigenvalues are a system's allowed energies.
ground state
The lowest-energy state of a system.
Heisenberg limit
The best possible scaling of precision with resources: error falling like 1/N rather than 1/√N.
Hamiltonian simulation
Building the time evolution of a quantum system as a quantum circuit.
quantum Fourier transform
A quantum discrete Fourier transform that turns phases into readable bits.
New to this? Read first (2)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Understanding map

map of the whole wiki →

What to read before Quantum phase estimation (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then

Open problems & questions

No open problems or questions on this entry.

Progress timeline

  1. Aug 3, 2022
    Evidence review for chemistry

    Lee et al. found no evidence yet of a generic exponential advantage for ground-state energies.

    source
  2. Feb 22, 2021
    Single-ancilla Heisenberg-limited estimation

    Lin and Tong gave a ground-energy estimator with one ancilla and Heisenberg-limited scaling.

    source
  3. May 11, 2016
    FeMoco resource estimate

    Reiher et al. gave the first detailed fault-tolerant cost estimate for a chemistry problem of industrial interest.

    source
  4. Jul 24, 1998
    Eigenvalues by phase estimation

    Abrams and Lloyd proposed phase estimation for eigenvalues of physical Hamiltonians.

    source
  5. Nov 20, 1995
    Phase estimation introduced

    Kitaev's abelian stabilizer paper introduced phase estimation.

    source