The Phase Estimation Problem
Every unitary operator has eigenvalues that sit on the complex unit circle. That is not an accident — it is a direct consequence of unitarity. If is unitary and is one of its eigenvectors, the eigenvalue equation reads
The real number is called the phase (or eigenphase) of for that eigenvector. Estimating from a quantum circuit — to as many bits of precision as needed — is the Quantum Phase Estimation (QPE) problem.
Why the phase matters
The phase encodes information that is otherwise extremely hard to extract classically. Several landmark quantum algorithms reduce to phase estimation:
- Shor's factoring algorithm uses QPE to find the period of a modular-exponentiation function. The period lets you factor large integers.
- Quantum chemistry simulations use QPE to read out molecular ground-state energies encoded as eigenphases of a time-evolution unitary .
- Grover's algorithm can be analysed through the eigenphases of the Grover iterate.
In each case the key computational step is: given black-box access to controlled-, and given an eigenstate , estimate to bits.
Setting up the problem precisely
Before writing any circuit it helps to fix what we are given and what we want:
Given:
- A unitary acting on qubits, accessible as a gate (or a family of controlled- gates).
- An eigenstate of , or a state that has significant overlap with at least one eigenstate.
- A desired precision of bits.
Goal: Produce a classical -bit string such that with probability at least for some small .
The remarkable fact is that a quantum circuit can accomplish this using only ancilla ("counting") qubits and calls to controlled powers of . A classical algorithm that queries a unitary black box cannot extract phases at all — it can only learn action on specific states.
The circuit idea at a glance
The QPE circuit has three conceptual stages.
Stage 1 — Superpose the counting register. Apply to ancilla qubits initialised to . This creates the uniform superposition
Stage 2 — Kick back the phase. Use each ancilla qubit to control . Because is an eigenstate, the controlled unitary does not entangle the two registers in amplitude — instead it imprints a phase factor onto the component of ancilla qubit . After all controlled powers, the counting register holds
This is precisely the Quantum Fourier Transform of the computational basis state (when is exactly representable in bits).
Stage 3 — Invert the QFT. Apply the inverse QFT to the counting register. The interference pattern collapses onto the state , so a computational-basis measurement gives the -bit binary expansion of deterministically (or near-deterministically when is not exactly representable).
The coming lessons build each stage in code. The present lesson's job is to make the goal clear: read the eigenphase of a unitary out of the interference pattern left by phase kickback, undone by the inverse QFT.
A worked example with numbers
Suppose (the phase gate, ) and we want the phase of its eigenstate . The true eigenphase is .
With ancilla qubits the counting register after stage 2 holds
The inverse QFT of this four-element superposition is exactly (binary for , which encodes ). Measurement gives 01 with certainty, and we read off . The precision is exactly two bits, as promised.
If we had used only ancilla qubit, the state would fall halfway between the two representable values ( and ), yielding each with probability — a useful reminder that precision is controlled entirely by how many ancilla qubits you allocate.
Summary
The Quantum Phase Estimation problem asks: given and an eigenstate , estimate the eigenphase such that . The answer is a circuit that combines Hadamard superposition, phase kickback through controlled- powers, and the inverse QFT. Each additional bit of precision requires one more ancilla qubit and one more application of . In the next lessons you will implement each component, culminating in a complete QPE circuit.
Sign in on the full site to ask questions and join the discussion.