§VI (65)–(67): CSS lattice construction
OpenQAlgorithms.Papers.Independent.Intakenext100.P12.css_lattice_constructionLet and let be nonsingular real row generator matrices, with for the Euclidean integer dual. In the displayed source block order put . Then is nonsingular, the Gram matrix is integral, and
All lattice vectors have integral symplectic pairings. The explicit position comb on the -translation lattice is a nonzero continuous Schwartz functional fixed by the physical translations and modulations. The physical Weyl coordinates are obtained by swapping the source's grouped blocks to the grouped coefficient convention.
For the single-oscillator rectangular construction with and , the scalar generator product is , so its displayed Gram matrix is . This supplies an actual generalized CSS stabilizer state, rather than assuming that the common eigenspace is nonzero.
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 VI (65)–(67), PDF p.8: the source's CSS row block construction. -/
theorem css_lattice_construction (N : ℕ) (hN : 0 < N)
(Mq Mp : Matrix (Fin N) (Fin N) ℝ) (hq : Mq.det ≠ 0) (hp : Mp.det ≠ 0)
(hdual : rowLattice Mp ⊆ euclideanDual (rowLattice Mq)) :
let M := Matrix.fromBlocks Mq 0 0 Mp
HasCSSDistribution N Mq Mp ∧ M.det ≠ 0 ∧ IntegralMatrix (latticeGram N M) ∧
latticeGram N M = Matrix.fromBlocks 0 (Mq * Mp.transpose) (-(Mp * Mq.transpose)) 0 ∧
(∀ v ∈ rowLattice M, ∀ w ∈ rowLattice M,
∃ k : ℤ, gkpPair N v w = k) ∧
(∀ n : ℕ, 0 < n → ∀ alpha : ℝ, 0 < alpha →
latticeGram 1 (Matrix.fromBlocks
(Matrix.diagonal (fun _ : Fin 1 => Real.sqrt (2 * Real.pi) / alpha)) 0 0
(Matrix.diagonal (fun _ : Fin 1 => n * alpha / Real.sqrt (2 * Real.pi)))) =
(n : ℝ) • sigma 1) := 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 positive integer and invertible real matrices , define for any real square matrix indexed by a finite set . Assume that for every and . Put and . Then there exists a nonzero continuous complex-linear functional on the Schwartz functions on with for every , and, for every row index and Schwartz functions , whenever either for all or for all ; the sum uses the total infinite-sum convention. Furthermore, , every entry of is integral,
and for every . Finally, for every positive integer and every positive real , the real matrix satisfies .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.