the paper · §I. Single-qubit gates, XY interaction, and iSWAP · §I, (S1)
Single-qubit unitaries as phased rotations:Factoring any
unitary matrix in
into a unit-modulus global phase and an axis-angle rotation
Every single-qubit unitary factors as a phased 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
Single-qubit quantum gates are represented by complex unitary matrices in the unitary group . Geometrically, each single-qubit gate acts on the Bloch sphere as a rotation about an axis in , up to a unit-modulus scalar global phase that does not change the physical state. Expressing an arbitrary matrix in as the product of a global phase and an axis-angle rotation gives a complete parameterization of single-qubit gates.
Single-qubit rotations
Let denote the imaginary unit. The Pauli matrices ,, and are the complex matrices given in (1): (1)
For a three-component real vector , the Pauli dot product is the complex linear combination (2)✦
With denoting the identity matrix and defined by (2), the single-qubit rotation for a real vector and a real angle is the complex matrix given in (3): (3)✦
The claim
Theorem. For every complex unitary matrix , there exist a complex number with , a real vector satisfying , and a real angle such that (4)✦
What is checked
The Lean library states the factorization (4) for an arbitrary complex unitary matrix in terms of the Pauli matrices ,, and , the Pauli dot product, and the single-qubit rotation.