Lean, informalized

Nielsen & Chuang · Chapter 5, The quantum Fourier transform and its applications · p. 222

Exercise 5.7 - The first stage of phase estimation, on a basis state of the controls and any state of the target

Controlled powers raise a unitary to the controls’ value.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

The first stage of phase estimation couples a register of tt control qubits to a target system through controlled powers U,U2,U4,…,U2t−1U, U^2, U^4, \dots, U^{2^{t-1}} of a unitary UU of the target, one power to each control. The controls start in a computational basis state |j⟩|j\rangle, with 0≤j<2t0 \le j < 2^t, and the target in a state |u⟩|u\rangle. The exercise is to show that the sequence of controlled operations takes |j⟩|u⟩|j\rangle|u\rangle to |j⟩Uj|u⟩|j\rangle U^j|u\rangle.✦ The state |u⟩|u\rangle need not be an eigenstate of UU.

A Quantum System

A quantum system SS is a physical system whose state space is a finite dimensional complex Hilbert space.✦ A pure state |u⟩|u\rangle of SS is a vector of unit norm in the state space of SS, ⟨u|u⟩=1\langle u | u \rangle = 1, determined physically up to a global phase.✦

A unitary UU of SS, the evolution of SS as a closed system, is an operator on the state space of SS with U†U=UU†=I.U^\dagger U = U U^\dagger = I .(1)✦ Acting on a pure state |u⟩|u\rangle of SS, the unitary UU gives the pure state U|u⟩U|u\rangle.✦

The Control Register

For a system SS and a number tt, the register of tt control qubits around SS is the system obtained by composing tt qubits with SS on its left, one at a time: qubit⊗t⊗S=qubit⊗(qubit⊗(t−1)⊗S),qubit⊗0⊗S=S.\mathrm{qubit}^{\otimes t} \otimes S = \mathrm{qubit} \otimes \bigl( \mathrm{qubit}^{\otimes (t-1)} \otimes S \bigr) , \qquad \mathrm{qubit}^{\otimes 0} \otimes S = S .(2)✦ Its wires are labelled 0,…,t−10, \dots, t-1 from the outside in: wire 00 is the outermost, and wire t−1t-1 lies next to the target SS.

The value jj of a bit string b=b0b1⋯bt−1b = b_0 b_1 \cdots b_{t-1} of length tt is the number it writes in binary, with b0b_0 the most significant bit: j=∑k=0t−1bk2t−1−k=2t−1b0+2t−2b1+⋯+bt−1.j = \sum_{k=0}^{t-1} b_k \, 2^{\,t-1-k} = 2^{t-1} b_0 + 2^{t-2} b_1 + \cdots + b_{t-1} .(3)✦

For a bit string bb of length tt with value jj and a pure state |u⟩|u\rangle of SS, the input state |j⟩|u⟩|j\rangle|u\rangle is the pure state of the register (2) with wire kk in the computational basis state |bk⟩|b_k\rangle and the target in |u⟩|u\rangle, |j⟩|u⟩=|b0⟩⊗|b1⟩⊗⋯⊗|bt−1⟩⊗|u⟩.|j\rangle|u\rangle = |b_0\rangle \otimes |b_1\rangle \otimes \cdots \otimes |b_{t-1}\rangle \otimes |u\rangle .(4)✦

For a unitary UU of SS and a number tt of controls, the controlled powers of UU are the unitary Ct(U)C_t(U) of the register in which wire kk controls the power U2t−1−kU^{2^{t-1-k}} acting on the target alone, for each kk from 00 to t−1t-1.✦ The exponent is the weight of the bit on wire kk in (3). With no controls, C0(U)C_0(U) is the identity on SS.

The Claim

Theorem 1. Let UU be a unitary of a quantum system SS, let tt be a number of control qubits, and let |u⟩|u\rangle be a pure state of SS. Let bb be a bit string of length tt, with value jj. Then the controlled powers of UU act on the input state as Ct(U)|j⟩|u⟩=|j⟩⊗Uj|u⟩.C_t(U)\, |j\rangle|u\rangle = |j\rangle \otimes U^j |u\rangle .(5)✦

What Is Checked

The claim is stated over a unitary UU of a quantum system SS, the register of tt control qubits around SS, the controlled powers Ct(U)C_t(U) of UU on that register, the input state |j⟩|u⟩|j\rangle|u\rangle built from a bit string bb and a pure state |u⟩|u\rangle of SS, and the value jj of the bit string bb.