A stabilizer group on qubits is a subgroup of the Pauli group that is abelian and does not contain . The stabilizer code of is
Because , every element of has the form (an element would square to ), so it is Hermitian with eigenvalues . A set of generators is independent if no is a product of the others; equivalently, their binary vectors are linearly independent in . Then , and with the code has dimension (dimension theorem): it is an code.
Syndrome. For a Pauli operator , the syndrome with respect to the generators is the vector with . If then is an eigenvector of every with eigenvalue , so measuring the generators reveals and nothing about .
Normalizer and logical operators. The centralizer is the set of Pauli operators with zero syndrome. Since two Pauli operators commute or anticommute, and for , it equals the normalizer ; both names are used. Elements of map to itself. Those in , up to phase, act trivially on it; those in are nontrivial logical operators: they preserve the code space and act on it as a non-identity operator. The quotient is isomorphic to the -qubit Pauli group modulo phases, and one can choose logical operators in that obey the commutation relations of .
Distance. For the distance of the code is the minimum weight of an element of ; the distance theorem shows that this agrees with the general definition of the distance of a quantum code. The code is degenerate if contains a non-identity element of weight less than . The parameters are written .
In the binary representation, becomes an isotropic subspace of dimension and becomes its symplectic complement , of dimension . A matrix whose rows span is a check matrix of the code. The formalism is due to Gottesman and, in the language of orthogonal geometry, to Calderbank, Rains, Shor and Sloane.