OctoInform Beta

the paper · §I. Single-qubit gates, XY interaction, and iSWAP · §I, (S1)

Single-qubit rotations are exactly SU(2): Every rotation Rn(θ)R_n(\theta) about a unit axis n∈ℝ3n \in \mathbb{R}^3 lies in SU(2)\mathrm{SU}(2), and every matrix in SU(2)\mathrm{SU}(2) has this form

Single-qubit axis-angle rotations exhaust SU(2)\mathrm{SU}(2)..

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 setting

A single-qubit quantum gate acts on ℂ2\mathbb{C}^2 as a 2×22 \times 2 unitary matrix. Up to a global phase, every such gate lies in the special unitary group SU(2)\mathrm{SU}(2), the group of 2×22 \times 2 complex matrices UU satisfying U†U=IU^\dagger U = I and det⁡U=1\det U = 1, where II is the 2×22 \times 2 identity matrix and U†U^\dagger is the conjugate transpose of UU.

In quantum circuits, single-qubit gates are parameterized by a unit axis in ℝ3\mathbb{R}^3 and a real rotation angle, corresponding to rotations of the Bloch sphere. The question is whether these axis-angle matrices both lie in SU(2)\mathrm{SU}(2) and exhaust it.

Single-qubit rotations

The Pauli matrices σx\sigma_x, σy\sigma_y, and σz\sigma_z are the 2×22 \times 2 complex matrices σx=(0110),σy=(0−ii0),σz=(100−1),\begin{aligned} \sigma_x &= \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \\ \sigma_y &= \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \\ \sigma_z &= \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}, \end{aligned}(1) where ii is the imaginary unit.

For a vector n=(n1,n2,n3)∈ℝ3n = (n_1, n_2, n_3) \in \mathbb{R}^3, the Pauli dot product n⋅σn \cdot \sigma is the 2×22 \times 2 complex matrix n⋅σ=n1σx+n2σy+n3σz.n \cdot \sigma = n_1 \sigma_x + n_2 \sigma_y + n_3 \sigma_z.(2)✦

For a vector n∈ℝ3n \in \mathbb{R}^3 and a real angle θ∈ℝ\theta \in \mathbb{R}, the single-qubit rotation Rn(θ)R_n(\theta) is the 2×22 \times 2 complex matrix Rn(θ)=cos⁡(θ/2)I−isin⁡(θ/2)n⋅σ.R_n(\theta) = \cos(\theta / 2) I - i \sin(\theta / 2)\, n \cdot \sigma.(3)✦

The claim

Theorem. For every vector n=(n1,n2,n3)∈ℝ3n = (n_1, n_2, n_3) \in \mathbb{R}^3 with n12+n22+n32=1n_1^2 + n_2^2 + n_3^2 = 1 and every angle θ∈ℝ\theta \in \mathbb{R}, Rn(θ)∈SU(2).R_n(\theta) \in \mathrm{SU}(2).(4)✦ Conversely, for every matrix U∈SU(2)U \in \mathrm{SU}(2), there exist a vector n=(n1,n2,n3)∈ℝ3n = (n_1, n_2, n_3) \in \mathbb{R}^3 with n12+n22+n32=1n_1^2 + n_2^2 + n_3^2 = 1 and an angle θ∈ℝ\theta \in \mathbb{R} such that U=Rn(θ).U = R_n(\theta).(5)✦

What is checked

In the Lean library, the theorem, consisting of (4) and (5), is stated over 2×22 \times 2 complex matrices, the special unitary group SU(2)\mathrm{SU}(2), the Pauli matrices σx\sigma_x, σy\sigma_y, and σz\sigma_z in (1), the Pauli dot product n⋅σn \cdot \sigma in (2), and the single-qubit rotation Rn(θ)R_n(\theta) in (3), for real axis vectors n∈ℝ3n \in \mathbb{R}^3 satisfying n12+n22+n32=1n_1^2 + n_2^2 + n_3^2 = 1 and real rotation angles θ∈ℝ\theta \in \mathbb{R}.