Realizing compatible left and right defects
OpenQAlgorithms.Papers.Independent.Extend50.P30.defectPairRealizationLet be prime and . Any two defect subspaces of equal dimension, with if and only if , occur as the left and right kernels of a stochastic Lagrangian relation.
This gives the source's realizing compatible left and right defects in the fixed computational-basis and phase conventions.
Formalization Note Pure states carry norm one; stabilizer averages use density matrices to discard global phases. All finite tensor indices are explicitly ordered by copy, then physical qudit.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
noncomputable section
open scoped BigOperators ComplexConjugate Matrix
namespace QAlgorithms.Papers.Independent.Extend50.P30
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
open QAlgorithms.Papers.Independent.Gap20.P06 (ketBra)
attribute [local instance] Classical.propDecidable
/-- PDF p.38, Corollary 4.19: every compatible pair occurs as actual relation defects. -/
theorem defectPairRealization (d t : ℕ) [NeZero d] [Fact (Nat.Prime d)] (ht : 1 ≤ t)
(N M : Submodule (ZMod d) (ResidueRegister d t)) (hN : IsDefect N) (hM : IsDefect M)
(hdim : Module.finrank (ZMod d) N = Module.finrank (ZMod d) M)
(hone : (fun _ => 1) ∈ N ↔ (fun _ => 1) ∈ M) :
∃ T : Lagrangian d t, leftDefect T.val = N ∧ rightDefect T.val = M := by sorry
end QAlgorithms.Papers.Independent.Extend50.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every nonzero prime natural number , every natural number , and subspaces of , let for even and otherwise, let using canonical representatives modulo , and let denote the all-ones vector. Assume that vanishes on both and , that for every in either subspace, that over , and that if and only if . Then there exists a subspace having exactly elements, containing , and satisfying whenever , such that and . Zero subspaces are included among the possible and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.