Skip to content

Steane Code

A [[7,1,3]] CSS stabilizer code derived from the Hamming code that corrects any single-qubit error.

Version
v2 · 2026-11-14 · History
Domain-specific #
12269
Domain group
Natural Sciences
Origin domain
Physics
Subdomains
Quantum Error Correction, Stabilizer Codes, Quantum Information → Physics
Aliases
Seven-qubit Steane code, 7-qubit CSS code, Quantum Hamming code [[7,1,3

Core Idea

The Steane code embeds one logical qubit in seven physical qubits. Its CSS structure applies the classical Hamming parity-check matrix separately to bit-flip and phase-flip components, producing stabilizer syndromes without measuring the logical state.

Distance three guarantees correction of arbitrary weight-one errors, not arbitrary pairs. The code's identity lies in its stabilizer structure and parameters, while fault-tolerant gates, ancilla preparation, and hardware noise models are additional implementation layers.

How would you explain it like I'm…

Seven Helpers Keep a Secret

Imagine one secret is spread across seven helpers so that no single helper holds the whole secret. If one helper gets bumped and messes up their part, the group can run checks that point to who got bumped, without anyone reading the secret, and fix it. If two helpers get bumped at once, the fix isn't guaranteed.

Seven-Qubit Mistake Fixer

Quantum computers store information in tiny parts called qubits, and qubits get messed up easily. The Steane code spreads one qubit's information across seven qubits. Then it runs checks that tell you if one of the seven went wrong, and which one, without looking at the information itself, because looking would spoil it. It can fix any single mistake, but not two at once.

Hamming-Based Quantum Code

The Steane code is a quantum error-correcting code that stores one 'logical' qubit using seven physical qubits. Qubits can suffer two kinds of errors: bit flips (like a 0 turning into a 1) and phase flips, which have no ordinary-computer equivalent. The Steane code borrows a classical error-correcting code called the Hamming code and uses its parity checks once for bit flips and once for phase flips. Measuring these checks gives a 'syndrome' that points to the error without measuring the stored information. Because its distance is three, it can correct any error on one qubit, but it does not guarantee correction of errors on two qubits.

 

The Steane code is a [[7,1,3]] quantum stabilizer code: seven physical qubits encode one logical qubit with distance three. It is a CSS (Calderbank-Shor-Steane) code, built by applying the classical Hamming code's parity-check matrix separately to the X-type (bit-flip) and Z-type (phase-flip) components of errors. Measuring the resulting stabilizers yields error syndromes that locate errors without measuring, and therefore without collapsing, the logical state. Distance three guarantees correction of any arbitrary weight-one error, meaning any error on a single qubit; it does not guarantee correction of arbitrary two-qubit errors. The code's identity is its stabilizer structure and parameters. Fault-tolerant gate constructions, ancilla preparation, and hardware noise models are separate implementation layers built on top of it.

Structural Signature

Sig role-phrases:

  • Seven physical qubits — Provide the redundant carrier block. It is code block. Counterfactual: Fewer carriers do not realize this [[7,1,3]] code.
  • Logical qubit — Supplies the protected two-dimensional information space. It is encoded content. Counterfactual: Seven unrelated qubits are not a codeword.
  • CSS stabilizers — Separate X-type and Z-type parity constraints. It is check structure. Counterfactual: Removing either family leaves one Pauli error type undetected.
  • Hamming check matrix — Determines syndrome patterns inherited from the classical code. It is classical scaffold. Counterfactual: A different check matrix defines another code.
  • Syndrome measurement — Identifies an error class without reading logical information. It is diagnostic. Counterfactual: Direct logical measurement destroys the protected state.
  • Distance three — Sets single-qubit correction and two-qubit detection limits. It is capability boundary. Counterfactual: It does not correct arbitrary two-qubit errors.

What It Is Not

  • It is not the classical Hamming code alone.
  • It is not sevenfold repetition.
  • It is not guaranteed to correct two arbitrary qubit errors.
  • It is not every CSS code.
  • Closest near-miss. The classical [7,4,3] code supplies check structure but is not itself the quantum Steane code.

Scope of Application

  • Quantum error correction. Protects one logical qubit.
  • Fault tolerance. Supports transversal operations for selected gates.
  • Stabilizer theory. Provides a canonical small CSS example.
  • Quantum education. Connects classical parity checks to quantum syndromes.

Clarity

State [[n,k,d]] parameters, stabilizer generators, syndrome convention, assumed Pauli fault, and guarantee versus detection capability. Separate abstract code performance from hardware thresholds.

Manages Complexity

For Steane code, separating Seven physical qubits from Logical qubit exposes the first dependency. Relating CSS stabilizers to Distance three then prevents the observed Steane code outcome from replacing its defining mechanism.

Abstract Reasoning

  1. For Steane code, fix Seven physical qubits and its units or identity.
  2. Establish how Logical qubit functions inside Steane code from cited evidence.
  3. Test CSS stabilizers directly instead of inferring Steane code from resemblance.
  4. Map Hamming check matrix to the defining Steane code relation.
  5. Use Distance three to challenge the closest alternative to Steane code.
  6. Report the Steane code boundary, uncertainty, and surviving conclusion.

Knowledge Transfer

CSS construction transfers from suitable nested classical codes, but Steane syndromes and transversal properties do not transfer to arbitrary stabilizer codes.

Examples

Applied / In Practice

A Pauli error acts on one physical qubit; the stabilizer syndrome locates its X and Z components and a recovery restores the logical state.

Mapped back: block → 7 qubits; fault → one-qubit Pauli; evidence → syndrome; result → logical recovery.

Applied / In Practice

Two physical-qubit errors can share or mimic syndromes beyond distance-three correction, so success is not guaranteed.

Mapped back: fault → weight two; distance → 3; status → outside guaranteed correction.

Structural Tensions

T1 — Redundancy versus Logical Rate. Seven carriers protect one logical qubit, improving robustness at substantial overhead.

Diagnostic: Which fault model justifies the block?

T2 — Error Diagnosis versus Logical Preservation. Syndromes must reveal faults without revealing encoded amplitudes.

Diagnostic: Do measured operators commute with logical information?

Structural–Framed Character

Within Steane code, the relation among Seven physical qubits, Logical qubit, and CSS stabilizers forms the structural core; Distance three supplies the decisive condition for Steane code.

Structural Core vs. Domain Accent

The Steane code identity is distinguished by how Hamming check matrix constrains Distance three; their pairing anchors vocabulary to evidence specific to Steane code.

This entry is a kind of CSS Code.

  • Approved root. The frozen graph leaves this specific quantum code unparented.

  • Related — CSS code, Hamming code, stabilizer code, and quantum Hamming code. They are the family, classical source, framework, and sequence.

Relationships to Other Abstractions

Local relationship map for Steane CodeParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Steane CodeDOMAINDomain-specific abstraction: CSS Code — is a kind ofCSS CodeDOMAIN

Current abstraction Steane Code Domain-specific

Parents (1) — outgoing typed relations

  • Steane Code is a kind of CSS Code Domain-specific

    Steane Code is a strict kind of CSS Code: it is the [[7,1,3]] CSS stabilizer code derived from the Hamming code.

Hierarchy paths (12) — routes to 8 parentless roots

Neighborhood in Abstraction Space

Steane Code sits in a crowded region of the domain-specific corpus (37th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

  • Classical [7,4,3] Hamming code. Tell: Protects classical bits and supplies the check matrix.
  • Seven-qubit repetition. Tell: Has different checks and capabilities.
  • Surface code. Tell: Uses topological local stabilizers.
  • Error-detecting code. Tell: Detection alone is weaker than this single-error correction guarantee.

References

  • Frozen Wikipedia discovery revision: https://en.wikipedia.org/wiki/Steane_code (revision 1221445652).