The Exercise
A single qubit has the computational basis states and , and in that basis its operators are two by two complex matrices. A unitary moves an operator to . The exercise takes the phase gate for and asks what this conjugation makes of the Pauli matrices and .
The Pauli Matrices and the Phase Gate
The Pauli matrices , and of a qubit are the two by two complex matrices, with rows and columns labelled by the basis states and , (1)
The phase gate is the diagonal two by two complex matrix that leaves unchanged and multiplies by the imaginary unit , (2)✦ Its adjoint is the conjugate transpose, .
The Claim
Theorem 1. Let be the phase gate (2) and , , the Pauli matrices (1). Then conjugation by takes to , (3)✦ and leaves fixed, (4)✦
What Is Checked
The claim is stated over the four matrices , , and , each given by its entries in (1) and (2), with the conjugate transpose of .
About these matrices the library states the two identities (3) and (4) as equalities of two by two complex matrices.