The Exercise
A state of a single qubit is given by its Bloch vector , a real vector in three dimensions of length at most one. A rotation gate is fixed by a unit vector and an angle . The exercise asks to show that applying the gate to the qubit turns its Bloch vector through the angle about the axis in ordinary space.
The library states this as an equality between two states of the qubit: the state after the gate, and the state whose Bloch vector is the rotated one.
The Qubit
A quantum system is a physical system whose state space is a finite dimensional complex Hilbert space, and any such space is the state space of a system. The qubit is the system whose state space is .✦
A state of is a positive operator of unit trace on the state space of .✦ A unitary of is an operator on the state space of with .✦ Under a state of evolves to the state (1)✦
Bloch States
The Pauli matrices are (2) and for a real vector in three dimensions, is the complex matrix . The Bloch matrix of a real vector in three dimensions is (3)✦
The Bloch state of a real vector of length is the state of the qubit whose matrix is the Bloch matrix (3).✦
Rotations
For a real vector in three dimensions and a real angle , the rotation gate is the unitary of the qubit whose matrix is the rotation operator (4)✦ For a unit vector the gate is written .
In ordinary space, for real vectors and in three dimensions and an angle , the vector is (5)✦ When is a unit vector , this is Rodrigues’ formula: is rotated through the angle about the axis .
The Claim
Theorem 1. Let be a unit vector in three dimensions, a real angle, and a real vector in three dimensions with . Then the rotation gate takes the Bloch state to the Bloch state of the rotated vector : (6)✦
What Is Checked
The claim is stated over the qubit and its Bloch states, built from the Pauli matrices (2) through the Bloch matrix (3); over the rotation gate (4) as a unitary of the qubit and the evolution (1) it drives; and over the rotation of space (5).
The library proves what makes both sides of (6) states of the qubit. The Bloch matrix of is positive exactly when , and its trace is one, so is a state. The rotation operator (4) is a unitary matrix, so the gate is a unitary of the qubit, and conjugating a state by a unitary gives a state, so the evolved state (1) is again a state. For a unit axis the rotation (5) keeps lengths, , so the rotated Bloch vector lies in the unit ball and the right side of (6) is a state.