§II (8)–(11): the perfect 18-state qubit code
OpenQAlgorithms.Papers.Independent.Intakenext100.P12.finite_eighteen_perfectIn define and . They form an orthonormal basis of the common space of , and implement the logical qubit shift and clock. The nine two-dimensional syndrome sectors are mutually orthogonal and span . A single CPTP recovery corrects the entire coherent operator span
The statement includes exact Knill–Laflamme inner products and the explicitly normalized basis amplitudes. It records the perfect illustrative code rather than an unspecified existence claim.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P12
noncomputable section
open scoped BigOperators
open MeasureTheory Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase sigma)
namespace QAlgorithms.Papers.Independent.Intakenext100.P12
/-- Section II (8)–(11), PDF p.3: the explicit 18-state qubit code is perfect.
The nine shifted two-dimensional sectors are orthogonal and exhaust the ambient space. -/
theorem finite_eighteen_perfect :
(∀ j : ZMod 18, finiteWord 18 3 3 2 0 j =
(Real.sqrt 3 : ℂ)⁻¹ * (if j = 0 ∨ j = 6 ∨ j = 12 then 1 else 0)) ∧
(∀ j : ZMod 18, finiteWord 18 3 3 2 1 j =
(Real.sqrt 3 : ℂ)⁻¹ * (if j = 3 ∨ j = 9 ∨ j = 15 then 1 else 0)) ∧
FiniteCodeConclusion 18 3 3 2 := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let and, for , define , with equality in . This theorem asserts
and also asserts the following conjunction. Define for every , and define for integers , where takes values in . Let be the complex span of in Euclidean space on , and let be the complex span of the nine matrices with , equivalently and . Then: (1) for every , the equalities and hold if and only if for some ; (2) for all , ; (3) there exists a map on matrices on , with a finite representation valid for every matrix and satisfying , such that for every and every unit vector ; (4) both are fixed by and ; (5) for each , and ; (6) the functions , indexed by and , satisfy for equal indices and for unequal indices; (7) their complex span is the entire function space ; and (8) for every and every ,
All norms here are Euclidean, and denotes the matrix with entries .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.