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.

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. Inclusion test: Include the [[7,1,3]] CSS stabilizer construction whose X and Z checks derive from the binary Hamming code. Exclusion test: Exclude the classical Hamming code alone, other seven-qubit stabilizer codes, surface codes, unencoded seven-qubit registers, and claims of arbitrary multi-qubit correction. Nearest boundary: The classical [7,4,3] code supplies check structure but is not itself the quantum Steane code. Exit condition: The identity changes when block parameters or stabilizer generators cease to be equivalent to the Steane construction. Common misclassifications: 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. Nearest named distinctions: Classical [7,4,3] Hamming code: Protects classical bits and supplies the check matrix. Seven-qubit repetition: Has different checks and capabilities. Surface code: Uses topological local stabilizers. Error-detecting code: Detection alone is weaker than this single-error correction guarantee.

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.

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