Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 11: diagonal controls and adjacent exchange

Open
QAlgorithms.Papers.Independent.Extend50.P14.diagonal_chain_universality

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

prove2quantum

On n≥1 qubits let D be all diagonal Hermitian controls and R_{j,j+1}=(X_jX_{j+1}+Y_jY_{j+1})/2 for 1≤j<n. Then

Lie⁡R{iD, iRj,j+1:1≤j<n}={A:A†=−A, [A,∑jZj]=0}.\operatorname{Lie}_{\mathbb R}\{iD,\ iR_{j,j+1}:1\le j<n\}=\{A:A^\dagger=-A,\ [A,\sum_j Z_j]=0\}.LieR​{iD, iRj,j+1​:1≤j<n}={A:A†=−A, [A,j∑​Zj​]=0}.

For one qubit the exchange family is empty and diagonal controls already give the full invariant algebra.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P14
Formal statement
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 pp.28–29, Theorem 11/C34: adjacent exchange plus all diagonal controls.
For n=1 the exchange family is empty and diagonal controls already suffice. -/
theorem diagonal_chain_universality (n : ℕ) (hn : 1 ≤ n) :
    (LieSubalgebra.lieSpan ℝ (QMat n)
      ((fun H => Complex.I • H) '' diagonalChainControls n) : Set (QMat n)) =
      {A | A + Aᴴ = 0 ∧ U1Invariant A} := by sorry

end QAlgorithms.Papers.Independent.Extend50.P14

end
Source
Restrictions on realizable unitary operations imposed by symmetry and locality, arXiv:2003.05524v3, PDF p. 28, Theorem 11: diagonal controls and nearest-neighbor exchange generate all U(1) Hamiltonians
Read-back

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

For every natural number n≥1n\ge1n≥1, consider matrices indexed by nnn-bit strings and set Zn=diag⁡x(n−2∣x∣)Z_n=\operatorname{diag}_x(n-2|x|)Zn​=diagx​(n−2∣x∣), where ∣x∣|x|∣x∣ counts ones. Let Cn\mathcal C_nCn​ consist of every Hermitian diagonal matrix, together with every matrix 12(XaXb+YaYb)\tfrac12(X_aX_b+Y_aY_b)21​(Xa​Xb​+Ya​Yb​) for sites a,b∈{0,…,n−1}a,b\in\{0,\ldots,n-1\}a,b∈{0,…,n−1} satisfying a+1=ba+1=ba+1=b, with identities on all other sites, where

X=(0110),Y=(0−ii0).X=\begin{pmatrix}0&1\\1&0\end{pmatrix},\qquad Y=\begin{pmatrix}0&-i\\i&0\end{pmatrix}.X=(01​10​),Y=(0i​−i0​).

Then the smallest real Lie algebra containing iHiHiH for every H∈CnH\in\mathcal C_nH∈Cn​, with bracket AB−BAAB-BAAB−BA, is exactly

{A:A+A†=0, AZn=ZnA}.\{A:A+A^\dagger=0,\ AZ_n=Z_nA\}.{A:A+A†=0, AZn​=Zn​A}.

For n=1n=1n=1, there are no adjacent-site exchange controls, while all Hermitian diagonal matrices remain in Cn\mathcal C_nCn​.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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