The Exercise
In a spin flip, a qubit in the state interacts with an environment, a second qubit prepared in the state . The interaction either applies the Pauli matrix to the qubit and leaves the environment alone, or applies the Pauli matrix to the qubit and to the environment, the two alternatives superposed with equal amplitudes. The environment is then discarded, and what remains is an operation on the qubit alone. The exercise asks for its operator sum representation: operators on the qubit with .
A Qubit and Its Environment
The library defines the operation in the computational basis, where an operator on a qubit is a complex matrix. For , the computational basis ket is the vector of with entry in position and in the other.✦ For , the outer product is the complex matrix obtained by multiplying the column by the row , whose entries are the complex conjugates of those of .✦ The environment starts in the state .
The Pauli matrices in the interaction are the identity and the matrices and : (1) Both terms of the interaction carry the amplitude (2)✦ The spin flip interaction is the operator on the joint space of the qubit and the environment, with the qubit’s factor first, given by (3)✦
The partial trace over the environment, , is the linear map that takes a matrix on the joint space of a system and a finite dimensional environment, with rows and columns labelled by pairs of a system label and an environment label , to the matrix on the system with entries (4)✦
The spin flip operation is the map on complex matrices that sends to (5)✦
The Claim
The spin flip elements and are the complex matrices and , each scaled by the amplitude : (6)✦
Theorem 1. Let be a complex matrix, not necessarily a density operator. Then the spin flip operation (5) has the operator sum representation with the elements (6): (7)✦
What Is Checked
The claim is stated over the spin flip operation (5), which is built from the interaction (3), the environment’s state and the partial trace (4), and over the elements (6); the Pauli matrices (1) and the amplitude (2) enter both sides. What the library proves about these constructions is the equality (7), as an identity of complex matrices that holds for every .