The Steane code is a tool in quantum error correction introduced by Andrew Steane in 1996. It is a CSS code (Calderbank-Shor-Steane), using the classical binary [7,4,3] Hamming code to correct for both qubit flip errors (X errors) and phase flip errors (Z errors). The Steane code encodes one logical qubit in 7 physical qubits and is able to correct arbitrary single qubit errors.
Its check matrix in standard form is
where H is the parity-check matrix of the Hamming code and is given by
The Steane code is the first in the family of quantum Hamming codes, codes with parameters for integers . It is also a quantum color code.