← Atlas

Algorithms · Eigenvalue estimation

Quantum phase estimation

The eigenphase-estimation primitive behind chemistry, simulation, and period-finding workflows.

Strong empiricalUpdated

Open on the mapView frozen graph

A small worked example, computed in your browser. It is not a result from this record's papers.

Phase estimation of P(3*pi/4)

3 counting qubits estimating the phase of P(3π/4), which is 2π·3/8 exactly: a phase 3-bit QPE can represent exactly.

q0q1q2q3Step 1 of 4 · XXStep 2 of 4 · Hadamard layer(3)Hadamard layer(3)Step 3 of 4 · Controlled phase powers(3)Controlled phase powers(3)Step 4 of 4 · QFT inverse(3)QFT inverse(3)

Step 1 of 4 · X

Probability of each outcome after this step

  • 1000100%
  1. Puts the target qubit into |1⟩, which is an eigenstate of P(3*pi/4): applying the gate to it multiplies it by a phase and changes nothing else. That is the whole requirement QPE places on its input.

    The whole state moves from 0000 to 1000 — one certain outcome before, one certain outcome after, no superposition either side.

  2. Spreads the 3 counting qubits over all 8 values they can hold at once. Each one will later ask about a different power of the phase.

    Probability spreads from 1 outcome to 8. All 8 are equally likely.

  3. Counting qubit k applies P(3*pi/4) to the target 2^k times, controlled on itself. The target never changes — it is an eigenstate — so the phase it would have picked up is kicked back onto the control instead. This is the step that writes the answer into the register.

    The outcome probabilities do not move at all. What this step changes is phase — 8 distinct relative phases across the state now — which no measurement can see until a later step turns it back into probability.

  4. The inverse Fourier transform reads that phase pattern back out as a binary number. Phase in, bits out.

    Probability gathers from 8 outcomes onto 1. 1011 goes from 12.5% to 100.0%.

Readout The counting register reads 011 = 3 with probability 1: angle/(2π) = 3/8, recovered exactly.

Open in Studio
  • Steps3
  • Wires2
  • RegistersPhase + eigenstate
  • PrecisionBits of phase
  • CoreControlled-U
  • Papers2

A part this method uses, worked through

This page says inverse QFT — here is a concrete, runnable instance of it.

QFT then its inverse, on |0101⟩

4 qubits, starting at |0101⟩, applying the QFT then immediately undoing it.

q0q1q2q3XXQFT(4)QFT inverse(4)

Where it ends up

  • 0101100%

The register reads 0101 again, exactly: the QFT and its inverse cancel, the way any unitary and its adjoint do.

Open this part in Studio

QPE converts an eigenvalue phase into a classical bit string using controlled powers of a unitary and an inverse QFT. It is powerful, but its coherent-depth and state-overlap requirements are much stronger than a small demo suggests.

References

Strong empirical
  • Small-instance agreement
  • Verified by construction
  • Peer-reviewed paper
Method
A single-qubit phase rotation with an exact eigenstate is compared with the inverse-QFT readout.
Result
Pass for the toy phase · practical applications require controlled powers of U and precision budgeting.
Caveat
State preparation overlap, coherent evolution, approximation error, and fault tolerance are first-order constraints.
Quantum measurements and the Abelian Stabilizer Problem ↗
Kind
curated reference
Reviewed by
LeonaQ literature curation pass
License
Public bibliographic link; code is an original reference implementation
phaseeigenvaluechemistrysimulation
  • Molecular and materials spectra
  • Hamiltonian simulation
  • Period finding and cryptographic subroutines

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.