The Exercise
A single photon in an optical network can travel in any of modes, and its state is a superposition of the possibilities. Two kinds of element act on it: a beamsplitter mixes the amplitudes of two modes, and a phase shifter multiplies the amplitude of one mode by a phase. Every unitary of the modes can be assembled from these two elements.✦ Two qubits fit into four modes, one mode for each of their basis states, and in that encoding the circuit of Deutsch’s algorithm and one iteration of Grover’s search over four items are both optical networks. The construction does not scale: qubits need modes, and some unitaries of those modes need at least elements.✦
Here the system is a quantum system with levels, the qudit, and an optical network is a finite product of beamsplitters and phase shifters acting on it.
A Quantum System
A quantum system is given by its state space, a finite dimensional complex Hilbert space.✦ Two systems and form the composite system , whose state space is the tensor product of theirs.✦ A pure state of is a unit vector in the state space of .✦
A unitary of is an operator on the state space of with , and the identity evolution of is the unitary with operator . For unitaries and of , the unitary after is the product , in which acts first.✦ Unitaries of and of give the product unitary of , whose operator is the tensor product of the two.✦
An identification of a system with a system is a linear isometric bijection from the state space of onto that of ; its inverse identifies with . Along , a unitary of is relabelled as the unitary of .✦
The qudit with levels is the system with state space .✦ The computational basis of the qudit with levels is the orthonormal basis of standard unit vectors , and each basis state is a pure state of the qudit. In the optical setting the levels are modes, and is the photon in mode . The qubit is the qudit with two levels, and the qudit with levels is a register of qubits.
Beamsplitters and Phase Shifters
The gate of a unitary matrix is the unitary of the qudit with levels that acts on state vectors as does in the computational basis.✦
For modes and , the two level embedding of a complex matrix is the matrix that acts as on and , taken in that order as the two basis states of a qubit, and as the identity on every other mode.✦
The Pauli matrices are , and . The Pauli vector is . A real vector in three dimensions gives the matrix , and a unit vector gives the rotation about by an angle . About the axis it is .✦
For modes and and an angle , the beamsplitter matrix on and is the two level embedding of .✦ The beamsplitter gate on distinct modes and is the gate of the beamsplitter matrix on and , the unitary of the qudit with levels that acts on the basis states as follows: (1)✦
The phase shifter matrix on a mode with phase is the diagonal matrix with entry at and at every other mode, and the phase shifter gate is its gate: (2)
A linear optical gate on modes is a unitary of the qudit with levels that is a beamsplitter or a phase shifter: (3)✦
Two Qubits in Four Modes
For qudits with and levels, the product basis of their composite consists of the vectors with and . The factoring of the qudit with levels is the identification of it with that composite which sends to . The unary encoding is the inverse of the factoring for , an identification of two qubits with the qudit of four levels: (4)✦
The Hadamard is the unitary of the qubit with matrix , and is the gate on the first of two qubits, with the identity on the second. For a unitary of two qubits, standing in the place of the oracle of Deutsch’s algorithm, the Deutsch circuit is the unitary of two qubits given below. Along the unary encoding, the Deutsch circuit is relabelled as the unitary of the qudit with four levels: (5)
The reflection about a pure state of a system is the unitary .✦
The uniform superposition of the qudit with levels is the pure state .
Search over four items marks the item by the mode . The search oracle is the reflection about , (6) and the inversion about the mean is the reflection about the uniform superposition of the four modes, (7) One Grover iteration for the marked mode is the search oracle followed by the inversion about the mean : (8)
The Claim
Theorem 1. (a) Let . For every unitary of the qudit with levels there are linear optical gates on modes with (9)✦ (b) For every unitary of two qubits there are linear optical gates on four modes with (10)✦ (c) For every marked mode there are linear optical gates on four modes with (11)✦ (d) For every natural number there is a unitary of the qudit with levels such that, whenever with linear optical gates , (12)✦
Parts (b) and (c) are instances of part (a) with .
What Is Checked
The four claims are stated over the linear optical gates (3), the beamsplitters (1) and phase shifters (2) on modes, and, on four modes, over the Deutsch circuit in the unary encoding (5) and the Grover iteration (8).
The library proves that the beamsplitter matrix on two distinct modes is unitary for every angle , and that the phase shifter matrix on a mode is unitary for every phase . The product of two unitaries is a unitary, and so are the relabelling of a unitary along an identification and the product unitary . The reflection about a pure state is a unitary, the Hadamard matrix is unitary, so that is a unitary of the qubit, and the uniform superposition has unit norm, hence is a pure state.