§IV (19)–(20): rotor code
OpenQAlgorithms.Papers.Independent.Intakenext100.P12.rotor_exact_correctionLet be positive integers and . Represent rotor distributions by their integer-angular-momentum Fourier coefficients. The explicit encoder has coefficients . It is injective and its image is exactly the common eigenspace of multiplication by and rotation by . Its coefficient sequences are bounded; they are not asserted to be in . The logical rotation by is , and multiplication by is . One algebraic syndrome decoder separates all errors in the strict window
Angles use the central representative of their circular displacement. The common linear decoder also preserves finite coherent sums of these ideal errors.
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 IV (19)–(20), PDF p.4: the rotor code, its logical operations and a common
ideal syndrome decoder. The missing absolute-value bars in the angular prose are read as
shift magnitude, consistently with the preceding finite correction argument. -/
theorem rotor_exact_correction (n r : ℕ) (hn : 0 < n) (hr : 0 < r) :
Function.Injective (rotorEncode n r) ∧
(∀ psi : ℤ → ℂ, IsRotorStabilized n r psi ↔ ∃ c, rotorEncode n r c = psi) ∧
(∀ c : Fin n → ℂ, ∃ C : ℝ, 0 ≤ C ∧ ∀ L : ℤ, ‖rotorEncode n r c L‖ ≤ C) ∧
(∀ c : Fin n → ℂ,
rotorError (2 * Real.pi / (n * r)) 0 (rotorEncode n r c) =
rotorEncode n r (logicalCycle n c) ∧
rotorError 0 r (rotorEncode n r c) = rotorEncode n r (logicalClock n c)) ∧
(∃ R : (ℤ → ℂ) →ₗ[ℂ] ({e // e ∈ rotorCell n r} → Fin n → ℂ),
∀ (e : {e // e ∈ rotorCell n r}) (c : Fin n → ℂ),
R (rotorError e.val.1 e.val.2 (rotorEncode n r c)) = fun s => if s = e then c else 0) := 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 pair of positive natural numbers , define, for , the sequence when the integer remainder is zero, and otherwise; also define for real , integer , and arbitrary . The assertion is the conjunction of these statements: is injective; an arbitrary sequence has the form for some coefficient vector if and only if, for every integer , and ; for each there is a real such that for every integer ; for every , and , where and ; and, writing , there exists a complex-linear map from all complex sequences on to functions from to coefficient vectors such that, for every and every , if and is the zero vector otherwise, for every . The coefficient vectors are arbitrary, including zero, and no normalization is required.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.