Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

One ancilla cannot give universality below the locality threshold

Open
QAlgorithms.Papers.Independent.Advance50.P49.single_ancilla_obstruction

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

prove2quantum

Use the physical register Hn=(C2)⊗n\mathcal H_n=(\mathbb C^2)^{\otimes n}Hn​=(C2)⊗n. Rotational invariance means commuting with U⊗nU^{\otimes n}U⊗n for every one-qubit unitary UUU. The legal spins are j=n/2−rj=n/2-rj=n/2−r, r=0,…,⌊n/2⌋r=0,\ldots,\lfloor n/2\rfloorr=0,…,⌊n/2⌋, and Πj\Pi_jΠj​ is the actual spectral projector of J2J^2J2 at j(j+1)j(j+1)j(j+1). Write Rab=(XaXb+YaYb+ZaZb)/2R_{ab}=(X_aX_b+Y_aY_b+Z_aZ_b)/2Rab​=(Xa​Xb​+Ya​Yb​+Za​Zb​)/2 and Vk,vk\mathcal V_k,\mathfrak v_kVk​,vk​ for the group of finite compositions of kkk-local invariant gates and its generated real Lie algebra, including scalar phases. Exchange-only circuits contain finite products of e−itRabe^{-itR_{ab}}e−itRab​ with real ttt. Set C0=IC_0=IC0​=I and, for even l>0l>0l>0, Cl=(l/2)!−1∑i1,…,il distinctRi1i2⋯Ril−1ilC_l=(l/2)!^{-1}\sum_{i_1,\ldots,i_l\ \mathrm{distinct}}R_{i_1i_2}\cdots R_{i_{l-1}i_l}Cl​=(l/2)!−1∑i1​,…,il​ distinct​Ri1​i2​​⋯Ril−1​il​​. Extend Cl=0C_l=0Cl​=0 above 2⌊n/2⌋2\lfloor n/2\rfloor2⌊n/2⌋. Its sector eigenvalue is cl(j)=Tr⁡(ClΠj)/Tr⁡(Πj)c_l(j)=\operatorname{Tr}(C_l\Pi_j)/\operatorname{Tr}(\Pi_j)cl​(j)=Tr(Cl​Πj​)/Tr(Πj​). All body-index sums below are over even indices.

Suppose invariant unitary VVV can be implemented using Vk\mathcal V_kVk​ on n+1n+1n+1 qubits with fixed pure normalized one-qubit ancillary input and output. Then for every even l>kl>kl>k,

2Φl(V)=0(mod2π).2\Phi_l(V)=0\pmod{2\pi}.2Φl​(V)=0(mod2π).

For n≥4n\ge4n≥4 and 2≤k<2⌊n/2⌋2\le k<2\lfloor n/2\rfloor2≤k<2⌊n/2⌋, there exists an invariant unitary admitting no such implementation. More precisely, the implementable family lies inside a closed subset with empty interior in the invariant-unitary group. Thus one ancilla does not restore universality below this threshold. Values Φl=π\Phi_l=\piΦl​=π are allowed by the necessary condition and are not incorrectly excluded.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P49
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P49

open scoped Classical Matrix ComplexConjugate Matrix.Norms.Frobenius

open MeasureTheory

attribute [local instance 100] LieRing.ofAssociativeRing

-- Specialize the frozen generic aliases without declaring new aliases.

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

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

-- The frozen support predicate takes the support before the operator.

local notation "WireSupported" => QAlgorithms.Papers.Independent.Information100.P69.Supported

/-- PDF pp.4,36, J9: doubled phases, not nonzero phases alone. The obstruction
for exchanges begins at n=4, since n≤3 has no missing positive even weight. -/
theorem single_ancilla_obstruction (n k : ℕ) :
    (∀ V : Op n, SymUnitary V → OneAncillaReachable k V →
      ∀ l : ℕ, Even l → k<l → (2 : ℕ) • bodyPhase V l=0) ∧
    (4 ≤ n → 2 ≤ k → k<2*(n/2) →
      ∃ V : Op n, SymUnitary V ∧ ¬OneAncillaReachable k V) ∧
    (4 ≤ n → 2 ≤ k → k<2*(n/2) →
      ∃ s : Set {V : Op n // SymUnitary V}, IsClosed s ∧ interior s=∅ ∧
        ∀ V : {V : Op n // SymUnitary V}, OneAncillaReachable k V.val → V∈s) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P49

end
Source
Rotationally-Invariant Circuits: Universality with the exchange interaction and two ancilla qubits, arXiv:2202.01963v1, PDF p. 36, One ancilla cannot give universality below the locality threshold
Read-back

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

For every pair of natural numbers n,kn,kn,k, let Hn=C{0,1}n\mathcal H_n=\mathbb C^{\{0,1\}^n}Hn​=C{0,1}n, and call a matrix VVV symmetric unitary when it is unitary and commutes with U⊗nU^{\otimes n}U⊗n for every unitary 2×22\times22×2 matrix UUU, whose tensor-power entries are ∏qUxq,yq\prod_q U_{x_q,y_q}∏q​Uxq​,yq​​. In this statement, VVV is reachable with one ancilla and parameter kkk precisely when there exist a matrix WWW on Hn+1\mathcal H_{n+1}Hn+1​ and norm-one one-qubit vectors η,ηout\eta,\eta_{\mathrm{out}}η,ηout​ such that WWW is a finite product of symmetric unitaries GGG, each satisfying WireSupported⁡(s,G)\operatorname{WireSupported}(s,G)WireSupported(s,G) for some wire set sss of cardinality at most kkk, and W(ψ⊠η)=(Vψ)⊠ηoutW(\psi\boxtimes\eta)=(V\psi)\boxtimes\eta_{\mathrm{out}}W(ψ⊠η)=(Vψ)⊠ηout​ for every norm-one ψ∈Hn\psi\in\mathcal H_nψ∈Hn​; an empty product is permitted. The predicate WireSupported⁡\operatorname{WireSupported}WireSupported is not defined in the supplied code. To specify the phase appearing in the conclusion, put Eab=12(XaXb+YaYb+ZaZb)E_{ab}=\tfrac12(X_aX_b+Y_aY_b+Z_aZ_b)Eab​=21​(Xa​Xb​+Ya​Yb​+Za​Zb​), Jσ=12∑aσaJ_\sigma=\tfrac12\sum_a\sigma_aJσ​=21​∑a​σa​ for the Pauli matrices, and J2=JX2+JY2+JZ2J^2=J_X^2+J_Y^2+J_Z^2J2=JX2​+JY2​+JZ2​. Index j,rj,rj,r by 0,…,⌊n/2⌋0,\ldots,\lfloor n/2\rfloor0,…,⌊n/2⌋, put sj=n/2−js_j=n/2-jsj​=n/2−j, and define, with factors in increasing rrr,

Pj=∏r≠jJ2−sr(sr+1)Isj(sj+1)−sr(sr+1),Cn,2r=1r!∑ι:{0,…,2r−1}↪{0,…,n−1}∏a=0r−1Eι(2a),ι(2a+1).P_j=\prod_{r\ne j} \frac{J^2-s_r(s_r+1)I}{s_j(s_j+1)-s_r(s_r+1)},\qquad C_{n,2r}=\frac1{r!}\sum_{\iota:\{0,\ldots,2r-1\}\hookrightarrow\{0,\ldots,n-1\}} \prod_{a=0}^{r-1}E_{\iota(2a),\iota(2a+1)}.Pj​=r=j∏​sj​(sj​+1)−sr​(sr​+1)J2−sr​(sr​+1)I​,Cn,2r​=r!1​ι:{0,…,2r−1}↪{0,…,n−1}∑​a=0∏r−1​Eι(2a),ι(2a+1)​.

Let ϑj(V)\vartheta_j(V)ϑj​(V) be the class modulo 2π2\pi2π of arg⁡det⁡(VPj+I−Pj)\arg\det(VP_j+I-P_j)argdet(VPj​+I−Pj​). For even l≤2⌊n/2⌋l\leq2\lfloor n/2\rfloorl≤2⌊n/2⌋, define

Bl(V)=∑j⌊Re⁡tr⁡(Cn,lPj)tr⁡Pj⌋ϑj(V)in R/(2πZ),B_l(V)=\sum_j \left\lfloor\operatorname{Re} \frac{\operatorname{tr}(C_{n,l}P_j)}{\operatorname{tr}P_j}\right\rfloor \vartheta_j(V)\quad\text{in }\mathbb R/(2\pi\mathbb Z),Bl​(V)=j∑​⌊RetrPj​tr(Cn,l​Pj​)​⌋ϑj​(V)in R/(2πZ),

and set Bl(V)=0B_l(V)=0Bl​(V)=0 for all other lll; inverses and division in these definitions use the total convention 0−1=00^{-1}=00−1=0. The first assertion is that every symmetric unitary VVV reachable as above satisfies 2Bl(V)=02B_l(V)=02Bl​(V)=0 for every even natural l>kl>kl>k, with equality in the angle group. The second assertion is that if n≥4n\geq4n≥4, k≥2k\geq2k≥2, and k<2⌊n/2⌋k<2\lfloor n/2\rfloork<2⌊n/2⌋, there exists a symmetric unitary VVV that is not reachable as above. Under the same three inequalities, the third assertion gives a closed subset with empty interior in the relative topology of all symmetric unitaries on Hn\mathcal H_nHn​, containing every reachable symmetric unitary. No restrictions on n,kn,kn,k accompany the first assertion; indices l>2⌊n/2⌋l>2\lfloor n/2\rfloorl>2⌊n/2⌋ have Bl(V)=0B_l(V)=0Bl​(V)=0 by definition.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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