Abstract / §IV (21)–(27): ideal single-oscillator qunit code and exact small-shift correction
OpenQAlgorithms.Papers.Independent.Intakenext100.P12.ideal_oscillator_codeLet and . Give the logical space its usual inner product. Define . These sums converge against Schwartz tests, is injective, and its image is exactly the common space of translation by and multiplication by . Translation by and multiplication by induce the logical shift and clock , satisfying
One linear algebraic syndrome decoder, chosen before the error and logical vector, separates every displacement with and , including finite coherent sums. There is also an isometric realization of in physical , where is this open error cell, given by the explicitly defined displacement integral. Thus square-integrable embedded errors preserve the logical factor. The radii obey ; choosing makes the two radii equal.
This is an ideal generalized-state code, with no claim that the combs themselves are normalized physical vectors.
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
/-- Abstract/Section IV (21)–(27), PDF pp.1,4–5: the explicitly constructed nonzero ideal
qunit code, exact logical operations and a single syndrome realization for all small shifts.
No ideal comb is asserted to belong to L2. The algebraic decoder handles finite coherent
error sums; the unitary realization handles square-integrable embedded-error wavefunctions. -/
theorem ideal_oscillator_code (n : ℕ) (hn : 2 ≤ n) (alpha : ℝ) (ha : 0 < alpha) :
Function.Injective (idealComb n alpha) ∧
(∀ j : Fin n, ∀ f : SchwartzMap ℝ ℂ, Summable (fun k : ℤ => f (combSupportPoint n alpha j k))) ∧
(∀ T : SchwartzMap ℝ ℂ → ℂ,
IsIdealStabilized n alpha T ↔ ∃ c : Fin n → ℂ, idealComb n alpha c = T) ∧
(∀ c : Fin n → ℂ,
displacedComb n alpha alpha 0 c = idealComb n alpha (logicalCycle n c) ∧
displacedComb n alpha 0 (2 * Real.pi / (n * alpha)) c = idealComb n alpha (logicalClock n c) ∧
logicalClock n (logicalCycle n c) =
fun j => cisPhase (2 * Real.pi / n) * logicalCycle n (logicalClock n c) j) ∧
(∃ R : (SchwartzMap ℝ ℂ → ℂ) →ₗ[ℂ] ({uv // uv ∈ errorCell n alpha} → Fin n → ℂ),
∀ (e : {uv // uv ∈ errorCell n alpha}) (c : Fin n → ℂ),
R (displacedComb n alpha e.val.1 e.val.2 c) = fun s => if s = e then c else 0) ∧
HasExactRealization n alpha ∧
(∀ u v : ℝ, |u| < alpha / 2 → |v| < Real.pi / (n * alpha) →
|u * v| < Real.pi / (2 * n)) ∧
Real.pi / (n * Real.sqrt (2 * Real.pi / n)) = Real.sqrt (2 * Real.pi / n) / 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
For every natural number and real , put for and , and define functions on complex Schwartz test functions by and . Define and , and let . The assertion is that is injective; for every and every Schwartz function , the series is summable; an arbitrary function equals for some if and only if it agrees with a continuous complex-linear functional and, for all Schwartz functions , satisfies whenever either for all or for all ; for every , , , and for every ; there exists a complex-linear map from all functions to functions from to coefficient vectors such that equals when and zero otherwise, for every and every ; there exists a complex-linear isometry from the space of -tuples of elements of , with the sum norm and restricted two-dimensional Lebesgue measure, into such that for every coefficient vector and every , almost every satisfies , where is the representative of extended by zero outside ; every real satisfying the two strict bounds defining obeys ; and . No normalization of is imposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.