Definitions for Quantum-capacity bounds in spin-network communication channels
DefinitionQAlgorithms_Papers_Independent_Advance50_P43The 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.
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
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 , each with decidable equality, this structure consists of a Hermitian complex matrix on and a function satisfying and for every real , together with the following bound: for every real and all complex matrices on and on , setting and , one has
The time quantifier includes zero and negative times; no continuity of or nonemptiness of the index types is required.
QAlgorithms.Papers.Independent.Advance50.P43.choiDilation
For finite types , with decidable equality, and any map from complex matrices to complex matrices, define the matrix , indexed by , by
The declaration defines a rectangular complex matrix , with rows indexed by and columns by , through
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 is an isometry.
QAlgorithms.Papers.Independent.Advance50.P43.comparisonOne
For finite index types with decidable equality and a finite index type , let have Hermitian , nonnegative even , and satisfy for every real and matrices on , respectively, where . For any complex matrix on , define
For any real , this declaration defines the function on matrices on by
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 with decidable equality and a finite index type , let have Hermitian , nonnegative even , and the bound
for every real and matrices on , on , where . For any complex matrix on and real , this defines the function on matrices on by
The trace multiplier is complex. No density condition on either matrix is required; in particular, an empty makes this function zero.
QAlgorithms.Papers.Independent.Advance50.P43.continuityG
For every real number , this defines
Here the real logarithm and division are total: , the logarithm of a negative number is the logarithm of its absolute value, and division by zero gives zero. There is no assumption that or that lies in ; in particular, the definition includes , where .
QAlgorithms.Papers.Independent.Advance50.P43.dimensionConstant
For any finite index types , this defines the real number
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 finite index type , any complex matrix on , any function from complex matrices on to complex matrices on , and any complex matrix on , this defines a matrix on by
The function is not required to be linear or a channel, and neither matrix is required to be a density matrix. If is empty, the resulting matrix is zero.
QAlgorithms.Papers.Independent.Advance50.P43.minDimension
For any finite index types , this defines the real number , 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 , with decidable equality on and , and any complex matrix indexed by , this defines the matrix on . Explicitly,
No finiteness, nonemptiness, Hermiticity, or positivity of is required.
QAlgorithms.Papers.Independent.Advance50.P43.onB
For index types , with decidable equality on and , and any complex matrix indexed by , this defines on . Explicitly,
No finiteness, nonemptiness, Hermiticity, or positivity of is required.
QAlgorithms.Papers.Independent.Advance50.P43.receive
For finite index types with decidable equality, let consist of a Hermitian matrix on and a nonnegative even real function such that, for every real and matrices on , on , the commutator of with has norm at most . For any real and any complex matrix on , this defines the matrix on with entries
Thus it traces out and after this conjugation. No density or positivity condition is imposed on ; an empty summation index gives zero.
QAlgorithms.Papers.Independent.Advance50.P43.snc
For finite index types with decidable equality and a finite index type , let satisfy: is Hermitian, is nonnegative and even, and for every real and matrices on , on , the commutator of with has norm at most . Given any complex matrix on , any function from matrices on to matrices on , and any real , this defines a function from matrices on to matrices on by
where
No channel condition on , density condition on or , or nonemptiness assumption is imposed.
QAlgorithms.Papers.Independent.Advance50.P43.stateDistance
For finite index types , with decidable equality on , and any two functions from complex matrices on to complex matrices on , this defines the real supremum
The square root is obtained by continuous functional calculus. There is no factor of , 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 is empty.
QAlgorithms.Papers.Independent.Advance50.P43.swapChannel
For finite index types with decidable equality, let have Hermitian , nonnegative even , and satisfy for every real and matrices on , respectively, where . For any complex matrix on and real , put . This defines the function from matrices on to matrices on by
No density condition is imposed on or , and being a channel is not asserted.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.