Lemma 5: diagonal sector-traceless operators
OpenQAlgorithms.Papers.Independent.Extend50.P14.diagonal_traceless_generationFor n≥2 the diagonal skew-Hermitian matrices with zero trace in every Hamming-weight sector are exactly the matrices
This common set is contained in the real Lie algebra generated by iR_{rs} and iZ_r. The constraints at l=0 and l=n are included.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P14
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P14
open scoped Classical Matrix ComplexConjugate Matrix.Norms.Frobenius
open MeasureTheory
-- Exact accepted aliases and physical operators, without local redeclarations.
open QAlgorithms.Papers.Independent.Information100.P60 (Mat)
open QAlgorithms.Papers.Independent.Advance50.P49 (onWire multiSwap)
attribute [local instance 100] LieRing.ofAssociativeRing
/-- PDF p.26, Lemma 5/C24: equality of the two diagonal sets, followed by
inclusion in the exchange/Z algebra; all weights, including 0 and n, are constrained. -/
theorem diagonal_traceless_generation (n : ℕ) (hn : 2 ≤ n) :
{A : QMat n | A + Aᴴ = 0 ∧ Matrix.IsDiag A ∧
∀ m : Fin (n+1), Matrix.trace (A * chargeSector n m.val) = 0} =
{A : QMat n | ∃ a : Qubits n → ℝ,
A = Complex.I • ∑ b : Qubits n, (a b : ℂ) • zString b ∧
∀ l : Fin (n+1), ∑ b ∈ Finset.univ.filter (fun b => qubitWeight b = l.val), a b = 0} ∧
{A : QMat n | A + Aᴴ = 0 ∧ Matrix.IsDiag A ∧
∀ m : Fin (n+1), Matrix.trace (A * chargeSector n m.val) = 0} ⊆
(xyZLie n : Set (QMat n)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P14
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , consider matrices indexed by -bit strings, write for the number of ones in , and define and . Let
Then
and is contained in the smallest real Lie algebra generated by on each individual site and by on every pair of distinct sites, with identities elsewhere. Here the Lie bracket is , and the single-site matrices are
The trace conditions are complex equalities, and both the zero-weight and the weight- coefficient sums are included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.