Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§III pitfalls: a universal parametrization can symmetrize to no nontrivial gates

Open
QAlgorithms.Papers.Independent.Extend50.P01.twirl_collapse

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

prove2quantum

For the order-two representation {I,X}\{I,X\}{I,X} on one qubit, let T(A)=(A+XAX)/2T(A)=(A+XAX)/2T(A)=(A+XAX)/2. Then

T(Y)=T(Z)=0,T(X)=X.T(Y)=T(Z)=0,\qquad T(X)=X.T(Y)=T(Z)=0,T(X)=X.

Every finite ordered product of real-angle evolutions generated by twirls of YYY or ZZZ is therefore identity. In contrast, e−iθXe^{-i\theta X}e−iθX commutes with XXX for every real θ\thetaθ, and e−iπX/4≠Ie^{-i\pi X/4}\ne Ie−iπX/4=I. This is the source's concrete collapse example for the ZZZ-YYY-ZZZ parametrization, without asserting a general expressivity or generalization theorem.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P01
Formal statement
noncomputable section

open scoped Matrix Kronecker ComplexConjugate Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P01

attribute [local instance] Classical.propDecidable Classical.decEq

-- PDF pp.3,8: reuse the accepted operator type, exp(-itH), and A X A†.
-- Notation specializes the imported interfaces without introducing duplicate declarations.

local notation "Op" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Op (Qubits n))

local notation "evolve" => QAlgorithms.Papers.Independent.Information100.P32.evolution

local notation "conjugate" => QAlgorithms.conjSuperop

-- PDF pp.3,10–11: the imported quadratic form is Re(psi† A psi).

local notation "expectation" => QAlgorithms.Papers.Independent.Information100.P21.quad

-- PDF pp.5,16–19: accepted active-wire operator, with identities on all spectators.

local notation "onWire" => QAlgorithms.Papers.Independent.Advance50.P49.onWire

-- PDF p.5: the imported phase-free Pauli tensor uses 0=I,1=X,2=Y,3=Z.

local notation "pauliWord" => QAlgorithms.Papers.Independent.Gap48.P33.pauliWord

/-- PDF pp.9–10: the concrete collapse of the Y,Z generator parametrization under {I,X}. -/
theorem twirl_collapse :
    involutionTwirl pauliX pauliY = 0 ∧ involutionTwirl pauliX pauliZ = 0 ∧
    involutionTwirl pauliX pauliX = pauliX ∧
    (∀ (k : ℕ) (G : Fin k → Matrix Bool Bool ℂ),
      (∀ j, G j = pauliY ∨ G j = pauliZ) → ∀ theta : Fin k → ℝ,
      orderedProd (fun j => evolve (involutionTwirl pauliX (G j)) (theta j)) = 1) ∧
    (∀ theta : ℝ, Commute (evolve pauliX theta) pauliX) ∧
    evolve pauliX (Real.pi / 4) ≠ 1 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P01

end
Source
Exploiting symmetry in variational quantum machine learning, arXiv:2205.06217v1, PDF p. 10, §III pitfalls: a universal parametrization can symmetrize to no nontrivial gates
Read-back

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

Let X=(0110)X=\begin{pmatrix}0&1\\1&0\end{pmatrix}X=(01​10​), Y=(0−ii0)Y=\begin{pmatrix}0&-i\\i&0\end{pmatrix}Y=(0i​−i0​), Z=(100−1)Z=\begin{pmatrix}1&0\\0&-1\end{pmatrix}Z=(10​0−1​), and TX(A)=12(A+XAX†)\mathcal T_X(A)=\tfrac12(A+XAX^\dagger)TX​(A)=21​(A+XAX†). Then TX(Y)=0\mathcal T_X(Y)=0TX​(Y)=0, TX(Z)=0\mathcal T_X(Z)=0TX​(Z)=0, and TX(X)=X\mathcal T_X(X)=XTX​(X)=X. For every natural number kkk, every family G0,…,Gk−1G_0,\ldots,G_{k-1}G0​,…,Gk−1​ of 2×22\times22×2 complex matrices satisfying Gj=YG_j=YGj​=Y or Gj=ZG_j=ZGj​=Z for every jjj, and every real family θ0,…,θk−1\theta_0,\ldots,\theta_{k-1}θ0​,…,θk−1​,

e−iθk−1TX(Gk−1)⋯e−iθ0TX(G0)=I.e^{-i\theta_{k-1}\mathcal T_X(G_{k-1})}\cdots e^{-i\theta_0\mathcal T_X(G_0)}=I.e−iθk−1​TX​(Gk−1​)⋯e−iθ0​TX​(G0​)=I.

This includes k=0k=0k=0, with the empty product equal to III. Moreover, e−iθXe^{-i\theta X}e−iθX commutes with XXX for every real θ\thetaθ, and e−i(π/4)X≠Ie^{-i(\pi/4)X}\ne Ie−i(π/4)X=I.

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