Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact corrected quadratic Kraus kernels

Open
QAlgorithms.Papers.Independent.Advance50.P20.quadraticKrausKernels

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

prove2quantum

Let H=ℓ2(N)\mathcal H=\ell^2(\mathbb N)H=ℓ2(N), with normalized number states ∣j⟩|j\rangle∣j⟩, and let n∈Nn\in\mathbb Nn∈N be the environment photon number. Write A(κ;n)A(\kappa;n)A(κ;n), B(κ;n)B(\kappa;n)B(κ;n) and C(κ;n)C(\kappa;n)C(κ;n) for the canonical amplifier, attenuator and phase-conjugator channels, respectively. Their amplitude domains are κ≥1\kappa\ge1κ≥1, 0≤κ≤10\le\kappa\le10≤κ≤1 and κ≥0\kappa\ge0κ≥0. Each channel is defined by its specified two-mode unitary, the product environment ∣n⟩⟨n∣|n\rangle\langle n|∣n⟩⟨n∣, and the environmental partial trace. All density operators are positive trace class with trace one, and all Hilbert spaces are untruncated.

Write fℓ(m,j)=⟨m∣Fℓ∣j⟩∈Rf_\ell(m,j)=\langle m|F_\ell|j\rangle\in\mathbb Rfℓ​(m,j)=⟨m∣Fℓ​∣j⟩∈R for the displayed Kraus entries and Wℓℓ′=Fℓ†Fℓ′W_{\ell\ell'}=F_\ell^\dagger F_{\ell'}Wℓℓ′​=Fℓ†​Fℓ′​. Every coefficient is the convergent product sum

⟨j∣Wℓℓ′∣h⟩=∑m=0∞fℓ(m,j)fℓ′(m,h).\langle j|W_{\ell\ell'}|h\rangle=\sum_{m=0}^\infty f_\ell(m,j)f_{\ell'}(m,h).⟨j∣Wℓℓ′​∣h⟩=m=0∑∞​fℓ​(m,j)fℓ′​(m,h).

For the amplifier, the coefficient is zero unless n≤j+ℓn\le j+\elln≤j+ℓ and h+ℓ′=j+ℓh+\ell'=j+\ellh+ℓ′=j+ℓ. On that support, put m=j+ℓ−nm=j+\ell-nm=j+ℓ−n; the coefficient is

κ−2j!h!ℓ!ℓ′!(m!)2(n!)2g1(n,h,m;κ)g1(n,j,m;κ).\kappa^{-2}\sqrt{\frac{j!h!\ell!\ell'!}{(m!)^2(n!)^2}}g_1(n,h,m;\kappa)g_1(n,j,m;\kappa).κ−2(m!)2(n!)2j!h!ℓ!ℓ′!​​g1​(n,h,m;κ)g1​(n,j,m;κ).

For the attenuator it is zero unless ℓ≤j+n\ell\le j+nℓ≤j+n and h+ℓ=j+ℓ′h+\ell=j+\ell'h+ℓ=j+ℓ′. With m=j+n−ℓm=j+n-\ellm=j+n−ℓ, it equals

(m!)2ℓ!ℓ′!j!h!(n!)2g2(n,ℓ,j;κ)g2(n,ℓ′,h;κ).\sqrt{\frac{(m!)^2\ell!\ell'!}{j!h!(n!)^2}}g_2(n,\ell,j;\kappa)g_2(n,\ell',h;\kappa).j!h!(n!)2(m!)2ℓ!ℓ′!​​g2​(n,ℓ,j;κ)g2​(n,ℓ′,h;κ).

For the conjugator it is zero unless j≤n+ℓj\le n+\ellj≤n+ℓ, h≤n+ℓ′h\le n+\ell'h≤n+ℓ′ and h+ℓ=j+ℓ′h+\ell=j+\ell'h+ℓ=j+ℓ′. With m=n+ℓ−jm=n+\ell-jm=n+ℓ−j, it equals

dκ2(n!)2ℓ!ℓ′!(m!)2j!h!g3(n,h,m;κ)g3(n,j,m;κ).d_\kappa^2\sqrt{\frac{(n!)^2\ell!\ell'!}{(m!)^2j!h!}}g_3(n,h,m;\kappa)g_3(n,j,m;\kappa).dκ2​(m!)2j!h!(n!)2ℓ!ℓ′!​​g3​(n,h,m;κ)g3​(n,j,m;κ).

Here the gig_igi​ are the explicit real finite factors of the corresponding Kraus matrices, and dκ=(1+κ2)−1/2d_\kappa=(1+\kappa^2)^{-1/2}dκ​=(1+κ2)−1/2. These identities retain all three diagonal branches and do not assert independence within a branch or channel extremality.

Formalization Note Printed Eq.(49) has (ℓ−n+j)!2(\ell-n+j)!^2(ℓ−n+j)!2 where the preceding product requires (ℓ+n−j)!2(\ell+n-j)!^2(ℓ+n−j)!2; printed Eq.(52) omits the factorial on j+ℓ−ℓ′j+\ell-\ell'j+ℓ−ℓ′. The displayed identities correct these unambiguous algebraic errors against Eqs.(14),(18),(22) and the unexpanded products. Independent moderation of these corrections remains required.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P20
Formal statement
noncomputable section

open Filter MeasureTheory

open scoped BigOperators Topology ENNReal

namespace QAlgorithms.Papers.Independent.Advance50.P20

open QAlgorithms.RealRegisters (Hilbert)

open QAlgorithms.Papers.Independent.Dependency50.P33
  (State PureState IsDensity IsTraceClass IsTraceClassChannel rankOne productCoeff traceSize)

open QAlgorithms.Papers.Independent.Dependency50.P39
  (Fock FockOperator fockKet fockDyad HasFockMatrix operatorOfMatrix KrausComplete
    CoherentRealized IsClassical husimiQ)

open QAlgorithms.Papers.Independent.Frontier18.P18
  (operatorCoeff boundedOperator conjugateCoeff IsKrausRepresentation)

open QAlgorithms.Papers.Independent.Frontier30.P14
  (Operation unitaryCoeff conjugateKernel partialRight partialLeft dilationReceiver weakComplement
    boundedUnitaryConjugation traceClassTensorPower operationalTraceClassCapacity)

open QAlgorithms.Papers.Independent.Claimed50.P35
  (InterleavedPhase ScaledWeylRepresentation physicalCommutationMatrix
    weylTraceCharacteristic LinearBosonic)

-- Accepted extended bit entropy and mean-photon thermal coefficients.

open QAlgorithms.Papers.Independent.Gap48.P26 (entropyBits thermalKernel)

open QAlgorithms.Papers.Independent.Claimed50.P39 (thermalProbability)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Appendix VI A, PDF pp.18--19, Eqs.(49)--(52), corrected against the
unexpanded products: (49) uses (ell+n-j)! squared; (52) uses (j+ell-ell')!.
Printed/changed/why are recorded in quadraticEntry and the moderation notes.
These are exact kernels of all pairwise products, including off-diagonal
branches, with zero entries outside the valid ranges. No extremality follows. -/
theorem quadraticKrausKernels (c : PhotonFamily) (k : ℝ) (hk : PhotonParameter c k) (n : ℕ) :
    DilationRealized c k ∧ KrausRealized c k n ∧
    ∀ ell ell2 j h : ℕ,
      HasSum (fun m => krausEntry c k n ell m j * krausEntry c k n ell2 m h)
        (quadraticEntry c k n ell ell2 j h) ∧
      operatorCoeff ((ContinuousLinearMap.adjoint (photonKraus c k n ell)).comp
        (photonKraus c k n ell2)) j h = (quadraticEntry c k n ell ell2 j h : ℂ) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P20

end
Source
Non-Gaussian operations on bosonic modes of light: Photon-added Gaussian channels, arXiv:1604.07859v4, PDF p. 18, Appendix VI A, unnumbered: Kraus quadratic kernels (49)–(52)
Read-back

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

Let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), with coordinate vectors eje_jej​. Choose c,k,nc,k,nc,k,n, where n∈Nn\in\mathbb Nn∈N, and where k≥1k\ge1k≥1 for the amplifier, 0≤k≤10\le k\le10≤k≤1 for the attenuator, or k≥0k\ge0k≥0 for the conjugator. Put ak=(1+k2)−1/2a_k=(1+k^2)^{-1/2}ak​=(1+k2)−1/2. For output (m,ℓ)(m,\ell)(m,ℓ) and input (j,s)(j,s)(j,s), the specified dilation coefficients are

DA,k=k−1j!ℓ!m!s!∑r=0s∑t=0m1{j=r+t, ℓ+r+t=s+m}(sr)(mt)(−1)r(k−1)s+t−r(1−k−2)m+r−t,DL,k=m!ℓ!j!s!∑r=0j∑t=0s1{ℓ=r+t, m+r+t=j+s}(jr)(st)(−1)s−tkj−r+t(1−k2)r+s−t,DC,k=aks!ℓ!m!j!∑r=0m∑t=0j1{s=r+t, ℓ+r+t=j+m}(mr)(jt)akj+r−t(−1)t(kak)m−r+t.\begin{aligned} D_{\mathrm A,k} &=k^{-1}\sqrt{\frac{j!\ell!}{m!s!}} \sum_{r=0}^{s}\sum_{t=0}^{m} \mathbf1_{\{j=r+t,\ \ell+r+t=s+m\}} \binom sr\binom mt(-1)^r(k^{-1})^{s+t-r}(\sqrt{1-k^{-2}})^{m+r-t},\\ D_{\mathrm L,k} &=\sqrt{\frac{m!\ell!}{j!s!}} \sum_{r=0}^{j}\sum_{t=0}^{s} \mathbf1_{\{\ell=r+t,\ m+r+t=j+s\}} \binom jr\binom st(-1)^{s-t}k^{j-r+t}(\sqrt{1-k^2})^{r+s-t},\\ D_{\mathrm C,k} &=a_k\sqrt{\frac{s!\ell!}{m!j!}} \sum_{r=0}^{m}\sum_{t=0}^{j} \mathbf1_{\{s=r+t,\ \ell+r+t=j+m\}} \binom mr\binom jt a_k^{j+r-t}(-1)^t(ka_k)^{m-r+t}. \end{aligned}DA,k​DL,k​DC,k​​=k−1m!s!j!ℓ!​​r=0∑s​t=0∑m​1{j=r+t, ℓ+r+t=s+m}​(rs​)(tm​)(−1)r(k−1)s+t−r(1−k−2​)m+r−t,=j!s!m!ℓ!​​r=0∑j​t=0∑s​1{ℓ=r+t, m+r+t=j+s}​(rj​)(ts​)(−1)s−tkj−r+t(1−k2​)r+s−t,=ak​m!j!s!ℓ!​​r=0∑m​t=0∑j​1{s=r+t, ℓ+r+t=j+m}​(rm​)(tj​)akj+r−t​(−1)t(kak​)m−r+t.​

The selected dilation is a complex linear isometric equivalence with this matrix if one exists, and the identity otherwise. Define

GA(n,j,m;k)=∑r=j−mmin⁡(n,j)(nr)(mj−r)(−1)r(k−1)n+j−2r(1−k−2)m+2r−j,GL(n,ℓ,j;k)=∑r=ℓ−nmin⁡(ℓ,j)(jr)(nℓ−r)(−1)n+r−ℓkj+ℓ−2r(1−k2)2r+n−ℓ,GC(n,j,m;k)=∑r=n−jmin⁡(n,m)(mr)(jn−r)(kak)m+n−2r(−1)n−rakj+2r−n,\begin{aligned} G_{\mathrm A}(n,j,m;k)&=\sum_{r=j-m}^{\min(n,j)} \binom nr\binom m{j-r}(-1)^r(k^{-1})^{n+j-2r}(\sqrt{1-k^{-2}})^{m+2r-j},\\ G_{\mathrm L}(n,\ell,j;k)&=\sum_{r=\ell-n}^{\min(\ell,j)} \binom jr\binom n{\ell-r}(-1)^{n+r-\ell}k^{j+\ell-2r}(\sqrt{1-k^2})^{2r+n-\ell},\\ G_{\mathrm C}(n,j,m;k)&=\sum_{r=n-j}^{\min(n,m)} \binom mr\binom j{n-r}(ka_k)^{m+n-2r}(-1)^{n-r}a_k^{j+2r-n}, \end{aligned}GA​(n,j,m;k)GL​(n,ℓ,j;k)GC​(n,j,m;k)​=r=j−m∑min(n,j)​(rn​)(j−rm​)(−1)r(k−1)n+j−2r(1−k−2​)m+2r−j,=r=ℓ−n∑min(ℓ,j)​(rj​)(ℓ−rn​)(−1)n+r−ℓkj+ℓ−2r(1−k2​)2r+n−ℓ,=r=n−j∑min(n,m)​(rm​)(n−rj​)(kak​)m+n−2r(−1)n−rakj+2r−n​,​

and

bℓ,mjA=1{m+n=j+ℓ}k−1j!ℓ!m!n!GA(n,j,m;k),bℓ,mjL=1{m+ℓ=j+n}m!ℓ!j!n!GL(n,ℓ,j;k),bℓ,mjC=1{m+j=n+ℓ}akn!ℓ!m!j!GC(n,j,m;k).\begin{aligned} b^{\mathrm A}_{\ell,mj}&=\mathbf1_{\{m+n=j+\ell\}}k^{-1}\sqrt{\frac{j!\ell!}{m!n!}}G_{\mathrm A}(n,j,m;k),\\ b^{\mathrm L}_{\ell,mj}&=\mathbf1_{\{m+\ell=j+n\}}\sqrt{\frac{m!\ell!}{j!n!}}G_{\mathrm L}(n,\ell,j;k),\\ b^{\mathrm C}_{\ell,mj}&=\mathbf1_{\{m+j=n+\ell\}}a_k\sqrt{\frac{n!\ell!}{m!j!}}G_{\mathrm C}(n,j,m;k). \end{aligned}bℓ,mjA​bℓ,mjL​bℓ,mjC​​=1{m+n=j+ℓ}​k−1m!n!j!ℓ!​​GA​(n,j,m;k),=1{m+ℓ=j+n}​j!n!m!ℓ!​​GL​(n,ℓ,j;k),=1{m+j=n+ℓ}​ak​m!j!n!ℓ!​​GC​(n,j,m;k).​

Let KℓK_\ellKℓ​ be the selected bounded complex linear operator with matrix bℓcb^c_\ellbℓc​, or zero if no such operator exists. For ℓ,ℓ′,j,h∈N\ell,\ell',j,h\in\mathbb Nℓ,ℓ′,j,h∈N, define the real number Qℓ,ℓ′;j,hQ_{\ell,\ell';j,h}Qℓ,ℓ′;j,h​ by the appropriate case:

Qℓ,ℓ′;j,hA={k−2j!h!ℓ!ℓ′!(m!)2(n!)2 GA(n,h,m;k)GA(n,j,m;k),n≤j+ℓ, h+ℓ′=j+ℓ, m=j+ℓ−n,0,otherwise,Qℓ,ℓ′;j,hL={(m!)2ℓ!ℓ′!j!h!(n!)2 GL(n,ℓ,j;k)GL(n,ℓ′,h;k),ℓ≤j+n, h+ℓ=j+ℓ′, m=j+n−ℓ,0,otherwise,Qℓ,ℓ′;j,hC={ak2(n!)2ℓ!ℓ′!(m!)2j!h! GC(n,h,m;k)GC(n,j,m;k),j≤n+ℓ, h≤n+ℓ′, h+ℓ=j+ℓ′, m=n+ℓ−j,0,otherwise.\begin{aligned} Q^{\mathrm A}_{\ell,\ell';j,h} &= \begin{cases} k^{-2}\sqrt{\dfrac{j!h!\ell!\ell'!}{(m!)^2(n!)^2}}\, G_{\mathrm A}(n,h,m;k)G_{\mathrm A}(n,j,m;k), &n\le j+\ell,\ h+\ell'=j+\ell,\ m=j+\ell-n,\\ 0,&\text{otherwise}, \end{cases}\\ Q^{\mathrm L}_{\ell,\ell';j,h} &= \begin{cases} \sqrt{\dfrac{(m!)^2\ell!\ell'!}{j!h!(n!)^2}}\, G_{\mathrm L}(n,\ell,j;k)G_{\mathrm L}(n,\ell',h;k), &\ell\le j+n,\ h+\ell=j+\ell',\ m=j+n-\ell,\\ 0,&\text{otherwise}, \end{cases}\\ Q^{\mathrm C}_{\ell,\ell';j,h} &= \begin{cases} a_k^2\sqrt{\dfrac{(n!)^2\ell!\ell'!}{(m!)^2j!h!}}\, G_{\mathrm C}(n,h,m;k)G_{\mathrm C}(n,j,m;k), &j\le n+\ell,\ h\le n+\ell',\ h+\ell=j+\ell',\ m=n+\ell-j,\\ 0,&\text{otherwise}. \end{cases} \end{aligned}Qℓ,ℓ′;j,hA​Qℓ,ℓ′;j,hL​Qℓ,ℓ′;j,hC​​=⎩⎨⎧​k−2(m!)2(n!)2j!h!ℓ!ℓ′!​​GA​(n,h,m;k)GA​(n,j,m;k),0,​n≤j+ℓ, h+ℓ′=j+ℓ, m=j+ℓ−n,otherwise,​=⎩⎨⎧​j!h!(n!)2(m!)2ℓ!ℓ′!​​GL​(n,ℓ,j;k)GL​(n,ℓ′,h;k),0,​ℓ≤j+n, h+ℓ=j+ℓ′, m=j+n−ℓ,otherwise,​=⎩⎨⎧​ak2​(m!)2j!h!(n!)2ℓ!ℓ′!​​GC​(n,h,m;k)GC​(n,j,m;k),0,​j≤n+ℓ, h≤n+ℓ′, h+ℓ=j+ℓ′, m=n+ℓ−j,otherwise.​​

Every subtraction of natural numbers in these definitions is truncated at zero, sums with reversed bounds are empty, and 00=10^0=100=1. The declaration asserts that the selected dilation actually has matrix Dc,kD_{c,k}Dc,k​, that every KℓK_\ellKℓ​ actually has matrix bℓcb^c_\ellbℓc​, and that for every ℓ,ℓ′,j,h∈N\ell,\ell',j,h\in\mathbb Nℓ,ℓ′,j,h∈N the real series converges with the specified sum and the operator coefficient has exactly that value:

∑m=0∞bℓ,mjcbℓ′,mhc=Qℓ,ℓ′;j,hc,(Kℓ∗Kℓ′eh)(j)=Qℓ,ℓ′;j,hc,\sum_{m=0}^{\infty}b^c_{\ell,mj}b^c_{\ell',mh} =Q^c_{\ell,\ell';j,h}, \qquad (K_\ell^*K_{\ell'}e_h)(j)=Q^c_{\ell,\ell';j,h},m=0∑∞​bℓ,mjc​bℓ′,mhc​=Qℓ,ℓ′;j,hc​,(Kℓ∗​Kℓ′​eh​)(j)=Qℓ,ℓ′;j,hc​,

where the right-hand side of the second equality is regarded as a complex number. No inequality or distinctness condition is imposed on ℓ,ℓ′,j,h\ell,\ell',j,hℓ,ℓ′,j,h; zero indices, n=0n=0n=0, and all permitted parameter endpoints are included.

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