Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.2 / abstract: full density-matrix estimator, consistency and explicit LDP

Open
QAlgorithms.Papers.Independent.Extend50.P41.full_estimator_LDP

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

prove2quantum

Let d≥1d\ge1d≥1, let S\mathcal SS be the positive semidefinite trace-one matrices on Cd\mathbb C^dCd, including singular matrices, and give S\mathcal SS its usual matrix topology and Borel sets. Copy counts are positive. A scheme consists of normalized countably additive positive operator measures ENE_NEN​ on (Cd)⊗N(\mathbb C^d)^{\otimes N}(Cd)⊗N, fixed independently of the unknown input. Its Born law is μN,ρ(B)=Tr⁡(ρ⊗NEN(B))\mu_{N,\rho}(B)=\operatorname{Tr}(\rho^{\otimes N}E_N(B))μN,ρ​(B)=Tr(ρ⊗NEN​(B)). All logarithms are natural.

For a Young shape YYY with NNN boxes and at most ddd rows, let HY,KYH_Y,K_YHY​,KY​ be the actual Schur and Specht factors and let ϕY\phi_YϕY​ be the normalized highest-weight vector of the representation πY\pi_YπY​. With probability Haar measure dUdUdU, the explicit observable is

E^N(B)=∑Ydim⁡HY∫U(d)1B(UρY/NU∗) ∣πY(U)ϕY⟩⟨πY(U)ϕY∣⊗1KY dU.\widehat E_N(B)=\sum_Y\dim H_Y\int_{U(d)}\mathbf1_B(U\rho_{Y/N}U^*)\,|\pi_Y(U)\phi_Y\rangle\langle\pi_Y(U)\phi_Y|\otimes1_{K_Y}\,dU.EN​(B)=Y∑​dimHY​∫U(d)​1B​(UρY/N​U∗)∣πY​(U)ϕY​⟩⟨πY​(U)ϕY​∣⊗1KY​​dU.

It is a normalized full-estimation scheme, is weakly consistent, and satisfies the LDP with

I^(ρ,UρxU∗)=∑j=1dxjlog⁡xj−∑j=1d(xj−xj+1)log⁡pm⁡j(U∗ρU).\widehat I(\rho,U\rho_xU^*)=\sum_{j=1}^d x_j\log x_j-\sum_{j=1}^d(x_j-x_{j+1})\log\operatorname{pm}_j(U^*\rho U).I(ρ,Uρx​U∗)=j=1∑d​xj​logxj​−j=1∑d​(xj​−xj+1​)logpmj​(U∗ρU).

Here xxx belongs to the ordered probability simplex Σ\SigmaΣ, xd+1=0x_{d+1}=0xd+1​=0, ρx=diag⁡x\rho_x=\operatorname{diag}xρx​=diagx, and pm⁡j\operatorname{pm}_jpmj​ is the leading jjj-dimensional principal determinant. A zero coefficient times a vanishing logarithm contributes zero, and a positive coefficient at a zero minor contributes infinity. The rate is independent of the diagonalization. Thus this is a concrete consistent full-state estimator with an explicit error exponent.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P41
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped Matrix ComplexOrder ENNReal Topology Matrix.Norms.Frobenius

namespace QAlgorithms.Papers.Independent.Extend50.P41

open QAlgorithms.Tomography (DensityOutcome)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.8, Theorem 3.2, (26), with the explicit observable (20) on p.7.
Singular inputs are included. A normalized POVM witness for the raw expression
is asserted, and is fixed independently of the unknown input. -/
theorem full_estimator_LDP {d : ℕ} (hd : 0 < d) :
    ∃ E : Scheme d (DensityOutcome d),
      (∀ k B, MeasurableSet B → (E.observable k).operator B = fullEstimatorOperator hd k B) ∧
      SchemeLDP E FullTarget fullRate ∧ Consistent E ∧
      ∀ (rho sigma : DensityOutcome d) (x : OrderedSpectrum d) (U : Matrix.unitaryGroup (Fin d) ℂ),
        sigma.val = (U : Matrix (Fin d) (Fin d) ℂ) * diagonalStateMatrix x * star (U : Matrix (Fin d) (Fin d) ℂ) →
        (fullRate rho sigma : EReal) = minorFormula rho U x := by sorry

end QAlgorithms.Papers.Independent.Extend50.P41

end
Source
Quantum state estimation and large deviations, arXiv:quant-ph/0412053v2, PDF p. 8, Theorem 3.2 / (20),(26)
Read-back

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

For every natural number d>0d>0d>0, there exists a family EEE of measurements and probability laws with all the properties below. Write Dd\mathcal D_dDd​ for the Borel space of positive semidefinite complex d×dd\times dd×d matrices of trace 111, and Xd\mathcal X_dXd​ for the nonincreasing, nonnegative real ddd-tuples summing to 111. First specify the matrices appearing in the assertion as follows: for each n=k+1n=k+1n=k+1 and each Young diagram YYY with nnn cells and at most ddd rows, use the fixed cell numbering, its row-preserving and column-preserving permutation sets RY,CYR_Y,C_YRY​,CY​, and the permutation matrices Pg(y,x)=1{y=x∘g−1}P_g(y,x)=\mathbf1_{\{y=x\circ g^{-1}\}}Pg​(y,x)=1{y=x∘g−1}​ on ddd-letter words of length nnn. Put TY=∑a∈RY,b∈CYsgn⁡(b)PabT_Y=\sum_{a\in R_Y,b\in C_Y}\operatorname{sgn}(b)P_{ab}TY​=∑a∈RY​,b∈CY​​sgn(b)Pab​, SY=range⁡TYS_Y=\operatorname{range}T_YSY​=rangeTY​, and let HYH_YHY​ be the range of the matrix indexed by permutations with entries ∑a∈RY,b∈CYsgn⁡(b)1{g=hab}\sum_{a\in R_Y,b\in C_Y}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}∑a∈RY​,b∈CY​​sgn(b)1{g=hab}​. With their specified orthonormal bases sY,js_{Y,j}sY,j​ and hY,ih_{Y,i}hY,i​, form Zx,(Y,i,j)=∑ghY,i(g)(PgsY,j)(x)Z_{x,(Y,i,j)}=\sum_g h_{Y,i}(g)(P_gs_{Y,j})(x)Zx,(Y,i,j)​=∑g​hY,i​(g)(Pg​sY,j​)(x) and D=f(Z†Z)Z†D=f(Z^\dagger Z)Z^\daggerD=f(Z†Z)Z†, where f(t)=(t)−1f(t)=(\sqrt t)^{-1}f(t)=(t​)−1 by continuous functional calculus and f(0)=0f(0)=0f(0)=0. For a matrix QQQ on the basis of SYS_YSY​, let BY(Q)B_Y(Q)BY​(Q) have entry Qj,j′Q_{j,j'}Qj,j′​ between (Y,i,j)(Y,i,j)(Y,i,j) and (Y,i,j′)(Y,i,j')(Y,i,j′), with all other entries 000, and put JY(Q)=D†BY(Q)DJ_Y(Q)=D^\dagger B_Y(Q)DJY​(Q)=D†BY​(Q)D. Let wYw_YwY​ be the word assigning to each numbered cell its row index, let ηY=∥TY∣wY⟩∥−1TY∣wY⟩\eta_Y=\|T_Y|w_Y\rangle\|^{-1}T_Y|w_Y\rangleηY​=∥TY​∣wY​⟩∥−1TY​∣wY​⟩, using inverse 000 at norm 000, and define aY(U)j=⟨sY,j,proj⁡SY(U⊗nηY)⟩a_Y(U)_j=\langle s_{Y,j},\operatorname{proj}_{S_Y}(U^{\otimes n}\eta_Y)\rangleaY​(U)j​=⟨sY,j​,projSY​​(U⊗nηY​)⟩, where Ux,y⊗n=∏tUxt,ytU^{\otimes n}_{x,y}=\prod_tU_{x_t,y_t}Ux,y⊗n​=∏t​Uxt​,yt​​. Write rY(j)=rowLen⁡Y(j)/nr_Y(j)=\operatorname{rowLen}_Y(j)/nrY​(j)=rowLenY​(j)/n. The family EEE assigns, for every kkk, an operator-valued measurement EkE_kEk​ on this tensor space with outcome space Dd\mathcal D_dDd​: it takes value 000 on the empty set and the identity on the whole space, is positive semidefinite on Borel sets, and is countably additive on disjoint Borel sets through convergent matrix series. For every Borel set BBB, its operator is exactly

Ek(B)=∑Y∫U(d)1{∃τ∈B: τ=Udiag⁡(rY)U†} dim⁡CSY  JY ⁣(aY(U)aY(U)†) dHd(U),E_k(B)=\sum_Y\int_{U(d)} \mathbf1_{\{\exists\tau\in B:\ \tau=U\operatorname{diag}(r_Y)U^\dagger\}} \,\dim_{\mathbb C}S_Y\; J_Y\!\left(a_Y(U)a_Y(U)^\dagger\right)\,dH_d(U),Ek​(B)=Y∑​∫U(d)​1{∃τ∈B: τ=Udiag(rY​)U†}​dimC​SY​JY​(aY​(U)aY​(U)†)dHd​(U),

where HdH_dHd​ is Haar measure of total mass 111, and the integral is the total Bochner integral. Its laws μk,ρ\mu_{k,\rho}μk,ρ​ are probability measures and, for every Borel BBB, satisfy μk,ρ(B)=max⁡{Re⁡tr⁡(Ek(B)ρ⊗(k+1)),0}\mu_{k,\rho}(B)=\max\{\operatorname{Re}\operatorname{tr}(E_k(B)\rho^{\otimes(k+1)}),0\}μk,ρ​(B)=max{Retr(Ek​(B)ρ⊗(k+1)),0}. To specify the asserted rate, for x∈Xdx\in\mathcal X_dx∈Xd​ set xd=0x_d=0xd​=0, and for 0≤j<d0\le j<d0≤j<d let Δj(U,ρ)\Delta_j(U,\rho)Δj​(U,ρ) be the real part of the determinant of the leading (j+1)×(j+1)(j+1)\times(j+1)(j+1)×(j+1) submatrix of U†ρUU^\dagger\rho UU†ρU. Define

L(w,p)={0,w=0,+∞,w≠0 and p≤0,−wlog⁡p,w≠0 and p>0,m(ρ,U,x)=∑j=0d−1xjlog⁡xj+∑j=0d−1L(xj−xj+1,Δj(U,ρ)),L(w,p)= \begin{cases} 0,&w=0,\\ +\infty,&w\ne0\text{ and }p\le0,\\ -w\log p,&w\ne0\text{ and }p>0, \end{cases} \qquad m(\rho,U,x)=\sum_{j=0}^{d-1}x_j\log x_j+ \sum_{j=0}^{d-1}L(x_j-x_{j+1},\Delta_j(U,\rho)),L(w,p)=⎩⎨⎧​0,+∞,−wlogp,​w=0,w=0 and p≤0,w=0 and p>0,​m(ρ,U,x)=j=0∑d−1​xj​logxj​+j=0∑d−1​L(xj​−xj+1​,Δj​(U,ρ)),

with natural logarithms and 0log⁡0=00\log0=00log0=0, and put

R(ρ,σ)=(inf⁡x∈Xd, U∈U(d)σ=Udiag⁡(x)U†m(ρ,U,x)) ⁣+.R(\rho,\sigma)= \left( \inf_{\substack{x\in\mathcal X_d,\ U\in U(d)\\ \sigma=U\operatorname{diag}(x)U^\dagger}} m(\rho,U,x) \right)_{\!+}.R(ρ,σ)=​x∈Xd​, U∈U(d)σ=Udiag(x)U†​inf​m(ρ,U,x)​+​.

Here the infimum is taken in the extended reals, an empty infimum is +∞+\infty+∞, and the conversion (⋅)+(\cdot)_+(⋅)+​ sends negative values, including −∞-\infty−∞, to 000 and preserves nonnegative values and +∞+\infty+∞. For every ρ\rhoρ, R(ρ,⋅)R(\rho,\cdot)R(ρ,⋅) is lower semicontinuous, is finite somewhere, and has compact sublevel sets {σ:R(ρ,σ)≤c}\{\sigma:R(\rho,\sigma)\le c\}{σ:R(ρ,σ)≤c} for every real ccc. With log⁡0=−∞\log0=-\inftylog0=−∞, its laws satisfy, for every closed F⊆DdF\subseteq\mathcal D_dF⊆Dd​ and open G⊆DdG\subseteq\mathcal D_dG⊆Dd​,

lim sup⁡k→∞log⁡μk,ρ(F)k+1≤−inf⁡σ∈FR(ρ,σ),−inf⁡σ∈GR(ρ,σ)≤lim inf⁡k→∞log⁡μk,ρ(G)k+1,\limsup_{k\to\infty}\frac{\log\mu_{k,\rho}(F)}{k+1} \le-\inf_{\sigma\in F}R(\rho,\sigma), \qquad -\inf_{\sigma\in G}R(\rho,\sigma) \le\liminf_{k\to\infty}\frac{\log\mu_{k,\rho}(G)}{k+1},k→∞limsup​k+1logμk,ρ​(F)​≤−σ∈Finf​R(ρ,σ),−σ∈Ginf​R(ρ,σ)≤k→∞liminf​k+1logμk,ρ​(G)​,

and R(ρ,σ)=0R(\rho,\sigma)=0R(ρ,σ)=0 if and only if ρ=σ\rho=\sigmaρ=σ. Moreover, for every continuous real-valued fff on Dd\mathcal D_dDd​, ∫f dμk,ρ→f(ρ)\int f\,d\mu_{k,\rho}\to f(\rho)∫fdμk,ρ​→f(ρ). Finally, for every ρ,σ∈Dd\rho,\sigma\in\mathcal D_dρ,σ∈Dd​, every x∈Xdx\in\mathcal X_dx∈Xd​, and every U∈U(d)U\in U(d)U∈U(d) satisfying σ=Udiag⁡(x)U†\sigma=U\operatorname{diag}(x)U^\daggerσ=Udiag(x)U†, the rate, embedded in the extended reals, satisfies the exact equality R(ρ,σ)=m(ρ,U,x)R(\rho,\sigma)=m(\rho,U,x)R(ρ,σ)=m(ρ,U,x).

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