Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ising inversion and bipartite coupling topology

Open
QAlgorithms.Papers.Independent.Intake100.P95.isingGraphCriterion

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

prove2quantum

Let n≥1n\ge1n≥1 and let Jkℓ∈RJ_{k\ell}\in\mathbb RJkℓ​∈R be coupling weights for k<ℓk<\ellk<ℓ. Assume the graph on the nnn qubits, with an edge precisely where Jkℓ≠0J_{k\ell}\ne0Jkℓ​=0, is connected. Embed each Pauli operator by identities on the remaining qubits and put

HZZ=π2∑k<ℓJkℓZkZℓ.H_{ZZ}=\frac\pi2\sum_{k<\ell}J_{k\ell}Z_kZ_\ell.HZZ​=2π​k<ℓ∑​Jkℓ​Zk​Zℓ​.

Then HZZH_{ZZ}HZZ​ is type-I locally reversible if and only if its support graph is bipartite. Type-I means one tensor product of special-unitary single-qubit operations reverses the evolution for every real time. Couplings may have either sign; completeness of the graph is not assumed.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P95
Formal statement
namespace QAlgorithms.Papers.Independent.Intake100.P95

open scoped BigOperators

open QAlgorithms.Papers.Independent.Information100.P32 (Op evolution)

open QAlgorithms.Papers.Independent.Advance50.P38 (comm realHSPairing)

open QAlgorithms.Papers.Independent.Information100.P10 (pauli)

open QAlgorithms.Papers.Independent.Claimed50.P03 (wordMatrix wordSupport)

noncomputable section

/-- Lemma 5, PDF pp.5–6, (25): real signed nonzero couplings define edges;
the section assumes connected support, but never a complete graph. -/
theorem isingGraphCriterion {n : ℕ} (hn : 0 < n)
    (J : Fin n → Fin n → ℝ) (hconnected : (couplingGraph J).Connected) :
    TypeI (isingZZ J) ↔ BipartiteCouplings J := by sorry

end

end QAlgorithms.Papers.Independent.Intake100.P95
Source
Which Quantum Evolutions Can Be Reversed by Local Unitary Operations? Algebraic Classification and Gradient-Flow-Based Numerical Checks, arXiv:quant-ph/0610061v1, PDF p. 5, Lemma 5 (Variant to Beth [13]): ZZ coupling graph
Read-back

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

For every positive integer nnn and every real array J=(Jij)0≤i,j<nJ=(J_{ij})_{0\le i,j<n}J=(Jij​)0≤i,j<n​, form the simple graph on {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} in which distinct vertices i,ji,ji,j are adjacent exactly when Jmin⁡(i,j),max⁡(i,j)≠0J_{\min(i,j),\max(i,j)}\ne0Jmin(i,j),max(i,j)​=0, and assume that this graph is connected. Write Z=diag⁡(1,−1)Z=\operatorname{diag}(1,-1)Z=diag(1,−1), let ZiZ_iZi​ act as ZZZ on bit iii and as the identity on every other bit, and set

H=π2∑0≤i<j<nJijZiZj.H=\frac{\pi}{2}\sum_{0\le i<j<n}J_{ij}Z_iZ_j.H=2π​0≤i<j<n∑​Jij​Zi​Zj​.

Then there exist matrices Ki∈SU(2)K_i\in SU(2)Ki​∈SU(2) such that the single matrix K=⨂i=0n−1KiK=\bigotimes_{i=0}^{n-1}K_iK=⨂i=0n−1​Ki​ satisfies

Ke−itHK†=e+itHfor every t∈RKe^{-\mathrm itH}K^\dagger=e^{+\mathrm itH}\qquad\text{for every }t\in\mathbb RKe−itHK†=e+itHfor every t∈R

if and only if there exists a coloring χ:{0,…,n−1}→{false,true}\chi:\{0,\ldots,n-1\}\to\{\mathrm{false},\mathrm{true}\}χ:{0,…,n−1}→{false,true} assigning different colors to the endpoints of every edge. No symmetry assumption is imposed on JJJ; its diagonal and entries below the diagonal do not enter either construction. The quantification includes n=1n=1n=1, when the interaction sum and edge set are empty.

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