Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 6: exact parity-block special synthesis

Open
QAlgorithms.Papers.Independent.Intake100.P83.corollary6

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

prove2quantum

Let n≥1n\ge1n≥1 and let VVV be an nnn-qubit unitary. Write Zn=σz⊗nZ_n=\sigma_z^{\otimes n}Zn​=σz⊗n​ and let V0,V1V_0,V_1V0​,V1​ be its restrictions to the full even- and odd-Hamming-weight spaces. Suppose

ZnVZn=V,det⁡V0=det⁡V1=1.Z_nVZ_n=V,\qquad\det V_0=\det V_1=1.Zn​VZn​=V,detV0​=detV1​=1.

Then VVV is an exact finite product of SSS gates, the four two-qubit gates I−2∣ab⟩⟨ab∣I-2|ab\rangle\langle ab|I−2∣ab⟩⟨ab∣ from Eq.(19), and the rotations eiθσx⊗σxe^{i\theta\sigma_x\otimes\sigma_x}eiθσx​⊗σx​, 0≤θ<2π0\le\theta<2\pi0≤θ<2π, on arbitrary site pairs. No global-phase freedom is introduced. For n=1n=1n=1, the hypotheses force V=IV=IV=I.

This is the parity-preserving specialization of the explicit synthesis method.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P83
Formal statement
noncomputable section

open scoped BigOperators ComplexConjugate Matrix Kronecker Manifold ContDiff

attribute [local instance] Classical.propDecidable

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

namespace QAlgorithms.Papers.Independent.Intake100.P83

variable {A G : Type*} [Fintype A] [DecidableEq A]

/-- PDF p.9 Corollary 6, with both Eqs.(22)-(23) expanded. Exact synthesis, with no
uncontrolled global phase. For n=1 both sector determinants force the identity. -/
theorem corollary6 (n : ℕ) (hn : 1 ≤ n) (V : Op (Words Bool n))
    (hV : V ∈ Matrix.unitaryGroup (Words Bool n) ℂ)
    (hparity : parityZ n * V * parityZ n = V)
    (hdet : ∀ b : Bool, parityDet V b = 1) :
    V ∈ finiteGateProducts (parityFamily n) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P83

end
Source
Theory of Quantum Circuits with Abelian Symmetries, arXiv:2302.12466v3, PDF p. 9, Corollary 6: parity-preserving block-special synthesis
Read-back

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

For every natural number n≥1n\ge1n≥1, let VVV be a unitary matrix indexed by Boolean words of length nnn, and let PPP be the diagonal matrix with Prr=(−1)∣r∣P_{rr}=(-1)^{|r|}Prr​=(−1)∣r∣, where ∣r∣|r|∣r∣ is the number of true entries of rrr. Assume PVP=VPVP=VPVP=V, and assume that for each Boolean value bbb, the determinant of the restriction of VVV to words satisfying ∣r∣ mod 2=1|r|\bmod2=1∣r∣mod2=1 when bbb is true and ∣r∣ mod 2=0|r|\bmod2=0∣r∣mod2=0 when bbb is false is 111. Then VVV is an exact finite product of embedded gates of these forms: S=diag⁡(1,i)S=\operatorname{diag}(1,i)S=diag(1,i) on one site; I−2∣u⟩⟨u∣I-2|u\rangle\langle u|I−2∣u⟩⟨u∣ on two distinct sites for any two-bit word uuu; and exp⁡(iθ(X⊗X))\exp(i\theta(X\otimes X))exp(iθ(X⊗X)) on two distinct sites, where 0≤θ<2π0\le\theta<2\pi0≤θ<2π and X=(0110)X=\begin{pmatrix}0&1\\1&0\end{pmatrix}X=(01​10​). Each embedding has the local gate’s entry when the indexing words agree outside the selected sites, and zero otherwise. Products use reversed lists and permit the empty product, equal to the identity. The assertion includes n=1n=1n=1, where no two-site embeddings exist.

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