Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

An explicit U(1) semi-universal synthesis family

Open
QAlgorithms.Papers.Independent.Intake100.P83.u1ThreeGates

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

prove2quantum

On n≥2n\ge2n≥2 qubits, use excitation-number symmetry u(z)=diag⁡(1,z)u(z)=\operatorname{diag}(1,z)u(z)=diag(1,z) for z∈U(1)z\in U(1)z∈U(1). Its invariant operators are the same as for the paper's projective z-rotation convention. Let F\mathcal FF consist of SSS on every site, all four two-site phase gates I−2∣ab⟩⟨ab∣I-2|ab\rangle\langle ab|I−2∣ab⟩⟨ab∣ with a,b∈{0,1}a,b\in\{0,1\}a,b∈{0,1}, and eiθ(σx⊗σx+σy⊗σy)e^{i\theta(\sigma_x\otimes\sigma_x+\sigma_y\otimes\sigma_y)}eiθ(σx​⊗σx​+σy​⊗σy​) on any pair of sites, for 0≤θ<2π0\le\theta<2\pi0≤θ<2π. Then

⨁w=0nSU(Hw)⊆⟨F⟩finite⊆Vn,2U(1),\bigoplus_{w=0}^n SU(\mathcal H_w)\subseteq\langle\mathcal F\rangle_{\mathrm{finite}} \subseteq\mathcal V^{U(1)}_{n,2},w=0⨁n​SU(Hw​)⊆⟨F⟩finite​⊆Vn,2U(1)​,

where Hw\mathcal H_wHw​ is the full Hamming-weight-www sector. This is exact semi-universality by the stated explicit gate family.

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: the S, four controlled-phase and XX+YY gate families are U(1) semi-universal.
The representation diag(1,z) has the same invariant operators as exp(i theta sigma_z/2),
after reversing the circle parameter and removing a scalar phase. -/
theorem u1ThreeGates (n : ℕ) (hn : 2 ≤ n) :
    blockSpecial (sameCharge excitationPhases n) ⊆ finiteGateProducts (excitationFamily n) ∧
    finiteGateProducts (excitationFamily n) ⊆ symmetricLocalGroup excitationPhases n 2 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P83

end
Source
Theory of Quantum Circuits with Abelian Symmetries, arXiv:2302.12466v3, PDF p. 9, V example, unnumbered: explicit U(1) semi-universal gate family
Read-back

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

For every natural number n≥2n\ge2n≥2, define the character of a Boolean word rrr of length nnn on the complex unit circle by χr(z)=∏j(if rj is true then z else 1)=z∣r∣\chi_r(z)=\prod_j(\text{if }r_j\text{ is true then }z\text{ else }1)=z^{|r|}χr​(z)=∏j​(if rj​ is true then z else 1)=z∣r∣, where ∣r∣|r|∣r∣ counts true entries. Let B\mathcal BB consist of unitary matrices whose entry at (r,s)(r,s)(r,s) is zero whenever χr≠χs\chi_r\ne\chi_sχr​=χs​ as functions, and whose restriction to the words with the same character as any fixed word has determinant 111. Let F\mathcal FF consist of embeddings of S=diag⁡(1,i)S=\operatorname{diag}(1,i)S=diag(1,i) on one site, embeddings of I−2∣u⟩⟨u∣I-2|u\rangle\langle u|I−2∣u⟩⟨u∣ on two distinct sites for every two-bit word uuu, and embeddings on two distinct sites of exp⁡(iθ(X⊗X+Y⊗Y))\exp(i\theta(X\otimes X+Y\otimes Y))exp(iθ(X⊗X+Y⊗Y)) for 0≤θ<2π0\le\theta<2\pi0≤θ<2π, where X=(0110)X=\begin{pmatrix}0&1\\1&0\end{pmatrix}X=(01​10​) and Y=(0−ii0)Y=\begin{pmatrix}0&-i\\i&0\end{pmatrix}Y=(0i​−i0​). Embedding means using the local matrix entry when the indexing words agree outside the selected sites, and zero otherwise. Then B\mathcal BB is contained in the set of exact finite products of gates from F\mathcal FF, and that finite-product set is contained in the set of exact finite products of unitary operators supported on at most two sites that commute with every diag⁡(χr(z))r\operatorname{diag}(\chi_r(z))_rdiag(χr​(z))r​. All these finite products use reversed lists and include the empty product, equal to the identity.

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