Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Precision-dependent uniform symmetric-group QFT

Open
QAlgorithms.Papers.Independent.Extend50.P24.symmetricQFT_precision

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

prove2quantum

For every integer n≥1n\geq1n≥1, fix the Young orthonormal realizations of all irreducible representations of SnS_nSn​, with their phases independent of the input and precision. Let fλf_\lambdafλ​ be the number of standard Young tableaux of shape λ⊢n\lambda\vdash nλ⊢n. In the convention where the first tableau coordinate carries the left regular action, define

Fn∣g⟩=∑λ⊢nfλn!∑T,U∈SYT⁡(λ)ρλ(g)T,U∣λ,T,U⟩.F_n|g\rangle=\sum_{\lambda\vdash n}\sqrt{\frac{f_\lambda}{n!}} \sum_{T,U\in\operatorname{SYT}(\lambda)}\rho_\lambda(g)_{T,U}|\lambda,T,U\rangle.Fn​∣g⟩=λ⊢n∑​n!fλ​​​T,U∈SYT(λ)∑​ρλ​(g)T,U​∣λ,T,U⟩.

There is a choice of those realizations for all nnn, a single polynomial-time classical constructor, and a polynomial ppp, such that FnF_nFn​ is unitary and every positive precision-bit request ttt produces a finite universal-gate circuit Cn,tC_{n,t}Cn,t​ with

work⁡(Cn,t)≤p(1+n+t),∥Cn,tEinv−EoutFnv∥2≤2−t∥v∥2for every v∈C[Sn].\operatorname{work}(C_{n,t})\leq p(1+n+t),\qquad \|C_{n,t}E_{\mathrm{in}}v-E_{\mathrm{out}}F_nv\|_2\leq2^{-t}\|v\|_2 \quad\text{for every }v\in\mathbb C[S_n].work(Cn,t​)≤p(1+n+t),∥Cn,t​Ein​v−Eout​Fn​v∥2​≤2−t∥v∥2​for every v∈C[Sn​].

The input is an encoded permutation, and both output indices are genuine standard tableaux. The encodings are injective at the chosen register width and include clean ancillary coordinates. The polynomial and constructor are independent of the input state. Taking t=⌈log⁡2(1/ϵ)⌉t=\lceil\log_2(1/\epsilon)\rceilt=⌈log2​(1/ϵ)⌉ gives the claimed polynomial dependence on nnn and log⁡(1/ϵ)\log(1/\epsilon)log(1/ϵ) for 0<ϵ<10<\epsilon<10<ϵ<1.

This records the precision analysis made explicit in §3.2; it does not assert an efficient Fourier transform for arbitrary finite groups.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P24
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate

namespace QAlgorithms.Papers.Independent.Extend50.P24

attribute [local instance] Classical.propDecidable

open QAlgorithms.Papers.Independent.Renew46.P26 (boxContent)

/-- §3.2, PDF p.10: a uniform precision-dependent symmetric-group QFT.
One polynomial and one classical TM work for every n and precision request;
the Young phases are fixed before all precision requests. t bits give
operator-norm error at most 2^(-t), hence every 0<epsilon<1 by ceiling log2. -/
theorem symmetricQFT_precision :
    ∃ Y : (n : ℕ) → SymmetricModels n,
      (∀ n, 0 < n → IsUnitaryBetween (symmetricFourier (Y n))) ∧
      ∃ circuits : ℕ → ℕ → CompiledCircuit,
      ∃ p : Polynomial ℕ, ∃ generate : List Bool → List Bool,
        QAlgorithms.Complexity.PolyTimeComputable generate ∧
        ∀ n t, 0 < n → 0 < t →
          generate (requestCode n 1 t) = (circuits n t).code ∧
          (circuits n t).work ≤ p.eval (1 + n + t) ∧
          Approximates permutationCode symmetricCode (symmetricFourier (Y n))
            (circuits n t) ((2 : ℝ) ^ (-(t : ℤ))) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P24

end
Source
An efficient high dimensional quantum Schur transform, arXiv:1804.00055v2, PDF p. 10, §3.2 unnumbered result: precision-dependent symmetric-group QFT
Read-back

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

There exist a choice of models YnY_nYn​ for every natural number nnn, compiled circuits Cn,tC_{n,t}Cn,t​ for every pair of natural numbers n,tn,tn,t, a polynomial ppp with natural-number coefficients, and a function generate\mathrm{generate}generate from finite Boolean lists to finite Boolean lists computable in polynomial time by a two-tape Turing machine with identity input and output encodings, having the following properties. For each Young diagram λ\lambdaλ with nnn cells and at most nnn rows, YnY_nYn​ supplies a multiplicative, identity-preserving map ρλ\rho_\lambdaρλ​ from permutations of nnn positions to unitary matrices indexed by the standard tableaux of shape λ\lambdaλ; these tableaux bijectively assign labels 0,…,n−10,\ldots,n-10,…,n−1 to cells, increasing along rows and columns. For consecutive labels j=i+1j=i+1j=i+1, the entry ρλ((i j))U,T\rho_\lambda((i\,j))_{U,T}ρλ​((ij))U,T​ is 111 on U=TU=TU=T and 000 otherwise if i,ji,ji,j occupy the same row of TTT; it is −1-1−1 on U=TU=TU=T and 000 otherwise if they occupy the same column; otherwise, putting r=(cj−rj)−(ci−ri)r=(c_j-r_j)-(c_i-r_i)r=(cj​−rj​)−(ci​−ri​) for their column-minus-row contents, it is r−1r^{-1}r−1 when U=TU=TU=T, 1−(r−1)2\sqrt{1-(r^{-1})^2}1−(r−1)2​ when UUU is obtained by interchanging those two labels, and 000 otherwise. Let fλf_\lambdafλ​ be the number of standard tableaux of shape λ\lambdaλ, and define the matrix with columns indexed by permutations ggg and rows indexed by triples (λ,T,U)(\lambda,T,U)(λ,T,U) by

Fn((λ,T,U),g)=fλn! ρλ(g)T,U.F_n((\lambda,T,U),g)=\sqrt{\frac{f_\lambda}{n!}}\,\rho_\lambda(g)_{T,U}.Fn​((λ,T,U),g)=n!fλ​​​ρλ​(g)T,U​.

For every n>0n>0n>0, both Fn∗Fn=IF_n^*F_n=IFn∗​Fn​=I and FnFn∗=IF_nF_n^*=IFn​Fn∗​=I. For every n>0n>0n>0 and t>0t>0t>0, the generator on the Boolean list 1n0 1t0 1011^n0\,1^t0\,1011n01t0101 returns exactly the code of Cn,tC_{n,t}Cn,t​, and

wn,t+Ln,t+∣code⁡(Cn,t)∣≤p(1+n+t),∀v∈CSn,∥UCn,tEinv−Eout(Fnv)∥2≤2−t∥v∥2.w_{n,t}+L_{n,t}+|\operatorname{code}(C_{n,t})|\le p(1+n+t), \qquad \forall v\in\mathbb C^{S_n},\quad \bigl\|U_{C_{n,t}}E_{\mathrm{in}}v-E_{\mathrm{out}}(F_nv)\bigr\|_2 \le 2^{-t}\|v\|_2.wn,t​+Ln,t​+∣code(Cn,t​)∣≤p(1+n+t),∀v∈CSn​,​UCn,t​​Ein​v−Eout​(Fn​v)​2​≤2−t∥v∥2​.

Here wn,tw_{n,t}wn,t​ is the circuit’s wire count, Ln,tL_{n,t}Ln,t​ its gate count, and UCU_CUC​ applies its ordered list of H,S,T,XH,S,T,XH,S,T,X, and controlled-NOT gates, with controlled-NOT using distinct wires. For w=wn,tw=w_{n,t}w=wn,t​, the encodings are Einv=∑gvgeBw(a(g))E_{\mathrm{in}}v=\sum_gv_ge_{B_w(a(g))}Ein​v=∑g​vg​eBw​(a(g))​ and Eoutu=∑zuzeBw(b(z))E_{\mathrm{out}}u=\sum_zu_ze_{B_w(b(z))}Eout​u=∑z​uz​eBw​(b(z))​, where Bw(k)B_w(k)Bw​(k) is the most-significant-bit-first representation of k mod 2wk\bmod 2^wkmod2w, a(g)=∑i=0n−1g(i)(n+1)ia(g)=\sum_{i=0}^{n-1}g(i)(n+1)^ia(g)=∑i=0n−1​g(i)(n+1)i, and b(λ,T,U)=P(A(T),A(U))b(\lambda,T,U)=P(A(T),A(U))b(λ,T,U)=P(A(T),A(U)), with A(T)=∑i(ri(n+1)+ci+1)((n+1)2+1)iA(T)=\sum_i(r_i(n+1)+c_i+1)((n+1)^2+1)^iA(T)=∑i​(ri​(n+1)+ci​+1)((n+1)2+1)i for T(i)=(ri,ci)T(i)=(r_i,c_i)T(i)=(ri​,ci​), and P(a,b)=b2+aP(a,b)=b^2+aP(a,b)=b2+a if a<ba<ba<b, otherwise a2+a+ba^2+a+ba2+a+b. Both basis-label maps g↦Bw(a(g))g\mapsto B_w(a(g))g↦Bw​(a(g)) and z↦Bw(b(z))z\mapsto B_w(b(z))z↦Bw​(b(z)) must be injective. A circuit with www wires and LLL gates has code 1w0 1L01^w0\,1^L01w01L0 followed by its instruction encodings; an instruction consists of the unary-terminated tag 0,1,2,3,0,1,2,3,0,1,2,3, or 444 for H,S,T,X,H,S,T,X,H,S,T,X, or controlled-NOT, followed by unary-terminated wire indices. The models and circuits are selected also at n=0n=0n=0 and t=0t=0t=0, but the stated matrix unitarity requires n>0n>0n>0, and the generator, work, and approximation conclusions require both n>0n>0n>0 and t>0t>0t>0.

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