The setting
A single-qubit quantum gate acts on as a unitary matrix. Up to a global phase, every such gate lies in the special unitary group , the group of complex matrices satisfying and , where is the identity matrix and is the conjugate transpose of .
In quantum circuits, single-qubit gates are parameterized by a unit axis in and a real rotation angle, corresponding to rotations of the Bloch sphere. The question is whether these axis-angle matrices both lie in and exhaust it.
Single-qubit rotations
The Pauli matrices , , and are the complex matrices (1) where is the imaginary unit.
For a vector , the Pauli dot product is the complex matrix (2)✦
For a vector and a real angle , the single-qubit rotation is the complex matrix (3)✦
The claim
Theorem. For every vector with and every angle , (4)✦ Conversely, for every matrix , there exist a vector with and an angle such that (5)✦
What is checked
In the Lean library, the theorem, consisting of (4) and (5), is stated over complex matrices, the special unitary group , the Pauli matrices , , and in (1), the Pauli dot product in (2), and the single-qubit rotation in (3), for real axis vectors satisfying and real rotation angles .