Definitions for Private and Quantum Capacities of More Capable and Less Noisy Quantum Channels
DefinitionQAlgorithms_Papers_Independent_Advance50_P04The objects the formalized statements of Private and Quantum Capacities of More Capable and Less Noisy Quantum Channels (arXiv:1110.5746) are stated in. Each was checked against the paper by a blind read-back and a moderator.
MixedEnsemble: Section II, PDF p.2: a finite mixed ensemble, allowing zero probabilities. The normalization also rules out m=0; states remain normalized at zero weights.privateValue: Section II, PDF p.2: the SAME ensemble is used for receiver and complement.coherentValue: Section II, PDF p.2: coherent information on an unrestricted input density.swapDilation: Section II, PDF p.2: interchange B and E in the SAME dilation.MoreCapable: Definition 1, PDF p.3: zero quantum capacity of the complementary channel. This is not defined by a one-use or tensor ensemble inequality.LessNoisy: Definition 2, PDF p.3: zero PRIVATE capacity of the complementary channel.PureDominance: Equation (6), PDF p.3, for ONE channel: all normalized pure ensembles of length dim A. No orthogonality condition is imposed; zero weights allow padding.MixedDominance: Equation (7), PDF p.3, for ONE channel: arbitrary finite mixed ensembles.CoherentConcave: Proposition 3, PDF p.5: concavity on every finite density mixture, including zero weights. The average is computed, rather than supplied as an unrelated state.DivergenceDominance: Equation (8), PDF p.3, for ONE channel, including singular input/output states and infinite relative entropies. No subtraction of infinities occurs.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_ExtendedQuantumEntropy
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P13
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P48
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P56
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P67
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P01
/-!
Watanabe, arXiv:1110.5746v3. All locators are PDF pages.
Finite nonzero complex registers are arbitrary positive dimensions, not just qubits.
The accepted isometry and tensor-power definitions act on every operator.
Private capacity is the limit in (1), written directly on lengths n+1.
Quantum capacity reuses the accepted positive-block coherent-information
regularization; superadditivity makes its supremum equal the limit in (2).
Both allow arbitrary mixed joint inputs on finite memoryless channels.
Compilation and independent moderation are pending the batch handoff.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P04
open scoped BigOperators Matrix ComplexConjugate ComplexOrder ENNReal
open QAlgorithms.Papers.Independent.Information100.P67
(IsIsometry receiverChannel complementaryChannel dilationPower
maximumCoherentInformation IsDegradable)
open QAlgorithms.Papers.Independent.Support50.P01 (ConjugateDegradable)
open QAlgorithms.Papers.Independent.Information100.P56 (average)
open QAlgorithms.Papers.Independent.Dependency50.P48
(holevoInformation privateMaximum regularizedCoherentInformation)
open QAlgorithms.Papers.Independent.Dependency50.P13 (finiteRelativeEntropy)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
variable {A B E : Type*}
variable [Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]
variable [Fintype E] [DecidableEq E]
/-- Section II, PDF p.2: a finite mixed ensemble, allowing zero probabilities.
The normalization also rules out m=0; states remain normalized at zero weights. -/
structure MixedEnsemble (I : Type*) [Fintype I] (m : ℕ) where
weight : Fin m → ℝ
nonnegative : ∀ i, 0 ≤ weight i
total : ∑ i, weight i = 1
state : Fin m → Matrix I I ℂ
density : ∀ i, IsDensityMatrix (state i)
/-- Section II, PDF p.2: the SAME ensemble is used for receiver and complement. -/
def privateValue (U : Matrix (B × E) A ℂ) {m : ℕ}
(ens : MixedEnsemble A m) : ℝ :=
holevoInformation ens.weight (fun i => receiverChannel U (ens.state i)) -
holevoInformation ens.weight (fun i => complementaryChannel U (ens.state i))
/-- Section II, PDF p.2: coherent information on an unrestricted input density. -/
def coherentValue (U : Matrix (B × E) A ℂ) (rho : Matrix A A ℂ) : ℝ :=
vnEntropy (receiverChannel U rho) - vnEntropy (complementaryChannel U rho)
/-- Section II, PDF p.2: interchange B and E in the SAME dilation. -/
def swapDilation (U : Matrix (B × E) A ℂ) : Matrix (E × B) A ℂ :=
fun eb a => U (eb.2, eb.1) a
/-- Definition 1, PDF p.3: zero quantum capacity of the complementary channel.
This is not defined by a one-use or tensor ensemble inequality. -/
def MoreCapable (U : Matrix (B × E) A ℂ) : Prop :=
regularizedCoherentInformation (swapDilation U) = 0
/-- Definition 2, PDF p.3: zero PRIVATE capacity of the complementary channel. -/
def LessNoisy (U : Matrix (B × E) A ℂ) : Prop :=
(Filter.limUnder Filter.atTop (fun n : ℕ =>
privateMaximum (dilationPower (swapDilation U) (n + 1)) / ((n + 1 : ℕ) : ℝ))) = 0
/-- Equation (6), PDF p.3, for ONE channel: all normalized pure ensembles of
length dim A. No orthogonality condition is imposed; zero weights allow padding. -/
def PureDominance (U : Matrix (B × E) A ℂ) : Prop :=
∀ p : Fin (Fintype.card A) → ℝ,
∀ psi : Fin (Fintype.card A) → EuclideanSpace ℂ A,
(∀ i, 0 ≤ p i) → (∑ i, p i = 1) → (∀ i, ‖psi i‖ = 1) →
holevoInformation p (fun i => complementaryChannel U (pureDensity (psi i))) ≤
holevoInformation p (fun i => receiverChannel U (pureDensity (psi i)))
/-- Equation (7), PDF p.3, for ONE channel: arbitrary finite mixed ensembles. -/
def MixedDominance (U : Matrix (B × E) A ℂ) : Prop :=
∀ m : ℕ, ∀ ens : MixedEnsemble A m,
holevoInformation ens.weight (fun i => complementaryChannel U (ens.state i)) ≤
holevoInformation ens.weight (fun i => receiverChannel U (ens.state i))
/-- Proposition 3, PDF p.5: concavity on every finite density mixture, including
zero weights. The average is computed, rather than supplied as an unrelated state. -/
def CoherentConcave (U : Matrix (B × E) A ℂ) : Prop :=
∀ m : ℕ, ∀ ens : MixedEnsemble A m,
(∑ i, ens.weight i * coherentValue U (ens.state i)) ≤
coherentValue U (average ens.state ens.weight)
/-- Equation (8), PDF p.3, for ONE channel, including singular input/output
states and infinite relative entropies. No subtraction of infinities occurs. -/
def DivergenceDominance (U : Matrix (B × E) A ℂ) : Prop :=
∀ rho sigma : Matrix A A ℂ,
IsDensityMatrix rho → IsDensityMatrix sigma →
finiteRelativeEntropy (complementaryChannel U rho) (complementaryChannel U sigma) ≤
finiteRelativeEntropy (receiverChannel U rho) (receiverChannel U sigma)
/-! Sanity checks for the local definitions; no paper theorem is proved here. -/
/-- A singleton ensemble is its component, and its private information is zero. -/
example (rho : Matrix A A ℂ) (hr : IsDensityMatrix rho)
(U : Matrix (B × E) A ℂ) :
let ens : MixedEnsemble A 1 :=
⟨fun _ => 1, fun _ => zero_le_one, by simp, fun _ => rho, fun _ => hr⟩
average ens.state ens.weight = rho ∧ privateValue U ens = 0 := by
simp [average, privateValue, holevoInformation]
/-- A normalized empty ensemble cannot exist. -/
example (ens : MixedEnsemble A 0) : False := by
have h := ens.total
simp at h
/-- Swapping twice restores every coefficient, so the complement is fixed. -/
example (U : Matrix (B × E) A ℂ) : swapDilation (swapDilation U) = U := rfl
/-- Both class predicates use capacities of exactly the swapped dilation. -/
example (U : Matrix (B × E) A ℂ) :
(MoreCapable U ↔ regularizedCoherentInformation (swapDilation U) = 0) ∧
(LessNoisy U ↔ (Filter.limUnder Filter.atTop (fun n : ℕ =>
privateMaximum (dilationPower (swapDilation U) (n + 1)) / ((n + 1 : ℕ) : ℝ))) = 0) := ⟨Iff.rfl, Iff.rfl⟩
/-- Coherent information uses receiver entropy minus complement entropy. -/
example (U : Matrix (B × E) A ℂ) (rho : Matrix A A ℂ) :
coherentValue U rho = vnEntropy (receiverChannel U rho) -
vnEntropy (complementaryChannel U rho) := rfl
/-- The frozen maximum optimizes this coherent value over all density matrices. -/
example (U : Matrix (B × E) A ℂ) :
maximumCoherentInformation U =
sSup {r | ∃ rho : Matrix A A ℂ, IsDensityMatrix rho ∧ r = coherentValue U rho} := rfl
/-- Pure-dominance hypotheses constrain norms, weights and cardinality explicitly. -/
example (U : Matrix (B × E) A ℂ) (h : PureDominance U)
(p : Fin (Fintype.card A) → ℝ)
(psi : Fin (Fintype.card A) → EuclideanSpace ℂ A)
(hp : ∀ i, 0 ≤ p i) (ht : ∑ i, p i = 1) (hn : ∀ i, ‖psi i‖ = 1) :
holevoInformation p (fun i => complementaryChannel U (pureDensity (psi i))) ≤
holevoInformation p (fun i => receiverChannel U (pureDensity (psi i))) := h p psi hp ht hn
/-- The n=0 tensor is scalar one, and is excluded from capacity regularization. -/
example (U : Matrix (B × E) A ℂ) (be : (Fin 0 → B) × (Fin 0 → E))
(x : Fin 0 → A) : dilationPower U 0 be x = 1 := by simp [dilationPower]
/-- The imported extended divergence retains infinity on support failure. -/
example (rho sigma : Matrix A A ℂ)
(h : ¬ LinearMap.ker sigma.mulVecLin ≤ LinearMap.ker rho.mulVecLin) :
finiteRelativeEntropy rho sigma = ⊤ := by
simp [finiteRelativeEntropy, h]
/-- The one-dimensional normalized identity has zero relative entropy with itself. -/
example : finiteRelativeEntropy (1 : Matrix (Fin 1) (Fin 1) ℂ) 1 = 0 := by
simp [finiteRelativeEntropy, qRelEntropy, cfc_one]
/-- Mixed dominance uses exactly the same ensemble for both output systems. -/
example (U : Matrix (B × E) A ℂ) (h : MixedDominance U)
(m : ℕ) (ens : MixedEnsemble A m) :
holevoInformation ens.weight (fun i => complementaryChannel U (ens.state i)) ≤
holevoInformation ens.weight (fun i => receiverChannel U (ens.state i)) := h m ens
/-- Finite concavity evaluates the constructed average input. -/
example (U : Matrix (B × E) A ℂ) (h : CoherentConcave U)
(m : ℕ) (ens : MixedEnsemble A m) :
(∑ i, ens.weight i * coherentValue U (ens.state i)) ≤
coherentValue U (average ens.state ens.weight) := h m ens
/-- Divergence dominance is an order comparison of extended values on states. -/
example (U : Matrix (B × E) A ℂ) (h : DivergenceDominance U)
(rho sigma : Matrix A A ℂ) (hr : IsDensityMatrix rho) (hs : IsDensityMatrix sigma) :
finiteRelativeEntropy (complementaryChannel U rho) (complementaryChannel U sigma) ≤
finiteRelativeEntropy (receiverChannel U rho) (receiverChannel U sigma) := h rho sigma hr hs
/-- The imported quantum regularization uses all positive block lengths.
Its coherentMaximum is the purification expression for the same mixed-input
coherent information; no restriction to pure input matrices is imposed. -/
example (U : Matrix (B × E) A ℂ) :
regularizedCoherentInformation U =
sSup {r | ∃ n : ℕ, 0 < n ∧
r = QAlgorithms.Papers.Independent.Dependency50.P48.coherentRate U n} := rfl
variable {a b e : ℕ}
end QAlgorithms.Papers.Independent.Advance50.P04
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Advance50.P04.CoherentConcave
Let be finite index types, with the decidable equality structures needed for the matrix expressions, and let be any complex matrix from to . Define , , and , where is applied by continuous functional calculus and partial traces sum diagonal indices of the discarded register. The predicate requires that, for every natural number and every family of nonnegative real weights summing to and positive semidefinite trace-one matrices , indexed by ,
Zero weights are allowed, but every associated matrix must be a density matrix. No isometry assumption on is included. There are no admissible ensembles with , and the whole predicate is vacuously satisfied when is empty.
QAlgorithms.Papers.Independent.Advance50.P04.DivergenceDominance
Let be finite index types, with the decidable equality structures needed for the matrix expressions, and let be any complex matrix from to . Put and , with partial traces summing diagonal indices of the discarded register. For square complex matrices on the same finite index type, define the extended nonnegative value
where , , and the matrix functions use continuous functional calculus with the library’s total real logarithm. The predicate says that for every pair of positive semidefinite matrices with trace ,
The inequality is in , so an infinite right-hand side is permitted. No isometry assumption on is imposed, and if is empty the density hypotheses cannot be satisfied.
QAlgorithms.Papers.Independent.Advance50.P04.LessNoisy
Let be finite index types with decidable equality, and let be any complex matrix from to . For a matrix , put , with partial trace obtained by summing diagonal indices of the discarded register, and put , where . The square root and , , use continuous functional calculus; has entries , and the identity extension applies to each reference-indexed block. Define
Every , including those with zero weight, must be a density matrix. Write and . The predicate “less noisy” is exactly
Here is the library’s total limit-selection operation: it agrees with the ordinary limit when the sequence converges, but this equality does not itself assert convergence. All denominators are positive. No isometry hypothesis is imposed, and the real optimization operations remain total for empty or unbounded optimization sets; in particular, an empty makes these private maxima .
QAlgorithms.Papers.Independent.Advance50.P04.MixedDominance
Let be finite index types, with the decidable equality structures needed for the matrix expressions, and let be any complex matrix from to . For every natural number and every family with nonnegative real weights summing to and positive semidefinite matrices of trace , put and . The predicate requires
where partial traces sum diagonal indices of the discarded register and , , is defined by continuous functional calculus. Zero-weight members must still be density matrices, and need not be an isometry. The quantification includes , for which no such ensemble exists; if is empty, there are no such ensembles for any , so the predicate is vacuous.
QAlgorithms.Papers.Independent.Advance50.P04.MixedEnsemble
For a finite index type and a natural number , a mixed ensemble consists of real weights and complex matrices indexed by , satisfying , , and, for every , is positive semidefinite with complex trace exactly . Zero weights are permitted, but their associated matrices must still satisfy these density conditions. No such ensemble exists when , because its weight sum would be ; none exists when is empty either.
QAlgorithms.Papers.Independent.Advance50.P04.MoreCapable
Let be finite index types with decidable equality, and let be any complex matrix from to . For a matrix from a finite type to , define , with partial trace given by summing diagonal indices of the discarded register, and define
Here , the square root uses continuous functional calculus, has entries , and applies separately to each block indexed by the reference coordinates. Also , where is applied by continuous functional calculus. For each positive integer , let
The predicate “more capable” means exactly
No isometry condition is imposed. These are total real suprema, without an added attainment or boundedness hypothesis; empty index types are permitted, and if is empty the density optimization sets at positive block lengths are empty and their real suprema are .
QAlgorithms.Papers.Independent.Advance50.P04.PureDominance
Let be finite index types, with the decidable equality structures needed for the matrix expressions, let , and let be any complex matrix from to . For every family of real numbers satisfying and , and every family of vectors in satisfying , set and . The predicate requires
The pure matrix has entries , partial traces sum diagonal indices of the discarded register, and , , uses continuous functional calculus. The family has exactly slots; zero weights are allowed, but every vector must still be normalized. No isometry condition on is assumed. If is empty, no normalized weight family exists, so the predicate is vacuously satisfied.
QAlgorithms.Papers.Independent.Advance50.P04.coherentValue
For finite index types , with the decidable equality structures needed for the matrix expressions, any complex matrix from to , and any complex matrix , the coherent value is
Here partial traces sum diagonal indices of the discarded register, and with applied by continuous functional calculus. Neither an isometry condition on nor positivity or trace normalization of is required; the expression uses these total matrix functions for all such inputs, including empty index types.
QAlgorithms.Papers.Independent.Advance50.P04.privateValue
Let be finite index types, with the decidable equality structures needed for the matrix expressions, let be any complex matrix with rows indexed by and columns indexed by , and let be a mixed ensemble on : all , their sum is , and every is positive semidefinite with trace . Put and , where a partial trace sums the diagonal indices of the discarded register. The private value is the real number
where , , and is defined by continuous functional calculus. There is no assumption that , so the output matrices are not assumed to be density matrices.
QAlgorithms.Papers.Independent.Advance50.P04.swapDilation
For arbitrary index types and any complex matrix with rows indexed by and columns indexed by , the swapped matrix has rows indexed by , the same columns, and entries
This merely exchanges the two row coordinates and requires no finiteness, normalization, or isometry hypothesis.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.