pith. machine review for the scientific record. sign in
structure definition def or abbrev

CSSCode

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

 141structure CSSCode where
 142  c1 : ClassicalCode  -- For bit-flip correction
 143  c2 : ClassicalCode  -- For phase-flip correction (via dual)
 144  containment : c2.k ≤ c1.k  -- C₂ ⊆ C₁
 145
 146/-- The Steane [[7,1,3]] code.
 147
 148    Based on the [7,4,3] Hamming code.
 149    Encodes 1 logical qubit in 7 physical qubits.
 150    Corrects any single-qubit error. -/

used by (1)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (6)

Lean names referenced from this declaration's body.