Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pure and mixed photon-added noisy preparations induce the same channels

Open
QAlgorithms.Papers.Independent.Advance50.P20.noisyPreparationsAgree

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.

For a finite thermal mean Nˉ≥0\bar N\ge0Nˉ≥0, define

qj=(j+nn)Nˉj(1+Nˉ)j+n+1,∣ΨNˉ,n⟩=∑j=0∞qj∣j+n,j⟩,σNˉ,n=∑j=0∞qj∣j+n⟩⟨j+n∣.q_j=\binom{j+n}{n}\frac{\bar N^j}{(1+\bar N)^{j+n+1}},\qquad |\Psi_{\bar N,n}\rangle=\sum_{j=0}^\infty\sqrt{q_j}|j+n,j\rangle,\qquad \sigma_{\bar N,n}=\sum_{j=0}^\infty q_j|j+n\rangle\langle j+n|.qj​=(nj+n​)(1+Nˉ)j+n+1Nˉj​,∣ΨNˉ,n​⟩=j=0∑∞​qj​​∣j+n,j⟩,σNˉ,n​=j=0∑∞​qj​∣j+n⟩⟨j+n∣.

The qjq_jqj​ form a probability law, ∣ΨNˉ,n⟩|\Psi_{\bar N,n}\rangle∣ΨNˉ,n​⟩ is a unit vector, and σNˉ,n\sigma_{\bar N,n}σNˉ,n​ is a density operator with

Tr⁡2∣ΨNˉ,n⟩⟨ΨNˉ,n∣=σNˉ,n.\operatorname{Tr}_2|\Psi_{\bar N,n}\rangle\langle\Psi_{\bar N,n}|=\sigma_{\bar N,n}.Tr2​∣ΨNˉ,n​⟩⟨ΨNˉ,n​∣=σNˉ,n​.

Applying the fixed canonical coupling to the input and the first environment mode, with the second untouched, gives a CPTP channel equal on every trace-class input to the channel formed by first tracing the second environment and then coupling to σNˉ,n\sigma_{\bar N,n}σNˉ,n​. This includes all four cases n=0n=0n=0 or n>0n>0n>0 and Nˉ=0\bar N=0Nˉ=0 or Nˉ>0\bar N>0Nˉ>0. Photon addition acts on the first mode as a normalized postselected preparation.

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

/-- Section IV H, PDF pp.14--15, Figs.16--17: the two normalized preparations
have the SAME partial trace and induce the SAME channel on every trace-class
input. Photon addition acts on the first environmental mode. n=0 and N=0
are retained; preparation itself is postselected, not a deterministic channel. -/
theorem noisyPreparationsAgree (c : PhotonFamily) (k : ℝ) (hk : PhotonParameter c k)
    (N : ℝ) (hN : 0 ≤ N) (n : ℕ) :
    DilationRealized c k ∧
    (∀ j, 0 ≤ addedThermalWeight N n j) ∧ HasSum (addedThermalWeight N n) 1 ∧
    (∀ p, addedPurification N n p = addedPurificationCoefficient N n p) ∧
    ‖addedPurification N n‖ = 1 ∧
    IsDensity (rankOne (addedPurification N n)) ∧ IsDensity (addedThermalEnvironment N n) ∧
    partialRight (rankOne (addedPurification N n)) = addedThermalEnvironment N n ∧
    IsTraceClassChannel (pureAddedNoisyChannel c k N n) ∧
    IsTraceClassChannel (mixedAddedNoisyChannel c k N n) ∧
    ∀ X, IsTraceClass X →
      pureAddedNoisyChannel c k N n X = mixedAddedNoisyChannel c k N n X := 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. 14, §IV H, unnumbered: pure and mixed photon-added noisy constructions agree
Read-back

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

Let HA=ℓ2(A;C)H_A=\ell^2(A;\mathbb C)HA​=ℓ2(A;C). A matrix XXX is trace class if Xab=∑rur(a)vr(b)‾X_{ab}=\sum_r u_r(a)\overline{v_r(b)}Xab​=∑r​ur​(a)vr​(b)​ for sequences in HAH_AHA​ with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞. A density matrix is trace class, has real nonnegative finite quadratic forms, and has summable real diagonal of sum 111. A channel preserves trace class, is additive and complex homogeneous on trace-class inputs, and preserves density matrices after every finite ancillary extension T(d)(X)(i,a),(j,b)=T((X(p,a),(q,b))p,q)ijT^{(d)}(X)_{(i,a),(j,b)}=T((X_{(p,a),(q,b)})_{p,q})_{ij}T(d)(X)(i,a),(j,b)​=T((X(p,a),(q,b)​)p,q​)ij​; the ancillary dimension 000 has no density matrices. Choose a family ccc, a real kkk, N≥0N\ge0N≥0, and n∈Nn\in\mathbb Nn∈N, with 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. The specified dilation coefficients, for output (m,ℓ)(m,\ell)(m,ℓ) and input (j,s)(j,s)(j,s), 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.​

All natural-number subtractions are truncated at zero and 00=10^0=100=1. Let UUU be the chosen complex linear isometric equivalence with this matrix, or the identity if none exists, and put Bpq=(Ueq)(p)B_{pq}=(Ue_q)(p)Bpq​=(Ueq​)(p). Define

wj=(j+nn)Nj(1+N)j+n+1,v(r,s)={ws,r=s+n,0,otherwise,Yij={wi−n,i=j and n≤i,0,otherwise.w_j=\binom{j+n}{n}\frac{N^j}{(1+N)^{j+n+1}}, \qquad v_{(r,s)}= \begin{cases}\sqrt{w_s},&r=s+n,\\0,&\text{otherwise},\end{cases} \qquad Y_{ij}= \begin{cases}w_{i-n},&i=j\text{ and }n\le i,\\0,&\text{otherwise}.\end{cases}wj​=(nj+n​)(1+N)j+n+1Nj​,v(r,s)​={ws​​,0,​r=s+n,otherwise,​Yij​={wi−n​,0,​i=j and n≤i,otherwise.​

The vector called the added purification is the chosen vector in HN2H_{\mathbb N^2}HN2​ with the displayed coefficients vvv, if one exists, and zero otherwise. For any kernel KKK, write

KK(X)ij=∑aKia(∑bXabKjb‾),(X⊗Y)(i,r),(j,s)=XijYrs.\mathcal K_K(X)_{ij} =\sum_aK_{ia}\left(\sum_bX_{ab}\overline{K_{jb}}\right), \qquad (X\otimes Y)_{(i,r),(j,s)}=X_{ij}Y_{rs}.KK​(X)ij​=a∑​Kia​(b∑​Xab​Kjb​​),(X⊗Y)(i,r),(j,s)​=Xij​Yrs​.

Set L(i,r,s),(j,t,u)=1{s=u}B(i,r),(j,t)L_{(i,r,s),(j,t,u)}=\mathbf1_{\{s=u\}}B_{(i,r),(j,t)}L(i,r,s),(j,t,u)​=1{s=u}​B(i,r),(j,t)​. The two maps under consideration are

Epure(X)ij=∑r,sKL(X⊗(vv∗))(i,r,s),(j,r,s),Emixed(X)ij=∑rKB(X⊗Y)(i,r),(j,r),E_{\mathrm{pure}}(X)_{ij} =\sum_{r,s}\mathcal K_L\bigl(X\otimes(vv^*)\bigr)_{(i,r,s),(j,r,s)}, \qquad E_{\mathrm{mixed}}(X)_{ij} =\sum_r\mathcal K_B(X\otimes Y)_{(i,r),(j,r)},Epure​(X)ij​=r,s∑​KL​(X⊗(vv∗))(i,r,s),(j,r,s)​,Emixed​(X)ij​=r∑​KB​(X⊗Y)(i,r),(j,r)​,

where (vv∗)p,q=vpvq‾(vv^*)_{p,q}=v_p\overline{v_q}(vv∗)p,q​=vp​vq​​. The declaration asserts that UUU actually has matrix Dc,kD_{c,k}Dc,k​, that every wj≥0w_j\ge0wj​≥0 and ∑jwj=1\sum_jw_j=1∑j​wj​=1, that the selected purification has exactly the displayed coefficients and norm 111, that vv∗vv^*vv∗ and YYY are density matrices, that

∑s(vv∗)(i,s),(j,s)=Yij,\sum_s(vv^*)_{(i,s),(j,s)}=Y_{ij},s∑​(vv∗)(i,s),(j,s)​=Yij​,

that both displayed maps are channels, and that Epure(X)=Emixed(X)E_{\mathrm{pure}}(X)=E_{\mathrm{mixed}}(X)Epure​(X)=Emixed​(X) for every trace-class XXX. This includes unnormalized and nonpositive trace-class inputs, n=0n=0n=0, all allowed parameter endpoints, and N=0N=0N=0, when w0=1w_0=1w0​=1, all other weights vanish, and the purification has its sole nonzero coefficient at (n,0)(n,0)(n,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