Code states. Group the qubits into blocks , , and put . Then
The outer layer is the three-qubit phase-flip code across blocks and the inner layer is the three-qubit bit-flip repetition code inside each block.
Stabilizer. Eight generators:
Each -type generator meets each -type generator in zero or two qubits, so all commute; the eight are independent, so . The stabilizer group contains 9 elements of weight 2 (the products within a block). (Pairwise commutation, independence, the weight distribution and the distance were checked by direct computation.)
Logical operators. With the code states above, , which maps to , and , which has eigenvalue on and on . Equivalent representatives are and . Some authors exchange the names of the two code states, which exchanges these roles.
Parameters. , degenerate. A bit flip is located by the two -type checks of its block. A phase flip changes the sign of its block, which is detected by the two -type checks; , and have the same syndrome and act identically on the code space, because and are stabilizers. Of the 27 single-qubit errors, the 18 of type and have distinct syndromes and the 9 of type share 3 syndromes, giving 21 distinct nonzero syndromes in all.
Properties. It is a CSS code and the simplest example of code concatenation. It is degenerate, so it is not bounded by the quantum Hamming bound argument for non-degenerate codes, although with these parameters it satisfies the bound anyway.
History. Introduced by Shor as the first code protecting a qubit against arbitrary single-qubit errors. The stabilizer description is in Gottesman and section 10.2 of Nielsen and Chuang.