The Exercise
Take a register of qubits and a binary linear code of length , a subspace of the bit vectors . Its dual is the code of the bit vectors with for every codeword , where counts, mod 2, the positions at which both carry a one.✦
A coset of the code gives the equal superposition of the computational basis states over the codewords , and a bit vector puts the sign on each term. With one such state for each coset of and each coset of , the exercise asks to show that these states resolve the identity on the register.
A Register of Qubits
A quantum system is a physical system whose state space is a finite dimensional complex Hilbert space.✦ A pure state of is a vector of unit norm in the state space of , , determined physically up to a global phase.✦
For a finite group , the group system is the quantum system whose state space is the space of complex functions on .✦ The bit register of qubits, one for each of the positions of a bit vector, is the group system of the bit vectors under addition mod 2.✦ The computational basis of the bit register is the orthonormal basis of its state space with one vector for each bit vector , the function equal to at and to elsewhere.✦
Coset States
For bit vectors , and , the twisted coset state of is the pure state of the register (1)✦
The phase coset state of , for bit vectors and , is the twisted coset state of with its signs set by and no shift: (2)✦
The coset index set of is the set of pairs of a coset of and a coset of in : (3)✦
The phase coset family of assigns to each index the phase coset state built from a fixed representative of the first coset and a fixed representative of the second: (4)✦
The Claim
Theorem 1. Let be a binary linear code of length with dual . The projectors onto the phase coset states , one for each pair of a coset of and a coset of , sum to the identity on the state space of the register of qubits: (5)✦
What Is Checked
The claim is stated over the phase coset family (4) on the index set (3), as vectors in the state space of the bit register.
About these constructions the library proves that each twisted coset state (1) has unit norm.