the paper · §I. Single-qubit gates, XY interaction, and iSWAP · §I
Phase gates S and S-dagger as phased rotations:Expressing
and
as global phases times
and
The phase gate and its adjoint as phased rotations.
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
In single-qubit quantum circuits, the phase gate shifts the relative phase between the two computational basis states by a quarter turn, and its adjoint reverses that shift. Up to a global phase factor, both operations are rotations about the axis of the Bloch sphere, linking discrete Clifford phase gates to continuous single-qubit rotations.
Single-qubit operators
In the computational basis , the Pauli matrices are given by (1) From the Pauli matrices (1), the Pauli dot product of a real vector is defined by (2)Using (2) and writing for the identity matrix, the single-qubit rotation for and is (3)✦ Setting in (3) gives the -axis rotation .
The phase gate is the diagonal matrix (4)✦ The conjugate transpose of the matrix (4) is denoted .
The claim
Theorem. The phase gate and its adjoint satisfy (5)✦ and (6)✦
What is checked
In the Lean library, the two identities (5) and (6) are stated for the phase gate and its conjugate transpose in terms of the single-qubit rotation along , built from the Pauli matrices ,, and and the Pauli dot product.