Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Anisotropic XY inversion on a connected graph

Open
QAlgorithms.Papers.Independent.Intake100.P95.anisotropicGraphCriterion

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

prove2quantum

Let n≥1n\ge1n≥1, let JkℓJ_{k\ell}Jkℓ​ be real couplings with connected nonzero support graph, and fix one common κ∈[−1,1]\kappa\in[-1,1]κ∈[−1,1] for all edges. With identities understood on the remaining qubits, define

HXY=π2∑k<ℓJkℓ(XkXℓ+κYkYℓ).H_{XY}=\frac\pi2\sum_{k<\ell}J_{k\ell}(X_kX_\ell+\kappa Y_kY_\ell).HXY​=2π​k<ℓ∑​Jkℓ​(Xk​Xℓ​+κYk​Yℓ​).

Then HXYH_{XY}HXY​ is type-I locally reversible if and only if its support graph is bipartite or κ=−1\kappa=-1κ=−1. The endpoints, including κ=0\kappa=0κ=0, are retained. At κ=−1\kappa=-1κ=−1 any connected support graph is allowed.

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 6, PDF p.6, (26): one common kappa in [-1,1] on a connected
support graph. The endpoint -1 is the sole graph-independent exception. -/
theorem anisotropicGraphCriterion {n : ℕ} (hn : 0 < n)
    (J : Fin n → Fin n → ℝ) (hconnected : (couplingGraph J).Connected)
    (kappa : ℝ) (hkappa : -1 ≤ kappa ∧ kappa ≤ 1) :
    TypeI (networkXY J kappa) ↔ BipartiteCouplings J ∨ kappa = -1 := 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. 6, Lemma 6: anisotropic XX+κYY coupling graph
Read-back

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

For every positive integer nnn, every real array J=(Jij)0≤i,j<nJ=(J_{ij})_{0\le i,j<n}J=(Jij​)0≤i,j<n​, and every κ∈[−1,1]\kappa\in[-1,1]κ∈[−1,1], assume that the graph on {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} with adjacency i≠ji\ne ji=j and Jmin⁡(i,j),max⁡(i,j)≠0J_{\min(i,j),\max(i,j)}\ne0Jmin(i,j),max(i,j)​=0 is connected. Let Xi,YiX_i,Y_iXi​,Yi​ denote the operators acting on bit iii by

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

respectively, and by the identity on every other bit, and put

H=π2∑0≤i<j<nJij(XiXj+κYiYj).H=\frac{\pi}{2}\sum_{0\le i<j<n}J_{ij}(X_iX_j+\kappa Y_iY_j).H=2π​0≤i<j<n∑​Jij​(Xi​Xj​+κYi​Yj​).

There exist Ki∈SU(2)K_i\in SU(2)Ki​∈SU(2) for which K=⨂iKiK=\bigotimes_iK_iK=⨂i​Ki​ satisfies Ke−itHK†=e+itHKe^{-\mathrm itH}K^\dagger=e^{+\mathrm itH}Ke−itHK†=e+itH for every real ttt if and only if either the graph admits a Boolean coloring with different colors at adjacent vertices or κ=−1\kappa=-1κ=−1. No symmetry assumption is imposed on JJJ, and only its entries strictly above the diagonal are used. The endpoints κ=±1\kappa=\pm1κ=±1 and the case n=1n=1n=1, with an empty interaction sum, are included.

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