OctoInform Beta

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

Equation (S1): Single-qubit rotation exponential: The trigonometric rotation Rn(θ)R_n(\theta) equals the matrix exponential exp⁡(−i(θ/2)n⋅σ)\exp(-i(\theta/2)\, n \cdot \sigma) for every unit axis n∈ℝ3n \in \mathbb{R}^3 and real angle θ\theta

Exponential form of a single-qubit rotation.

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 rotation through a real angle about a unit axis in ℝ3\mathbb{R}^3 is generated by a real linear combination of the Pauli matrices. In quantum circuits and Hamiltonian dynamics, such a gate is written either in closed trigonometric form as a linear combination of the identity matrix and the axis generator, or as the matrix exponential of that generator.

Single-qubit rotations

The Pauli matrices σx,σy,σz∈ℂ2×2\sigma_x, \sigma_y, \sigma_z \in \mathbb{C}^{2 \times 2} 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)

For any real vector n=(nx,ny,nz)∈ℝ3n = (n_x, n_y, n_z) \in \mathbb{R}^3, combining the Pauli matrices (1) gives the Pauli dot product n⋅σ∈ℂ2×2n \cdot \sigma \in \mathbb{C}^{2 \times 2}, n⋅σ=nxσx+nyσy+nzσz.n \cdot \sigma = n_x \sigma_x + n_y \sigma_y + n_z \sigma_z.(2)✦

With I∈ℂ2×2I \in \mathbb{C}^{2 \times 2} the 2×22 \times 2 identity matrix, any real vector n∈ℝ3n \in \mathbb{R}^3 and real angle θ∈ℝ\theta \in \mathbb{R} determine the single-qubit rotation Rn(θ)∈ℂ2×2R_n(\theta) \in \mathbb{C}^{2 \times 2} from the Pauli dot product (2) by Rn(θ)=cos⁡(θ/2)I−isin⁡(θ/2)n⋅σ.R_n(\theta) = \cos(\theta / 2) I - i \sin(\theta / 2)\, n \cdot \sigma.(3)✦ For any matrix A∈ℂ2×2A \in \mathbb{C}^{2 \times 2}, exp⁡(A)\exp(A) denotes its matrix exponential.

The claim

Theorem. Let n=(nx,ny,nz)∈ℝ3n = (n_x, n_y, n_z) \in \mathbb{R}^3 be a real vector satisfying nx2+ny2+nz2=1n_x^2 + n_y^2 + n_z^2 = 1, and let θ∈ℝ\theta \in \mathbb{R} be a real angle. Then Rn(θ)=exp⁡(−iθ2n⋅σ).R_n(\theta) = \exp\left(-i \frac{\theta}{2}\, n \cdot \sigma\right).(4)✦

What is checked

In the Lean library, the exponential identity (4) is stated over the Pauli matrices (1), the Pauli dot product (2), the trigonometric single-qubit rotation (3), and the matrix exponential on ℂ2×2\mathbb{C}^{2 \times 2}, for every real vector n=(nx,ny,nz)∈ℝ3n = (n_x, n_y, n_z) \in \mathbb{R}^3 satisfying nx2+ny2+nz2=1n_x^2 + n_y^2 + n_z^2 = 1 and every real angle θ∈ℝ\theta \in \mathbb{R}.