The Exercise
The controlled NOT (CNOT) and the single qubit gates form a universal set: every unitary on a register of qubits is a product of CNOT gates, each acting on an ordered pair of wires, and of single qubit unitaries, each acting on one wire. The problem asks for the same reach from a different set of resources. Single qubit unitaries are applied directly, the CNOT between any two wires is realized by gate teleportation, and a protocol runs such steps one after another. The question is whether every unitary of the register is implemented by some protocol.
The library poses the problem on a register of qubits, for any , with the universality of the CNOT and single qubit gates on that register as its hypothesis.
Systems and Registers
A quantum system is given by its state space, a finite dimensional complex Hilbert space.✦ The qubit is the two level system whose state space is the model space itself.✦ The composite system of two systems and is the system whose state space is the tensor product of their state spaces, and the composite of a finite family of systems is formed in the same way. The tensor power of a system is the composite of copies of , one on each of the wires ; a register of qubits is .✦
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 . A bijection between the wires of two tensor powers of with equally many wires gives the relabelling of wires, the identification that reindexes the composite and moves the factor on wire to wire .✦ Splitting into its first and its last wires identifies it with , through the isometry that divides the wires into two blocks: (1)✦ The head split of is the identification of with that takes the first wire alone as the first factor and the remaining wires as the second.✦
Gates on Chosen Wires
A unitary of a system is an operator on the state space of with , and the identity evolution of is the unitary . For two unitaries and of , the unitary is the composite operator, first then .✦ For a unitary of and a unitary of , the product unitary of has the tensor product of the two operators as its operator; alone on the first factor is .
A unitary of is carried along an identification of with to the unitary of .✦ A linear isometric bijection of the state space of onto itself gives the unitary of whose operator is , and for a permutation of the wires of the wire permutation gate is the unitary whose operator is the relabelling of wires along .
A gate on wires, a unitary of , is placed on the first wires of by carrying of along the inverse of the block split (1); this gate is again written .✦ A permutation of the wires then places with its th wire on wire : (2)✦
A unitary of the qubit acts on wire of the register as the single qubit gate . It is of , carried to the register along the inverse of the head split and then along the relabelling by the transposition that exchanges the first wire with wire : (3)✦
Controlled NOT Gates
The Pauli , the quantum NOT, is the unitary of the qubit whose matrix is (4)✦
The control register of qubits in front of a system is defined by and .✦ The times controlled gate of a unitary of is the unitary of that applies to when all control qubits are in the state and acts as the identity otherwise; it is given by (5)✦ where is the controlled gate whose control is the qubit in front. Undoing the head split times identifies with , the controls on wires and the target on wire , and along this identification is a gate on qubits. In a register of qubits a permutation places it by (2), with the controls on wires and the target on wire .✦
Take a set of wires and a wire outside it, in a register of wires. The gathering permutation sends positions to the wires of in increasing order, position to , and the last positions to the remaining wires, also in increasing order.✦ In a register , the controlled NOT with control set and target is placed by this permutation, with .✦ With the single control and a target it is the CNOT from wire to wire , written .
The Claim
A generator of the register is a unitary of it that is a CNOT on an ordered pair of distinct wires or a single qubit unitary on one wire.✦ The generators form the set (6)✦
The set of the gates the resources implement is the smallest set of unitaries of the register that contains the identity, every single qubit gate and every teleported with , and that contains , the protocol for followed by the one for , whenever it contains and : (7)✦
Theorem 1. Let , and suppose that every unitary of the register is a product of generators . Then every unitary of the register is implemented by the resources: (8)✦
What Is Checked
The claim is stated over the register and its unitaries: the generators (6), built from the gathered controlled and from the single qubit gates (3), and the set (7) of the gates the resources implement.
About these constructions the library proves that each is a unitary: the composite and the product of two unitaries, the carried unitary , the unitary of a linear isometric bijection, and the Pauli , whose matrix is unitary. It proves as well the two counts behind the placement of a controlled NOT: in a register of wires, exactly wires lie outside a set of controls and a target, and when the controls and the target lie among wires.