Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 16: two ancillas remove system interactions

Open
QAlgorithms.Papers.Independent.Extend50.P14.two_ancilla_universality

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

prove2quantum

For n,d≥1 and ΔE>0 use the same identical equally spaced system energies as Theorem 15 and two ground-state ancilla qubits of gap ΔE. Every energy-conserving unitary V admits a finite-product W using only system/ancilla transfers R_{j,a}^{(l)}, R_{j,b}^{(l)} and local Z_a,Z_b, such that

W(∣ψ⟩∣0⟩a∣0⟩b)=(V∣ψ⟩)∣0⟩a∣0⟩bfor all ψ.W(|\psi\rangle|0\rangle_a|0\rangle_b)=(V|\psi\rangle)|0\rangle_a|0\rangle_b\quad\text{for all }\psi.W(∣ψ⟩∣0⟩a​∣0⟩b​)=(V∣ψ⟩)∣0⟩a​∣0⟩b​for all ψ.

The same W is reachable with finite pulses in the drift-containing G27 model. There are no direct system/system interactions. Z_b is included as required by G22–G23 and G27, correcting the repeated entry in G26.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P14
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P14

open scoped Classical Matrix ComplexConjugate Matrix.Norms.Frobenius

open MeasureTheory

-- Exact accepted aliases and physical operators, without local redeclarations.

open QAlgorithms.Papers.Independent.Information100.P60 (Mat)

open QAlgorithms.Papers.Independent.Advance50.P49 (onWire multiSwap)

attribute [local instance 100] LieRing.ofAssociativeRing

/-- PDF p.46, Corollary 16/G29: both ancillas return exactly, with no system
interactions or measurement. G26's duplicated entry is corrected to Z_b as in G27. -/
theorem two_ancilla_universality (n d : ℕ) (hn : 1 ≤ n) (hd : 1 ≤ d)
    (gap : ℝ) (hGap : 0 < gap) (V : EMat n d)
    (hV : V ∈ Matrix.unitaryGroup (EnergyBasis n d) ℂ)
    (hComm : V * intrinsicEnergy n d gap = intrinsicEnergy n d gap * V) :
    ∃ W : Mat ((EnergyBasis n d × Bool) × Bool), W ∈ controlGenerated (twoAncillaControls n d) ∧
      (∀ psi : EuclideanSpace ℂ (EnergyBasis n d),
        act W (groundEmbed (groundEmbed psi)) = groundEmbed (groundEmbed (act V psi))) ∧
      PulseReachable (twoAncillaDrift n d gap) (twoAncillaControls n d) W := by sorry

end QAlgorithms.Papers.Independent.Extend50.P14

end
Source
Restrictions on realizable unitary operations imposed by symmetry and locality, arXiv:2003.05524v3, PDF p. 46, Corollary 16: two ancillas eliminate direct system-system interactions
Read-back

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

For every pair of natural numbers n,d≥1n,d\ge1n,d≥1, every real gap>0\mathrm{gap}>0gap>0, and every unitary matrix VVV on B={0,…,d−1}n\mathcal B=\{0,\ldots,d-1\}^{n}B={0,…,d−1}n commuting with E=diag⁡(gap∑jxj)E=\operatorname{diag}(\mathrm{gap}\sum_jx_j)E=diag(gap∑j​xj​), there exists a matrix WWW on (B×{0,1})×{0,1}(\mathcal B\times\{0,1\})\times\{0,1\}(B×{0,1})×{0,1} satisfying the following assertions. Set Z=diag⁡(1,−1)Z=\operatorname{diag}(1,-1)Z=diag(1,−1), F=∣1⟩⟨0∣F=|1\rangle\langle0|F=∣1⟩⟨0∣, and Lj,ℓ(x,y)=1xj=ℓ1yj=ℓ+1∏r≠j1xr=yrL_{j,\ell}(x,y)=\mathbf1_{x_j=\ell}\mathbf1_{y_j=\ell+1}\prod_{r\ne j}\mathbf1_{x_r=y_r}Lj,ℓ​(x,y)=1xj​=ℓ​1yj​=ℓ+1​∏r=j​1xr​=yr​​, for j<nj<nj<n and ℓ<d−1\ell<d-1ℓ<d−1. Let C2\mathcal C_2C2​ consist exactly of

IB⊗Z⊗I2,IB⊗I2⊗Z,(Lj,ℓ⊗F+Lj,ℓ†⊗F†)⊗I2,Lj,ℓ⊗I2⊗F+Lj,ℓ†⊗I2⊗F†.I_{\mathcal B}\otimes Z\otimes I_2,\quad I_{\mathcal B}\otimes I_2\otimes Z,\quad (L_{j,\ell}\otimes F+L_{j,\ell}^{\dagger}\otimes F^{\dagger})\otimes I_2,\quad L_{j,\ell}\otimes I_2\otimes F+ L_{j,\ell}^{\dagger}\otimes I_2\otimes F^{\dagger}.IB​⊗Z⊗I2​,IB​⊗I2​⊗Z,(Lj,ℓ​⊗F+Lj,ℓ†​⊗F†)⊗I2​,Lj,ℓ​⊗I2​⊗F+Lj,ℓ†​⊗I2​⊗F†.

Then WWW is a finite product of exp⁡(iθC)\exp(i\theta C)exp(iθC) with C∈C2C\in\mathcal C_2C∈C2​ and θ∈R\theta\in\mathbb Rθ∈R, allowing the empty product, and for every complex vector ψ\psiψ,

W(ψ⊗∣0⟩⊗∣0⟩)=(Vψ)⊗∣0⟩⊗∣0⟩.W(\psi\otimes|0\rangle\otimes|0\rangle) =(V\psi)\otimes|0\rangle\otimes|0\rangle.W(ψ⊗∣0⟩⊗∣0⟩)=(Vψ)⊗∣0⟩⊗∣0⟩.

Furthermore, for D2=diag⁡(gap(∑jxj+b1+b2))D_2=\operatorname{diag}(\mathrm{gap}(\sum_jx_j+b_1+b_2))D2​=diag(gap(∑j​xj​+b1​+b2​)), there is a finite list (ts,Ps)(t_s,P_s)(ts​,Ps​) such that ts≥0t_s\ge0ts​≥0, Ps−D2P_s-D_2Ps​−D2​ belongs to the real linear span of C2\mathcal C_2C2​, and ∏sexp⁡(−itsPs)=W\prod_s\exp(-it_sP_s)=W∏s​exp(−its​Ps​)=W, in list order. Here false and true are 0,10,10,1, and †\dagger† is conjugate transpose. No normalization condition is imposed on ψ\psiψ, and d=1d=1d=1 is included, with the lowering-indexed controls absent.

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