Minimal perfectly complete stabilizer projector
OpenQAlgorithms.Papers.Independent.Extend50.P30.minimalStabilizerTestLet be prime and . The average of the graph unitaries over the stochastic orthogonal group is the orthogonal projector onto the complex span of all stabilizer tensor powers. This identifies a subspace, not every individual tensor-power vector in it at small .
This gives the source's minimal perfectly complete stabilizer projector 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.48, Theorem 5.6: no identification of individual tensor powers is asserted for small t. -/
theorem minimalStabilizerTest (d n t : ℕ) [NeZero d] [Fact (Nat.Prime d)]
(hn : 1 ≤ n) (ht : 1 ≤ t) :
IsOrthogonalProjectionOnto (minimalTest d n t) (stabilizerSpan d n t) := 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 and natural numbers , the matrix described below is Hermitian and idempotent, and its range is exactly the indicated complex linear span. Put , for even and otherwise, , and . Define to be when , and otherwise, using least nonnegative residue representatives. Let . For every subset containing , closed under products and conjugate transpose, and containing no scalar matrix with , form and . Let be the set of these latter matrices that equal for a unit vector . Define in , and let be the finite set of matrices over satisfying for every and . No separate invertibility condition occurs in this definition. For -tuples of elements of , set
Then
Thus the asserted range concerns tensor powers of unit vectors whose rank-one matrices belong to the explicitly constructed finite set .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.