Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Quantum-capacity bounds in spin-network communication channels

Definition
QAlgorithms_Papers_Independent_Advance50_P43

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

prove2quantum

The objects the formalized statements of Quantum-capacity bounds in spin-network communication channels (arXiv:1905.11920) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • onA: PDF p.2: an operator supported on A, extended by identity on BC.
  • onB: PDF p.2: an operator supported on B, extended by identity on A and C.
  • LRData: PDF pp.2--3, (2)--(6): Hermitian H and a nonnegative even, state-independent LR bound for ALL supported operators. Norms here are L2 operator norms. The optional geometric estimates (7)--(9) are not additional hypotheses.
  • receive: PDF p.3, (12),(15): free evolution followed by tracing A and C.
  • encodedNetwork: PDF p.3, (10),(13): product memory input with tau, E_QA acting only on QA, then trace Q. BC off-diagonal blocks are retained; tau need not be a product.
  • snc: PDF p.3, (12): the actual induced SNC map on all operators.
  • comparisonZero: PDF p.3, (14)--(15): unperturbed comparison, retaining correlations in tau.
  • comparisonOne: PDF p.4, (23)--(24): comparison from PRODUCT MARGINALS of the original tau.
  • swapChannel: PDF pp.3--4, (17)--(18): swap-in/swap-out, memory isomorphic to A.
  • stateDistance: PDF p.5, (34)--(35): supremum on density operators, WITHOUT the half. For CPTP maps on nonzero finite registers the set is nonempty and bounded by 2.
  • dimensionConstant: PDF p.4, (26): the network dimension constant, independent of Q and E.
  • minDimension: PDF p.5, (30): min dimension uses A, not the external memory Q.
  • continuityG: PDF p.4, (21)--(22): base-two continuity function, defined at zero by g(0)=0.
  • choiDilation: PDF p.4, private capacity C_P: canonical Stinespring matrix used only to supply the dilation argument of the accepted operational privateCapacity. Columns of sqrt(Choi(Phi)) give Kraus matrices K_e(b,q)=sqrt(Choi(Phi))[(q,b),e]. For CPTP Phi this is an isometry with receiver channel Phi; the full environment Q x B is retained. No dilation or complement is assumed as extra theorem data.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P45
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P23
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P22
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P32
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P67
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P69

/-!
Statements from Chessa--Fanizza--Giovannetti, arXiv:1905.11920v2.
PDF page numbers are used throughout. The finite graph is reduced to the three
nonzero register factors A, B, C and its state-independent LR estimate. In
particular an empty region C is a one-dimensional factor, not an empty type.
Classical, private and assisted capacities reuse accepted operational interfaces;
quantum capacity reuses the accepted regularized coherent-information interface.
The input memory Q has no dimension restriction. The printed A-versus-Q
continuity step in (29) is explicitly flagged for independent moderation.
-/

noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Advance50.P43

open QAlgorithms.Papers.Independent.Dependency50.P45
  (holevoCapacity resourceCapacity standardEbit)
open QAlgorithms.Papers.Independent.Information100.P32 (evolution)
open QAlgorithms.Papers.Independent.Information100.P69 (replacer diamond)
open QAlgorithms.Papers.Independent.Information100.P67 (mapFirst privateCapacity)
open QAlgorithms.Papers.Independent.Information100.P22 (quantumCapacity)
open QAlgorithms.Papers.Independent.Dependency50.P23 (ordinaryClassicalCapacity)
open QAlgorithms.Papers.Independent.Information100.P34 (choi)

variable {A B C Q : Type}
variable [Fintype A] [Fintype B] [Fintype C] [Fintype Q]
variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq Q]

/-- PDF p.2: an operator supported on A, extended by identity on BC. -/
def onA (X : Matrix A A ℂ) : Matrix (A × (B × C)) (A × (B × C)) ℂ :=
  Matrix.kronecker X 1

/-- PDF p.2: an operator supported on B, extended by identity on A and C. -/
def onB (Y : Matrix B B ℂ) : Matrix (A × (B × C)) (A × (B × C)) ℂ :=
  Matrix.kronecker 1 (Matrix.kronecker Y (1 : Matrix C C ℂ))

/-- PDF pp.2--3, (2)--(6): Hermitian H and a nonnegative even, state-independent
LR bound for ALL supported operators. Norms here are L2 operator norms.
The optional geometric estimates (7)--(9) are not additional hypotheses. -/
structure LRData (A B C : Type) [Fintype A] [Fintype B] [Fintype C]
    [DecidableEq A] [DecidableEq B] [DecidableEq C] where
  H : Matrix (A × (B × C)) (A × (B × C)) ℂ
  hermitian : H.IsHermitian
  epsilon : ℝ → ℝ
  nonnegative : ∀ t, 0 ≤ epsilon t
  even : ∀ t, epsilon (-t) = epsilon t
  bound : ∀ t (X : Matrix A A ℂ) (Y : Matrix B B ℂ),
    let U := evolution H t
    let Xt := Uᴴ * onA (B := B) (C := C) X * U
    ‖Xt * onB (A := A) (C := C) Y - onB (A := A) (C := C) Y * Xt‖ ≤
      epsilon t * ‖X‖ * ‖Y‖

/-- PDF p.3, (12),(15): free evolution followed by tracing A and C. -/
def receive (D : LRData A B C) (t : ℝ)
    (X : Matrix (A × (B × C)) (A × (B × C)) ℂ) : Matrix B B ℂ :=
  let U := evolution D.H t
  fun b bprime => ∑ a, ∑ c, (U * X * Uᴴ) (a, (b, c)) (a, (bprime, c))

/-- PDF p.3, (10),(13): product memory input with tau, E_QA acting only on QA,
then trace Q. BC off-diagonal blocks are retained; tau need not be a product. -/
def encodedNetwork (tau : Matrix (A × (B × C)) (A × (B × C)) ℂ)
    (E : Superop (Q × A) (Q × A)) (rho : Matrix Q Q ℂ) :
    Matrix (A × (B × C)) (A × (B × C)) ℂ :=
  fun x y => ∑ q : Q,
    E (fun qa qaprime => rho qa.1 qaprime.1 * tau (qa.2, x.2) (qaprime.2, y.2))
      (q, x.1) (q, y.1)

/-- PDF p.3, (12): the actual induced SNC map on all operators. -/
def snc (D : LRData A B C)
    (tau : Matrix (A × (B × C)) (A × (B × C)) ℂ)
    (E : Superop (Q × A) (Q × A)) (t : ℝ) : Superop Q B :=
  fun rho => receive D t (encodedNetwork tau E rho)

/-- PDF p.3, (14)--(15): unperturbed comparison, retaining correlations in tau. -/
def comparisonZero (D : LRData A B C)
    (tau : Matrix (A × (B × C)) (A × (B × C)) ℂ) (t : ℝ) : Superop Q B :=
  replacer (receive D t tau)

/-- PDF p.4, (23)--(24): comparison from PRODUCT MARGINALS of the original tau. -/
def comparisonOne (D : LRData A B C)
    (tau : Matrix (A × (B × C)) (A × (B × C)) ℂ) (t : ℝ) : Superop Q B :=
  replacer (receive D t (Matrix.kronecker (traceRight tau) (traceLeft tau)))

/-- PDF pp.3--4, (17)--(18): swap-in/swap-out, memory isomorphic to A. -/
def swapChannel (D : LRData A B C)
    (tau : Matrix (A × (B × C)) (A × (B × C)) ℂ) (t : ℝ) : Superop A B :=
  fun rho => receive D t (Matrix.kronecker rho (traceLeft tau))

/-- PDF p.5, (34)--(35): supremum on density operators, WITHOUT the half.
For CPTP maps on nonzero finite registers the set is nonempty and bounded by 2. -/
def stateDistance (Phi Psi : Superop Q B) : ℝ :=
  sSup {v | ∃ rho : Matrix Q Q ℂ, IsDensityMatrix rho ∧
    v = traceNorm (Phi rho - Psi rho)}

/-- PDF p.4, (26): the network dimension constant, independent of Q and E. -/
def dimensionConstant (A B C : Type*) [Fintype A] [Fintype B] [Fintype C] : ℝ :=
  2 * min ((Fintype.card A : ℝ) ^ 4)
    ((Fintype.card A : ℝ) ^ 3 * Fintype.card B * Fintype.card C)

/-- PDF p.5, (30): min dimension uses A, not the external memory Q. -/
def minDimension (A B : Type*) [Fintype A] [Fintype B] : ℝ :=
  min (Fintype.card A : ℝ) (Fintype.card B : ℝ)

/-- PDF p.4, (21)--(22): base-two continuity function, defined at zero by g(0)=0. -/
def continuityG (x : ℝ) : ℝ := (1 + x) * binEntropy2 (x / (1 + x))

/-- PDF p.4, private capacity C_P: canonical Stinespring matrix used only to
supply the dilation argument of the accepted operational privateCapacity.
Columns of sqrt(Choi(Phi)) give Kraus matrices K_e(b,q)=sqrt(Choi(Phi))[(q,b),e].
For CPTP Phi this is an isometry with receiver channel Phi; the full environment
Q x B is retained. No dilation or complement is assumed as extra theorem data. -/
def choiDilation (Phi : Superop Q B) : Matrix (B × (Q × B)) Q ℂ :=
  fun be q => (cfc Real.sqrt (choi Phi)) (q, be.1) be.2

/-! Sanity examples pin the formula normalization and tensor conventions. -/

example : continuityG 0 = 0 := by
  simp [continuityG, binEntropy2]

example : dimensionConstant Unit Unit Unit = 2 := by
  norm_num [dimensionConstant]

example (omega : Matrix B B ℂ) (X : Matrix Q Q ℂ) :
    replacer omega X = X.trace • omega := rfl

example (D : LRData A B C) (t : ℝ) :
    receive D t (0 : Matrix (A × (B × C)) (A × (B × C)) ℂ) = 0 := by
  ext b bprime
  simp [receive]

example (Phi : Superop Q B) (b : B) (e : Q × B) (q : Q) :
    choiDilation Phi (b, e) q = (cfc Real.sqrt (choi Phi)) (q, b) e := rfl

end QAlgorithms.Papers.Independent.Advance50.P43
Source
Quantum-capacity bounds in spin-network communication channels, arXiv:1905.11920v2, https://arxiv.org/abs/1905.11920v2
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P43.LRData

For finite index types A,B,CA,B,CA,B,C, each with decidable equality, this structure consists of a Hermitian complex matrix HHH on A×(B×C)A\times(B\times C)A×(B×C) and a function ϵ:R→R\epsilon:\mathbb R\to\mathbb Rϵ:R→R satisfying ϵ(t)≥0\epsilon(t)\ge0ϵ(t)≥0 and ϵ(−t)=ϵ(t)\epsilon(-t)=\epsilon(t)ϵ(−t)=ϵ(t) for every real ttt, together with the following bound: for every real ttt and all complex matrices XXX on AAA and YYY on BBB, setting Ut=exp⁡(−itH)U_t=\exp(-itH)Ut​=exp(−itH) and Xt=Ut†(X⊗IB×C)UtX_t=U_t^\dagger(X\otimes I_{B\times C})U_tXt​=Ut†​(X⊗IB×C​)Ut​, one has

∥Xt(IA⊗Y⊗IC)−(IA⊗Y⊗IC)Xt∥≤ϵ(t)∥X∥∥Y∥.\bigl\|X_t(I_A\otimes Y\otimes I_C) -(I_A\otimes Y\otimes I_C)X_t\bigr\| \le \epsilon(t)\|X\|\|Y\|.​Xt​(IA​⊗Y⊗IC​)−(IA​⊗Y⊗IC​)Xt​​≤ϵ(t)∥X∥∥Y∥.

The time quantifier includes zero and negative times; no continuity of ϵ\epsilonϵ or nonemptiness of the index types is required.

QAlgorithms.Papers.Independent.Advance50.P43.choiDilation

For finite types Q,BQ,BQ,B, with decidable equality, and any map Φ\PhiΦ from complex Q×QQ\times QQ×Q matrices to complex B×BB\times BB×B matrices, define the matrix JΦJ_\PhiJΦ​, indexed by Q×BQ\times BQ×B, by

(JΦ)(q,b),(q′,b′)=[Φ(∣q⟩⟨q′∣)]b,b′.(J_\Phi)_{(q,b),(q',b')} =\bigl[\Phi(|q\rangle\langle q'|)\bigr]_{b,b'}.(JΦ​)(q,b),(q′,b′)​=[Φ(∣q⟩⟨q′∣)]b,b′​.

The declaration defines a rectangular complex matrix VΦV_\PhiVΦ​, with rows indexed by B×(Q×B)B\times(Q\times B)B×(Q×B) and columns by QQQ, through

(VΦ)(b,(q′,b′)),q=[cfc⁡(⋅,JΦ)](q,b),(q′,b′).(V_\Phi)_{(b,(q',b')),q} =\bigl[\operatorname{cfc}(\sqrt{\cdot},J_\Phi)\bigr]_{(q,b),(q',b')}.(VΦ​)(b,(q′,b′)),q​=[cfc(⋅​,JΦ​)](q,b),(q′,b′)​.

The square root here is the real continuous functional calculus, which uses its total-function value zero when the matrix is not Hermitian. No channel, positivity, normalization, or nonemptiness assumption is imposed; the definition also applies when either indexing type is empty, and it does not itself assert that VΦV_\PhiVΦ​ is an isometry.

QAlgorithms.Papers.Independent.Advance50.P43.comparisonOne

For finite index types A,B,CA,B,CA,B,C with decidable equality and a finite index type QQQ, let D=(H,ϵ)D=(H,\epsilon)D=(H,ϵ) have Hermitian HHH, nonnegative even ϵ\epsilonϵ, and satisfy ∥[eisH(V⊗I)e−isH,IA⊗W⊗IC]∥≤ϵ(s)∥V∥∥W∥\|[e^{isH}(V\otimes I)e^{-isH},I_A\otimes W\otimes I_C]\|\le\epsilon(s)\|V\|\|W\|∥[eisH(V⊗I)e−isH,IA​⊗W⊗IC​]∥≤ϵ(s)∥V∥∥W∥ for every real sss and matrices V,WV,WV,W on A,BA,BA,B, respectively, where [L,M]=LM−ML[L,M]=LM-ML[L,M]=LM−ML. For any complex matrix τ\tauτ on A×(B×C)A\times(B\times C)A×(B×C), define

(τA)a,a′=∑b,cτ(a,(b,c)),(a′,(b,c)),(τBC)(b,c),(b′,c′)=∑aτ(a,(b,c)),(a,(b′,c′)).(\tau_A)_{a,a'}=\sum_{b,c}\tau_{(a,(b,c)),(a',(b,c))}, \qquad (\tau_{BC})_{(b,c),(b',c')}=\sum_a\tau_{(a,(b,c)),(a,(b',c'))}.(τA​)a,a′​=b,c∑​τ(a,(b,c)),(a′,(b,c))​,(τBC​)(b,c),(b′,c′)​=a∑​τ(a,(b,c)),(a,(b′,c′))​.

For any real ttt, this declaration defines the function on matrices ρ\rhoρ on QQQ by

comparisonOne⁡(D,τ,t)(ρ)b,b′=tr⁡(ρ)∑a,c(e−itH(τA⊗τBC)eitH)(a,(b,c)),(a,(b′,c)).\operatorname{comparisonOne}(D,\tau,t)(\rho)_{b,b'} =\operatorname{tr}(\rho)\sum_{a,c} \bigl(e^{-itH}(\tau_A\otimes\tau_{BC})e^{itH}\bigr)_{(a,(b,c)),(a,(b',c))}.comparisonOne(D,τ,t)(ρ)b,b′​=tr(ρ)a,c∑​(e−itH(τA​⊗τBC​)eitH)(a,(b,c)),(a,(b′,c))​.

No density or normalization condition is required, so the tensor product of the two marginals is used without any additional normalization.

QAlgorithms.Papers.Independent.Advance50.P43.comparisonZero

For finite index types A,B,CA,B,CA,B,C with decidable equality and a finite index type QQQ, let D=(H,ϵ)D=(H,\epsilon)D=(H,ϵ) have Hermitian HHH, nonnegative even ϵ\epsilonϵ, and the bound

∥[eisH(V⊗I)e−isH,IA⊗W⊗IC]∥≤ϵ(s)∥V∥∥W∥\|[e^{isH}(V\otimes I)e^{-isH},I_A\otimes W\otimes I_C]\| \le\epsilon(s)\|V\|\|W\|∥[eisH(V⊗I)e−isH,IA​⊗W⊗IC​]∥≤ϵ(s)∥V∥∥W∥

for every real sss and matrices VVV on AAA, WWW on BBB, where [L,M]=LM−ML[L,M]=LM-ML[L,M]=LM−ML. For any complex matrix τ\tauτ on A×(B×C)A\times(B\times C)A×(B×C) and real ttt, this defines the function on matrices ρ\rhoρ on QQQ by

comparisonZero⁡(D,τ,t)(ρ)b,b′=tr⁡(ρ)∑a,c(e−itHτeitH)(a,(b,c)),(a,(b′,c)).\operatorname{comparisonZero}(D,\tau,t)(\rho)_{b,b'} =\operatorname{tr}(\rho)\sum_{a,c} (e^{-itH}\tau e^{itH})_{(a,(b,c)),(a,(b',c))}.comparisonZero(D,τ,t)(ρ)b,b′​=tr(ρ)a,c∑​(e−itHτeitH)(a,(b,c)),(a,(b′,c))​.

The trace multiplier is complex. No density condition on either matrix is required; in particular, an empty QQQ makes this function zero.

QAlgorithms.Papers.Independent.Advance50.P43.continuityG

For every real number xxx, this defines

G(x)=(1+x) h2 ⁣(x1+x),h2(p)=−plog⁡p−(1−p)log⁡(1−p)log⁡2.G(x)=(1+x)\,h_2\!\left(\frac{x}{1+x}\right), \qquad h_2(p)=\frac{-p\log p-(1-p)\log(1-p)}{\log 2}.G(x)=(1+x)h2​(1+xx​),h2​(p)=log2−plogp−(1−p)log(1−p)​.

Here the real logarithm and division are total: log⁡0=0\log 0=0log0=0, the logarithm of a negative number is the logarithm of its absolute value, and division by zero gives zero. There is no assumption that x≥0x\ge0x≥0 or that x/(1+x)x/(1+x)x/(1+x) lies in [0,1][0,1][0,1]; in particular, the definition includes x=−1x=-1x=−1, where G(−1)=0G(-1)=0G(−1)=0.

QAlgorithms.Papers.Independent.Advance50.P43.dimensionConstant

For any finite index types A,B,CA,B,CA,B,C, this defines the real number

2min⁡{∣A∣4, ∣A∣3∣B∣∣C∣},2\min\bigl\{|A|^4,\ |A|^3|B||C|\bigr\},2min{∣A∣4, ∣A∣3∣B∣∣C∣},

where the cardinalities are regarded as real numbers before taking powers and products. No decidable equality or nonemptiness assumptions are required; the value is zero if any of the three types is empty.

QAlgorithms.Papers.Independent.Advance50.P43.encodedNetwork

For index types A,B,CA,B,CA,B,C, a finite index type QQQ, any complex matrix τ\tauτ on A×(B×C)A\times(B\times C)A×(B×C), any function EEE from complex matrices on Q×AQ\times AQ×A to complex matrices on Q×AQ\times AQ×A, and any complex matrix ρ\rhoρ on QQQ, this defines a matrix on A×(B×C)A\times(B\times C)A×(B×C) by

encodedNetwork⁡(τ,E,ρ)(a,(b,c)),(a′,(b′,c′))=∑q∈QE(Mb,c;b′,c′)(q,a),(q,a′),M(r,u),(r′,u′)b,c;b′,c′=ρr,r′τ(u,(b,c)),(u′,(b′,c′)).\operatorname{encodedNetwork}(\tau,E,\rho)_{(a,(b,c)),(a',(b',c'))} =\sum_{q\in Q}E(M^{b,c;b',c'})_{(q,a),(q,a')}, \qquad M^{b,c;b',c'}_{(r,u),(r',u')} =\rho_{r,r'}\tau_{(u,(b,c)),(u',(b',c'))}.encodedNetwork(τ,E,ρ)(a,(b,c)),(a′,(b′,c′))​=q∈Q∑​E(Mb,c;b′,c′)(q,a),(q,a′)​,M(r,u),(r′,u′)b,c;b′,c′​=ρr,r′​τ(u,(b,c)),(u′,(b′,c′))​.

The function EEE is not required to be linear or a channel, and neither matrix is required to be a density matrix. If QQQ is empty, the resulting matrix is zero.

QAlgorithms.Papers.Independent.Advance50.P43.minDimension

For any finite index types A,BA,BA,B, this defines the real number min⁡{∣A∣,∣B∣}\min\{|A|,|B|\}min{∣A∣,∣B∣}, with both cardinalities regarded as real numbers. No decidable equality or nonemptiness assumptions are required; the value is zero if either type is empty.

QAlgorithms.Papers.Independent.Advance50.P43.onA

For index types A,B,CA,B,CA,B,C, with decidable equality on BBB and CCC, and any complex matrix XXX indexed by A×AA\times AA×A, this defines the matrix X⊗IB×CX\otimes I_{B\times C}X⊗IB×C​ on A×(B×C)A\times(B\times C)A×(B×C). Explicitly,

onA⁡(X)(a,(b,c)),(a′,(b′,c′))=Xa,a′δb,b′δc,c′.\operatorname{onA}(X)_{(a,(b,c)),(a',(b',c'))} =X_{a,a'}\delta_{b,b'}\delta_{c,c'}.onA(X)(a,(b,c)),(a′,(b′,c′))​=Xa,a′​δb,b′​δc,c′​.

No finiteness, nonemptiness, Hermiticity, or positivity of XXX is required.

QAlgorithms.Papers.Independent.Advance50.P43.onB

For index types A,B,CA,B,CA,B,C, with decidable equality on AAA and CCC, and any complex matrix YYY indexed by B×BB\times BB×B, this defines IA⊗(Y⊗IC)I_A\otimes(Y\otimes I_C)IA​⊗(Y⊗IC​) on A×(B×C)A\times(B\times C)A×(B×C). Explicitly,

onB⁡(Y)(a,(b,c)),(a′,(b′,c′))=δa,a′Yb,b′δc,c′.\operatorname{onB}(Y)_{(a,(b,c)),(a',(b',c'))} =\delta_{a,a'}Y_{b,b'}\delta_{c,c'}.onB(Y)(a,(b,c)),(a′,(b′,c′))​=δa,a′​Yb,b′​δc,c′​.

No finiteness, nonemptiness, Hermiticity, or positivity of YYY is required.

QAlgorithms.Papers.Independent.Advance50.P43.receive

For finite index types A,B,CA,B,CA,B,C with decidable equality, let DDD consist of a Hermitian matrix HHH on A×(B×C)A\times(B\times C)A×(B×C) and a nonnegative even real function ϵ\epsilonϵ such that, for every real sss and matrices VVV on AAA, WWW on BBB, the commutator of eisH(V⊗I)e−isHe^{isH}(V\otimes I)e^{-isH}eisH(V⊗I)e−isH with IA⊗W⊗ICI_A\otimes W\otimes I_CIA​⊗W⊗IC​ has norm at most ϵ(s)∥V∥∥W∥\epsilon(s)\|V\|\|W\|ϵ(s)∥V∥∥W∥. For any real ttt and any complex matrix XXX on A×(B×C)A\times(B\times C)A×(B×C), this defines the matrix on BBB with entries

receive⁡(D,t,X)b,b′=∑a∈A∑c∈C(e−itHXeitH)(a,(b,c)),(a,(b′,c)).\operatorname{receive}(D,t,X)_{b,b'} =\sum_{a\in A}\sum_{c\in C} \bigl(e^{-itH}Xe^{itH}\bigr)_{(a,(b,c)),(a,(b',c))}.receive(D,t,X)b,b′​=a∈A∑​c∈C∑​(e−itHXeitH)(a,(b,c)),(a,(b′,c))​.

Thus it traces out AAA and CCC after this conjugation. No density or positivity condition is imposed on XXX; an empty summation index gives zero.

QAlgorithms.Papers.Independent.Advance50.P43.snc

For finite index types A,B,CA,B,CA,B,C with decidable equality and a finite index type QQQ, let D=(H,ϵ)D=(H,\epsilon)D=(H,ϵ) satisfy: HHH is Hermitian, ϵ\epsilonϵ is nonnegative and even, and for every real sss and matrices VVV on AAA, WWW on BBB, the commutator of eisH(V⊗I)e−isHe^{isH}(V\otimes I)e^{-isH}eisH(V⊗I)e−isH with IA⊗W⊗ICI_A\otimes W\otimes I_CIA​⊗W⊗IC​ has norm at most ϵ(s)∥V∥∥W∥\epsilon(s)\|V\|\|W\|ϵ(s)∥V∥∥W∥. Given any complex matrix τ\tauτ on A×(B×C)A\times(B\times C)A×(B×C), any function EEE from matrices on Q×AQ\times AQ×A to matrices on Q×AQ\times AQ×A, and any real ttt, this defines a function from matrices ρ\rhoρ on QQQ to matrices on BBB by

snc⁡(D,τ,E,t)(ρ)b,b′=∑a,c(e−itHNρeitH)(a,(b,c)),(a,(b′,c)),\operatorname{snc}(D,\tau,E,t)(\rho)_{b,b'} =\sum_{a,c}(e^{-itH}N_\rho e^{itH})_{(a,(b,c)),(a,(b',c))},snc(D,τ,E,t)(ρ)b,b′​=a,c∑​(e−itHNρ​eitH)(a,(b,c)),(a,(b′,c))​,

where

(Nρ)(a,β),(a′,β′)=∑q∈QE ⁣[(ρr,r′τ(u,β),(u′,β′))(r,u),(r′,u′)](q,a),(q,a′),β,β′∈B×C.(N_\rho)_{(a,\beta),(a',\beta')} =\sum_{q\in Q}E\!\left[ \bigl(\rho_{r,r'}\tau_{(u,\beta),(u',\beta')}\bigr)_{(r,u),(r',u')} \right]_{(q,a),(q,a')}, \qquad \beta,\beta'\in B\times C.(Nρ​)(a,β),(a′,β′)​=q∈Q∑​E[(ρr,r′​τ(u,β),(u′,β′)​)(r,u),(r′,u′)​](q,a),(q,a′)​,β,β′∈B×C.

No channel condition on EEE, density condition on τ\tauτ or ρ\rhoρ, or nonemptiness assumption is imposed.

QAlgorithms.Papers.Independent.Advance50.P43.stateDistance

For finite index types Q,BQ,BQ,B, with decidable equality on BBB, and any two functions Φ,Ψ\Phi,\PsiΦ,Ψ from complex matrices on QQQ to complex matrices on BBB, this defines the real supremum

stateDistance⁡(Φ,Ψ)=sup⁡ρ⪰0tr⁡ρ=1Re⁡tr⁡(Φ(ρ)−Ψ(ρ))†(Φ(ρ)−Ψ(ρ)).\operatorname{stateDistance}(\Phi,\Psi) =\sup_{\substack{\rho\succeq0\\ \operatorname{tr}\rho=1}} \operatorname{Re}\operatorname{tr} \sqrt{\bigl(\Phi(\rho)-\Psi(\rho)\bigr)^\dagger \bigl(\Phi(\rho)-\Psi(\rho)\bigr)}.stateDistance(Φ,Ψ)=ρ⪰0trρ=1​sup​Retr(Φ(ρ)−Ψ(ρ))†(Φ(ρ)−Ψ(ρ))​.

The square root is obtained by continuous functional calculus. There is no factor of 1/21/21/2, no reference register, and no linearity or channel assumption on either function. The supremum uses the total real supremum convention, giving zero for an empty set or a set unbounded above; in particular, the defining set is empty when QQQ is empty.

QAlgorithms.Papers.Independent.Advance50.P43.swapChannel

For finite index types A,B,CA,B,CA,B,C with decidable equality, let D=(H,ϵ)D=(H,\epsilon)D=(H,ϵ) have Hermitian HHH, nonnegative even ϵ\epsilonϵ, and satisfy ∥[eisH(V⊗I)e−isH,IA⊗W⊗IC]∥≤ϵ(s)∥V∥∥W∥\|[e^{isH}(V\otimes I)e^{-isH},I_A\otimes W\otimes I_C]\|\le\epsilon(s)\|V\|\|W\|∥[eisH(V⊗I)e−isH,IA​⊗W⊗IC​]∥≤ϵ(s)∥V∥∥W∥ for every real sss and matrices V,WV,WV,W on A,BA,BA,B, respectively, where [L,M]=LM−ML[L,M]=LM-ML[L,M]=LM−ML. For any complex matrix τ\tauτ on A×(B×C)A\times(B\times C)A×(B×C) and real ttt, put (τBC)β,β′=∑aτ(a,β),(a,β′)(\tau_{BC})_{\beta,\beta'}=\sum_a\tau_{(a,\beta),(a,\beta')}(τBC​)β,β′​=∑a​τ(a,β),(a,β′)​. This defines the function from matrices ρ\rhoρ on AAA to matrices on BBB by

swapChannel⁡(D,τ,t)(ρ)b,b′=∑a,c(e−itH(ρ⊗τBC)eitH)(a,(b,c)),(a,(b′,c)).\operatorname{swapChannel}(D,\tau,t)(\rho)_{b,b'} =\sum_{a,c} \bigl(e^{-itH}(\rho\otimes\tau_{BC})e^{itH}\bigr)_{(a,(b,c)),(a,(b',c))}.swapChannel(D,τ,t)(ρ)b,b′​=a,c∑​(e−itH(ρ⊗τBC​)eitH)(a,(b,c)),(a,(b′,c))​.

No density condition is imposed on τ\tauτ or ρ\rhoρ, and being a channel is not asserted.

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