Eq.(33): local quadratic symmetry algebra
OpenQAlgorithms.Papers.Independent.Advance50.P50.local_quadratic_commutantLet denote the represented local unitary group. Fix , and let swap the two copies at precisely the sites in . Then
Copy-major indices are explicitly transposed into paired-site indices in each generator. This identifies the physical quadratic symmetry algebra and includes the identity at .
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P50
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P50
open MeasureTheory ProbabilityTheory
open scoped ComplexConjugate ENNReal
-- Exact accepted primitives; no paper-local redeclarations.
open QAlgorithms.Papers.Independent.Information100.P63 (Mat tensorPower)
open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)
open QAlgorithms.Papers.Independent.Gap48.P38 (subsystemReduction)
open QAlgorithms.Papers.Independent.Information100.P32 (purity)
open QAlgorithms.Papers.Independent.Information100.P08 (IsPure)
-- Matrices carry the associative commutator bracket X*Y-Y*X.
attribute [local instance 100] LieRing.ofAssociativeRing
/-- PDF p.13, Eq.(33): the complex quadratic tensorCommutant is spanned by the
2^n physical products of site swaps and site identities. -/
theorem local_quadratic_commutant (n : ℕ) :
tensorCommutant 2 (localUnitaryMatrices n) =
(Submodule.span ℂ (Set.range (fun Q : Finset (Fin n) => subsystemSwap Q)) :
Set (Mat (Copies (Qubits n) 2))) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P50
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every integer , consider matrices on two copies of the -qubit space. The set of matrices commuting with for every matrix of the form , where each is an arbitrary single-qubit unitary, is exactly
Here exchanges the two copies’ bits at each site in and leaves all other bits unchanged: its -entry is precisely when and for , and for , and is otherwise. The empty subset is included and gives the identity. When , the underlying space is one dimensional and the displayed span consists of all its matrices.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.