Coset expansion and rank of a relation operator
OpenQAlgorithms.Papers.Independent.Extend50.P30.relationPartialIsometryLet be prime, , and let have left defect , right defect , and its canonically induced map . The ket is the normalized uniform superposition on . The normalized relation operator is a partial isometry, with rank equal to either defect-quotient cardinality.
This gives the source's coset expansion and rank of a relation operator 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.39, Lemma 4.23: r(T)/|left defect| is a partial isometry; rank is the quotient cardinality.
The quotient direction corrects the reversed type in the introductory sentence of the lemma. -/
theorem relationPartialIsometry (d t : ℕ) [NeZero d] [Fact (Nat.Prime d)]
(ht : 1 ≤ t) (T : Lagrangian d t) :
let B := (Nat.card (leftDefect T.val) : ℂ)⁻¹ • relationOperator T.val
B = ∑ q : defectQuotient (rightDefect T.val),
ketBra (cosetState (leftDefect T.val) (canonicalDefectMap T.val q))
(cosetState (rightDefect T.val) q) ∧
B * Bᴴ * B = B ∧
Matrix.rank (relationOperator T.val) = Nat.card (defectQuotient (leftDefect T.val)) ∧
Matrix.rank (relationOperator T.val) = Nat.card (defectQuotient (rightDefect T.val)) := 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 , natural number , and subspace , where , assume , , and on , with modulo for even and modulo otherwise. Put , , , and . For each , choose a representative , and define the vector by if , and otherwise. Define by taking the chosen representative , choosing an with if one exists, and returning ; if none exists, return the zero element of . Let when and otherwise, and set . Then
Here has entry , and denotes conjugate transpose.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.