The Exercise
A quantum system carries a marked pure state , and an oracle recognises it by flipping an extra qubit when the system is in . The circuit of Figure 6.4 runs the system together with that qubit, prepared in , through the oracle, a phase shift by on the qubit, and the oracle once more. The exercise is to verify that this circuit evolves the system for a time under the Hamiltonian , taking to , and hands the qubit back in .✦ The circuit of Figure 6.5 places the first one between and on the system, for a unitary , and is to give the evolution under the projector onto .
The System and the Qubit
A quantum system is a physical object whose state space is a finite dimensional complex Hilbert space.✦ A pure state of is a unit vector in the state space of .✦ The qubit is the two level system whose state space is , and its basis states and are the standard basis vectors of .
The composite system of two systems and is the system whose state space is the tensor product of their state spaces.✦ For pure states of and of , the product is the pure state of whose vector is the tensor product of the two vectors.✦
Unitaries and Hamiltonians
A unitary of is an operator on the state space of with ; it carries a pure state of to the pure state . The adjoint of a unitary of is the unitary of whose operator is the Hilbert space adjoint of that of .✦ For two unitaries and of , the unitary , after , applies first and then .✦
For a unitary of and a unitary of , the product unitary is the unitary of whose operator is the tensor product of the two operators.✦ The identity evolution of a system is the unitary whose operator is the identity.✦ A gate is a unitary of a system. On , a gate on the system alone is , and a gate on the qubit alone is , with the identity evolution on the other factor.
An observable of is a self adjoint operator on the state space of , .✦ For a pure state of , the projector , which sends to , is self adjoint and so an observable of ; it is the Hamiltonian of the exercise.✦
The propagator of an observable of , with Planck’s constant , from time to time is the unitary of (1) which carries the state at to the state at under the Schrödinger equation. With , , and , the propagator (1) is the operation of the exercise.
The Gates and the Circuits
The Pauli , the quantum NOT gate, is the unitary of the qubit with matrix (2)✦ in the basis . The phase gate with angle is the unitary of the qubit that is diagonal in the basis , with the matrix (3)✦
The marking oracle for a pure state of is the unitary of with operator (4)✦
For a real time step , the circuit of Figure 6.4 is the unitary of (5)✦ The circuit of Figure 6.5 takes in addition a unitary of and conjugates the first circuit by on the system: (6)✦
The Claim
Theorem 1. Let be a quantum system, let and be pure states of , and let be a real number. Then the circuit of Figure 6.4, run on with the qubit in , gives (7)✦ If moreover is a unitary of and , the circuit of Figure 6.5 gives (8)✦
What Is Checked
The claim is stated over the circuits (5) and (6) acting on the product state , and over the propagator (1), with , of the projector onto or onto .
About these constructions the library proves that the oracle (4) is unitary, and that the phase gate is unitary because its diagonal entries have unit modulus. Tensor products and composites of unitaries are unitary, so each circuit is a unitary of , and is a pure state because the norm of a product vector is the product of the norms.