Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Quantitative tensor-product expander bounds

Open
QAlgorithms.Papers.Independent.Extend50.P45.tensorProductExpanders

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

prove2quantum

Let nnn be the number of qubits. The law νn\nu_nνn​ chooses uniformly one of the nnn ordered neighboring pairs on the periodic ring and applies an independent Haar U(4)U(4)U(4) gate. For even nnn, νnbw\nu_n^{\rm bw}νnbw​ first applies independent Haar gates on (1,2),(3,4),…(1,2),(3,4),\ldots(1,2),(3,4),… and then on (2,3),(4,5),…,(n,1)(2,3),(4,5),\ldots,(n,1)(2,3),(4,5),…,(n,1). Each brickwork step has two parallel gate layers. Write μH\mu_HμH​ for normalized Haar measure and

g(ν,t)=∥∫U⊗t⊗U‾⊗t dν(U)−∫U⊗t⊗U‾⊗t dμH(U)∥∞.g(\nu,t)=\left\|\int U^{\otimes t}\otimes\overline U^{\otimes t}\,d\nu(U)-\int U^{\otimes t}\otimes\overline U^{\otimes t}\,d\mu_H(U)\right\|_\infty.g(ν,t)=​∫U⊗t⊗U⊗tdν(U)−∫U⊗t⊗U⊗tdμH​(U)​∞​.

The norm is the operator norm. Set L(t)=⌈2log⁡2(4t)+32log⁡2(4t)⌉L(t)=\lceil2\log_2(4t)+\tfrac32\sqrt{\log_2(4t)}\rceilL(t)=⌈2log2​(4t)+23​log2​(4t)​⌉ and F(t)=(ln⁡t)5t4+3/log⁡2tF(t)=(\ln t)^5t^{4+3/\sqrt{\log_2t}}F(t)=(lnt)5t4+3/log2​t​ when t≥2t\ge2t≥2. For all integers t≥2t\ge2t≥2 and n≥2n\ge2n≥2 with n≥L(t)n\ge L(t)n≥L(t),

g(νn,t)≤1−11013nF(t).g(\nu_n,t)\le1-\frac1{10^{13}nF(t)}.g(νn​,t)≤1−1013nF(t)1​.

For the same range with even nnn, also

g(νnbw,t)≤1−13⋅1013F(t).g(\nu_n^{\rm bw},t)\le1-\frac1{3\cdot10^{13}F(t)}.g(νnbw​,t)≤1−3⋅1013F(t)1​.

Both numerical constants are absolute; the brickwork denominator has no system-size factor. These estimates control moment convergence for the two architectures.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P45
Formal statement
noncomputable section

open MeasureTheory

open scoped ComplexConjugate ENNReal

namespace QAlgorithms.Papers.Independent.Extend50.P45

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P45.qubitMatrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P45.qubitMatrixBorel

/-- PDF p.7, Theorem 2: both architectures with C=10^13, on the natural
logarithmic domain t >= 2. Only the brickwork clause requires even n. -/
theorem tensorProductExpanders (n t : ℕ) (hn : 2 ≤ n) (ht : 2 ≤ t)
    (hsize : reductionLength t ≤ n) :
    momentDistance (localHaarRingLaw n) t ≤
      1 - ((10 : ℝ) ^ 13 * n * designFactor t)⁻¹ ∧
    (Even n → momentDistance (brickworkLaw n) t ≤
      1 - (3 * (10 : ℝ) ^ 13 * designFactor t)⁻¹) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P45

end
Source
Random quantum circuits are approximate unitary ttt-designs in depth O(nt5+o(1))O\left(nt^{5+o(1)}\right)O(nt5+o(1)), arXiv:2203.16571v3, PDF p. 7, Theorem 2 (Tensor product expanders)
Read-back

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

For all natural numbers n≥2n\ge2n≥2 and t≥2t\ge2t≥2 satisfying r(t)≤nr(t)\le nr(t)≤n, where

r(t)=⌈2log⁡2(4t)+32log⁡2(4t)⌉N,F(t)=(log⁡t)5 t 4+3/log⁡2t,r(t)=\left\lceil2\log_2(4t)+\frac32\sqrt{\log_2(4t)}\right\rceil_{\mathbb N}, \qquad F(t)=(\log t)^5\,t^{\,4+3/\sqrt{\log_2 t}},r(t)=⌈2log2​(4t)+23​log2​(4t)​⌉N​,F(t)=(logt)5t4+3/log2​t​,

both of the following assertions hold:

∥Mt(Ln)−Mt(Hn)∥op≤1−11013nF(t),\bigl\|M_t(\mathcal L_n)-M_t(\mathcal H_n)\bigr\|_{\mathrm{op}} \le 1-\frac{1}{10^{13}nF(t)},​Mt​(Ln​)−Mt​(Hn​)​op​≤1−1013nF(t)1​, n even ⟹ ∥Mt(Bn)−Mt(Hn)∥op≤1−13⋅1013F(t).n\text{ even}\ \Longrightarrow\ \bigl\|M_t(\mathcal B_n)-M_t(\mathcal H_n)\bigr\|_{\mathrm{op}} \le 1-\frac{1}{3\cdot10^{13}F(t)}.n even ⟹ ​Mt​(Bn​)−Mt​(Hn​)​op​≤1−3⋅1013F(t)1​.

Here log⁡\loglog is the natural logarithm, real powers are used in F(t)F(t)F(t), and the ceiling is into the nonnegative integers. Writing Bn={0,1}nB_n=\{0,1\}^nBn​={0,1}n, Hn\mathcal H_nHn​ is normalized Haar measure on U(2n)U(2^n)U(2n) reindexed by binary strings. The law Ln\mathcal L_nLn​ chooses a wire iii uniformly and embeds a Haar two-qubit unitary on the ordered wires (i,i+1 mod n)(i,i+1\bmod n)(i,i+1modn), leaving other wires unchanged. For even nnn, Bn\mathcal B_nBn​ is the law of UoddUevenU_{\mathrm{odd}}U_{\mathrm{even}}Uodd​Ueven​: each layer uses independent Haar two-qubit gates on pairs (i,i+1 mod n)(i,i+1\bmod n)(i,i+1modn) whose first index has the indicated parity, with gates multiplied so that larger indices appear on the left. All these gates are independent. For any such law μ\muμ,

Mt(μ)(x,x′),(y,y′)=∫(∏j=0t−1Uxjyj)(∏j=0t−1Uxj′yj′)‾ dμ(U),x,x′,y,y′∈Bnt,M_t(\mu)_{(x,x'),(y,y')} =\int \left(\prod_{j=0}^{t-1}U_{x_jy_j}\right) \overline{\left(\prod_{j=0}^{t-1}U_{x'_jy'_j}\right)} \,d\mu(U), \quad x,x',y,y'\in B_n^t,Mt​(μ)(x,x′),(y,y′)​=∫(j=0∏t−1​Uxj​yj​​)(j=0∏t−1​Uxj′​yj′​​)​dμ(U),x,x′,y,y′∈Bnt​,

and ∥⋅∥op\|\cdot\|_{\mathrm{op}}∥⋅∥op​ is the Euclidean operator norm.

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