Lean, informalized

Nielsen & Chuang · Chapter 4, Quantum circuits · p. 196

Exercise 4.40 - The exact error between rotations about one axis, and powers of Rnˆ(θ)R_{\hat n}(\theta) approximating Rnˆ(α)R_{\hat n}(\alpha) when multiples of θ\theta approach α\alpha modulo 4π4\pi

When powers of a rotation approximate other rotations about its axis.

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

A circuit that can rotate a qubit about a fixed axis nˆ\hat n of the Bloch sphere by a single angle θ\theta, as many times as it likes, applies the rotation Rnˆ(θ)R_{\hat n}(\theta) any number kk of times and so has the powers Rnˆ(θ)kR_{\hat n}(\theta)^k at its disposal. The exercise asks how well they replace the rotation Rnˆ(α)R_{\hat n}(\alpha) about the same axis by an arbitrary angle α\alpha, with the error of a replacement taken in the worst case over input states.

It has two parts. The error between two rotations about one axis, by angles α\alpha and α+β\alpha + \beta, has a closed form that depends on β\beta alone. The second part uses it to show that whenever the multiples of θ\theta come arbitrarily close to α\alpha modulo 4π4\pi, some power of Rnˆ(θ)R_{\hat n}(\theta) lies within any prescribed error of Rnˆ(α)R_{\hat n}(\alpha).✦

Rotations of a Qubit

The Pauli matrices XX, YY and ZZ are the complex 2×22 \times 2 matrices X=(0110),Y=(0−ii0),Z=(100−1).X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad Y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \qquad Z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}.(1) Write σ→=(X,Y,Z)\vec\sigma = (X, Y, Z) for the Pauli vector. For a real vector n→=(nx,ny,nz)\vec n = (n_x, n_y, n_z) in three dimensions, the matrix n→⋅σ→\vec n \cdot \vec\sigma is the complex 2×22 \times 2 matrix n→⋅σ→=nxX+nyY+nzZ.\vec n \cdot \vec\sigma = n_x X + n_y Y + n_z Z .(2)✦

The rotation Rn→(θ)R_{\vec n}(\theta) about the axis n→\vec n by a real angle θ\theta is the complex 2×22 \times 2 matrix given by the matrix exponential Rn→(θ)=exp⁡(−iθ2n→⋅σ→),R_{\vec n}(\theta) = \exp\Bigl( -\frac{i\theta}{2}\, \vec n \cdot \vec\sigma \Bigr),(3)✦ written Rnˆ(θ)R_{\hat n}(\theta) when the axis is a unit vector nˆ\hat n, with nx2+ny2+nz2=1n_x^2 + n_y^2 + n_z^2 = 1.

On the state space ℂ2\mathbb{C}^2 of a qubit, Rn→(θ)R_{\vec n}(\theta) is regarded as the linear operator given by this matrix: Rn→(θ):|ψ⟩↦exp⁡(−iθ2n→⋅σ→)|ψ⟩,|ψ⟩∈ℂ2.R_{\vec n}(\theta) \colon\ |\psi\rangle \longmapsto \exp\Bigl( -\frac{i\theta}{2}\, \vec n \cdot \vec\sigma \Bigr) |\psi\rangle , \qquad |\psi\rangle \in \mathbb{C}^2 .(4)✦

The error E(U,V)E(U,V) made when an operator VV on ℂ2\mathbb{C}^2 is applied in place of UU is the operator norm of their difference: E(U,V)=∥U−V∥=max∥|ψ⟩∥=1∥(U−V)|ψ⟩∥.E(U,V) = \| U - V \| = \max_{\| |\psi\rangle \| = 1} \bigl\| (U - V)|\psi\rangle \bigr\| .(5)

The Claim

Theorem 1. Let nˆ\hat n be a unit vector and let α\alpha and β\beta be real angles. Then E(Rnˆ(α),Rnˆ(α+β))=|1−eiβ/2|.E\bigl( R_{\hat n}(\alpha), R_{\hat n}(\alpha + \beta) \bigr) = \bigl| 1 - e^{i\beta/2} \bigr| .(6)✦

Theorem 2. Let nˆ\hat n be a unit vector and let α\alpha and θ\theta be real angles such that the numbers kθ−4πmk\theta - 4\pi m, with kk a natural number and mm an integer, come arbitrarily close to α\alpha. Then for every ε>0\varepsilon > 0 there is a natural number kk with E(Rnˆ(α),Rnˆ(θ)k)<ε.E\bigl( R_{\hat n}(\alpha), R_{\hat n}(\theta)^k \bigr) < \varepsilon .(7)✦

What Is Checked

Both theorems are stated over the rotation operators (4) on the state space of a qubit, whose matrices (3) are built from the Pauli matrices (1) through n→⋅σ→\vec n \cdot \vec\sigma in (2), and over the error (5) between two such operators.