- Error Correction
- Also: [[7,1,3]] code
- Also: CSS Hamming code
Steane Code
The [[7,1,3]] CSS code that encodes 1 logical qubit into 7 physical qubits, derived from the classical Hamming code, and supporting transversal implementation of all Clifford gates.
The Steane code is one of the earliest and most influential quantum error-correcting codes. Proposed by Andrew Steane in 1996, it belongs to the family of Calderbank-Shor-Steane (CSS) codes, which are constructed by combining two classical linear codes. Specifically, the Steane code is built from the classical [7,4,3] Hamming code and its dual, encoding a single logical qubit into seven physical qubits while correcting any single-qubit error. The parameters [[7,1,3]] mean: 7 physical qubits, 1 logical qubit, and a code distance of 3.
The code’s structure is defined by six stabilizer generators: three X-type and three Z-type, each acting on specific subsets of the seven qubits. These generators correspond to the parity-check matrix of the classical Hamming code. Because the X and Z stabilizers share the same structure, measuring X errors and Z errors are independent tasks, which simplifies both the design and implementation. The stabilizers detect single-qubit errors without disturbing the logical qubit, and the error syndromes (the pattern of measurement outcomes) uniquely identify which physical qubit failed.
What makes the Steane code especially important in fault-tolerant quantum computing is its support for transversal gates. A transversal gate applies an operation independently to each physical qubit in a code block, guaranteeing that errors cannot spread between qubits within the same block. The Steane code allows transversal implementation of all seven Clifford gates, including the Hadamard, phase, and CNOT gates. This property significantly reduces the overhead needed to perform logical operations fault-tolerantly. However, like all stabilizer codes, the Steane code cannot implement the T gate transversally, which is why magic state distillation is required to round out a universal gate set.
In practice, the Steane code serves as a foundational building block in concatenated code schemes and as a benchmark for demonstrating fault-tolerant protocols on small devices. Experimental realizations have been demonstrated on trapped-ion platforms, where high gate fidelity makes the seven-qubit overhead manageable. While the surface code dominates near-term hardware roadmaps due to its higher threshold, the Steane code remains central to theoretical analyses and to hardware architectures where transversal Clifford gates offer a performance advantage.