The Exercise
Take a system with levels and computational basis , and fix a level . Adding to the label, , permutes the basis states cyclically. The exercise is to show that this shift is carried out by phases on the levels , placed between a quantum Fourier transform and its inverse.
The Fourier transform turns a shift of the label into a phase.
The Qudit
A quantum system is a physical object whose state space is a finite dimensional complex Hilbert space.✦ The qudit with levels is the quantum system whose state space is with its standard inner product; for it is a register of qubits.✦ A pure state of a quantum system is a unit vector in the state space of .✦ For a level of the qudit, the computational basis state is the pure state whose vector is the standard basis vector of , with entry at and elsewhere.✦
A unitary of a quantum system , a closed system evolution of , is an operator on the state space of with .✦ Applied to a pure state of , it gives the pure state .✦ The adjoint of a unitary of is the unitary of given by the Hilbert space adjoint of the operator .✦ For two unitaries and of , after is the unitary of , which applies first and then .✦
The Fourier Transform
The primitive th root of unity is .✦ The quantum Fourier transform matrix in dimension is the complex matrix, with rows and columns labelled , whose entries are (1)✦ For , the quantum Fourier transform of the qudit with levels is the unitary whose matrix in the computational basis is (1).✦ The inverse Fourier transform of the qudit is the adjoint of .✦
The Circuit
For real angles , one for each level of the qudit, the diagonal phase gate is the unitary of the qudit that is diagonal in the computational basis, (2)✦ For a level , the Fourier phase layer is the gate (2) with angles : (3)✦ For , the Fourier addition circuit is the unitary of the qudit that applies the phase layer between the Fourier transform and its inverse: (4)✦
The Claim
Theorem 1. Let , and let and be levels of the qudit with levels. Then the Fourier addition circuit carries the basis state to the basis state of the level , the sum taken modulo : (5)✦
What Is Checked
The claim (5) is stated over the circuit (4), acting on the computational basis states of the qudit as a unitary acts on pure states.
The library proves that the matrix (1) is unitary, and that the phase gate (2) is unitary because each of its entries has modulus one. The adjoint of a unitary and the composite of two unitaries are again unitaries, and a unitary preserves norms, so is a pure state of the qudit.