This article may be confusing or unclear to readers. Please help clarify the article. There might be a discussion about this on the talk page. (June 2020) (Learn how and when to remove this template message)

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 qubit flip errors (X errors) and the dual of the Hamming code, the [7,3,4] code, to correct for phase flip errors (Z errors). The Steane code is able to correct arbitrary single qubit errors.

In the stabilizer formalism, the Steane code has 6 generators, and the 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.