Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 8: permutation-invariant single-copy models

Open
QAlgorithms.Papers.Independent.Advance50.P50.theorem8

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

An nnn-qubit input ρ\rhoρ is a positive semidefinite, trace-one matrix on the fixed computational basis, of dimension d=2nd=2^nd=2n. A kkk-copy model has a fixed input-independent unitary UUU, a Hermitian observable OOO, effective observable O~=U†OU\widetilde O=U^\dagger O UO=U†OU, and exact response h(ρ)=Tr⁡[Uρ⊗kU†O]h(\rho)=\operatorname{Tr}[U\rho^{\otimes k}U^\dagger O]h(ρ)=Tr[Uρ⊗kU†O]. Let n≥0n\ge0n≥0 and define Vn=span⁡C{A⊗n:A∈U(2)}\mathcal V_n=\operatorname{span}_{\mathbb C}\{A^{\otimes n}:A\in U(2)\}Vn​=spanC​{A⊗n:A∈U(2)}. Every Hermitian B∈VnB\in\mathcal V_nB∈Vn​ has a one-copy realization with effective observable BBB, and

h(PρP†)=h(ρ)(P∈Sn, ρ a density matrix).h(P\rho P^\dagger)=h(\rho)\quad(P\in S_n,\ \rho\text{ a density matrix}).h(PρP†)=h(ρ)(P∈Sn​, ρ a density matrix).

The span is of the whole set of collective unitaries, not one preselected tensor power. This guarantees invariance only, without asserting separation of arbitrary encoded graph classes.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P50
Formal statement
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.15, Theorem 8 and Eq.(43): every Hermitian element of the full
collective-unitary span can be realized by a permutation-invariant H1 model.
No graph classification guarantee is inferred. -/
theorem theorem8 (n : ℕ) :
    ∀ A : Mat (Qubits n), A.IsHermitian → A ∈ collectiveSpan n →
      ∃ M : ExpectationModel (Qubits n) 1,
        M.effective = (fun x y => A (x 0) (y 0)) ∧
        DomainInvariant (sitePermutationMatrices n) {rho | IsDensityMatrix rho} M.response := by sorry

end QAlgorithms.Papers.Independent.Advance50.P50

end
Source
Group-Invariant Quantum Machine Learning, arXiv:2205.02261v2, PDF p. 15, Theorem 8: permutation-invariant single-copy models
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every natural number nnn, including n=0n=0n=0, let Qn={0,1}nQ_n=\{0,1\}^nQn​={0,1}n. For every Hermitian complex matrix AAA indexed by QnQ_nQn​ that belongs to the complex linear span of the matrices

Tu(x,y)=∏j=0n−1u(xj,yj),T_u(x,y)=\prod_{j=0}^{n-1}u(x_j,y_j),Tu​(x,y)=j=0∏n−1​u(xj​,yj​),

where uuu ranges over all 2×22\times22×2 unitary matrices, there exist a unitary matrix UUU indexed by one-copy configurations x:{0}→Qnx:\{0\}\to Q_nx:{0}→Qn​ and a Hermitian matrix OOO on the same index set such that U†OU(x,y)=A(x0,y0)U^\dagger O U(x,y)=A(x_0,y_0)U†OU(x,y)=A(x0​,y0​). Moreover, writing ρ(1)(x,y)=ρ(x0,y0)\rho^{(1)}(x,y)=\rho(x_0,y_0)ρ(1)(x,y)=ρ(x0​,y0​), the response h(ρ)=Re⁡tr⁡(Uρ(1)U†O)h(\rho)=\operatorname{Re}\operatorname{tr}(U\rho^{(1)}U^\dagger O)h(ρ)=Retr(Uρ(1)U†O) satisfies h(PpρPp†)=h(ρ)h(P_p\rho P_p^\dagger)=h(\rho)h(Pp​ρPp†​)=h(ρ) for every positive semidefinite matrix ρ\rhoρ of trace 111 and every permutation ppp of the nnn sites, where Pp(y,x)=1P_p(y,x)=1Pp​(y,x)=1 if yj=xp−1(j)y_j=x_{p^{-1}(j)}yj​=xp−1(j)​ for every jjj, and is 000 otherwise. For n=0n=0n=0, QnQ_nQn​ contains the unique empty configuration, and the defining product is 111.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me