Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1.17: Full-state Hellinger tomography

Open
QAlgorithms.Papers.Independent.Extend50.P32.fullStateHellingerLearning

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

prove2quantum

Let d≥1d\ge1d≥1 and let ρ∈Cd×d\rho\in\mathbb C^{d\times d}ρ∈Cd×d be positive semidefinite of trace one, with nonincreasing spectrum α\alphaα. On n≥1n\ge1n≥1 copies the concrete Keyl experiment draws a weak-Schur shape λ\lambdaλ and then V∼Kλ(ρ)V\sim K_\lambda(\rho)V∼Kλ​(ρ). Its rank-kkk report is ρ^k=Vdiag⁡(λ1/n,…,λk/n,0,…,0)V†\widehat\rho_k=V\operatorname{diag}(\lambda_1/n,\ldots,\lambda_k/n,0,\ldots,0)V^\daggerρ​k​=Vdiag(λ1​/n,…,λk​/n,0,…,0)V†, with no renormalization, for 1≤k≤d1\le k\le d1≤k≤d. Write Rk=EDH2(ρ^k,ρ)R_k=\mathbb E D_{H^2}(\widehat\rho_k,\rho)Rk​=EDH2​(ρ​k​,ρ), where DH2(A,B)=Tr⁡((A−B)2)D_{H^2}(A,B)=\operatorname{Tr}((\sqrt A-\sqrt B)^2)DH2​(A,B)=Tr((A​−B​)2), and α>k=∑i=k+1dαi\alpha_{>k}=\sum_{i=k+1}^d\alpha_iα>k​=∑i=k+1d​αi​. The full report has k=dk=dk=d. For every 0<ϵ<10<\epsilon<10<ϵ<1, one absolute constant C>0C>0C>0 suffices. The positive integer sample count is chosen from d,k,ϵd,k,\epsilond,k,ϵ before the unknown state or spectrum. The guarantees are expected loss at most ϵ\epsilonϵ and success probability at least 2/32/32/3, separately for each indicated metric; integer budgets are rounded upward. No runtime or arbitrary-confidence claim is made.

n≤⌈Cmin⁡{d2ϵln⁡dϵ,d3ϵ}⌉,Rd≤ϵ,Pr⁡{DH2(ρ^d,ρ)≤ϵ}≥23.n\le\left\lceil C\min\left\{\frac{d^2}{\epsilon}\ln\frac d\epsilon,\frac{d^3}{\epsilon}\right\}\right\rceil,\qquad R_d\le\epsilon,\quad\Pr\{D_{H^2}(\widehat\rho_d,\rho)\le\epsilon\}\ge\frac23.n≤⌈Cmin{ϵd2​lnϵd​,ϵd3​}⌉,Rd​≤ϵ,Pr{DH2​(ρ​d​,ρ)≤ϵ}≥32​.

This is a sample-complexity or risk guarantee for the concrete collective measurement and public decoder; it asserts no gate bound.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P32
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal Matrix ComplexOrder Topology

namespace QAlgorithms.Papers.Independent.Extend50.P32

open QAlgorithms.Papers.Independent.Support50.P38 (wordMass tv)

-- For the density matrices below, the characteristic-polynomial identity
-- preserves all eigenvalues with multiplicity and is equivalent to unitary
-- diagonalization with these real eigenvalues. No accuracy is assumed.

open QAlgorithms.Papers.Independent.Gap20.P17 (HasSpectrum)

/-- Theorem 1.17, PDF p.6 (seed PDF p.1; expected-risk input Theorem 5.7,
p.26). Uniform full-state Keyl learning; integer sample budgets are rounded
up. Constants and the experiment precede rho. This is copy, not gate, complexity. -/
theorem fullStateHellingerLearning : ∃ C : ℝ, 0 < C ∧
    ∀ (d : ℕ) (hd : 0 < d) (epsilon : ℝ), 0 < epsilon → epsilon < 1 →
      ∃ (n : ℕ) (hn : 0 < n), n ≤ copyBudget C
        (min (((d : ℝ) ^ 2 / epsilon) * Real.log (d / epsilon)) ((d : ℝ) ^ 3 / epsilon)) ∧
        ∀ (rho : Matrix (Fin d) (Fin d) ℂ) (hRho : IsDensityMatrix rho),
          keylRisk hd hn d rho hRho ≤ ENNReal.ofReal epsilon ∧
          ENNReal.ofReal (2 / 3 : ℝ) ≤ keylSuccess hd hn d rho hRho epsilon := by sorry

end QAlgorithms.Papers.Independent.Extend50.P32

end
Source
Efficient quantum tomography II, arXiv:1612.00034v1, PDF p. 6, Theorem 1.17
Read-back

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

There exists a real constant C>0C>0C>0 such that, for every integer d>0d>0d>0 and every 0<ϵ<10<\epsilon<10<ϵ<1, there is an integer n>0n>0n>0, chosen independently of the state, with

n≤⌈Cmin⁡ ⁣{d2ϵlog⁡dϵ, d3ϵ}⌉+,n\le\left\lceil C\min\!\left\{ \frac{d^2}{\epsilon}\log\frac d\epsilon,\, \frac{d^3}{\epsilon}\right\}\right\rceil_+,n≤⌈Cmin{ϵd2​logϵd​,ϵd3​}⌉+​,

such that the following holds for every positive semidefinite complex d×dd\times dd×d matrix ρ\rhoρ with tr⁡ρ=1\operatorname{tr}\rho=1trρ=1. For a Young diagram λ\lambdaλ with nnn cells and at most ddd rows, let fλf_\lambdafλ​ be the rank of the matrix indexed by permutations of its numbered cells whose (g,h)(g,h)(g,h) entry is ∑r,c1{g=hrc}sgn⁡(c)\sum_{r,c}\mathbf1_{\{g=hrc\}}\operatorname{sgn}(c)∑r,c​1{g=hrc}​sgn(c), with rrr preserving rows and ccc preserving columns, and let sλs_\lambdasλ​ be the number of fillings of its cells by {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} that are weakly increasing along rows and strictly increasing down columns. On pairs (λ,U)(\lambda,U)(λ,U), where UUU is a d×dd\times dd×d unitary matrix, use counting measure on λ\lambdaλ times normalized Haar measure on UUU, with density

max⁡ ⁣{0, fλsλRe⁡∏r=0d−1det⁡ ⁣((U∗ρU){0,…,r},{0,…,r})λr−λr+1},\max\!\left\{0,\, f_\lambda s_\lambda\operatorname{Re} \prod_{r=0}^{d-1} \det\!\big((U^*\rho U)_{\{0,\ldots,r\},\{0,\ldots,r\}}\big)^{ \lambda_r-\lambda_{r+1}}\right\},max{0,fλ​sλ​Rer=0∏d−1​det((U∗ρU){0,…,r},{0,…,r}​)λr​−λr+1​},

where missing row lengths are zero and the differences are natural-number subtraction. Report ρ^=Udiag⁡(λ0/n,…,λd−1/n)U∗\widehat\rho=U\operatorname{diag}(\lambda_0/n,\ldots,\lambda_{d-1}/n)U^*ρ​=Udiag(λ0​/n,…,λd−1​/n)U∗. Writing

H(ρ^,ρ)=Re⁡tr⁡((ρ^−ρ)2),H(\widehat\rho,\rho) =\operatorname{Re}\operatorname{tr} \big((\sqrt{\widehat\rho}-\sqrt\rho)^2\big),H(ρ​,ρ)=Retr((ρ​​−ρ​)2),

with matrix square roots defined by continuous functional calculus, the integral of max⁡{H(ρ^,ρ),0}\max\{H(\widehat\rho,\rho),0\}max{H(ρ​,ρ),0} is at most ϵ\epsilonϵ, and the measure of {(λ,U):H(ρ^,ρ)≤ϵ}\{(\lambda,U):H(\widehat\rho,\rho)\le\epsilon\}{(λ,U):H(ρ​,ρ)≤ϵ} is at least 2/32/32/3. The same nnn works for all density matrices, including singular ones and the case d=1d=1d=1; ⌈⋅⌉+\lceil\cdot\rceil_+⌈⋅⌉+​ is the natural-number ceiling.

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