Quantum Algorithms Database

Quantum Phase Estimation (QPE)

Estimates the eigenvalue (phase) associated with a quantum operation, a critical building block for many other quantum algorithms.

Last reviewed September 30, 2026. Check the linked sources for anything that may have changed since.

Year

1995 (Kitaev); 1998 (QFT-based version)

Inventor(s)

Alexei Kitaev; refined by Cleve, Ekert, Macchiavello, and Mosca

Speedup Type

Exponential Speedup

Difficulty

★★★★☆

Overview

Quantum phase estimation, or QPE, measures an eigenvalue of a unitary operator. If U is a quantum operation and the state u is an eigenvector, so that U acting on u gives e to the power 2 pi i phi times u, then QPE returns a binary estimate of the phase phi. With t ancilla qubits it reaches precision of about 2 to the minus t.

QPE is arguably the most important subroutine in quantum computing. It sits inside Shor's algorithm, where the unitary is modular multiplication, and inside quantum chemistry, where the unitary is the evolution under a molecular Hamiltonian and the phase is the molecule's energy. It also powers the HHL algorithm for linear systems and many quantum counting and sampling methods.

The problem

Determining the precise phase associated with an eigenstate of a unitary quantum operation.

History

Alexei Kitaev introduced the idea in 1995 in a paper on the abelian stabilizer problem, using a sequence of measurements to estimate a phase one bit at a time. In 1998 Richard Cleve, Ekert, Macchiavello, and Mosca published the version most textbooks use today, which applies controlled powers of U to a register of ancilla qubits and then performs an inverse quantum Fourier transform.

In 2005, Aspuru-Guzik, Dutoi, Love, and Head-Gordon showed that QPE can compute molecular energies, which launched the field of quantum computational chemistry. Since then, researchers have worked to cut the cost of QPE with iterative variants that use a single ancilla, Bayesian phase estimation, and qubitization methods that reduce the number of gates. Small QPE experiments have been run on photons, ions, and superconducting qubits since 2007.

Intuition

The idea behind QPE is phase kickback. If you apply a controlled version of U to a control qubit in superposition and a target in an eigenstate, the eigenvalue phase appears on the control qubit as a relative phase between its 0 and 1 components. The control qubit then carries one bit of information about the phase.

Using t control qubits, each controlling U raised to successive powers of two, the controls together hold a quantum Fourier transform of the phase. Applying the inverse QFT converts them into a binary number that approximates phi. The j-th qubit effectively measures the phase with resolution 2 to the minus j, and combining them gives resolution 2 to the minus t.

The cost of precision grows like 2 to the t applications of U in the standard version, which matches the Heisenberg limit: precision proportional to the inverse of the total evolution time. That is a quadratic improvement over statistical estimation, where error shrinks only as the inverse square root of the number of repetitions.

How it works

Combines controlled application of the unitary operation with the inverse Quantum Fourier Transform to extract the phase to high precision.

  1. Prepare a register of t ancilla qubits in the state 0 and a target register in an eigenstate u of U, or in a state with large overlap with it.
  2. Apply Hadamard gates to all ancilla qubits to create a uniform superposition.
  3. For each ancilla qubit j, apply a controlled U raised to the power 2 to the j to the target register.
  4. Apply the inverse quantum Fourier transform to the ancilla register.
  5. Measure the ancilla register to obtain an integer m, and report the phase estimate m divided by 2 to the t.
  6. If the target is a superposition of eigenstates, the measurement returns one of the eigenvalues with probability equal to the squared overlap, and the target collapses to the corresponding eigenvector.

Worked example

Take U to be a single-qubit phase gate with U acting on the state 1 as multiplication by e to the power 2 pi i times 3 over 8, so phi equals 3 over 8. With t = 3 ancilla qubits, the controlled operations produce phases that the inverse QFT converts exactly to the binary string 011, which equals 3 over 8. The measurement returns 011 with probability 1.

If phi were 0.3, which is not an exact multiple of 1 over 8, the output would be distributed over the nearest values 0.25 and 0.375, with the most likely one being 0.25. Adding more ancilla qubits improves precision, and with t = n + log of 1 over epsilon qubits the estimate is correct to n bits with failure probability below epsilon.

Complexity and resources

Precision2 to the minus t using t ancilla qubits
Applications of UAbout 2 to the t, matching the Heisenberg limit
Ancilla qubits for n-bit accuracyAbout n plus log of 1 over epsilon for failure probability epsilon
Success probabilityAt least 4 over pi squared, about 0.81, for the nearest estimate with t qubits; higher with extra qubits
RequirementAn eigenstate or a state with good overlap, and the ability to implement controlled powers of U

Hardware needs

Long coherent circuits: the controlled U to the power 2 to the j gates make the circuit depth grow exponentially with the precision.

Error correction for useful chemistry problems, with logical qubits in the hundreds to thousands depending on the molecule.

Preparation of an initial state that overlaps well with the target eigenstate, which is a major challenge for chemistry.

Real-world impact

Used inside Shor's Algorithm, quantum chemistry simulations, and the HHL algorithm for solving linear systems — a true workhorse subroutine.

Applications

Quantum chemistry: computing ground and excited state energies of molecules and materials.

Shor's algorithm, where QPE on modular multiplication yields the period.

The HHL linear system solver, quantum counting, and amplitude estimation.

Metrology tasks that measure physical parameters near the Heisenberg limit.

Limitations

  • It needs deep circuits and fault tolerance, so it is not practical on current noisy devices.
  • Success depends on preparing a state with large overlap with the desired eigenstate.
  • Controlled powers of U can be expensive; for Hamiltonian simulation, each requires a sophisticated implementation.

Common misconceptions

  • QPE does not find the eigenvector, only the eigenvalue, although the target register ends up in the corresponding eigenvector.
  • It does not give a free exponential speedup for chemistry. The overlap problem and the circuit cost are significant obstacles.

How it compares

The variational quantum eigensolver is a near-term alternative that uses short circuits and classical optimization but has no accuracy guarantee.

Iterative phase estimation reaches the same precision with one ancilla qubit, trading qubits for measurements and time.

Compared with quantum counting, which applies QPE to a Grover operator, QPE here is the general-purpose tool.

Why it matters

QPE is the shared core of the most valuable fault-tolerant quantum algorithms. Whenever a company says a quantum computer will compute chemistry energies exactly or break RSA, QPE or one of its descendants is inside.

Its Heisenberg-limited scaling is also a rare provable advantage in estimation tasks, and the resources required for QPE are the main input to cost estimates for useful quantum chemistry.

Two papers that define the idea

Phase estimation has two classic references that this page opened. Alexei Kitaev's 'Quantum measurements and the Abelian Stabilizer Problem' (arXiv quant-ph/9511026) presents a polynomial-time quantum algorithm for the Abelian stabilizer problem, which includes factoring and the discrete logarithm, and relies on a procedure for measuring an eigenvalue of a unitary operator. The same procedure yields a polynomial quantum Fourier transform for any finite Abelian group.

Cleve, Ekert, Macchiavello and Mosca's 'Quantum Algorithms Revisited' (arXiv quant-ph/9708016) argues that quantum algorithms work by interference among computational paths, amplifying correct results and cancelling incorrect ones. Treating quantum computation as multi-particle interference reveals a shared structure, and the authors show how several known algorithms relate to different forms of phase estimation.

Taken together, they give a useful way to think: phase estimation is the common subroutine, and many famous algorithms are special cases or close relatives.

What the algorithm computes

Given a unitary operator U and an eigenvector |u> with U|u> = e^(2 pi i phi)|u>, phase estimation finds phi to n bits of precision. It uses a register of n control qubits, each controlling a power of U (U, U^2, U^4 and so on), which writes the phase into the control register in a Fourier-transformed form. An inverse quantum Fourier transform then converts that into a binary number that can be measured.

The precision grows with the number of control qubits, and the cost grows too, since reaching n bits requires applying U about 2^n times in total. That is why high-precision phase estimation needs long coherent circuits, which is hard on noisy hardware and the reason shallower variational methods exist.

  • Input: a unitary U and a state that is (or overlaps with) an eigenvector.
  • Output: the eigenphase phi to n bits, with some probability of error that can be reduced with extra qubits.
  • Key ingredients: controlled powers of U and the inverse quantum Fourier transform.
  • Cost: roughly 2^n applications of U for n bits of precision.

Where it is used

Shor's algorithm is period finding, which can be phrased as phase estimation of a modular-multiplication operator. HHL uses phase estimation to read out the eigenvalues of a matrix. Quantum chemistry proposes phase estimation on the molecular Hamiltonian's time-evolution operator to obtain ground-state energies with guaranteed precision, which is the long-term alternative to VQE. Quantum counting and amplitude estimation are phase estimation applied to the Grover iteration.

A practical point on the chemistry use case: phase estimation gives the energy of whichever eigenstate your input state overlaps with. If the input has poor overlap with the ground state, the success probability is low. That is why high-quality state preparation is an active research area, and why VQE is expected to supply starting states for phase estimation on future hardware.

Iterative variants for smaller machines

Kitaev's style of procedure can be run with a single control qubit reused many times, measuring and feeding the result forward. This iterative form trades extra classical processing for far fewer qubits, and it is the version that fits early fault-tolerant hardware best. This site has a separate page on iterative phase estimation.

Frequently asked questions

What does quantum phase estimation do?

It estimates the phase, or equivalently the eigenvalue, of an eigenstate of a unitary operator using ancilla qubits and an inverse quantum Fourier transform.

Why is it important?

It is a building block of Shor's algorithm, quantum chemistry simulations, HHL, and quantum counting.

How accurate is the estimate?

With t ancilla qubits the phase is determined to about t bits, with a failure probability that decreases as extra qubits are added.

Can I run QPE on a current device?

Only for tiny examples. Useful problems require fault-tolerant hardware.

What is iterative phase estimation?

A variant that estimates the phase one bit at a time using a single ancilla qubit and classical feedback, reducing qubit count at the cost of more sequential steps.

Related algorithms

References and further reading

Sources opened and checked on December 1, 2026. Resource estimates and claims change, so check the originals.

  1. Quantum measurements and the Abelian Stabilizer Problem (arXiv (A. Yu. Kitaev)) Opened. Source for the eigenvalue-measurement procedure and the Abelian-group Fourier transform.
  2. Quantum Algorithms Revisited (arXiv (Cleve, Ekert, Macchiavello, Mosca)) Opened. Source for the interference view and the link between algorithms and phase estimation.
  3. A variational eigenvalue solver on a quantum processor (arXiv (Peruzzo et al.)) Opened. Source for phase estimation's coherence requirement versus VQE.

← Back to Algorithms Database