Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Improved quantum capacity bounds of Gaussian loss channels and achievable rates with Gottesman-Kitaev-Preskill codes

Definition
QAlgorithms_Papers_Independent_Bridge50_P16

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

prove2quantum

The objects the formalized statements of Improved quantum capacity bounds of Gaussian loss channels and achievable rates with Gottesman-Kitaev-Preskill codes (arXiv:1801.07271) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • coefficientChannel: PDF pp.2,14--16: coordinate adapter for the accepted physical Fock map. Nuclear input coefficients have a unique bounded realization; no cutoff is used.
  • blockPhotonEnergy: PDF pp.5,13: extended total photon expectation of an n-mode coefficient array. For a density each summand is nonnegative; infinity is retained.
  • EnergyAchievable: PDF pp.5--7,13: mean-code-state energy constraint for entanglement transmission. Enc(I/2^m) is the actual unconditional encoded state. The same single code works at every logical matrix unit through squared entanglement fidelity.
  • energyCapacity: PDF p.5 Eq.(22): operational supremum, including zero and infinity.
  • PhaseIndex: PDF pp.14--16: interleaved coordinates (q_i,p_i), represented by (i,0),(i,1).
  • tensorWeylCharacteristic: PDF pp.14--16: Tr(rho D((xi_q+i xi_p)/sqrt(2))) on each mode, with actual tensor-product Weyl coefficients. Trace-class pairing includes all inputs.
  • GaussianSpecification: PDF p.2 Eq.(2), Appendix A: physical multimode Gaussian specification. The full characteristic law, CPTP, symmetric noise, and CP matrix condition identify the channel beyond its action on two moments.
  • dephasedOperator: PDF p.5, Eqs.(18)--(22): transport the accepted complete Fock dephasing.
  • pureLossIc: PDF pp.4--5: true pure-loss complement is loss with transmissivity 1-eta. The finite-energy statements below establish that both entropy values are finite.
  • oneShotPureLoss: PDF p.5 Eq.(22): one-shot coherent information on the finite-energy domain.
  • optimizedObjective: PDF p.7 Eq.(41), Appendix C: fixed physical gain substitutions.
  • noiseContraction: PDF p.12 Eq.(64): E Choi wires are logical first, physical second; f_N reverses both indices so the trace contraction has exactly Eq.(63).
  • jointObjective: PDF p.12 Eq.(65): unnormalized real SDP objective. Fidelity divides by d^2.
  • encodingEnergy: PDF pp.12--13 Eq.(67): trace((I_d tensor H) XE), in input-first wires.
  • feasibleEncoding: PDF p.13 Eq.(67): mean energy only for E(I_d/d).
  • truncatedKraus: PDF p.13: exact pure-loss Kraus coefficient on the first n Fock levels. The test m=j+ell prevents truncated natural subtraction outside its domain.
  • truncatedLoss: PDF p.13: actual finite Kraus channel; this is not a noisy truncation rule.
  • embedTruncation: PDF p.13: inclusion of the invariant finite sector into full Fock operators.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuditChannelFidelities
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P30
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P18
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier30_P14
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier30_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P51
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P32

/-!
Noh--Albert--Jiang, arXiv:1801.07271v2. Full Fock channels in Sections II--IV;
finite matrices only in Section V. Every new object belongs to this paper.
Ideal-code and numerical claims deferred in HARD.md have no substitute theorems.
Compilation and independent moderation are pending the separate batch stages.
-/

noncomputable section

open Filter MeasureTheory
open scoped BigOperators ENNReal NNReal Matrix ComplexOrder

namespace QAlgorithms.Papers.Independent.Bridge50.P16

attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq

namespace B
export QAlgorithms.Papers.Independent.Dependency50.P39
  (Fock FockOperator fockKet fockDyad IsTraceClass IsDensity HasFockMatrix
   operatorOfMatrix characteristic displacementMatrix DisplacementRealized
   AmplifierRealized ThermalRealized)
end B

namespace C
export QAlgorithms.Papers.Independent.Claimed50.P39
  (thermal amplifier displacementNoiseChannel photonMeanThermalState
   IsNormalFockChannel FiniteEnergy fockEntropyNats)
end C

namespace T
export QAlgorithms.Papers.Independent.Dependency50.P33
  (IsTraceClassChannel IsTraceClass IsDensity State)
export QAlgorithms.Papers.Independent.Frontier30.P14
  (Operation traceClassTensorPower codeFidelity traceClassAchievableRate
   operationalTraceClassCapacity)
end T

open QAlgorithms.Papers.Independent.Frontier30.P08 (interleavedSymplecticForm)
open QAlgorithms.Papers.Independent.Dependency50.P30 (thermalEntropyBits)
open QAlgorithms.Papers.Independent.Frontier18.P18 (operatorCoeff boundedOperator)
open QAlgorithms.Papers.Independent.Information100.P34 (choi)
open QAlgorithms.Papers.Independent.Dependency50.P32 (CPTP applyChoi)

/-- PDF pp.2,14--16: coordinate adapter for the accepted physical Fock map.
Nuclear input coefficients have a unique bounded realization; no cutoff is used. -/
def coefficientChannel (E : B.FockOperator → B.FockOperator) : T.Operation ℕ ℕ :=
  fun X => operatorCoeff (E (boundedOperator X))

/-- PDF pp.5,13: extended total photon expectation of an n-mode coefficient array.
For a density each summand is nonnegative; infinity is retained. -/
def blockPhotonEnergy {n : ℕ} (X : Matrix (Fin n → ℕ) (Fin n → ℕ) ℂ) : ℝ≥0∞ :=
  ∑' a : Fin n → ℕ, ENNReal.ofReal (∑ i, (a i : ℝ)) * ENNReal.ofReal (X a a).re

/-- PDF pp.5--7,13: mean-code-state energy constraint for entanglement transmission.
Enc(I/2^m) is the actual unconditional encoded state. The same single code works
at every logical matrix unit through squared entanglement fidelity. -/
def EnergyAchievable (E : T.Operation ℕ ℕ) (budget : ℝ) (R : ℝ≥0) : Prop :=
  ∀ epsilon : ℝ, 0 < epsilon → ∀ delta : ℝ, 0 < delta →
    ∃ N : ℕ, 0 < N ∧ ∀ n ≥ N, ∃ m : ℕ,
      ∃ Enc : T.Operation (Fin (2 ^ m)) (Fin n → ℕ),
      ∃ Dec : T.Operation (Fin n → ℕ) (Fin (2 ^ m)),
        T.IsTraceClassChannel Enc ∧ T.IsTraceClassChannel Dec ∧
        blockPhotonEnergy (Enc (((((2 : ℝ) ^ m)⁻¹ : ℝ) : ℂ) •
          (1 : Matrix (Fin (2 ^ m)) (Fin (2 ^ m)) ℂ))) ≤ ENNReal.ofReal (n * budget) ∧
        ((R : ℝ) - delta) * (n : ℝ) ≤ (m : ℝ) ∧
        1 - epsilon ≤ T.codeFidelity m (Dec ∘ T.traceClassTensorPower E n ∘ Enc)

/-- PDF p.5 Eq.(22): operational supremum, including zero and infinity. -/
def energyCapacity (E : T.Operation ℕ ℕ) (budget : ℝ) : ℝ≥0∞ :=
  ⨆ R : {R : ℝ≥0 // EnergyAchievable E budget R}, (R.val : ℝ≥0∞)

/-- PDF pp.14--16: interleaved coordinates (q_i,p_i), represented by (i,0),(i,1). -/
abbrev PhaseIndex (n : ℕ) := Fin n × Fin 2

/-- PDF pp.14--16: Tr(rho D((xi_q+i xi_p)/sqrt(2))) on each mode, with
actual tensor-product Weyl coefficients. Trace-class pairing includes all inputs. -/
def tensorWeylCharacteristic {n : ℕ}
    (X : Matrix (Fin n → ℕ) (Fin n → ℕ) ℂ) (xi : PhaseIndex n → ℝ) : ℂ :=
  ∑' a : Fin n → ℕ, ∑' b : Fin n → ℕ, X a b *
    ∏ i : Fin n, B.displacementMatrix
      (((xi (i, 0) : ℂ) + Complex.I * (xi (i, 1) : ℂ)) / (Real.sqrt 2 : ℂ)) (b i) (a i)

/-- PDF p.2 Eq.(2), Appendix A: physical multimode Gaussian specification.
The full characteristic law, CPTP, symmetric noise, and CP matrix condition
identify the channel beyond its action on two moments. -/
def GaussianSpecification {n : ℕ}
    (E : T.Operation (Fin n → ℕ) (Fin n → ℕ))
    (M V : Matrix (PhaseIndex n) (PhaseIndex n) ℝ) (d : PhaseIndex n → ℝ) : Prop :=
  T.IsTraceClassChannel E ∧ V.transpose = V ∧
    Matrix.PosSemidef ((fun a b => (V a b : ℂ) + Complex.I / 2 *
      ((interleavedSymplecticForm n - M * interleavedSymplecticForm n * M.transpose) a b : ℝ)) :
        Matrix (PhaseIndex n) (PhaseIndex n) ℂ) ∧
    ∀ X, T.IsTraceClass X → ∀ xi,
      tensorWeylCharacteristic (E X) xi =
        tensorWeylCharacteristic X ((interleavedSymplecticForm n * M.transpose * (interleavedSymplecticForm n).transpose).mulVec xi) *
          Complex.exp
            (((-(∑ a, xi a * ((interleavedSymplecticForm n * V * (interleavedSymplecticForm n).transpose).mulVec xi) a) / 2 : ℝ) : ℂ) +
              Complex.I * ((∑ a, d a * ((interleavedSymplecticForm n).mulVec xi) a : ℝ) : ℂ))

/-- PDF p.5, Eqs.(18)--(22): transport the accepted complete Fock dephasing. -/
def dephasedOperator (X : B.FockOperator) : B.FockOperator :=
  B.operatorOfMatrix (QAlgorithms.Papers.Independent.Information100.P51.fockDephasing (operatorCoeff X))

/-- PDF pp.4--5: true pure-loss complement is loss with transmissivity 1-eta.
The finite-energy statements below establish that both entropy values are finite. -/
def pureLossIc (eta : ℝ) (X : B.FockOperator) : ℝ :=
  (C.fockEntropyNats (C.thermal eta 0 X) / ENNReal.ofReal (Real.log 2)).toReal -
    (C.fockEntropyNats (C.thermal (1 - eta) 0 X) / ENNReal.ofReal (Real.log 2)).toReal

/-- PDF p.5 Eq.(22): one-shot coherent information on the finite-energy domain. -/
def oneShotPureLoss (eta budget : ℝ) : ℝ≥0∞ :=
  ⨆ X : {X : B.FockOperator // B.IsDensity X ∧ C.FiniteEnergy X ∧
      (∑' j : ℕ, (j : ℝ) * (X (B.fockKet j) j).re) ≤ budget},
    ENNReal.ofReal (pureLossIc eta X.val)

/-- PDF p.7 Eq.(41), Appendix C: fixed physical gain substitutions. -/
def optimizedObjective (eta b budget gain : ℝ) : ℝ :=
  let etaBar := 1 - (1 - eta) * (b + 1) / gain
  let gain2 := eta / (gain - (1 - eta) * (b + 1))
  let energy2 := gain2 * budget + (gain2 - 1)
  max (thermalEntropyBits (etaBar * energy2) -
    thermalEntropyBits ((1 - etaBar) * energy2)) 0

/-- PDF p.12 Eq.(64): E Choi wires are logical first, physical second;
f_N reverses both indices so the trace contraction has exactly Eq.(63). -/
def noiseContraction {d n : ℕ} (N : Superop (Fin n) (Fin n))
    (XE : Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ) :
    Matrix (Fin n × Fin d) (Fin n × Fin d) ℂ :=
  fun a b => ∑ k : Fin n, ∑ kp : Fin n,
    choi N (k, b.1) (kp, a.1) * XE (b.2, k) (a.2, kp)

/-- PDF p.12 Eq.(65): unnormalized real SDP objective. Fidelity divides by d^2. -/
def jointObjective {d n : ℕ} (N : Superop (Fin n) (Fin n))
    (XE : Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ)
    (XD : Matrix (Fin n × Fin d) (Fin n × Fin d) ℂ) : ℝ :=
  (XD * noiseContraction N XE).trace.re

/-- PDF pp.12--13 Eq.(67): trace((I_d tensor H) XE), in input-first wires. -/
def encodingEnergy {d n : ℕ} (H : Matrix (Fin n) (Fin n) ℂ)
    (XE : Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ) : ℝ :=
  ((Matrix.kronecker (1 : Matrix (Fin d) (Fin d) ℂ) H) * XE).trace.re

/-- PDF p.13 Eq.(67): mean energy only for E(I_d/d). -/
def feasibleEncoding (d n : ℕ) (H : Matrix (Fin n) (Fin n) ℂ) (budget : ℝ) :
    Set (Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ) :=
  {XE | CPTP XE ∧ encodingEnergy H XE ≤ budget * d}

/-- PDF p.13: exact pure-loss Kraus coefficient on the first n Fock levels.
The test m=j+ell prevents truncated natural subtraction outside its domain. -/
def truncatedKraus (n : ℕ) (eta : ℝ) (ell : Fin n) : Matrix (Fin n) (Fin n) ℂ :=
  fun j m => if m.val = j.val + ell.val then
    (Real.sqrt (Nat.choose m.val ell.val : ℝ) *
      Real.sqrt (1 - eta) ^ ell.val * Real.sqrt eta ^ j.val : ℝ) else 0

/-- PDF p.13: actual finite Kraus channel; this is not a noisy truncation rule. -/
def truncatedLoss (n : ℕ) (eta : ℝ) : Superop (Fin n) (Fin n) :=
  krausApply (truncatedKraus n eta)

/-- PDF p.13: inclusion of the invariant finite sector into full Fock operators. -/
def embedTruncation {n : ℕ} (X : Matrix (Fin n) (Fin n) ℂ) : B.FockOperator :=
  ∑ i : Fin n, ∑ j : Fin n, X i j • B.fockDyad i.val j.val

example : interleavedSymplecticForm 1 (0, 0) (0, 1) = 1 := by simp [interleavedSymplecticForm]

example : interleavedSymplecticForm 1 (0, 1) (0, 0) = -1 := by simp [interleavedSymplecticForm]

example {n : ℕ} : blockPhotonEnergy (0 : Matrix (Fin n → ℕ) (Fin n → ℕ) ℂ) = 0 := by
  simp [blockPhotonEnergy]

example {n : ℕ} (N : Superop (Fin n) (Fin n)) :
    noiseContraction (d := 1) N 0 = 0 := by
  ext a b
  simp [noiseContraction]

example {n : ℕ} : embedTruncation (0 : Matrix (Fin n) (Fin n) ℂ) = 0 := by
  simp [embedTruncation]

example (eta : ℝ) : truncatedKraus 1 eta 0 0 0 = 1 := by
  simp [truncatedKraus]

example (X : B.FockOperator) : C.displacementNoiseChannel 0 X = X := by
  simp [C.displacementNoiseChannel]

end QAlgorithms.Papers.Independent.Bridge50.P16
Source
Improved quantum capacity bounds of Gaussian loss channels and achievable rates with Gottesman-Kitaev-Preskill codes, arXiv:1801.07271v2, https://arxiv.org/abs/1801.07271v2
Read-back

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

QAlgorithms.Papers.Independent.Bridge50.P16.EnergyAchievable

Let EEE be any function from complex matrices indexed by N\mathbb NN to such matrices, let B∈RB\in\mathbb RB∈R be a budget, and let R≥0R\ge0R≥0 be a real rate. For the following statement, a matrix XXX indexed by a set III is called trace class precisely when there are sequences ur,vr∈ℓ2(I;C)u_r,v_r\in\ell^2(I;\mathbb C)ur​,vr​∈ℓ2(I;C) such that ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ converges and Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for every i,ji,ji,j; a density matrix means such a matrix for which every finite quadratic form ∑i,j∈Fzi‾Xijzj\sum_{i,j\in F}\overline{z_i}X_{ij}z_j∑i,j∈F​zi​​Xij​zj​ is real and nonnegative, the real diagonal entries form a summable family, and their sum is 111. A map CCC between these matrix spaces satisfies the channel condition used here precisely when it preserves trace class, is additive on trace-class matrices and complex homogeneous on them, and, for every natural number rrr, its extension

C(r)(Z)(j,a),(j′,b)=C((Z(i,a),(i′,b))i,i′)j,j′C^{(r)}(Z)_{(j,a),(j',b)} =C\bigl((Z_{(i,a),(i',b)})_{i,i'}\bigr)_{j,j'}C(r)(Z)(j,a),(j′,b)​=C((Z(i,a),(i′,b)​)i,i′​)j,j′​

takes every density matrix indexed by I×{0,…,r−1}I\times\{0,\ldots,r-1\}I×{0,…,r−1} to a density matrix on the corresponding output index set. The predicate being defined says that for every ϵ>0\epsilon>0ϵ>0 and every δ>0\delta>0δ>0, there is a positive integer NNN such that, for every n≥Nn\ge Nn≥N, there exist a natural number mmm, an encoding map E\mathcal EE from matrices on {0,…,2m−1}\{0,\ldots,2^m-1\}{0,…,2m−1} to matrices on Nn\mathbb N^nNn, and a decoding map D\mathcal DD in the reverse direction, both satisfying this channel condition, such that, writing Jm=2−mI2mJ_m=2^{-m}I_{2^m}Jm​=2−mI2m​,

∑a∈Nn[∑i=0n−1ai]+[Re⁡(E(Jm))aa]+≤[nB]+,(R−δ)n≤m,1−ϵ≤Re⁡∑a,b=02m−1(D∘E[n]∘E)(eab)ab(2m)2.\begin{gathered} \sum_{a\in\mathbb N^n} \left[\sum_{i=0}^{n-1}a_i\right]_+ [\operatorname{Re}(\mathcal E(J_m))_{aa}]_+ \le [nB]_+,\\ (R-\delta)n\le m,\qquad 1-\epsilon\le \frac{\operatorname{Re}\displaystyle\sum_{a,b=0}^{2^m-1} (\mathcal D\circ E^{[n]}\circ\mathcal E)(e_{ab})_{ab}} {(2^m)^2}. \end{gathered}a∈Nn∑​[i=0∑n−1​ai​]+​[Re(E(Jm​))aa​]+​≤[nB]+​,(R−δ)n≤m,1−ϵ≤(2m)2Rea,b=0∑2m−1​(D∘E[n]∘E)(eab​)ab​​.​

Here [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) in [0,∞][0,\infty][0,∞], eabe_{ab}eab​ is the matrix unit, and E[n]E^{[n]}E[n] is defined recursively by E[0]=idE^{[0]}=\mathrm{id}E[0]=id on the singleton index set and

E[r+1](X)a,b=E[r] ⁣((s,t)⟼E((Xi::s,j::t)i,j∈N)a0b0)tail⁡(a),tail⁡(b).E^{[r+1]}(X)_{a,b} =E^{[r]}\!\left( (s,t)\longmapsto E\bigl((X_{i::s,j::t})_{i,j\in\mathbb N}\bigr)_{a_0b_0} \right)_{\operatorname{tail}(a),\operatorname{tail}(b)}.E[r+1](X)a,b​=E[r]((s,t)⟼E((Xi::s,j::t​)i,j∈N​)a0​b0​​)tail(a),tail(b)​.

The energy bound concerns the encoded maximally mixed matrix JmJ_mJm​. The number m=0m=0m=0 is allowed, EEE itself is not assumed to satisfy the channel condition, and a negative budget makes the right-hand energy bound zero.

QAlgorithms.Papers.Independent.Bridge50.P16.GaussianSpecification

For every natural number nnn, let I=NnI=\mathbb N^nI=Nn, let EEE be a function from complex matrices indexed by III to such matrices, let M,VM,VM,V be real matrices indexed by {0,…,n−1}×{0,1}\{0,\ldots,n-1\}\times\{0,1\}{0,…,n−1}×{0,1}, and let ddd be a real vector on that same index set. Define the real matrix Ω\OmegaΩ by Ω(i,0),(i,1)=1\Omega_{(i,0),(i,1)}=1Ω(i,0),(i,1)​=1, Ω(i,1),(i,0)=−1\Omega_{(i,1),(i,0)}=-1Ω(i,1),(i,0)​=−1, and all other entries zero. The predicate being defined is the conjunction of the following requirements:

VT=V,V+i2(Ω−MΩMT)⪰0,V^{\mathsf T}=V,\qquad V+\frac{\mathrm i}{2}\bigl(\Omega-M\Omega M^{\mathsf T}\bigr)\succeq0,VT=V,V+2i​(Ω−MΩMT)⪰0,

and, for every trace-class matrix XXX on III and every real vector ξ\xiξ on the coordinate index set,

χE(X)(ξ)=χX(ΩMTΩTξ) exp⁡ ⁣(−12∑aξa(ΩVΩTξ)a+i∑ada(Ωξ)a),\chi_{E(X)}(\xi) =\chi_X(\Omega M^{\mathsf T}\Omega^{\mathsf T}\xi)\, \exp\!\left( -\frac12\sum_a\xi_a(\Omega V\Omega^{\mathsf T}\xi)_a +\mathrm i\sum_a d_a(\Omega\xi)_a \right),χE(X)​(ξ)=χX​(ΩMTΩTξ)exp(−21​a∑​ξa​(ΩVΩTξ)a​+ia∑​da​(Ωξ)a​),

together with a channel condition on EEE. Here trace class means that Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for sequences ur,vr∈ℓ2(I;C)u_r,v_r\in\ell^2(I;\mathbb C)ur​,vr​∈ℓ2(I;C) with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞; the channel condition says that EEE preserves such matrices, is additive and complex homogeneous on them, and, after applying EEE separately to every slice with fixed auxiliary indices, takes every density matrix on I×{0,…,r−1}I\times\{0,\ldots,r-1\}I×{0,…,r−1} to a density matrix for every r∈Nr\in\mathbb Nr∈N. A density matrix here means a trace-class matrix with real nonnegative finite quadratic forms and summable real diagonal entries summing to 111. The function in the displayed identity is

χX(ξ)=∑a∈I∑b∈IXab∏i=0n−1D ⁣(ξi,0+iξi,12)bi,ai,D(z)r,s=e−∣z∣2/2r! s!∑j=0min⁡(r,s)zr−j(−z‾)s−jj! (r−j)! (s−j)!.\chi_X(\xi)= \sum_{a\in I}\sum_{b\in I}X_{ab} \prod_{i=0}^{n-1} D\!\left(\frac{\xi_{i,0}+\mathrm i\xi_{i,1}}{\sqrt2}\right)_{b_i,a_i}, \quad D(z)_{r,s} =e^{-|z|^2/2}\sqrt{r!\,s!} \sum_{j=0}^{\min(r,s)} \frac{z^{r-j}(-\overline z)^{s-j}} {j!\,(r-j)!\,(s-j)!}.χX​(ξ)=a∈I∑​b∈I∑​Xab​i=0∏n−1​D(2​ξi,0​+iξi,1​​)bi​,ai​​,D(z)r,s​=e−∣z∣2/2r!s!​j=0∑min(r,s)​j!(r−j)!(s−j)!zr−j(−z)s−j​.

These nested complex sums use the total infinite-sum operation, assigning zero to a nonsummable summand family. The transformation identity ranges over all trace-class XXX, not only density matrices. The case n=0n=0n=0 is included, with empty coordinate matrices and vectors, singleton tuple indices, and empty products equal to 111.

QAlgorithms.Papers.Independent.Bridge50.P16.PhaseIndex

For every natural number nnn, this abbreviation denotes the set

{0,…,n−1}×{0,1}.\{0,\ldots,n-1\}\times\{0,1\}.{0,…,n−1}×{0,1}.

Thus an index consists of a mode label and one of two coordinate labels; the set has 2n2n2n elements and is empty when n=0n=0n=0.

QAlgorithms.Papers.Independent.Bridge50.P16.blockPhotonEnergy

For every natural number nnn, including n=0n=0n=0, and every complex matrix XXX whose rows and columns are indexed by tuples a=(a0,…,an−1)∈Nna=(a_0,\ldots,a_{n-1})\in\mathbb N^na=(a0​,…,an−1​)∈Nn, this definition assigns the extended nonnegative real number

blockPhotonEnergy⁡(X)=∑a∈Nn[∑i=0n−1ai]+[Re⁡Xaa]+,\operatorname{blockPhotonEnergy}(X) =\sum_{a\in\mathbb N^n} \left[\sum_{i=0}^{n-1}a_i\right]_+ [\operatorname{Re}X_{aa}]_+,blockPhotonEnergy(X)=a∈Nn∑​[i=0∑n−1​ai​]+​[ReXaa​]+​,

where [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0), regarded as an element of [0,∞][0,\infty][0,∞], and the sum is the extended nonnegative sum, which may be infinite. No positivity, normalization, or summability assumption is imposed on XXX; negative real diagonal entries contribute zero. For n=0n=0n=0, the tuple index set has one element and its coordinate sum is zero, so the defined value is zero.

QAlgorithms.Papers.Independent.Bridge50.P16.coefficientChannel

Let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), let ej∈He_j\in Hej​∈H be the sequence equal to 111 at jjj and 000 elsewhere, and let EEE be any function from bounded complex-linear operators on HHH to bounded complex-linear operators on HHH. This definition produces a function on all complex matrices indexed by N×N\mathbb N\times\mathbb NN×N: for a matrix XXX, choose a bounded operator AXA_XAX​ satisfying (AXej)i=Xij(A_Xe_j)_i=X_{ij}(AX​ej​)i​=Xij​ for every i,ji,ji,j, if such an operator exists, and set AX=0A_X=0AX​=0 otherwise; the resulting matrix is

(coefficientChannel⁡(E)(X))ij=(E(AX)ej)i.\bigl(\operatorname{coefficientChannel}(E)(X)\bigr)_{ij} =\bigl(E(A_X)e_j\bigr)_i.(coefficientChannel(E)(X))ij​=(E(AX​)ej​)i​.

Neither EEE nor XXX is assumed to satisfy any channel, positivity, normalization, or trace-class condition. In particular, when XXX has no bounded operator realization, the result is the matrix of E(0)E(0)E(0).

QAlgorithms.Papers.Independent.Bridge50.P16.dephasedOperator

Let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), let eje_jej​ be its standard coordinate vector, and let XXX be any bounded complex-linear operator on HHH. This definition forms the coefficient matrix

Kmn={(Xen)n,m=n,0,m≠n,K_{mn}= \begin{cases} (Xe_n)_n,&m=n,\\ 0,&m\ne n, \end{cases}Kmn​={(Xen​)n​,0,​m=n,m=n,​

and returns a chosen bounded operator AAA satisfying (Aen)m=Kmn(Ae_n)_m=K_{mn}(Aen​)m​=Kmn​ for every m,nm,nm,n, if such an operator exists; otherwise it returns the zero operator. No density, positivity, or trace-class hypothesis is imposed on XXX.

QAlgorithms.Papers.Independent.Bridge50.P16.embedTruncation

For every natural number nnn and complex n×nn\times nn×n matrix XXX, this defines the bounded complex-linear operator on H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C)

∑i=0n−1∑j=0n−1Xij ∣i⟩⟨j∣,\sum_{i=0}^{n-1}\sum_{j=0}^{n-1}X_{ij}\,|i\rangle\langle j|,i=0∑n−1​j=0∑n−1​Xij​∣i⟩⟨j∣,

where ∣i⟩|i\rangle∣i⟩ is the sequence equal to 111 at iii and 000 elsewhere, and ∣i⟩⟨j∣|i\rangle\langle j|∣i⟩⟨j∣ sends a sequence vvv to vj∣i⟩v_j|i\ranglevj​∣i⟩. Thus the operator sends vvv to the sequence whose iii-th coordinate is ∑j<nXijvj\sum_{j<n}X_{ij}v_j∑j<n​Xij​vj​ for i<ni<ni<n, and whose other coordinates are zero. No positivity, Hermiticity, or normalization is required of XXX; for n=0n=0n=0, the operator is zero.

QAlgorithms.Papers.Independent.Bridge50.P16.encodingEnergy

For arbitrary natural numbers d,nd,nd,n, any complex n×nn\times nn×n matrix HHH, and any complex matrix XEX_EXE​ indexed by {0,…,d−1}×{0,…,n−1}\{0,\ldots,d-1\}\times\{0,\ldots,n-1\}{0,…,d−1}×{0,…,n−1}, this defines

Re⁡tr⁡((Id⊗H)XE)=Re⁡∑i=0d−1∑j,k=0n−1Hjk(XE)(i,k),(i,j).\operatorname{Re}\operatorname{tr}\bigl((I_d\otimes H)X_E\bigr) =\operatorname{Re}\sum_{i=0}^{d-1}\sum_{j,k=0}^{n-1} H_{jk}(X_E)_{(i,k),(i,j)}.Retr((Id​⊗H)XE​)=Rei=0∑d−1​j,k=0∑n−1​Hjk​(XE​)(i,k),(i,j)​.

Neither HHH nor XEX_EXE​ is required to be Hermitian, positive, or normalized. The definition includes d=0d=0d=0 and n=0n=0n=0, when its value is 000.

QAlgorithms.Papers.Independent.Bridge50.P16.energyCapacity

For any function EEE from complex matrices indexed by N\mathbb NN to such matrices and any real budget BBB, this definition takes the supremum in [0,∞][0,\infty][0,∞] of all nonnegative real numbers RRR with the following property: for every ϵ,δ>0\epsilon,\delta>0ϵ,δ>0, there is a positive integer NNN such that for every n≥Nn\ge Nn≥N there exist m∈Nm\in\mathbb Nm∈N and encoding and decoding maps E,D\mathcal E,\mathcal DE,D, between matrices on 2m2^m2m labels and matrices on Nn\mathbb N^nNn, for which

∑a∈Nn[∑i=0n−1ai]+[Re⁡(E(2−mI2m))aa]+≤[nB]+,(R−δ)n≤m,Re⁡∑a,b=02m−1(D∘E[n]∘E)(eab)ab(2m)2≥1−ϵ.\begin{gathered} \sum_{a\in\mathbb N^n} \left[\sum_{i=0}^{n-1}a_i\right]_+ [\operatorname{Re}(\mathcal E(2^{-m}I_{2^m}))_{aa}]_+ \le[nB]_+,\qquad (R-\delta)n\le m,\\ \frac{\operatorname{Re}\displaystyle\sum_{a,b=0}^{2^m-1} (\mathcal D\circ E^{[n]}\circ\mathcal E)(e_{ab})_{ab}} {(2^m)^2}\ge1-\epsilon. \end{gathered}a∈Nn∑​[i=0∑n−1​ai​]+​[Re(E(2−mI2m​))aa​]+​≤[nB]+​,(R−δ)n≤m,(2m)2Rea,b=0∑2m−1​(D∘E[n]∘E)(eab​)ab​​≥1−ϵ.​

Here [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) in [0,∞][0,\infty][0,∞], eabe_{ab}eab​ denotes a matrix unit, and E[n]E^{[n]}E[n] applies EEE recursively to the first coordinate and the previously defined tensor power to the remaining coordinates, starting with the identity at n=0n=0n=0; explicitly,

E[r+1](X)a,b=E[r] ⁣((s,t)↦E((Xi::s,j::t)i,j)a0b0)tail⁡(a),tail⁡(b).E^{[r+1]}(X)_{a,b} =E^{[r]}\!\left((s,t)\mapsto E\bigl((X_{i::s,j::t})_{i,j}\bigr)_{a_0b_0}\right)_{\operatorname{tail}(a),\operatorname{tail}(b)}.E[r+1](X)a,b​=E[r]((s,t)↦E((Xi::s,j::t​)i,j​)a0​b0​​)tail(a),tail(b)​.

Both coding maps must preserve trace class, be additive and complex homogeneous on trace-class matrices, and preserve density matrices after extension by the identity on every finite auxiliary index set. In this condition, trace class means the existence of a coefficient expansion Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ with ur,vr∈ℓ2u_r,v_r\in\ell^2ur​,vr​∈ℓ2 and ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞; density means trace class, real nonnegative finite quadratic forms, and a summable real diagonal with sum 111. Extension by the identity applies the map separately to each matrix slice obtained by fixing the two auxiliary indices. The supremum may be infinite and is zero if there are no qualifying rates; m=0m=0m=0 is permitted, negative budgets are truncated to zero in the energy bound, and no channel assumption is imposed on EEE.

QAlgorithms.Papers.Independent.Bridge50.P16.feasibleEncoding

For any natural numbers d,nd,nd,n, complex n×nn\times nn×n matrix HHH, and real number BBB, this defines the set of complex matrices XEX_EXE​ indexed by {0,…,d−1}×{0,…,n−1}\{0,\ldots,d-1\}\times\{0,\ldots,n-1\}{0,…,d−1}×{0,…,n−1} satisfying all three conditions

XE⪰0,∑k=0n−1(XE)(i,k),(j,k)=δij(0≤i,j<d),Re⁡tr⁡((Id⊗H)XE)≤Bd.X_E\succeq0,\qquad \sum_{k=0}^{n-1}(X_E)_{(i,k),(j,k)}=\delta_{ij} \quad(0\le i,j<d),\qquad \operatorname{Re}\operatorname{tr}\bigl((I_d\otimes H)X_E\bigr)\le Bd.XE​⪰0,k=0∑n−1​(XE​)(i,k),(j,k)​=δij​(0≤i,j<d),Retr((Id​⊗H)XE​)≤Bd.

Here δij\delta_{ij}δij​ is 111 when i=ji=ji=j and 000 otherwise. There is no assumption that HHH is Hermitian or that B≥0B\ge0B≥0. If d=0d=0d=0, the unique matrix with the empty index set belongs to the set for every n,H,Bn,H,Bn,H,B; if d>0d>0d>0 and n=0n=0n=0, the set is empty because the required diagonal partial-trace entries would be 0=10=10=1.

QAlgorithms.Papers.Independent.Bridge50.P16.jointObjective

For arbitrary natural numbers d,nd,nd,n, an arbitrary function NNN from complex n×nn\times nn×n matrices to complex n×nn\times nn×n matrices, a complex matrix XEX_EXE​ indexed by {0,…,d−1}×{0,…,n−1}\{0,\ldots,d-1\}\times\{0,\ldots,n-1\}{0,…,d−1}×{0,…,n−1}, and a complex matrix XDX_DXD​ indexed by {0,…,n−1}×{0,…,d−1}\{0,\ldots,n-1\}\times\{0,\ldots,d-1\}{0,…,n−1}×{0,…,d−1}, this defines the real number Re⁡tr⁡(XDC)\operatorname{Re}\operatorname{tr}(X_D C)Retr(XD​C), where

C(i,a),(j,b)=∑k,k′=0n−1[N(Ekk′)]b,a (XE)(j,k),(i,k′),C_{(i,a),(j,b)} =\sum_{k,k'=0}^{n-1} \bigl[N(E_{kk'})\bigr]_{b,a}\, (X_E)_{(j,k),(i,k')},C(i,a),(j,b)​=k,k′=0∑n−1​[N(Ekk′​)]b,a​(XE​)(j,k),(i,k′)​,

and Ekk′E_{kk'}Ekk′​ is the n×nn\times nn×n matrix with its sole nonzero entry equal to 111 at row kkk, column k′k'k′. No linearity, positivity, normalization, or channel condition is imposed on N,XE,XDN,X_E,X_DN,XE​,XD​. Either dimension may be zero; in that case the trace is an empty sum and the defined value is 000.

QAlgorithms.Papers.Independent.Bridge50.P16.noiseContraction

For every pair of natural numbers d,nd,nd,n, every function NNN from complex n×nn\times nn×n matrices to complex n×nn\times nn×n matrices, and every complex matrix XEX_EXE​ indexed by {0,…,d−1}×{0,…,n−1}\{0,\ldots,d-1\}\times\{0,\ldots,n-1\}{0,…,d−1}×{0,…,n−1}, this definition produces a matrix indexed by {0,…,n−1}×{0,…,d−1}\{0,\ldots,n-1\}\times\{0,\ldots,d-1\}{0,…,n−1}×{0,…,d−1} with entries

noiseContraction⁡(N,XE)(r,s),(t,u)=∑k=0n−1∑k′=0n−1N(ekk′)t,r (XE)(u,k),(s,k′),\operatorname{noiseContraction}(N,X_E)_{(r,s),(t,u)} =\sum_{k=0}^{n-1}\sum_{k'=0}^{n-1} N(e_{kk'})_{t,r}\, (X_E)_{(u,k),(s,k')},noiseContraction(N,XE​)(r,s),(t,u)​=k=0∑n−1​k′=0∑n−1​N(ekk′​)t,r​(XE​)(u,k),(s,k′)​,

where ekk′e_{kk'}ekk′​ is the n×nn\times nn×n matrix with sole nonzero entry 111 at (k,k′)(k,k')(k,k′). Thus the coefficients called the Choi matrix in the code are expanded as N(ekk′)t,rN(e_{kk'})_{t,r}N(ekk′​)t,r​. No linearity, channel, positivity, or normalization condition is imposed on NNN or XEX_EXE​, and there is no complex conjugation in this formula. If d=0d=0d=0 or n=0n=0n=0, the output index set is empty.

QAlgorithms.Papers.Independent.Bridge50.P16.oneShotPureLoss

For arbitrary real numbers η\etaη and BBB, this definition takes a supremum in [0,∞][0,\infty][0,∞] over bounded operators XXX on H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C) satisfying all of the following: XXX admits an operator-norm convergent expansion ∑r∣ur⟩⟨vr∣=X\sum_r|u_r\rangle\langle v_r|=X∑r​∣ur​⟩⟨vr​∣=X with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞; X∗=XX^*=XX∗=X; Re⁡⟨u,Xu⟩≥0\operatorname{Re}\langle u,Xu\rangle\ge0Re⟨u,Xu⟩≥0 for every u∈Hu\in Hu∈H; the complex diagonal sequence ((Xej)j)j((Xe_j)_j)_j((Xej​)j​)j​ is summable with sum 111; and the real sequence (j Re⁡(Xej)j)j(j\,\operatorname{Re}(Xe_j)_j)_j(jRe(Xej​)j​)j​ is summable with sum at most BBB. The value assigned to each such XXX is

[toReal⁡ ⁣(S(Tη(X))log⁡2)−toReal⁡ ⁣(S(T1−η(X))log⁡2)]+.\left[ \operatorname{toReal}\!\left(\frac{S(T_\eta(X))}{\log2}\right) -\operatorname{toReal}\!\left(\frac{S(T_{1-\eta}(X))}{\log2}\right) \right]_+.[toReal(log2S(Tη​(X))​)−toReal(log2S(T1−η​(X))​)]+​.

Here eje_jej​ is the standard coordinate vector, [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) is viewed in [0,∞][0,\infty][0,∞], toReal⁡(∞)=0\operatorname{toReal}(\infty)=0toReal(∞)=0, and

S(Y)=∑j=0∞[−sj(Y)log⁡sj(Y)]+,sj(Y)=inf⁡ui,vi∈H, i<j∥Y−∑i<j∣ui⟩⟨vi∣∥.S(Y)=\sum_{j=0}^{\infty}[-s_j(Y)\log s_j(Y)]_+,\qquad s_j(Y)=\inf_{u_i,v_i\in H,\ i<j} \left\|Y-\sum_{i<j}|u_i\rangle\langle v_i|\right\|.S(Y)=j=0∑∞​[−sj​(Y)logsj​(Y)]+​,sj​(Y)=ui​,vi​∈H, i<jinf​​Y−i<j∑​∣ui​⟩⟨vi​∣​.

The operator Tt(X)T_t(X)Tt​(X), for a real ttt, is a chosen bounded realization of the matrix

Kt(X)mn=∑ℓ=0∞At(m,ℓ)At(n,ℓ)(Xen+ℓ)m+ℓ,At(r,ℓ)=r!ℓ!(r+ℓ)!(r+ℓr)(t)r(−1−t)ℓ,K_t(X)_{mn} =\sum_{\ell=0}^{\infty}A_t(m,\ell)A_t(n,\ell)(Xe_{n+\ell})_{m+\ell}, \qquad A_t(r,\ell)= \sqrt{\frac{r!\ell!}{(r+\ell)!}}\binom{r+\ell}{r} (\sqrt t)^r(-\sqrt{1-t})^\ell,Kt​(X)mn​=ℓ=0∑∞​At​(m,ℓ)At​(n,ℓ)(Xen+ℓ​)m+ℓ​,At​(r,ℓ)=(r+ℓ)!r!ℓ!​​(rr+ℓ​)(t​)r(−1−t​)ℓ,

or zero if no bounded realization exists. Complex infinite sums are total, with value zero for nonsummable families, and real square roots of negative numbers and log⁡0\log0log0 are zero. No interval restriction is imposed on η\etaη; if the set of qualifying XXX is empty, the supremum is zero, and otherwise it may be infinite.

QAlgorithms.Papers.Independent.Bridge50.P16.optimizedObjective

For every four real numbers η,b,B,G\eta,b,B,Gη,b,B,G, with no sign, range, or nonzero-denominator assumptions, define

ηˉ=1−(1−η)(b+1)G,G2=ηG−(1−η)(b+1),B2=G2B+(G2−1),\bar\eta=1-\frac{(1-\eta)(b+1)}G,\qquad G_2=\frac{\eta}{G-(1-\eta)(b+1)},\qquad B_2=G_2B+(G_2-1),ηˉ​=1−G(1−η)(b+1)​,G2​=G−(1−η)(b+1)η​,B2​=G2​B+(G2​−1),

and h(x)=(1+x)log⁡2(1+x)−xlog⁡2xh(x)=(1+x)\log_2(1+x)-x\log_2xh(x)=(1+x)log2​(1+x)−xlog2​x. The definition assigns

optimizedObjective⁡(η,b,B,G)=max⁡ ⁣{h(ηˉB2)−h((1−ηˉ)B2), 0}.\operatorname{optimizedObjective}(\eta,b,B,G) =\max\!\left\{ h(\bar\eta B_2)-h((1-\bar\eta)B_2),\,0 \right\}.optimizedObjective(η,b,B,G)=max{h(ηˉ​B2​)−h((1−ηˉ​)B2​),0}.

All divisions are total real divisions, so division by zero gives zero. The real logarithm used here is also total: log⁡20=0\log_2 0=0log2​0=0, and for a negative argument it equals the base-two logarithm of its absolute value. Despite its name, this definition performs no optimization over GGG or any other variable.

QAlgorithms.Papers.Independent.Bridge50.P16.pureLossIc

Let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), let eje_jej​ be its standard coordinate vectors, let η∈R\eta\in\mathbb Rη∈R, and let XXX be any bounded complex-linear operator on HHH. To specify the definition, for every real ttt and r,ℓ∈Nr,\ell\in\mathbb Nr,ℓ∈N put

At(r,ℓ)=r! ℓ!(r+ℓ)!(r+ℓr)(t)r(−1−t)ℓ,Kt(X)mn=∑ℓ=0∞At(m,ℓ)At(n,ℓ)(Xen+ℓ)m+ℓ.A_t(r,\ell)= \sqrt{\frac{r!\,\ell!}{(r+\ell)!}}\binom{r+\ell}{r} (\sqrt t)^{r}\bigl(-\sqrt{1-t}\bigr)^\ell, \qquad K_t(X)_{mn} =\sum_{\ell=0}^{\infty} A_t(m,\ell)A_t(n,\ell)(Xe_{n+\ell})_{m+\ell}.At​(r,ℓ)=(r+ℓ)!r!ℓ!​​(rr+ℓ​)(t​)r(−1−t​)ℓ,Kt​(X)mn​=ℓ=0∑∞​At​(m,ℓ)At​(n,ℓ)(Xen+ℓ​)m+ℓ​.

Let Tt(X)T_t(X)Tt​(X) be a chosen bounded operator with coefficient matrix Kt(X)K_t(X)Kt​(X) if one exists, and zero otherwise; this is the zero-environment-parameter thermal map appearing in the code. For a bounded operator YYY, define

sj(Y)=inf⁡u0,…,uj−1, v0,…,vj−1∈H∥Y−∑i=0j−1∣ui⟩⟨vi∣∥,S(Y)=∑j=0∞[−sj(Y)log⁡sj(Y)]+,s_j(Y)= \inf_{u_0,\ldots,u_{j-1},\,v_0,\ldots,v_{j-1}\in H} \left\|Y-\sum_{i=0}^{j-1}|u_i\rangle\langle v_i|\right\|, \qquad S(Y)=\sum_{j=0}^{\infty}[-s_j(Y)\log s_j(Y)]_+,sj​(Y)=u0​,…,uj−1​,v0​,…,vj−1​∈Hinf​​Y−i=0∑j−1​∣ui​⟩⟨vi​∣​,S(Y)=j=0∑∞​[−sj​(Y)logsj​(Y)]+​,

where ∣u⟩⟨v∣|u\rangle\langle v|∣u⟩⟨v∣ maps xxx to ⟨v,x⟩u\langle v,x\rangle u⟨v,x⟩u, the norm is the operator norm, and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) takes values in [0,∞][0,\infty][0,∞]. The defined real number is

pureLossIc⁡(η,X)=toReal⁡ ⁣(S(Tη(X))log⁡2)−toReal⁡ ⁣(S(T1−η(X))log⁡2).\operatorname{pureLossIc}(\eta,X) =\operatorname{toReal}\!\left(\frac{S(T_\eta(X))}{\log2}\right) -\operatorname{toReal}\!\left(\frac{S(T_{1-\eta}(X))}{\log2}\right).pureLossIc(η,X)=toReal(log2S(Tη​(X))​)−toReal(log2S(T1−η​(X))​).

Here division occurs in the extended nonnegative reals and toReal⁡(∞)=0\operatorname{toReal}(\infty)=0toReal(∞)=0. In particular, s0(Y)=∥Y∥s_0(Y)=\|Y\|s0​(Y)=∥Y∥. No restriction on η\etaη, normalization of XXX, or finiteness of either entropy sum is assumed; real square roots of negative numbers and log⁡0\log0log0 are zero, and any nonsummable complex series in Kt(X)K_t(X)Kt​(X) has the total infinite-sum value zero.

QAlgorithms.Papers.Independent.Bridge50.P16.tensorWeylCharacteristic

For every natural number nnn, every complex matrix XXX indexed by Nn×Nn\mathbb N^n\times\mathbb N^nNn×Nn, and every real array ξi,s\xi_{i,s}ξi,s​ with 0≤i<n0\le i<n0≤i<n and s∈{0,1}s\in\{0,1\}s∈{0,1}, this definition assigns

χX(ξ)=∑a∈Nn∑b∈NnXab∏i=0n−1D ⁣(ξi,0+iξi,12)bi,ai,\chi_X(\xi) =\sum_{a\in\mathbb N^n}\sum_{b\in\mathbb N^n} X_{ab}\prod_{i=0}^{n-1} D\!\left(\frac{\xi_{i,0}+\mathrm i\xi_{i,1}}{\sqrt2}\right)_{b_i,a_i},χX​(ξ)=a∈Nn∑​b∈Nn∑​Xab​i=0∏n−1​D(2​ξi,0​+iξi,1​​)bi​,ai​​,

where the scalar coefficients used in the product are defined, for z∈Cz\in\mathbb Cz∈C and r,s∈Nr,s\in\mathbb Nr,s∈N, by

D(z)r,s=e−∣z∣2/2r! s!∑j=0min⁡(r,s)z r−j(−z‾) s−jj! (r−j)! (s−j)!.D(z)_{r,s} =e^{-|z|^2/2}\sqrt{r!\,s!} \sum_{j=0}^{\min(r,s)} \frac{z^{\,r-j}(-\overline z)^{\,s-j}} {j!\,(r-j)!\,(s-j)!}.D(z)r,s​=e−∣z∣2/2r!s!​j=0∑min(r,s)​j!(r−j)!(s−j)!zr−j(−z)s−j​.

No trace-class, positivity, or convergence hypothesis is imposed on XXX; each complex infinite sum is the total infinite-sum operation, with value zero if its summand family is not summable. When n=0n=0n=0, both tuple index sets are singletons and the product is empty, so the result is the sole entry of XXX.

QAlgorithms.Papers.Independent.Bridge50.P16.truncatedKraus

For any natural number nnn, real number η\etaη, and integer ℓ\ellℓ with 0≤ℓ<n0\le\ell<n0≤ℓ<n, this defines the complex n×nn\times nn×n matrix KℓK_\ellKℓ​ whose entries, for 0≤j,m<n0\le j,m<n0≤j,m<n, are

(Kℓ)jm={(mℓ) (1−η)ℓ(η)j,m=j+ℓ,0,m≠j+ℓ.(K_\ell)_{jm} = \begin{cases} \displaystyle \sqrt{\binom m\ell}\, (\sqrt{1-\eta})^\ell(\sqrt\eta)^j, & m=j+\ell,\\[2mm] 0,&m\ne j+\ell. \end{cases}(Kℓ​)jm​=⎩⎨⎧​(ℓm​)​(1−η​)ℓ(η​)j,0,​m=j+ℓ,m=j+ℓ.​

The displayed nonzero expression is real and is embedded into C\mathbb CC. No restriction on η\etaη is assumed: the real square root used here equals 000 on negative arguments, and zeroth powers, including 000^000, equal 111. For n=0n=0n=0, there is no permissible value of ℓ\ellℓ.

QAlgorithms.Papers.Independent.Bridge50.P16.truncatedLoss

For every natural number nnn and real number η\etaη, this defines a function on all complex n×nn\times nn×n matrices by

X⟼∑ℓ=0n−1KℓXKℓ†,(Kℓ)jm={(mℓ) (1−η)ℓ(η)j,m=j+ℓ,0,m≠j+ℓ,0≤j,m<n,X\longmapsto\sum_{\ell=0}^{n-1}K_\ell X K_\ell^\dagger, \qquad (K_\ell)_{jm} = \begin{cases} \sqrt{\binom m\ell}\, (\sqrt{1-\eta})^\ell(\sqrt\eta)^j,&m=j+\ell,\\ 0,&m\ne j+\ell, \end{cases} \quad 0\le j,m<n,X⟼ℓ=0∑n−1​Kℓ​XKℓ†​,(Kℓ​)jm​={(ℓm​)​(1−η​)ℓ(η​)j,0,​m=j+ℓ,m=j+ℓ,​0≤j,m<n,

where †\dagger† denotes conjugate transpose and each displayed real coefficient is regarded as complex. The definition imposes no condition on XXX or on η\etaη; real square roots of negative numbers are 000, and all zeroth powers are 111. When n=0n=0n=0, the sum is empty and the output is the zero matrix on the empty index set.

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