Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

One inverter for all exact support components

Open
QAlgorithms.Papers.Independent.Intake100.P95.simultaneousSupportCriterion

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

prove2quantum

Let n≥1n\ge1n≥1 and let HHH be Hermitian and traceless. For each subset SSS of qubits, let HSH_SHS​ be the sum of the Pauli expansion terms whose nonidentity support is exactly SSS. Explicitly, for a Pauli word PPP, its coefficient is 2−ntr⁡(P†H)2^{-n}\operatorname{tr}(P^\dagger H)2−ntr(P†H). Then

H=∑SHS,H is type-I reversible⟺∃K∈SU(2)⊗n ∀S: KHSK†=−HS.H=\sum_S H_S,\qquad H\text{ is type-I reversible}\quad\Longleftrightarrow\quad\exists K\in\mathrm{SU}(2)^{\otimes n}\ \forall S:\ KH_SK^\dagger=-H_S.H=S∑​HS​,H is type-I reversible⟺∃K∈SU(2)⊗n ∀S: KHS​K†=−HS​.

The same local operation must reverse all components. The components are canonical support summands, rather than arbitrary overlapping groups of monomials; zero components impose no condition.

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 7, PDF p.6, (28). Components are the canonical direct summands
of exact nonidentity support. The same K reverses every component. -/
theorem simultaneousSupportCriterion {n : ℕ} (hn : 0 < n)
    (H : Op (QAlgorithms.Qubits n)) (hH : IsHamiltonian H) :
    H = (∑ S : Finset (Fin n), supportComponent H S) ∧
    (TypeI H ↔ ∃ K : LocalSU n,
      ∀ S : Finset (Fin n), localAd K (supportComponent H S) = -supportComponent H S) := 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 7: simultaneous inversion of multi-qubit support components
Read-back

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

For every positive integer nnn and every Hermitian matrix HHH of trace zero indexed by nnn-bit strings, let Ps=⨂l=0n−1σslP_s=\bigotimes_{l=0}^{n-1}\sigma_{s_l}Ps​=⨂l=0n−1​σsl​​ for each word s∈{0,1,2,3}ns\in\{0,1,2,3\}^ns∈{0,1,2,3}n, where

σ0=I,σ1=(0110),σ2=(0−ii0),σ3=diag⁡(1,−1),\sigma_0=I,\quad \sigma_1=\begin{pmatrix}0&1\\1&0\end{pmatrix},\quad \sigma_2=\begin{pmatrix}0&-\mathrm i\\ \mathrm i&0\end{pmatrix},\quad \sigma_3=\operatorname{diag}(1,-1),σ0​=I,σ1​=(01​10​),σ2​=(0i​−i0​),σ3​=diag(1,−1),

and define supp⁡(s)={l:sl≠0}\operatorname{supp}(s)=\{l:s_l\ne0\}supp(s)={l:sl​=0} and

HS=∑supp⁡(s)=S2−ntr⁡(Ps†H) Ps(S⊆{0,…,n−1}).H_S=\sum_{\operatorname{supp}(s)=S}2^{-n}\operatorname{tr}(P_s^\dagger H)\,P_s \qquad(S\subseteq\{0,\ldots,n-1\}).HS​=supp(s)=S∑​2−ntr(Ps†​H)Ps​(S⊆{0,…,n−1}).

Then

H=∑S⊆{0,…,n−1}HS.H=\sum_{S\subseteq\{0,\ldots,n-1\}}H_S.H=S⊆{0,…,n−1}∑​HS​.

Moreover, there exist Kl∈SU(2)K_l\in SU(2)Kl​∈SU(2) such that K=⨂lKlK=\bigotimes_lK_lK=⨂l​Kl​ satisfies Ke−itHK†=e+itHKe^{-\mathrm itH}K^\dagger=e^{+\mathrm itH}Ke−itHK†=e+itH for every real ttt if and only if there exist Kl∈SU(2)K_l\in SU(2)Kl​∈SU(2) such that the same tensor product KKK satisfies KHSK†=−HSKH_SK^\dagger=-H_SKHS​K†=−HS​ for every subset SSS. The sums and the simultaneous requirement include the empty support, and H=0H=0H=0 is permitted.

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