08 / Advanced algorithms · LESSON 17 / 27 · 25 MIN
From the Fourier transform to phase estimation.
Work out binary phase precision and count the controlled powers.
U|u⟩ = exp(2πiφ)|u⟩ φ = 0.101₂ → outcome 101
Encoding the powers
A counting register of m qubits controls U raised to 1, 2, 4, …, 2^(m−1). With an eigenstate |u⟩, phase kickback builds a phase ramp, and the inverse QFT decodes it into an estimate of φ modulo one.
Limited precision
If the phase can be written exactly in m binary digits, the ideal readout is deterministic once wire order is handled. Otherwise the probabilities peak around neighbouring estimates. Three counting bits represent 5/8 exactly as 101.
Accounting for resources
A compact controlled-U²ʲ symbol may conceal exponentially many applications of U. Preparing the eigenstate and implementing those powers must be counted in the cost. This lesson is conceptual; the lab does not claim to run general phase estimation at scale.
TEST YOURSELF
Lesson quiz
Get all 2 questions right to pass. Retry as often as you like.
0/2 answered
Sign in with email or a wallet to check your answers and keep your lesson progress in sync.