Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Two vacuum environment modes and a squeezer realize the noisy canonical channels

Open
QAlgorithms.Papers.Independent.Advance50.P20.noisyVacuumPreparation

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

prove2quantum

Fix a canonical amplifier, attenuator, or phase conjugator with its amplitude parameter in the source domain, and a finite thermal mean N≥0N\ge0N≥0. Start the two environment modes in ∣0,0⟩|0,0\rangle∣0,0⟩ and apply the specified two-mode squeeze unitary UA(1+N)U_A(\sqrt{1+N})UA​(1+N​). The prepared unit vector is ∣ΨN,0⟩=∑j≥0Nj/(1+N)j+1∣j,j⟩|\Psi_{N,0}\rangle=\sum_{j\ge0}\sqrt{N^j/(1+N)^{j+1}}|j,j\rangle∣ΨN,0​⟩=∑j≥0​Nj/(1+N)j+1​∣j,j⟩, whose first-mode reduced state is the thermal density θN\theta_NθN​. Applying the canonical channel unitary to the carrier and first environment mode, leaving the second mode untouched and then tracing both environment modes, gives exactly the thermal-environment noisy channel on every trace-class input. The resulting map is CPTP, and N=0N=0N=0 is included.

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

/-- Proposition 16, PDF p.14, with Fig.16 on p.15 (attributed there to Ref.[55]):
prepare two vacuum modes by the actual Eq.(11) squeezer of gain sqrt(1+N),
then apply the canonical channel unitary to the carrier and first environment.
The prepared vector, its thermal marginal, and equality of the resulting
three-mode implementation are conclusions. No arbitrary purification hypothesis
replaces the specified squeeze transformation. N=0 retains the vacuum case. -/
theorem noisyVacuumPreparation (c : PhotonFamily) (k : ℝ)
    (hk : PhotonParameter c k) (N : ℝ) (hN : 0 ≤ N) :
    DilationRealized c k ∧
    DilationRealized .amplifier (Real.sqrt (1 + N)) ∧
    addedPurification N 0 =
      dilationUnitary .amplifier (Real.sqrt (1 + N))
        (lp.single 2 (0, 0) (1 : ℂ)) ∧
    ‖addedPurification N 0‖ = 1 ∧
    IsDensity (rankOne (addedPurification N 0)) ∧
    partialRight (rankOne (addedPurification N 0)) = thermalKernel N ∧
    IsTraceClassChannel (pureAddedNoisyChannel c k N 0) ∧
    ∀ X, IsTraceClass X →
      pureAddedNoisyChannel c k N 0 X = canonicalThermalChannel c k 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, Proposition 16
Read-back

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

Let ccc be one of the three families amplifier, attenuator, or conjugator, and let k∈Rk\in\mathbb Rk∈R satisfy, respectively, k≥1k\ge1k≥1, 0≤k≤10\le k\le10≤k≤1, or k≥0k\ge0k≥0. Let N∈RN\in\mathbb RN∈R satisfy N≥0N\ge0N≥0. Write HI=ℓ2(I;C)H_I=\ell^2(I;\mathbb C)HI​=ℓ2(I;C), let eie_iei​ denote its coordinate unit vector, and put sk=(1+k2)−1s_k=(\sqrt{1+k^2})^{-1}sk​=(1+k2​)−1. Define matrices Dc,kD_{c,k}Dc,k​, with rows (m,ℓ)∈N2(m,\ell)\in\mathbb N^2(m,ℓ)∈N2 and columns (j,h)∈N2(j,h)\in\mathbb N^2(j,h)∈N2, by

Damplifier,k((m,ℓ),(j,h))=k−1j! ℓ!m! h!∑r=0h∑t=0m{(hr)(mt)(−1)r(k−1)h+t−r(1−(k−1)2)m+r−t,j=r+t, ℓ+r+t=h+m,0,otherwise,Dattenuator,k((m,ℓ),(j,h))=m! ℓ!j! h!∑r=0j∑t=0h{(jr)(ht)(−1)h−tkj−r+t(1−k2)r+h−t,ℓ=r+t, m+r+t=j+h,0,otherwise,Dconjugator,k((m,ℓ),(j,h))=skh! ℓ!m! j!∑r=0m∑t=0j{(mr)(jt)skj+r−t(−1)t(ksk)m−r+t,h=r+t, ℓ+r+t=j+m,0,otherwise.\begin{aligned} D_{\mathrm{amplifier},k}((m,\ell),(j,h)) &= k^{-1}\sqrt{\frac{j!\,\ell!}{m!\,h!}} \sum_{r=0}^{h}\sum_{t=0}^{m} \begin{cases} \displaystyle \binom hr\binom mt(-1)^r (k^{-1})^{h+t-r} \bigl(\sqrt{1-(k^{-1})^2}\bigr)^{m+r-t}, &j=r+t,\ \ell+r+t=h+m,\\ 0,&\text{otherwise}, \end{cases}\\ D_{\mathrm{attenuator},k}((m,\ell),(j,h)) &= \sqrt{\frac{m!\,\ell!}{j!\,h!}} \sum_{r=0}^{j}\sum_{t=0}^{h} \begin{cases} \displaystyle \binom jr\binom ht(-1)^{h-t} k^{j-r+t}\bigl(\sqrt{1-k^2}\bigr)^{r+h-t}, &\ell=r+t,\ m+r+t=j+h,\\ 0,&\text{otherwise}, \end{cases}\\ D_{\mathrm{conjugator},k}((m,\ell),(j,h)) &= s_k\sqrt{\frac{h!\,\ell!}{m!\,j!}} \sum_{r=0}^{m}\sum_{t=0}^{j} \begin{cases} \displaystyle \binom mr\binom jt s_k^{j+r-t}(-1)^t(ks_k)^{m-r+t}, &h=r+t,\ \ell+r+t=j+m,\\ 0,&\text{otherwise}. \end{cases} \end{aligned}Damplifier,k​((m,ℓ),(j,h))Dattenuator,k​((m,ℓ),(j,h))Dconjugator,k​((m,ℓ),(j,h))​=k−1m!h!j!ℓ!​​r=0∑h​t=0∑m​⎩⎨⎧​(rh​)(tm​)(−1)r(k−1)h+t−r(1−(k−1)2​)m+r−t,0,​j=r+t, ℓ+r+t=h+m,otherwise,​=j!h!m!ℓ!​​r=0∑j​t=0∑h​⎩⎨⎧​(rj​)(th​)(−1)h−tkj−r+t(1−k2​)r+h−t,0,​ℓ=r+t, m+r+t=j+h,otherwise,​=sk​m!j!h!ℓ!​​r=0∑m​t=0∑j​⎩⎨⎧​(rm​)(tj​)skj+r−t​(−1)t(ksk​)m−r+t,0,​h=r+t, ℓ+r+t=j+m,otherwise.​​

Here every subtraction in a natural-number exponent is truncated at zero. Let Uc,k:HN2→HN2U_{c,k}:H_{\mathbb N^2}\to H_{\mathbb N^2}Uc,k​:HN2​→HN2​ be the chosen complex-linear isometric equivalence whose coefficients (Uc,keq)p(U_{c,k}e_q)_p(Uc,k​eq​)p​ equal Dc,k(p,q)D_{c,k}(p,q)Dc,k​(p,q), if such an equivalence exists, and the identity otherwise. Let vN∈HN2v_N\in H_{\mathbb N^2}vN​∈HN2​ be the chosen vector with coefficients

vN(a,b)={Nb(1+N)b+1,a=b,0,a≠b,v_N(a,b)= \begin{cases} \displaystyle\sqrt{\frac{N^b}{(1+N)^{b+1}}},&a=b,\\ 0,&a\ne b, \end{cases}vN​(a,b)=⎩⎨⎧​(1+N)b+1Nb​​,0,​a=b,a=b,​

if such a vector exists, and zero otherwise; set PN(p,q)=vN(p)vN(q)‾P_N(p,q)=v_N(p)\overline{v_N(q)}PN​(p,q)=vN​(p)vN​(q)​ and

θN(a,b)={(N/(N+1))aN+1,a=b,0,a≠b.\theta_N(a,b)= \begin{cases} \displaystyle\frac{(N/(N+1))^a}{N+1},&a=b,\\ 0,&a\ne b. \end{cases}θN​(a,b)=⎩⎨⎧​N+1(N/(N+1))a​,0,​a=b,a=b.​

For a matrix KKK with row set JJJ and column set III, define the coefficient transformation

CK(X)p,q=∑a∈IKp,a(∑b∈IXa,bKq,b‾),(X⊗Y)(a,r),(b,s)=Xa,bYr,s,\mathcal C_K(X)_{p,q} =\sum_{a\in I}K_{p,a} \left(\sum_{b\in I}X_{a,b}\overline{K_{q,b}}\right), \qquad (X\otimes Y)_{(a,r),(b,s)}=X_{a,b}Y_{r,s},CK​(X)p,q​=a∈I∑​Kp,a​(b∈I∑​Xa,b​Kq,b​​),(X⊗Y)(a,r),(b,s)​=Xa,b​Yr,s​,

where these are total infinite sums, taking value zero when the corresponding complex series is not summable. Put

Lc,k((a,(b,d)),(a′,(b′,d′)))={(Uc,ke(a′,b′))(a,b),d=d′,0,d≠d′,L_{c,k}\bigl((a,(b,d)),(a',(b',d'))\bigr) = \begin{cases} (U_{c,k}e_{(a',b')})_{(a,b)},&d=d',\\ 0,&d\ne d', \end{cases}Lc,k​((a,(b,d)),(a′,(b′,d′)))={(Uc,k​e(a′,b′)​)(a,b)​,0,​d=d′,d=d′,​

and define maps on matrices indexed by N\mathbb NN by

Pc,k,N(X)a,b=∑e∈N2CLc,k(X⊗PN)(a,e),(b,e),Tc,k,N(X)a,b=∑e∈NCKc,k(X⊗θN)(a,e),(b,e),Kc,k(p,q)=(Uc,keq)p.\begin{aligned} \mathcal P_{c,k,N}(X)_{a,b} &=\sum_{e\in\mathbb N^2} \mathcal C_{L_{c,k}}(X\otimes P_N)_{(a,e),(b,e)},\\ \mathcal T_{c,k,N}(X)_{a,b} &=\sum_{e\in\mathbb N} \mathcal C_{K_{c,k}}(X\otimes\theta_N)_{(a,e),(b,e)}, \qquad K_{c,k}(p,q)=(U_{c,k}e_q)_p. \end{aligned}Pc,k,N​(X)a,b​Tc,k,N​(X)a,b​​=e∈N2∑​CLc,k​​(X⊗PN​)(a,e),(b,e)​,=e∈N∑​CKc,k​​(X⊗θN​)(a,e),(b,e)​,Kc,k​(p,q)=(Uc,k​eq​)p​.​

To specify the remaining assertions, call a matrix XXX indexed by a set III trace class when there are sequences ur,vr∈HIu_r,v_r\in H_Iur​,vr​∈HI​, indexed by r∈Nr\in\mathbb Nr∈N, such that ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ is summable and Xa,b=∑rur(a)vr(b)‾X_{a,b}=\sum_r u_r(a)\overline{v_r(b)}Xa,b​=∑r​ur​(a)vr​(b)​ for every a,ba,ba,b. Call XXX a density when it is trace class, every finite quadratic form ∑a,b∈Fza‾Xa,bzb\sum_{a,b\in F}\overline{z_a}X_{a,b}z_b∑a,b∈F​za​​Xa,b​zb​, for every finite F⊆IF\subseteq IF⊆I and every z:I→Cz:I\to\mathbb Cz:I→C, has zero imaginary part and nonnegative real part, and its real diagonal entries are summable with sum one. The theorem asserts that Kc,k=Dc,kK_{c,k}=D_{c,k}Kc,k​=Dc,k​ and Kamplifier,1+N=Damplifier,1+NK_{\mathrm{amplifier},\sqrt{1+N}}=D_{\mathrm{amplifier},\sqrt{1+N}}Kamplifier,1+N​​=Damplifier,1+N​​; that

vN=Uamplifier,1+Ne(0,0),∥vN∥=1,PN is a density,∑e∈NPN((a,e),(b,e))=θN(a,b)(a,b∈N);v_N=U_{\mathrm{amplifier},\sqrt{1+N}}e_{(0,0)}, \qquad \|v_N\|=1, \qquad P_N\text{ is a density}, \qquad \sum_{e\in\mathbb N}P_N((a,e),(b,e))=\theta_N(a,b) \quad(a,b\in\mathbb N);vN​=Uamplifier,1+N​​e(0,0)​,∥vN​∥=1,PN​ is a density,e∈N∑​PN​((a,e),(b,e))=θN​(a,b)(a,b∈N);

and that Pc,k,N\mathcal P_{c,k,N}Pc,k,N​ maps trace-class matrices to trace-class matrices, is additive on pairs of trace-class matrices, satisfies Pc,k,N(λX)=λPc,k,N(X)\mathcal P_{c,k,N}(\lambda X)=\lambda\mathcal P_{c,k,N}(X)Pc,k,N​(λX)=λPc,k,N​(X) for every λ∈C\lambda\in\mathbb Cλ∈C and every trace-class XXX, and, for every d∈Nd\in\mathbb Nd∈N and every density RRR indexed by N×{0,…,d−1}\mathbb N\times\{0,\ldots,d-1\}N×{0,…,d−1}, produces a density under the extension

P~(R)(a,r),(b,s)=Pc,k,N((R(i,r),(j,s))i,j∈N)a,b.\widetilde{\mathcal P}(R)_{(a,r),(b,s)} = \mathcal P_{c,k,N}\bigl((R_{(i,r),(j,s)})_{i,j\in\mathbb N}\bigr)_{a,b}.P(R)(a,r),(b,s)​=Pc,k,N​((R(i,r),(j,s)​)i,j∈N​)a,b​.

Finally, for every trace-class matrix XXX indexed by N\mathbb NN, it asserts Pc,k,N(X)=Tc,k,N(X)\mathcal P_{c,k,N}(X)=\mathcal T_{c,k,N}(X)Pc,k,N​(X)=Tc,k,N​(X). These assertions include N=0N=0N=0, when vN=e(0,0)v_N=e_{(0,0)}vN​=e(0,0)​ and θN\theta_NθN​ has only its (0,0)(0,0)(0,0) entry equal to one, and all permitted endpoints of kkk; powers with exponent zero equal one, including 000^000. The finite extension condition also quantifies over d=0d=0d=0, where there is no density on the empty index set and that condition is vacuous.

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