The Exercise
A register of qubits is prepared in the state , every qubit in . The exercise asks for the state the quantum Fourier transform makes of it, written out explicitly in the computational basis of the register.
The library answers it for a system with any number of levels, the register being the case .
A Quantum System
A quantum system is a physical system whose state space is a finite dimensional complex Hilbert space; any such space is the state space of a system, the one modelled on . A pure state of is a unit vector in the state space of , , determined physically up to a global phase.✦ A unitary of , an evolution of as a closed system, is an operator on the state space of with .✦ It carries a pure state of to the pure state .✦
The qudit with levels is the system modelled on with its standard inner product.✦ A qubit is the qudit with two levels. For a level , the computational basis state of the qudit is the pure state whose vector is the standard basis vector of with entry at and elsewhere.✦ On the register, is the state of the exercise.
For , the uniform superposition of the qudit with levels is the pure state (1)✦
The Fourier Transform
Let be the primitive th root of unity.✦ The Fourier matrix of dimension is the complex matrix with entries (2)✦ For , the quantum Fourier transform of the qudit with levels is the unitary of the qudit whose matrix in the computational basis is the Fourier matrix: it carries to .✦
The Claim
Theorem 1. Let . The quantum Fourier transform of the qudit with levels carries the basis state to the uniform superposition: (3)✦ For every , the quantum Fourier transform of a register of qubits carries to the uniform superposition of its basis states: (4)✦
What Is Checked
The claim is stated over the quantum Fourier transform of the qudit, built from the Fourier matrix (2) and the root and applied to the basis state , and over the uniform superposition (1).
The library proves that the Fourier matrix is unitary, which makes the transform a unitary of the qudit. It proves that the uniform superposition has unit norm, since the sum of the basis vectors has norm .