Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Correlation measures of a quantum state and information characteristics of a quantum channel

Definition
QAlgorithms_Papers_Independent_Intakenext100_P02

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

prove2quantum

The objects the formalized statements of Correlation measures of a quantum state and information characteristics of a quantum channel (arXiv:2304.05388) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • DiscretePOVM: PDF pp.8,13: positive bounded effects with strong sum equal to identity. The outcome index is restricted to countable types at every optimization and theorem. Zero effects may be deleted; admitting them includes padding finite measurements.
  • discreteBornWeight: PDF p.13: Born probabilities, computed from the actual trace pairing.
  • discreteOutcomeChannel: PDF p.14, (35): the quantum-to-classical measurement channel on the full trace class. Its off-diagonal classical coefficients are zero.
  • entropyReduction: PDF p.8, (13): entropy reduction of a measurement on its whole system.
  • localER: PDF pp.8–9, (13): entropy reduction measuring the second factor B.
  • firstER: PDF p.16, (42): entropy reduction measuring the first factor B of BC.
  • classicalM: PDF p.14, (36): unoptimized classical correlation, with measured factor B.
  • discreteClassicalCorrelation: PDF p.13, (33): supremum over every finite or countable POVM.
  • discordM: PDF p.14, (36): used as discord only on classicalM M X < infinity.
  • discreteOptimizedDiscord: PDF p.14, (34): used as discord only where discreteClassicalCorrelation X < infinity.
  • correctionG: PDF p.10, (22): g(0)=0 and the stated positive-argument formula.
  • HasRankOneEffects: PDF pp.9,21: rank-one effects; zero padding is harmless and can be removed. Every nonzero positive rank-one operator is |u><u| for a nonzero u.
  • QCInBasis: PDF p.6, (5): a q-c state in a specified complete basis of B. The trace series has summable probability weights; the source permits mixed signals.
  • IsQC: PDF pp.6,45: the union over ALL complete bases, not one diagonal slice.
  • tripartiteAC: PDF p.15: AC marginal of a state grouped as (AB)C.
  • traceA: PDF p.15: BC marginal of a state grouped as (AB)C.
  • chiA: PDF pp.7,14–15: constrained Holevo capacity of partial trace to A. The accepted barycentricChi optimizes ALL countable ensembles with exact average.
  • conditionalAC: PDF p.15, (40): unnormalized conditional AC state from the mixed-state Born rule. Zero-weight outcomes are omitted by conditionalHolevoA.
  • conditionalHolevoA: PDF p.15, (40): Holevo sum of the ACTUAL conditional ensemble after tracing C. No independently supplied ensemble or zero-probability signal is used.
  • FiniteOutput: PDF pp.18,21: finite-dimensional output SUPPORT, including a finite subspace of an infinite ambient A. No finite coordinate cutoff is imposed.
  • extendedDiscordM: PDF p.21, equivalent expression (54): all-state unoptimized extension. Its l.s.c., agreement, uniqueness and every-sequence limit are theorem content.
  • infDiscord: PDF p.23, (62): infimum of unoptimized all-state extensions.
  • supDiscord: PDF p.23, (63): supremum of optimized finite-output discords.
  • LocalMonotone: PDF pp.21,24: local-A-channel monotonicity on normalized input states.
  • ensembleInformationDeficit: PDF p.39: the ensemble deficit with its natural finite-Holevo domain.
  • constrainedInformationDeficit: PDF p.40: the constrained-capacity deficit; used when barycentricChi is finite.
  • TraceClassChannelSemigroup: PDF p.39: an algebraic channel semigroup; no time regularity is assumed.
  • OrthogonalTuple: PDF p.47: an m-tuple of mutually orthogonal rank-one projectors.
  • RankMProjection: PDF p.47: a rank-m orthogonal projection, without default-valued finrank.
  • SpectralExpansion: PDF pp.46–47: sorted rank-one spectral expansion, padded by zero TERMS when the support is finite. Only positive eigenvalues require a rank-one projector, so finite systems never require an infinite orthonormal family.
  • SpectralExpansion.term: PDF p.46, (118): weighted projector; zero eigenvalues produce zero.
  • cqCoefficients: PDF p.9: the explicit q-c mixture, computed from its signals and basis.
  • indexShannonNats: PDF p.9: Shannon entropy in nats, allowing infinity.
  • purifiedDilationCoefficients: PDF pp.26–27: the state built from the GIVEN Stinespring isometry and purification.
  • countableAverageCoefficients: PDF p.27: the actual average of a countable discrete ensemble.
  • countableOutputHolevo: PDF pp.6,27: relative-entropy Holevo sum, valid at infinite entropy.
  • conditionalInput: PDF p.27: unnormalized conditional input from the reference measurement.
  • Induces: PDF p.27, before (75): M induces the ACTUAL ensemble, including its weights.
  • halfTraceClassDiamondDistance: PDF p.28, (79): HALF diamond norm, on a reference COPY of the input.
  • uniformDensityCoefficients: PDF pp.11,29: chaotic density operator in nonzero finite dimension.
  • flaggedTraceClassErasure: PDF p.29, (85): erasure channel with a new orthogonal flag none. The complex trace is used even on non-self-adjoint trace-class inputs.
  • privacy: PDF p.30, (86): signed privacy. Used only where both Holevo terms are finite.
  • generalizedHolevoCapacity: PDF p.34: all-generalized-ensemble Holevo capacity, allowing infinity.
  • oneShotPrivateCapacityNats: PDF pp.36–37: unregularized private capacity in FINITE input dimension. The feasible privacy set contains zero and is bounded by ln(dim A) for channels and their complements. No real supremum on infinite-input capacities is used.
  • HolevoComparison: PDF pp.28–29: finite-valued Holevo comparison. Finiteness is part of the CONCLUSION, so toReal never silently discards infinite information.
  • CapacityComparison: PDF p.34: capacity comparison with finite capacities in the conclusion.
  • IsErasureWitness: PDF pp.29–30: actual channels realizing the erasure family at 0 and eps, including the corresponding complements at 1 and 1-eps.
  • correlatedUniform: PDF p.11: the uniform diagonal correlated state and a pure diagonal signal.
  • diagonalPure: PDF p.11: |i,i><i,i|; d=0 has no chosen index and is never used.
  • basisDephasingCoefficients: PDF p.35: dephasing in an arbitrary complete finite basis.
  • resetQubit: PDF p.35: reset to the chosen first basis vector.
  • MaximallyEntangled: PDF p.41, (112): maximally entangled PURE inputs on A and its copy.
  • UniformQC: PDF p.41: all uniform q-c comparison states, allowing EVERY reference basis.
  • qcProximity: PDF pp.41–42: the DOUBLE infimum of actual trace distances. Infima are extended nonnegative; the feasible sets are nonempty for nonzero finite A and nonzero E, and all distances lie in [0,1]. No optimizer is assumed.
  • entangledCoeff: PDF p.42, Example 2: the actual maximally entangled input coefficients.
  • PartitionGrowth: PDF pp.7–8,11, (23): the full spectral form of the positive self-adjoint observable, finite Gibbs partition functions and their precise beta→0+ growth. Under (23) the discrete spectral representation is automatic; including its witness identifies the trace exponential rather than assuming any entropy bound.
  • energyEnvelope: PDF p.8, (10): the ACTUAL constrained entropy supremum. No Gibbs formula outside its regime or arbitrary externally supplied envelope is substituted.
  • traceClassSquaredFidelity: PDF p.11: squared fidelity ||sqrt(rho)sqrt(sigma)||_1^2 of actual densities.
  • simpleEnergyBound: PDF p.11, (25): simple energy bound. The zero-radius value is explicitly zero; division is evaluated only at a positive radius in theorem use.
  • EnergyConstraint: PDF p.11: the energy-constrained subsystem is either B or the whole AB. Separate constructors preserve the two possible domains of the observable.
  • EnergyConstraint.mean: PDF p.11: extended mean energy on precisely the constrained subsystem.
  • EnergyConstraint.regular: PDF p.11: condition (23) on the constrained subsystem's observable.
  • EnergyConstraint.bound: PDF p.11, (25): the bound associated with that SAME observable.
  • oscillatorSpectrum: PDF pp.11–12, (26): complete multi-mode number basis and grounded energy. frequency i denotes the positive energy quantum hbar*omega_i, absorbing hbar.
  • oscillatorGibbs: PDF p.8, (11), specialized to the oscillator. Positive E uses the accepted constructed beta(E), not a free state constrained to be optimal. At E=0 the unique ground state is used; no nonexistent positive-temperature solution.
  • oscillatorG: PDF p.12, (27): the oscillator envelope G. The vacuum offset in the numerator is sum_i frequency_i, twice the ungrounded vacuum energy; it is NOT the grounded Hamiltonian's minimum, which is zero. Used only for l>0.
  • oscillatorEntropySupremum: PDF p.8, (10), for the actual grounded oscillator spectrum.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P01
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P18
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P45
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P13
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P46
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P18

/-!
Shirokov, arXiv:2304.05388v3. Natural logarithms, normalized trace-class
states, completed tensor products, and finite or countable measurements.
New definitions belong only to this paper. Frozen definitions are reused.
Infinite information values are retained in ENNReal; subtraction statements
carry their finite-subtrahend domains. Compilation is pending the batch handoff.
-/

noncomputable section

open Filter MeasureTheory
open scoped ENNReal NNReal Topology BigOperators

namespace QAlgorithms.Papers.Independent.Intakenext100.P02

open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33
  (State PureState IsDensity IsTraceClass traceSize rankOne productCoeff tensorApply)
open QAlgorithms.Papers.Independent.Frontier18.P01
  (Channel Complementary Purifies traceFirst traceSecond mutualInformation
   barycentricChi CountableStateEnsemble Barycenter convexOperatorMixture channelTensorAction)
open QAlgorithms.Papers.Independent.Frontier18.P07
  (GeneralizedEnsemble HasAverage HasFiniteSupport averageCoefficients
   extendedEntropyNats extendedRelativeEntropyNats ensembleHolevo pureStates)
open QAlgorithms.Papers.Independent.Frontier18.P08
  (IsQuantumOperation operatorTrace StronglyConverges TraceNormConverges)
open QAlgorithms.Papers.Independent.Frontier18.P18
  (operatorCoeff boundedOperator conjugateCoeff)
open QAlgorithms.Papers.Independent.Gap48.P45
  (boundedTracePair dimensionCount generatedSpace outputSpace coefficientTraceHasSum)

open QAlgorithms.Papers.Independent.Renew46.P08 (qmi)
open QAlgorithms.Papers.Independent.Claimed50.P18 (swapCoeff associateRight dropMiddle)
open QAlgorithms.Papers.Independent.Frontier18.P01 (binaryEntropy)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.8,13: positive bounded effects with strong sum equal to identity.
The outcome index is restricted to countable types at every optimization and theorem.
Zero effects may be deleted; admitting them includes padding finite measurements. -/
structure DiscretePOVM (B K : Type) where
  effect : K → (Hilbert B →L[ℂ] Hilbert B)
  positive : ∀ k u, (inner ℂ u (effect k u)).im = 0 ∧
    0 ≤ (inner ℂ u (effect k u)).re
  total : ∀ u, HasSum (fun k => effect k u) u

/-- PDF p.13: Born probabilities, computed from the actual trace pairing. -/
def discreteBornWeight {B K : Type} (M : DiscretePOVM B K) (X : Matrix B B ℂ) (k : K) : ℝ≥0∞ :=
  ENNReal.ofReal (boundedTracePair X (M.effect k)).re

/-- PDF p.14, (35): the quantum-to-classical measurement channel on the full
trace class. Its off-diagonal classical coefficients are zero. -/
def discreteOutcomeChannel {B K : Type} (M : DiscretePOVM B K)
    (X : Matrix B B ℂ) : Matrix K K ℂ :=
  fun i j => if i = j then boundedTracePair X (M.effect i) else 0

/-- PDF p.8, (13): entropy reduction of a measurement on its whole system. -/
def entropyReduction {B K : Type} (M : DiscretePOVM B K)
    (X : Matrix B B ℂ) : ℝ≥0∞ := mutualInformation X (discreteOutcomeChannel M)

/-- PDF pp.8–9, (13): entropy reduction measuring the second factor B. -/
def localER {A B K : Type} (M : DiscretePOVM B K)
    (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  mutualInformation X (fun Y => discreteOutcomeChannel M (traceFirst Y))

/-- PDF p.16, (42): entropy reduction measuring the first factor B of BC. -/
def firstER {B C K : Type} (M : DiscretePOVM B K)
    (X : Matrix (B × C) (B × C) ℂ) : ℝ≥0∞ :=
  mutualInformation X (fun Y => discreteOutcomeChannel M (traceSecond Y))

/-- PDF p.14, (36): unoptimized classical correlation, with measured factor B. -/
def classicalM {A B K : Type} (M : DiscretePOVM B K)
    (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  qmi (channelTensorAction id (discreteOutcomeChannel M) X)

/-- PDF p.13, (33): supremum over every finite or countable POVM. -/
def discreteClassicalCorrelation {A B : Type} (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  ⨆ (K : Type) (_ : Countable K) (M : DiscretePOVM B K), classicalM M X

/-- PDF p.14, (36): used as discord only on classicalM M X < infinity. -/
def discordM {A B K : Type} (M : DiscretePOVM B K)
    (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ := qmi X - classicalM M X

/-- PDF p.14, (34): used as discord only where discreteClassicalCorrelation X < infinity. -/
def discreteOptimizedDiscord {A B : Type} (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  qmi X - discreteClassicalCorrelation X

/-- PDF p.10, (22): g(0)=0 and the stated positive-argument formula. -/
def correctionG (x : ℝ) : ℝ := (x+1) * Real.log (x+1) - x * Real.log x

/-- PDF pp.9,21: rank-one effects; zero padding is harmless and can be removed.
Every nonzero positive rank-one operator is |u><u| for a nonzero u. -/
def HasRankOneEffects {B K : Type} (M : DiscretePOVM B K) : Prop :=
  ∀ k, M.effect k = 0 ∨ ∃ u : Hilbert B, u ≠ 0 ∧
    ∀ v, M.effect k v = (inner ℂ u v) • u

/-- PDF p.6, (5): a q-c state in a specified complete basis of B. The trace
series has summable probability weights; the source permits mixed signals. -/
def QCInBasis {A B : Type} (b : HilbertBasis B ℂ (Hilbert B))
    (X : Matrix (A × B) (A × B) ℂ) : Prop :=
  ∃ (w : B → ℝ) (rho : B → State A),
    (∀ i, 0 ≤ w i) ∧ HasSum w 1 ∧
    ∀ p q, X p q = ∑' i, (w i : ℂ) *
      (rho i).coefficients p.1 q.1 * b i p.2 * star (b i q.2)

/-- PDF pp.6,45: the union over ALL complete bases, not one diagonal slice. -/
def IsQC {A B : Type} (X : Matrix (A × B) (A × B) ℂ) : Prop :=
  ∃ b : HilbertBasis B ℂ (Hilbert B), QCInBasis b X

/-- PDF p.15: AC marginal of a state grouped as (AB)C. -/
def tripartiteAC {A B C : Type} (X : Matrix ((A × B) × C) ((A × B) × C) ℂ) :
    Matrix (A × C) (A × C) ℂ :=
  dropMiddle (associateRight X)

/-- PDF p.15: BC marginal of a state grouped as (AB)C. -/
def traceA {A B C : Type} (X : Matrix ((A × B) × C) ((A × B) × C) ℂ) :
    Matrix (B × C) (B × C) ℂ :=
  fun p q => ∑' a, X ((a,p.1),p.2) ((a,q.1),q.2)

/-- PDF pp.7,14–15: constrained Holevo capacity of partial trace to A. The
accepted barycentricChi optimizes ALL countable ensembles with exact average. -/
def chiA {A C : Type} (X : Matrix (A × C) (A × C) ℂ) : ℝ≥0∞ :=
  barycentricChi X traceSecond

/-- PDF p.15, (40): unnormalized conditional AC state from the mixed-state
Born rule. Zero-weight outcomes are omitted by conditionalHolevoA. -/
def conditionalAC {A B C K : Type} (M : DiscretePOVM B K)
    (X : Matrix ((A × B) × C) ((A × B) × C) ℂ) (k : K) :
    Matrix (A × C) (A × C) ℂ :=
  fun p q => boundedTracePair
    (fun i j => X ((p.1,i),p.2) ((q.1,j),q.2)) (M.effect k)

/-- PDF p.15, (40): Holevo sum of the ACTUAL conditional ensemble after
tracing C. No independently supplied ensemble or zero-probability signal is used. -/
def conditionalHolevoA {A B C K : Type} (M : DiscretePOVM B K)
    (X : Matrix ((A × B) × C) ((A × B) × C) ℂ) : ℝ≥0∞ :=
  let w := discreteBornWeight M (traceFirst (traceSecond X))
  ∑' k : {k : K // w k ≠ 0}, w k.val * extendedRelativeEntropyNats
    (traceSecond (((w k.val).toReal⁻¹ : ℂ) • conditionalAC M X k.val))
    (traceSecond (traceSecond X))

/-- PDF pp.18,21: finite-dimensional output SUPPORT, including a finite
subspace of an infinite ambient A. No finite coordinate cutoff is imposed. -/
def FiniteOutput {A : Type} (Phi : Channel A A) : Prop :=
  FiniteDimensional ℂ (outputSpace Phi.val)

/-- PDF p.21, equivalent expression (54): all-state unoptimized extension.
Its l.s.c., agreement, uniqueness and every-sequence limit are theorem content. -/
def extendedDiscordM {A B K : Type} (M : DiscretePOVM B K)
    (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  ⨆ Phi : {Phi : Channel A A // FiniteOutput Phi},
    discordM M (tensorApply Phi.val.val X)

/-- PDF p.23, (62): infimum of unoptimized all-state extensions. -/
def infDiscord {A B : Type} (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  ⨅ (K : Type) (_ : Countable K) (M : DiscretePOVM B K), extendedDiscordM M X

/-- PDF p.23, (63): supremum of optimized finite-output discords. -/
def supDiscord {A B : Type} (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  ⨆ Phi : {Phi : Channel A A // FiniteOutput Phi},
    discreteOptimizedDiscord (tensorApply Phi.val.val X)

/-- PDF pp.21,24: local-A-channel monotonicity on normalized input states. -/
def LocalMonotone {A B : Type} (f : Matrix (A × B) (A × B) ℂ → ℝ≥0∞) : Prop :=
  ∀ (Phi : Channel A A) (rho : State (A × B)),
    f (tensorApply Phi.val rho.coefficients) ≤ f rho.coefficients

/-- PDF p.39: the ensemble deficit with its natural finite-Holevo domain. -/
def ensembleInformationDeficit {A B : Type} (Phi : Matrix A A ℂ → Matrix B B ℂ)
    (mu : GeneralizedEnsemble A) : ℝ≥0∞ :=
  mutualInformation (averageCoefficients mu) Phi - ensembleHolevo Phi mu

/-- PDF p.40: the constrained-capacity deficit; used when barycentricChi is finite. -/
def constrainedInformationDeficit {A B : Type} (Phi : Matrix A A ℂ → Matrix B B ℂ)
    (rho : Matrix A A ℂ) : ℝ≥0∞ := mutualInformation rho Phi - barycentricChi rho Phi

/-- PDF p.39: an algebraic channel semigroup; no time regularity is assumed. -/
structure TraceClassChannelSemigroup (A : Type) where
  channel : ℝ≥0 → Channel A A
  zero : ∀ rho : State A, (channel 0).val rho.coefficients = rho.coefficients
  add : ∀ s t (rho : State A), (channel (t+s)).val rho.coefficients =
    (channel s).val ((channel t).val rho.coefficients)

/-- PDF p.47: an m-tuple of mutually orthogonal rank-one projectors. -/
def OrthogonalTuple {I : Type} {m : ℕ} (P : Fin m → Matrix I I ℂ) : Prop :=
  ∃ u : Fin m → Hilbert I, Orthonormal ℂ u ∧ ∀ i, P i = rankOne (u i)

/-- PDF p.47: a rank-m orthogonal projection, without default-valued finrank. -/
def RankMProjection {I : Type} (m : ℕ) (Q : Matrix I I ℂ) : Prop :=
  ∃ P : Fin m → Matrix I I ℂ, OrthogonalTuple P ∧ Q = ∑ i, P i

/-- PDF pp.46–47: sorted rank-one spectral expansion, padded by zero TERMS
when the support is finite. Only positive eigenvalues require a rank-one
projector, so finite systems never require an infinite orthonormal family. -/
structure SpectralExpansion {I : Type} (rho : State I) where
  weight : ℕ → ℝ
  nonnegative : ∀ i, 0 ≤ weight i
  sorted : Antitone weight
  mass : HasSum weight 1
  vector : ℕ → Hilbert I
  unit : ∀ i, 0 < weight i → ‖vector i‖ = 1
  orthogonal : ∀ i j, i ≠ j → 0 < weight i → 0 < weight j →
    inner ℂ (vector i) (vector j) = 0
  expansion : coefficientTraceHasSum (fun i => (weight i : ℂ) • rankOne (vector i))
    rho.coefficients

/-- PDF p.46, (118): weighted projector; zero eigenvalues produce zero. -/
def SpectralExpansion.term {I : Type} {rho : State I} (s : SpectralExpansion rho)
    (i : ℕ) : Matrix I I ℂ := (s.weight i : ℂ) • rankOne (s.vector i)

example : binaryEntropy 0 = 0 := by simp [QAlgorithms.Papers.Independent.Frontier18.P01.binaryEntropy]

example : binaryEntropy 1 = 0 := by simp [QAlgorithms.Papers.Independent.Frontier18.P01.binaryEntropy]

example : correctionG 0 = 0 := by simp [correctionG]

example {A B : Type} (X : Matrix (A × B) (A × B) ℂ) :
    swapCoeff (swapCoeff X) = X := rfl

example {B K : Type} (M : DiscretePOVM B K) (X : Matrix B B ℂ) (i : K) :
    discreteOutcomeChannel M X i i = boundedTracePair X (M.effect i) := by
  simp [discreteOutcomeChannel]

example {A B : Type} (X : Matrix (A × B) (A × B) ℂ) :
    discreteOptimizedDiscord X = qmi X - discreteClassicalCorrelation X := rfl

example {I : Type} {rho : State I} (s : SpectralExpansion rho) (i : ℕ)
    (h : s.weight i = 0) : s.term i = 0 := by simp [SpectralExpansion.term, h]

/-- PDF p.9: the explicit q-c mixture, computed from its signals and basis. -/
def cqCoefficients {A B : Type} (b : HilbertBasis B ℂ (Hilbert B))
    (w : B → ℝ) (rho : B → State A) : Matrix (A × B) (A × B) ℂ :=
  fun p q => ∑' i, (w i : ℂ) * (rho i).coefficients p.1 q.1 * b i p.2 * star (b i q.2)

/-- PDF p.9: Shannon entropy in nats, allowing infinity. -/
def indexShannonNats {B : Type} (w : B → ℝ) : ℝ≥0∞ :=
  ∑' i, ENNReal.ofReal (-w i * Real.log (w i))

/-- PDF pp.26–27: the state built from the GIVEN Stinespring isometry and purification. -/
def purifiedDilationCoefficients {A B E R : Type} (V : Hilbert A →ₗᵢ[ℂ] Hilbert (B × E))
    (psi : PureState (A × R)) : Matrix ((B × E) × R) ((B × E) × R) ℂ :=
  tensorApply (conjugateCoeff V.toContinuousLinearMap) psi.val.coefficients

/-- PDF p.27: the actual average of a countable discrete ensemble. -/
def countableAverageCoefficients {A : Type} (e : CountableStateEnsemble A) : Matrix A A ℂ :=
  fun i j => ∑' n, ((e.weight n).toReal : ℂ) * (e.state n).coefficients i j

/-- PDF pp.6,27: relative-entropy Holevo sum, valid at infinite entropy. -/
def countableOutputHolevo {A B : Type} (Phi : Matrix A A ℂ → Matrix B B ℂ)
    (e : CountableStateEnsemble A) : ℝ≥0∞ :=
  ∑' n, e.weight n * extendedRelativeEntropyNats
    (Phi (e.state n).coefficients) (Phi (countableAverageCoefficients e))

/-- PDF p.27: unnormalized conditional input from the reference measurement. -/
def conditionalInput {A R K : Type} (M : DiscretePOVM R K)
    (X : Matrix (A × R) (A × R) ℂ) (k : K) : Matrix A A ℂ :=
  fun a b => boundedTracePair (fun i j => X (a,i) (b,j)) (M.effect k)

/-- PDF p.27, before (75): M induces the ACTUAL ensemble, including its weights. -/
def Induces {A R : Type} (M : DiscretePOVM R ℕ) (psi : PureState (A × R))
    (e : CountableStateEnsemble A) : Prop :=
  ∀ i, conditionalInput M psi.val.coefficients i =
    ((e.weight i).toReal : ℂ) • (e.state i).coefficients

/-- PDF p.28, (79): HALF diamond norm, on a reference COPY of the input. -/
def halfTraceClassDiamondDistance {A B : Type} (Phi Psi : Matrix A A ℂ → Matrix B B ℂ) : ℝ≥0∞ :=
  (1/2 : ℝ≥0∞) * ⨆ rho : State (A × A),
    traceSize (tensorApply (fun X => Phi X - Psi X) rho.coefficients)

/-- PDF pp.11,29: chaotic density operator in nonzero finite dimension. -/
def uniformDensityCoefficients (A : Type) [Fintype A] : Matrix A A ℂ :=
  fun i j => if i = j then ((Fintype.card A : ℂ)⁻¹) else 0

/-- PDF p.29, (85): erasure channel with a new orthogonal flag none. The
complex trace is used even on non-self-adjoint trace-class inputs. -/
def flaggedTraceClassErasure {A : Type} (p : ℝ) (X : Matrix A A ℂ) : Matrix (Option A) (Option A) ℂ :=
  fun i j => match i, j with
  | some a, some b => ((1-p : ℝ) : ℂ) * X a b
  | none, none => (p : ℂ) * ∑' a, X a a
  | _, _ => 0

/-- PDF p.30, (86): signed privacy. Used only where both Holevo terms are finite. -/
def privacy {A B E : Type} (Phi : Matrix A A ℂ → Matrix B B ℂ)
    (PhiC : Matrix A A ℂ → Matrix E E ℂ) (mu : GeneralizedEnsemble A) : ℝ :=
  (ensembleHolevo Phi mu).toReal - (ensembleHolevo PhiC mu).toReal

/-- PDF p.34: all-generalized-ensemble Holevo capacity, allowing infinity. -/
def generalizedHolevoCapacity {A B : Type} (Phi : Matrix A A ℂ → Matrix B B ℂ) : ℝ≥0∞ :=
  ⨆ mu : GeneralizedEnsemble A, ensembleHolevo Phi mu

/-- PDF pp.36–37: unregularized private capacity in FINITE input dimension.
The feasible privacy set contains zero and is bounded by ln(dim A) for channels
and their complements. No real supremum on infinite-input capacities is used. -/
def oneShotPrivateCapacityNats {A B E : Type} [Fintype A]
    (Phi : Matrix A A ℂ → Matrix B B ℂ) (PhiC : Matrix A A ℂ → Matrix E E ℂ) : ℝ :=
  sSup {r | ∃ mu : GeneralizedEnsemble A, r = privacy Phi PhiC mu}

/-- PDF pp.28–29: finite-valued Holevo comparison. Finiteness is part of the
CONCLUSION, so toReal never silently discards infinite information. -/
def HolevoComparison {A B C : Type} (Phi : Matrix A A ℂ → Matrix B B ℂ)
    (Psi : Matrix A A ℂ → Matrix C C ℂ)
    (mu : GeneralizedEnsemble A) (bound : ℝ) : Prop :=
  ensembleHolevo Phi mu < ⊤ ∧ ensembleHolevo Psi mu < ⊤ ∧
    |(ensembleHolevo Phi mu).toReal - (ensembleHolevo Psi mu).toReal| ≤ bound

/-- PDF p.34: capacity comparison with finite capacities in the conclusion. -/
def CapacityComparison {A B : Type} (Phi Psi : Matrix A A ℂ → Matrix B B ℂ)
    (bound : ℝ) : Prop :=
  generalizedHolevoCapacity Phi < ⊤ ∧ generalizedHolevoCapacity Psi < ⊤ ∧
    |(generalizedHolevoCapacity Phi).toReal - (generalizedHolevoCapacity Psi).toReal| ≤ bound

/-- PDF pp.29–30: actual channels realizing the erasure family at 0 and eps,
including the corresponding complements at 1 and 1-eps. -/
def IsErasureWitness {A : Type}
    (Phi Psi PhiC PsiC : Channel A (Option A)) (eps : ℝ) : Prop :=
  Complementary Phi PhiC ∧ Complementary Psi PsiC ∧
  (∀ X, IsTraceClass X → Phi.val X = flaggedTraceClassErasure 0 X ∧ Psi.val X = flaggedTraceClassErasure eps X ∧
    PhiC.val X = flaggedTraceClassErasure 1 X ∧ PsiC.val X = flaggedTraceClassErasure (1-eps) X)

/-- PDF p.11: the uniform diagonal correlated state and a pure diagonal signal. -/
def correlatedUniform (d : ℕ) : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ :=
  fun p q => if p = q ∧ p.1 = p.2 then (d : ℂ)⁻¹ else 0

/-- PDF p.11: |i,i><i,i|; d=0 has no chosen index and is never used. -/
def diagonalPure {d : ℕ} (i : Fin d) : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ :=
  fun p q => if p = (i,i) ∧ q = (i,i) then 1 else 0

/-- PDF p.35: dephasing in an arbitrary complete finite basis. -/
def basisDephasingCoefficients {A : Type} [Fintype A] (b : HilbertBasis A ℂ (Hilbert A))
    (X : Matrix A A ℂ) : Matrix A A ℂ :=
  fun i j => ∑ k, (inner ℂ (b k) (boundedOperator X (b k))) * b k i * star (b k j)

/-- PDF p.35: reset to the chosen first basis vector. -/
def resetQubit (b : HilbertBasis (Fin 2) ℂ (Hilbert (Fin 2)))
    (X : Matrix (Fin 2) (Fin 2) ℂ) : Matrix (Fin 2) (Fin 2) ℂ :=
  (∑ i, X i i) • rankOne (b 0)

/-- PDF p.41, (112): maximally entangled PURE inputs on A and its copy. -/
def MaximallyEntangled {A : Type} [Fintype A] (psi : PureState (A × A)) : Prop :=
  traceSecond psi.val.coefficients = uniformDensityCoefficients A

/-- PDF p.41: all uniform q-c comparison states, allowing EVERY reference basis. -/
def UniformQC {A E : Type} [Fintype A] (X : Matrix (E × A) (E × A) ℂ) : Prop :=
  ∃ (b : HilbertBasis A ℂ (Hilbert A)) (rho : A → State E),
    X = cqCoefficients b (fun _ => (Fintype.card A : ℝ)⁻¹) rho

/-- PDF pp.41–42: the DOUBLE infimum of actual trace distances. Infima are
extended nonnegative; the feasible sets are nonempty for nonzero finite A and
nonzero E, and all distances lie in [0,1]. No optimizer is assumed. -/
def qcProximity {A E : Type} [Fintype A]
    (PhiC : Matrix A A ℂ → Matrix E E ℂ) : ℝ :=
  (⨅ psi : {psi : PureState (A × A) // MaximallyEntangled psi},
    ⨅ theta : {theta : State (E × A) // UniformQC theta.coefficients},
      (1/2 : ℝ≥0∞) * traceSize (tensorApply PhiC psi.val.val.coefficients - theta.val.coefficients)).toReal

/-- PDF p.42, Example 2: the actual maximally entangled input coefficients. -/
def entangledCoeff {A : Type} [Fintype A]
    (b c : HilbertBasis A ℂ (Hilbert A)) : Matrix (A × A) (A × A) ℂ :=
  fun p q => (Fintype.card A : ℂ)⁻¹ *
    ∑ k, ∑ j, b k p.1 * star (b j q.1) * c k p.2 * star (c j q.2)

example {A : Type} (X : Matrix A A ℂ) (a b : A) :
    flaggedTraceClassErasure 0 X (some a) (some b) = X a b := by simp [flaggedTraceClassErasure]

example {A : Type} [Fintype A] (a : A) : uniformDensityCoefficients A a a = (Fintype.card A : ℂ)⁻¹ := by
  simp [uniformDensityCoefficients]

open QAlgorithms.Papers.Independent.Claimed50.P13 (PositiveObservable closedFormExpectation)
open QAlgorithms.Papers.Independent.Frontier18.P18 (stateSquareRoot)

/-- PDF pp.7–8,11, (23): the full spectral form of the positive self-adjoint
observable, finite Gibbs partition functions and their precise beta→0+ growth.
Under (23) the discrete spectral representation is automatic; including its
witness identifies the trace exponential rather than assuming any entropy bound. -/
def PartitionGrowth {I : Type} (H : PositiveObservable I) : Prop :=
  ∃ (b : HilbertBasis I ℂ (Hilbert I)) (energy : I → ℝ),
    (∀ i, 0 ≤ energy i) ∧
    (∀ u, H.form u = ∑' i, ENNReal.ofReal (energy i * ‖inner ℂ (b i) u‖^2)) ∧
    (∀ beta : ℝ, 0 < beta → (∑' i, ENNReal.ofReal (Real.exp (-beta * energy i))) < ⊤) ∧
    Tendsto (fun beta : ℝ => (∑' i, ENNReal.ofReal (Real.exp (-beta * energy i))) ^ beta)
      (𝓝[>] 0) (𝓝 1)

/-- PDF p.8, (10): the ACTUAL constrained entropy supremum. No Gibbs formula
outside its regime or arbitrary externally supplied envelope is substituted. -/
def energyEnvelope {I : Type} (H : PositiveObservable I) (E : ℝ) : ℝ≥0∞ :=
  ⨆ rho : {rho : State I // closedFormExpectation H rho.coefficients ≤ ENNReal.ofReal E},
    extendedEntropyNats rho.val.coefficients

/-- PDF p.11: squared fidelity ||sqrt(rho)sqrt(sigma)||_1^2 of actual densities. -/
def traceClassSquaredFidelity {I : Type} (rho sigma : State I) : ℝ≥0∞ :=
  traceSize (operatorCoeff ((stateSquareRoot rho).comp (stateSquareRoot sigma))) ^ 2

/-- PDF p.11, (25): simple energy bound. The zero-radius value is explicitly
zero; division is evaluated only at a positive radius in theorem use. -/
def simpleEnergyBound {I : Type} (H : PositiveObservable I) (E radius : ℝ) : ℝ≥0∞ :=
  if radius = 0 then 0 else
    ENNReal.ofReal radius * energyEnvelope H (2*E/radius^2) + ENNReal.ofReal (correctionG radius)

/-- PDF p.11: the energy-constrained subsystem is either B or the whole AB.
Separate constructors preserve the two possible domains of the observable. -/
inductive EnergyConstraint (A B : Type) where
  | onB (H : PositiveObservable B)
  | onAB (H : PositiveObservable (A × B))

/-- PDF p.11: extended mean energy on precisely the constrained subsystem. -/
def EnergyConstraint.mean {A B : Type} (constraint : EnergyConstraint A B)
    (X : Matrix (A × B) (A × B) ℂ) : ℝ≥0∞ :=
  match constraint with
  | .onB H => closedFormExpectation H (traceFirst X)
  | .onAB H => closedFormExpectation H X

/-- PDF p.11: condition (23) on the constrained subsystem's observable. -/
def EnergyConstraint.regular {A B : Type} (constraint : EnergyConstraint A B) : Prop :=
  match constraint with
  | .onB H => PartitionGrowth H
  | .onAB H => PartitionGrowth H

/-- PDF p.11, (25): the bound associated with that SAME observable. -/
def EnergyConstraint.bound {A B : Type} (constraint : EnergyConstraint A B)
    (E radius : ℝ) : ℝ≥0∞ :=
  match constraint with
  | .onB H => simpleEnergyBound H E radius
  | .onAB H => simpleEnergyBound H E radius

example {I : Type} (H : PositiveObservable I) (E : ℝ) : simpleEnergyBound H E 0 = 0 := by
  simp [simpleEnergyBound]

/-- PDF pp.11–12, (26): complete multi-mode number basis and grounded energy.
frequency i denotes the positive energy quantum hbar*omega_i, absorbing hbar. -/
def oscillatorSpectrum {l : ℕ} (frequency : Fin l → ℝ) (hf : ∀ i, 0 < frequency i) :
    QAlgorithms.Papers.Independent.Frontier18.P01.Hamiltonian (Fin l → ℕ) where
  energy := fun n => ∑ i, frequency i * (n i : ℝ)
  lower := 0
  bounded_below := by
    intro n
    exact Finset.sum_nonneg (fun i _ => mul_nonneg (le_of_lt (hf i)) (Nat.cast_nonneg (n i)))

/-- PDF p.8, (11), specialized to the oscillator. Positive E uses the accepted
constructed beta(E), not a free state constrained to be optimal. At E=0 the
unique ground state is used; no nonexistent positive-temperature solution. -/
def oscillatorGibbs {l : ℕ} (frequency : Fin l → ℝ) (hf : ∀ i, 0 < frequency i)
    (E : ℝ) : Matrix (Fin l → ℕ) (Fin l → ℕ) ℂ :=
  if E = 0 then rankOne (lp.single 2 (fun _ : Fin l => 0) 1)
  else QAlgorithms.Papers.Independent.Advance50.P46.gibbsCoefficients (oscillatorSpectrum frequency hf) E

/-- PDF p.12, (27): the oscillator envelope G. The vacuum offset in the
numerator is sum_i frequency_i, twice the ungrounded vacuum energy; it is
NOT the grounded Hamiltonian's minimum, which is zero. Used only for l>0. -/
def oscillatorG {l : ℕ} (frequency : Fin l → ℝ) (E : ℝ) : ℝ :=
  (l : ℝ) * Real.log ((E + ∑ i, frequency i) /
    ((l : ℝ) * (∏ i, frequency i) ^ (1 / (l : ℝ)))) + l

/-- PDF p.8, (10), for the actual grounded oscillator spectrum. -/
def oscillatorEntropySupremum {l : ℕ} (frequency : Fin l → ℝ) (hf : ∀ i, 0 < frequency i)
    (E : ℝ) : ℝ≥0∞ :=
  QAlgorithms.Papers.Independent.Advance50.P46.thermalEnvelope (oscillatorSpectrum frequency hf) E

example {l : ℕ} (frequency : Fin l → ℝ) (hf : ∀ i, 0 < frequency i) :
    oscillatorGibbs frequency hf 0 = rankOne (lp.single 2 (fun _ : Fin l => 0) 1) := by
  simp [oscillatorGibbs]

end QAlgorithms.Papers.Independent.Intakenext100.P02
Source
Correlation measures of a quantum state and information characteristics of a quantum channel, arXiv:2304.05388v3, https://arxiv.org/abs/2304.05388v3
Read-back

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

QAlgorithms.Papers.Independent.Intakenext100.P02.CapacityComparison

For arbitrary label types A,BA,BA,B, arbitrary maps Φ,Ψ:CA×A→CB×B\Phi,\Psi:\mathbb C^{A\times A}\to\mathbb C^{B\times B}Φ,Ψ:CA×A→CB×B, and a real number bbb, this predicate means that both quantities

Cχ(F)=sup⁡μ∈P(SA)∫SAD7(F(ρ),F(ρˉμ)) dμ(ρ),F=Φ,Ψ,C_\chi(F)=\sup_{\mu\in\mathcal P(\mathcal S_A)} \int_{\mathcal S_A}D_7(F(\rho),F(\bar\rho_\mu))\,d\mu(\rho), \qquad F=\Phi,\Psi,Cχ​(F)=μ∈P(SA​)sup​∫SA​​D7​(F(ρ),F(ρˉ​μ​))dμ(ρ),F=Φ,Ψ,

are strictly less than +∞+\infty+∞, and that

∣Cχ(Φ)real−Cχ(Ψ)real∣≤b.|C_\chi(\Phi)^{\mathrm{real}}-C_\chi(\Psi)^{\mathrm{real}}|\le b.∣Cχ​(Φ)real−Cχ​(Ψ)real∣≤b.

Here (ρˉμ)ij=∫ρij dμ(ρ)(\bar\rho_\mu)_{ij}=\int\rho_{ij}\,d\mu(\rho)(ρˉ​μ​)ij​=∫ρij​dμ(ρ). A state X∈STX\in\mathcal S_TX∈ST​ admits an expansion Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​, with un,vn∈ℓ2(T;C)u_n,v_n\in\ell^2(T;\mathbb C)un​,vn​∈ℓ2(T;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, has real nonnegative finite quadratic forms, and has a summable real diagonal of sum 111. Its Borel structure comes from the topology generated by {Y:N(Y−X)<ϵ}\{Y:N(Y-X)<\epsilon\}{Y:N(Y−X)<ϵ}, where NNN is the infimum of the expansion sums, with value +∞+\infty+∞ if there is no expansion. The supremum ranges over all probability measures on this state space. For arbitrary arrays, D7(X,Y)D_7(X,Y)D7​(X,Y) is the supremum over finite coordinate restrictions of max⁡{0,Re⁡tr⁡(Xslog⁡Xs−Xslog⁡Ys+Ys−Xs)}\max\{0,\operatorname{Re}\operatorname{tr}(X_s\log X_s-X_s\log Y_s+Y_s-X_s)\}max{0,Retr(Xs​logXs​−Xs​logYs​+Ys​−Xs​)} if ker⁡Ys⊆ker⁡Xs\ker Y_s\subseteq\ker X_skerYs​⊆kerXs​, and +∞+\infty+∞ otherwise; logarithms use continuous functional calculus and the integral is the nonnegative extended integral. The “real” conversion sends +∞+\infty+∞ to 000, but the predicate separately requires finite capacities. There are no channel or nonemptiness assumptions, and empty suprema in [0,∞][0,\infty][0,∞] are 000. A negative bound makes the predicate false.

QAlgorithms.Papers.Independent.Intakenext100.P02.DiscretePOVM

For arbitrary types BBB and KKK, a discrete POVM consists of a family (Mk)k∈K(M_k)_{k\in K}(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C), together with the requirements that, for every k∈Kk\in Kk∈K and u∈ℓ2(B;C)u\in\ell^2(B;\mathbb C)u∈ℓ2(B;C), ⟨u,Mku⟩\langle u,M_ku\rangle⟨u,Mk​u⟩ has zero imaginary part and nonnegative real part, and that, for every uuu, the family (Mku)k∈K(M_ku)_{k\in K}(Mk​u)k∈K​ sums to uuu. Here summation means convergence of the net of finite subsums in the Hilbert-space norm. Neither BBB nor KKK is assumed countable or nonempty; if KKK is empty, the summation requirement says that every vector in ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) is zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.EnergyConstraint.bound

For arbitrary label types A,BA,BA,B, a constraint carrying a positive observable HHH, and arbitrary real E,rE,rE,r, this defines the constraint bound by using that same observable on its own label set III, whether I=BI=BI=B or I=A×BI=A\times BI=A×B:

B(E,r)={0,r=0,[r]+sup⁡ρ state on IQH(ρ)≤[2E/r2]+S(ρ)+[(r+1)log⁡(r+1)−rlog⁡r]+,r≠0.\mathcal B(E,r)= \begin{cases} 0,&r=0,\\ [r]_+\displaystyle\sup_{\substack{\rho\ \text{state on }I\\ \mathcal Q_H(\rho)\le[2E/r^2]_+}}S(\rho) +\left[(r+1)\log(r+1)-r\log r\right]_+,&r\ne0. \end{cases}B(E,r)=⎩⎨⎧​0,[r]+​ρ state on IQH​(ρ)≤[2E/r2]+​​sup​S(ρ)+[(r+1)log(r+1)−rlogr]+​,​r=0,r=0.​

The notation [x]+[x]_+[x]+​ means the nonnegative part embedded in [0,+∞][0,+\infty][0,+∞]. The observable is a lower semicontinuous extended nonnegative quadratic form hhh, with h(0)=0h(0)=0h(0)=0, h(cu)=∣c∣2h(u)h(cu)=|c|^2h(u)h(cu)=∣c∣2h(u), the parallelogram identity, and a dense finite domain. Its expectation QH(X)\mathcal Q_H(X)QH​(X) is the supremum of ∑a<mh(ua)\sum_{a<m}h(u_a)∑a<m​h(ua​) over all finite tuples in ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) such that X−∑a<muaua∗X-\sum_{a<m}u_au_a^*X−∑a<m​ua​ua∗​ has real nonnegative finite quadratic forms. A state is such a positive array with summable real diagonal of sum one and an expansion Xij=∑nan(i)bn(j)‾X_{ij}=\sum_n a_n(i)\overline{b_n(j)}Xij​=∑n​an​(i)bn​(j)​ satisfying ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞. Its entropy is S(X)=sup⁡s[tslog⁡ts−Re⁡Tr⁡(Xslog⁡Xs)]+S(X)=\sup_s[t_s\log t_s-\operatorname{Re}\operatorname{Tr}(X_s\log X_s)]_+S(X)=sups​[ts​logts​−ReTr(Xs​logXs​)]+​, where sss ranges over finite coordinate sets, ts=Re⁡Tr⁡Xst_s=\operatorname{Re}\operatorname{Tr}X_sts​=ReTrXs​, and the matrix logarithm uses continuous functional calculus. No regularity assumption is required here; empty suprema are zero, log⁡0=0\log0=0log0=0, and a negative radius makes the first term zero even when its entropy supremum is infinite.

QAlgorithms.Papers.Independent.Intakenext100.P02.EnergyConstraint

For arbitrary label types A,BA,BA,B, an energy constraint is data of exactly one of two kinds: a positive observable on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C), tagged as a constraint on BBB, or a positive observable on ℓ2(A×B;C)\ell^2(A\times B;\mathbb C)ℓ2(A×B;C), tagged as a constraint on the joint system. On either Hilbert space, a positive observable means a function hhh to [0,+∞][0,+\infty][0,+∞] with h(0)=0h(0)=0h(0)=0, h(cu)=∣c∣2h(u)h(cu)=|c|^2h(u)h(cu)=∣c∣2h(u) for every complex ccc and vector uuu, and

h(u+v)+h(u−v)=2h(u)+2h(v)h(u+v)+h(u-v)=2h(u)+2h(v)h(u+v)+h(u−v)=2h(u)+2h(v)

for all vectors u,vu,vu,v, such that hhh is lower semicontinuous and {u:h(u)<+∞}\{u:h(u)<+\infty\}{u:h(u)<+∞} is dense. The construction imposes no countability or nonemptiness assumptions on A,BA,BA,B, and includes neither an energy budget nor a regularity requirement.

QAlgorithms.Papers.Independent.Intakenext100.P02.EnergyConstraint.mean

For arbitrary label types A,BA,BA,B, an energy constraint carrying an observable HHH, and any complex array XXX indexed by A×BA\times BA×B, this defines its constraint mean to be QH(XB)\mathcal Q_H(X_B)QH​(XB​) when HHH is tagged as acting on BBB, and QH(X)\mathcal Q_H(X)QH​(X) when HHH acts on A×BA\times BA×B, where

(XB)bb′=∑a∈AX(a,b),(a,b′).(X_B)_{bb'}=\sum_{a\in A}X_{(a,b),(a,b')}.(XB​)bb′​=a∈A∑​X(a,b),(a,b′)​.

For an observable on a label set III, the expectation is

QH(Y)=sup⁡m∈N, u0,…,um−1∈ℓ2(I;C)Y−∑k<mukuk∗ positive∑k<mh(uk).\mathcal Q_H(Y)= \sup_{\substack{m\in\mathbb N,\ u_0,\ldots,u_{m-1}\in\ell^2(I;\mathbb C)\\ Y-\sum_{k<m}u_ku_k^*\ \text{positive}}} \sum_{k<m}h(u_k).QH​(Y)=m∈N, u0​,…,um−1​∈ℓ2(I;C)Y−∑k<m​uk​uk∗​ positive​sup​k<m∑​h(uk​).

Here positivity means that every finite quadratic form is real and nonnegative, and hhh is a lower semicontinuous function to [0,+∞][0,+\infty][0,+∞], finite on a dense set, satisfying h(0)=0h(0)=0h(0)=0, complex quadratic homogeneity, and the parallelogram identity. The finite tuple may be empty, and an empty admissible supremum is zero. No positivity, normalization, trace-class property, or summability is assumed of XXX; the marginal sums use the total infinite-sum operation, which is zero for a nonsummable complex family.

QAlgorithms.Papers.Independent.Intakenext100.P02.EnergyConstraint.regular

For arbitrary label types A,BA,BA,B and an energy constraint, this defines regularity by applying the following condition to its carried positive observable HHH, on I=BI=BI=B in the first case and I=A×BI=A\times BI=A×B in the second. There must exist an orthonormal Hilbert basis (bi)i∈I(b_i)_{i\in I}(bi​)i∈I​ of ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) and real numbers εi≥0\varepsilon_i\ge0εi​≥0 such that, for every vector uuu,

h(u)=∑i∈I[εi∣⟨bi,u⟩∣2]+,h(u)=\sum_{i\in I}\left[\varepsilon_i|\langle b_i,u\rangle|^2\right]_+,h(u)=i∈I∑​[εi​∣⟨bi​,u⟩∣2]+​,

and the extended partition sum Z(β)=∑i[exp⁡(−βεi)]+Z(\beta)=\sum_i[\exp(-\beta\varepsilon_i)]_+Z(β)=∑i​[exp(−βεi​)]+​ satisfies

Z(β)<+∞(β>0),lim⁡β↓0Z(β)β=1.Z(\beta)<+\infty\quad(\beta>0), \qquad \lim_{\beta\downarrow0}Z(\beta)^\beta=1.Z(β)<+∞(β>0),β↓0lim​Z(β)β=1.

Here [x]+[x]_+[x]+​ denotes the nonnegative part embedded in [0,+∞][0,+\infty][0,+∞]. The carried observable already has h(0)=0h(0)=0h(0)=0, h(cu)=∣c∣2h(u)h(cu)=|c|^2h(u)h(cu)=∣c∣2h(u), the parallelogram identity, lower semicontinuity, and a dense finite domain. No energy budget enters this definition. Empty label sets are allowed by the parameters, but cannot satisfy the stated partition limit because their partition sum is zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.FiniteOutput

For an arbitrary type AAA, put HA=ℓ2(A;C)H_A=\ell^2(A;\mathbb C)HA​=ℓ2(A;C), and let Φ\PhiΦ be a function from complex arrays on A2A^2A2 to such arrays that preserves trace class, is additive and complex homogeneous on trace-class arrays, and whose amplification

(Φ⊗id)Z(a,r),(a′,r′)=Φ((Z(i,r),(j,r′))i,j∈A)a,a′(\Phi\otimes\mathrm{id})Z_{(a,r),(a',r')} =\Phi\bigl((Z_{(i,r),(j,r')})_{i,j\in A}\bigr)_{a,a'}(Φ⊗id)Z(a,r),(a′,r′)​=Φ((Z(i,r),(j,r′)​)i,j∈A​)a,a′​

takes every density array on A×{0,…,n−1}A\times\{0,\ldots,n-1\}A×{0,…,n−1} to a density array for every natural number nnn, including 000. Trace class here means admitting an expansion Zi,j=∑mum(i)vm(j)‾Z_{i,j}=\sum_m u_m(i)\overline{v_m(j)}Zi,j​=∑m​um​(i)vm​(j)​ with um,vm∈HAu_m,v_m\in H_Aum​,vm​∈HA​ and ∑m∥um∥∥vm∥<∞\sum_m\|u_m\|\|v_m\|<\infty∑m​∥um​∥∥vm​∥<∞; a density array additionally has real nonnegative finite quadratic forms and summable real diagonal of sum 111, with the corresponding definition on product label types. This predicate says that

span⁡C{Φ(R)^u:R is a density array on A, u∈HA}‾\overline{\operatorname{span}_{\mathbb C} \{\widehat{\Phi(R)}u:R\text{ is a density array on }A,\ u\in H_A\}}spanC​{Φ(R)​u:R is a density array on A, u∈HA​}​

is finite dimensional over C\mathbb CC. The operator Z^\widehat ZZ is a chosen bounded operator with coordinate matrix ZZZ if one exists, and zero otherwise. No countability or nonemptiness assumption is made; if there are no input states, the displayed space is the zero space. The channel assumptions impose no specified behavior outside trace class.

QAlgorithms.Papers.Independent.Intakenext100.P02.HasRankOneEffects

For arbitrary types B,KB,KB,K and a family M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨v,Mkv⟩∈[0,∞)\langle v,M_kv\rangle\in[0,\infty)⟨v,Mk​v⟩∈[0,∞) and ∑kMkv=v\sum_kM_kv=v∑k​Mk​v=v in norm for every vvv, this predicate means that, for every k∈Kk\in Kk∈K, either Mk=0M_k=0Mk​=0, or there exists a nonzero vector u∈ℓ2(B;C)u\in\ell^2(B;\mathbb C)u∈ℓ2(B;C) such that

Mkv=⟨u,v⟩ufor every v∈ℓ2(B;C).M_kv=\langle u,v\rangle u \qquad\text{for every }v\in\ell^2(B;\mathbb C).Mk​v=⟨u,v⟩ufor every v∈ℓ2(B;C).

The vector uuu may depend on kkk and is not required to have norm one. Zero effects are explicitly allowed, and the predicate is vacuous when KKK is empty.

QAlgorithms.Papers.Independent.Intakenext100.P02.HolevoComparison

For arbitrary label types A,B,CA,B,CA,B,C, arbitrary maps Φ:CA×A→CB×B\Phi:\mathbb C^{A\times A}\to\mathbb C^{B\times B}Φ:CA×A→CB×B and Ψ:CA×A→CC×C\Psi:\mathbb C^{A\times A}\to\mathbb C^{C\times C}Ψ:CA×A→CC×C, a Borel probability measure μ\muμ on the state space SA\mathcal S_ASA​, and a real number bbb, this predicate means precisely

χΦ(μ)<+∞,χΨ(μ)<+∞,∣χΦ(μ)real−χΨ(μ)real∣≤b.\chi_\Phi(\mu)<+\infty,\qquad \chi_\Psi(\mu)<+\infty,\qquad \left|\chi_\Phi(\mu)^{\mathrm{real}}-\chi_\Psi(\mu)^{\mathrm{real}}\right|\le b.χΦ​(μ)<+∞,χΨ​(μ)<+∞,​χΦ​(μ)real−χΨ​(μ)real​≤b.

A state X∈STX\in\mathcal S_TX∈ST​ admits an expansion Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​, with un,vn∈ℓ2(T;C)u_n,v_n\in\ell^2(T;\mathbb C)un​,vn​∈ℓ2(T;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; every finite quadratic form is real and nonnegative, and its real diagonal is summable with sum 111. If N(X)N(X)N(X) is the infimum of these expansion sums, with value +∞+\infty+∞ for no expansion, the state topology is generated by {Y:N(Y−X)<ϵ}\{Y:N(Y-X)<\epsilon\}{Y:N(Y−X)<ϵ}, X∈ST,ϵ>0X\in\mathcal S_T,\epsilon>0X∈ST​,ϵ>0, and the measurable structure is Borel. For F=ΦF=\PhiF=Φ or Ψ\PsiΨ, the quantity being compared is

χF(μ)=∫SAD7(F(ρ),F(ρˉμ)) dμ(ρ),(ρˉμ)ij=∫ρij dμ(ρ).\chi_F(\mu)=\int_{\mathcal S_A}D_7(F(\rho),F(\bar\rho_\mu))\,d\mu(\rho), \qquad (\bar\rho_\mu)_{ij}=\int\rho_{ij}\,d\mu(\rho).χF​(μ)=∫SA​​D7​(F(ρ),F(ρˉ​μ​))dμ(ρ),(ρˉ​μ​)ij​=∫ρij​dμ(ρ).

Here D7(X,Y)D_7(X,Y)D7​(X,Y) is the supremum over finite coordinate restrictions Xs,YsX_s,Y_sXs​,Ys​ of max⁡{0,Re⁡tr⁡(Xslog⁡Xs−Xslog⁡Ys+Ys−Xs)}\max\{0,\operatorname{Re}\operatorname{tr}(X_s\log X_s-X_s\log Y_s+Y_s-X_s)\}max{0,Retr(Xs​logXs​−Xs​logYs​+Ys​−Xs​)} if ker⁡Ys⊆ker⁡Xs\ker Y_s\subseteq\ker X_skerYs​⊆kerXs​, and +∞+\infty+∞ otherwise, using continuous functional calculus. The integral is the nonnegative extended integral, and “real” is the conversion sending +∞+\infty+∞ to 000, although the predicate explicitly excludes infinite values here. No channel assumptions are imposed. The bound is non-strict; a negative bbb makes the predicate impossible to satisfy.

QAlgorithms.Papers.Independent.Intakenext100.P02.Induces

For arbitrary types A,RA,RA,R, a discrete measurement M=(Mi)i∈NM=(M_i)_{i\in\mathbb N}M=(Mi​)i∈N​ on ℓ2(R;C)\ell^2(R;\mathbb C)ℓ2(R;C), a pure state PPP on A×RA\times RA×R, and a countable ensemble e=(wi,ρi)i∈Ne=(w_i,\rho_i)_{i\in\mathbb N}e=(wi​,ρi​)i∈N​ on AAA, this predicate means

conditionalInput⁡(M,P,i)=wirealρifor every i∈N.\operatorname{conditionalInput}(M,P,i)=w_i^{\mathrm{real}}\rho_i \quad\text{for every }i\in\mathbb N.conditionalInput(M,P,i)=wireal​ρi​for every i∈N.

The measurement consists of bounded complex-linear operators with real nonnegative quadratic forms and ∑iMiu=u\sum_iM_i u=u∑i​Mi​u=u in norm for every uuu. The ensemble weights are extended nonnegative reals summing to 111. Each state matrix XXX admits a countable nuclear expansion Xab=∑mum(a)vm(b)‾X_{ab}=\sum_m u_m(a)\overline{v_m(b)}Xab​=∑m​um​(a)vm​(b)​, with um,vm∈ℓ2u_m,v_m\in\ell^2um​,vm​∈ℓ2 and ∑m∥um∥∥vm∥<∞\sum_m\|u_m\|\|v_m\|<\infty∑m​∥um​∥∥vm​∥<∞, has real nonnegative finite-coordinate quadratic forms, and has summable real diagonal of sum 111; purity additionally means Ppq=zpzq‾P_{pq}=z_p\overline{z_q}Ppq​=zp​zq​​ for some z∈ℓ2(A×R;C)z\in\ell^2(A\times R;\mathbb C)z∈ℓ2(A×R;C) of norm 111. Explicitly, the displayed condition requires

∑r∈R(MiB(P(a,r),(b,s))r,ser)r=wireal(ρi)abfor all i,a,b,\sum_{r\in R}\left(M_i\mathcal B_{(P_{(a,r),(b,s)})_{r,s}}e_r\right)_r =w_i^{\mathrm{real}}(\rho_i)_{ab} \quad\text{for all }i,a,b,r∈R∑​(Mi​B(P(a,r),(b,s)​)r,s​​er​)r​=wireal​(ρi​)ab​for all i,a,b,

where BY\mathcal B_YBY​ is a chosen bounded operator with coefficient matrix YYY, or zero if none exists. Complex infinite sums are total and equal zero when nonsummable. The condition includes every zero-weight index and requires its conditional matrix to be zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.IsErasureWitness

For an arbitrary label type AAA, four channels Φ,Ψ,Φc,Ψc\Phi,\Psi,\Phi^c,\Psi^cΦ,Ψ,Φc,Ψc from AAA to A∪{⊥}A\cup\{\bot\}A∪{⊥}, and any real ϵ\epsilonϵ, this predicate requires that Φ,Φc\Phi,\Phi^cΦ,Φc be complementary, that Ψ,Ψc\Psi,\Psi^cΨ,Ψc be complementary, and that every trace-class array XXX satisfy

Φ(X)=E0(X),Ψ(X)=Eϵ(X),Φc(X)=E1(X),Ψc(X)=E1−ϵ(X),\Phi(X)=\mathcal E_0(X),\qquad \Psi(X)=\mathcal E_\epsilon(X),\qquad \Phi^c(X)=\mathcal E_1(X),\qquad \Psi^c(X)=\mathcal E_{1-\epsilon}(X),Φ(X)=E0​(X),Ψ(X)=Eϵ​(X),Φc(X)=E1​(X),Ψc(X)=E1−ϵ​(X),

where

Ep(X)ij={(1−p)Xab,i=a, j=b,a,b∈A,p∑a∈AXaa,i=j=⊥,0,otherwise.\mathcal E_p(X)_{ij}= \begin{cases} (1-p)X_{ab},&i=a,\ j=b,\quad a,b\in A,\\ p\sum_{a\in A}X_{aa},&i=j=\bot,\\ 0,&\text{otherwise}. \end{cases}Ep​(X)ij​=⎩⎨⎧​(1−p)Xab​,p∑a∈A​Xaa​,0,​i=a, j=b,a,b∈A,i=j=⊥,otherwise.​

To spell out the channel and complement assumptions, let HT=ℓ2(T;C)\mathcal H_T=\ell^2(T;\mathbb C)HT​=ℓ2(T;C). An array is trace class when it has an expansion Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​ with un,vn∈HTu_n,v_n\in\mathcal H_Tun​,vn​∈HT​ and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞. A density array additionally has real nonnegative finite quadratic forms and a summable real diagonal of sum 111; a state is such an array. A channel FFF maps trace-class arrays to trace-class arrays, is additive on pairs of trace-class arrays, is complex homogeneous on trace-class arrays, and, for every natural nnn and every density array RRR on T×{0,…,n−1}T\times\{0,\ldots,n-1\}T×{0,…,n−1}, makes the array

(F⊗id)(R)(j,a),(j′,b)=F ⁣((R(i,a),(i′,b))i,i′)jj′(F\otimes\mathrm{id})(R)_{(j,a),(j',b)} =F\!\left((R_{(i,a),(i',b)})_{i,i'}\right)_{jj'}(F⊗id)(R)(j,a),(j′,b)​=F((R(i,a),(i′,b)​)i,i′​)jj′​

a density array. Complementarity of channels F:T→UF:T\to UF:T→U and G:T→VG:T\to VG:T→V means that there exists a complex-linear isometry W:HT→HU×VW:\mathcal H_T\to\mathcal H_{U\times V}W:HT​→HU×V​ such that, for every input state RRR, F(R)F(R)F(R) and G(R)G(R)G(R) are respectively the sums over the VVV and UUU diagonal indices of the array

Zpq=∑i∑j(Wei)p Rij (Wej)q‾,Z_{pq}=\sum_i\sum_j(We_i)_p\,R_{ij}\,\overline{(We_j)_q},Zpq​=i∑​j∑​(Wei​)p​Rij​(Wej​)q​​,

where eie_iei​ is the coordinate unit vector. The predicate imposes the four erasure formulas only on trace-class inputs. It includes no explicit restriction 0≤ϵ≤10\le\epsilon\le10≤ϵ≤1, no countability or nonemptiness assumption on AAA, and no formula for the four maps on non-trace-class inputs.

QAlgorithms.Papers.Independent.Intakenext100.P02.IsQC

For arbitrary label types A,BA,BA,B and any complex array XXX indexed by (A×B)2(A\times B)^2(A×B)2, this predicate asserts that there exist a Hilbert basis (bi)i∈B(b_i)_{i\in B}(bi​)i∈B​ of ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C), nonnegative real weights wiw_iwi​ whose finite partial sums converge to 111, and density arrays RiR_iRi​ on AAA, such that

X(a,β),(a′,β′)=∑i∈Bwi(Ri)a,a′ bi(β) bi(β′)‾X_{(a,\beta),(a',\beta')} =\sum_{i\in B}w_i(R_i)_{a,a'}\,b_i(\beta)\,\overline{b_i(\beta')}X(a,β),(a′,β′)​=i∈B∑​wi​(Ri​)a,a′​bi​(β)bi​(β′)​

for every a,a′∈Aa,a'\in Aa,a′∈A and β,β′∈B\beta,\beta'\in Bβ,β′∈B. Each RiR_iRi​ must admit an expansion Ri(a,a′)=∑n≥0un(a)vn(a′)‾R_i(a,a')=\sum_{n\geq0}u_n(a)\overline{v_n(a')}Ri​(a,a′)=∑n≥0​un​(a)vn​(a′)​ with un,vn∈ℓ2(A;C)u_n,v_n\in\ell^2(A;\mathbb C)un​,vn​∈ℓ2(A;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; all its finite quadratic forms must be real and nonnegative; and its real diagonal must be summable with sum 111. These requirements apply to every iii, including zero-weight indices. Neither label type is assumed countable or nonempty; the predicate is false if either is empty.

QAlgorithms.Papers.Independent.Intakenext100.P02.LocalMonotone

For arbitrary types A,BA,BA,B and any function fff from complex arrays on (A×B)2(A\times B)^2(A×B)2 to [0,∞][0,\infty][0,∞], this predicate asserts that

f((Φ⊗id)R)≤f(R)f\bigl((\Phi\otimes\mathrm{id})R\bigr)\leq f(R)f((Φ⊗id)R)≤f(R)

for every density array RRR on A×BA\times BA×B and every map Φ\PhiΦ on A2A^2A2-arrays that preserves trace class, is additive and complex homogeneous on trace-class arrays, and preserves density arrays under every finite amplification. Explicitly, amplification acts by

((Φ⊗id)R)(a,b),(a′,b′)=Φ((R(i,b),(j,b′))i,j∈A)a,a′.((\Phi\otimes\mathrm{id})R)_{(a,b),(a',b')} =\Phi\bigl((R_{(i,b),(j,b')})_{i,j\in A}\bigr)_{a,a'}.((Φ⊗id)R)(a,b),(a′,b′)​=Φ((R(i,b),(j,b′)​)i,j∈A​)a,a′​.

For any label type III, trace class means admitting a countable expansion Zi,j=∑nun(i)vn(j)‾Z_{i,j}=\sum_nu_n(i)\overline{v_n(j)}Zi,j​=∑n​un​(i)vn​(j)​ with un,vn∈ℓ2(I;C)u_n,v_n\in\ell^2(I;\mathbb C)un​,vn​∈ℓ2(I;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; density additionally requires every finite quadratic form to be real and nonnegative and the real diagonal to be summable with sum 111. The finite-amplification requirement quantifies over every natural number nnn, including 000. No countability or nonemptiness assumptions are imposed on A,BA,BA,B, and there is no finite-output restriction on Φ\PhiΦ. The function fff is unrestricted away from the stated inequalities; if A×BA\times BA×B has no density arrays, the predicate holds vacuously.

QAlgorithms.Papers.Independent.Intakenext100.P02.MaximallyEntangled

For any finite label type AAA, this defines a property of a pure state ψ\psiψ on A×AA\times AA×A: writing PPP for its coefficient matrix and d=∣A∣d=|A|d=∣A∣, the property is

∑r∈AP(i,r),(j,r)={d−1,i=j,0,i≠j(i,j∈A),\sum_{r\in A}P_{(i,r),(j,r)} = \begin{cases} d^{-1},&i=j,\\ 0,&i\ne j \end{cases} \qquad(i,j\in A),r∈A∑​P(i,r),(j,r)​={d−1,0,​i=j,i=j​(i,j∈A),

where the inverse on the right is taken in C\mathbb CC. A pure state here consists of a state matrix PPP together with the existence of u∈ℓ2(A×A;C)u\in\ell^2(A\times A;\mathbb C)u∈ℓ2(A×A;C) such that ∥u∥=1\|u\|=1∥u∥=1 and Ppq=u(p)u(q)‾P_{pq}=u(p)\overline{u(q)}Ppq​=u(p)u(q)​. A state matrix is trace class, has real nonnegative finite quadratic forms, and has summable real diagonal with sum 111; trace class means that it admits an expansion Ppq=∑n=0∞an(p)cn(q)‾P_{pq}=\sum_{n=0}^{\infty}a_n(p)\overline{c_n(q)}Ppq​=∑n=0∞​an​(p)cn​(q)​ with ∑n∥an∥∥cn∥<∞\sum_n\|a_n\|\|c_n\|<\infty∑n​∥an​∥∥cn​∥<∞. No nonemptiness assumption is stated for AAA; if AAA is empty, there is no such pure state, so the domain of this property is empty.

QAlgorithms.Papers.Independent.Intakenext100.P02.OrthogonalTuple

For any type III, any natural number mmm, and any family P0,…,Pm−1P_0,\ldots,P_{m-1}P0​,…,Pm−1​ of complex arrays indexed by I×II\times II×I, this predicate means that there exist vectors u0,…,um−1∈ℓ2(I;C)u_0,\ldots,u_{m-1}\in\ell^2(I;\mathbb C)u0​,…,um−1​∈ℓ2(I;C) such that ⟨ui,uj⟩=δij\langle u_i,u_j\rangle=\delta_{ij}⟨ui​,uj​⟩=δij​ for all indices and

(Pi)ab=ui(a)ui(b)‾for every i<m and a,b∈I.(P_i)_{ab}=u_i(a)\overline{u_i(b)} \quad\text{for every }i<m\text{ and }a,b\in I.(Pi​)ab​=ui​(a)ui​(b)​for every i<m and a,b∈I.

No countability or nonemptiness of III is assumed. The case m=0m=0m=0 is included and the predicate then holds for the empty family; if III is empty and m>0m>0m>0, the required unit vectors do not exist.

QAlgorithms.Papers.Independent.Intakenext100.P02.PartitionGrowth

For any label type III and positive observable HHH, this property means that there exist an orthonormal Hilbert basis b=(bi)i∈Ib=(b_i)_{i\in I}b=(bi​)i∈I​ of ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) and real numbers ei≥0e_i\ge0ei​≥0 such that, for every u∈ℓ2(I;C)u\in\ell^2(I;\mathbb C)u∈ℓ2(I;C),

H(u)=∑i∈I[ei∣⟨bi,u⟩∣2]+,H(u)=\sum_{i\in I}[e_i|\langle b_i,u\rangle|^2]_+,H(u)=i∈I∑​[ei​∣⟨bi​,u⟩∣2]+​,

and, writing Z(β)=∑i∈I[exp⁡(−βei)]+Z(\beta)=\sum_{i\in I}[\exp(-\beta e_i)]_+Z(β)=∑i∈I​[exp(−βei​)]+​, one has Z(β)<+∞Z(\beta)<+\inftyZ(β)<+∞ for every real β>0\beta>0β>0 and

lim⁡β↓0Z(β)β=1in [0,∞].\lim_{\beta\downarrow0}Z(\beta)^\beta=1 \quad\text{in }[0,\infty].β↓0lim​Z(β)β=1in [0,∞].

Here [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) is embedded in [0,∞][0,\infty][0,∞]. The given positive observable is an extended nonnegative quadratic form: H(0)=0H(0)=0H(0)=0, H(cu)=[∣c∣2]+H(u)H(cu)=[|c|^2]_+H(u)H(cu)=[∣c∣2]+​H(u) for every complex ccc, H(u+v)+H(u−v)=2H(u)+2H(v)H(u+v)+H(u-v)=2H(u)+2H(v)H(u+v)+H(u−v)=2H(u)+2H(v), the function HHH is lower semicontinuous, and its finite-valued domain is dense. No countability or nonemptiness of III is assumed in the definition. If III is empty, Z(β)=0Z(\beta)=0Z(β)=0 for positive β\betaβ, so the required limit to 111 cannot hold.

QAlgorithms.Papers.Independent.Intakenext100.P02.QCInBasis

For arbitrary label types A,BA,BA,B, let HA=ℓ2(A;C)H_A=\ell^2(A;\mathbb C)HA​=ℓ2(A;C) and HB=ℓ2(B;C)H_B=\ell^2(B;\mathbb C)HB​=ℓ2(B;C), let b=(bi)i∈Bb=(b_i)_{i\in B}b=(bi​)i∈B​ be a Hilbert basis of HBH_BHB​, and let XXX be any complex array indexed by (A×B)2(A\times B)^2(A×B)2. This predicate asserts that there exist real weights wi≥0w_i\geq0wi​≥0, with ∑i∈Bwi=1\sum_{i\in B}w_i=1∑i∈B​wi​=1 in the sense of convergence of finite partial sums, and a density array RiR_iRi​ on AAA for every i∈Bi\in Bi∈B, such that

X(a,β),(a′,β′)=∑i∈Bwi(Ri)a,a′ bi(β) bi(β′)‾for all a,a′∈A, β,β′∈B.X_{(a,\beta),(a',\beta')} =\sum_{i\in B}w_i(R_i)_{a,a'}\,b_i(\beta)\,\overline{b_i(\beta')} \quad\text{for all }a,a'\in A,\ \beta,\beta'\in B.X(a,β),(a′,β′)​=i∈B∑​wi​(Ri​)a,a′​bi​(β)bi​(β′)​for all a,a′∈A, β,β′∈B.

Here a density array RRR means an array admitting an expansion Ra,a′=∑n≥0un(a)vn(a′)‾R_{a,a'}=\sum_{n\geq0}u_n(a)\overline{v_n(a')}Ra,a′​=∑n≥0​un​(a)vn​(a′)​, where un,vn∈HAu_n,v_n\in H_Aun​,vn​∈HA​ and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, such that every finite quadratic form ∑a,a′∈sz(a)‾Ra,a′z(a′)\sum_{a,a'\in s}\overline{z(a)}R_{a,a'}z(a')∑a,a′∈s​z(a)​Ra,a′​z(a′) is real and nonnegative, the real diagonal entries are summable, and their sum is 111. Density arrays must be supplied even at indices of zero weight. There are no countability assumptions on AAA or BBB; if either type is empty, this predicate cannot hold.

QAlgorithms.Papers.Independent.Intakenext100.P02.RankMProjection

For any type III, natural number mmm, and complex array QQQ indexed by I×II\times II×I, this predicate means that there exist arrays PiP_iPi​, i<mi<mi<m, and an orthonormal family ui∈ℓ2(I;C)u_i\in\ell^2(I;\mathbb C)ui​∈ℓ2(I;C) with

(Pi)ab=ui(a)ui(b)‾,Qab=∑i=0m−1(Pi)ab=∑i=0m−1ui(a)ui(b)‾(P_i)_{ab}=u_i(a)\overline{u_i(b)},\qquad Q_{ab}=\sum_{i=0}^{m-1}(P_i)_{ab} =\sum_{i=0}^{m-1}u_i(a)\overline{u_i(b)}(Pi​)ab​=ui​(a)ui​(b)​,Qab​=i=0∑m−1​(Pi​)ab​=i=0∑m−1​ui​(a)ui​(b)​

for every a,b∈Ia,b\in Ia,b∈I. No countability or nonemptiness assumption is made. In particular, m=0m=0m=0 is allowed and gives exactly Q=0Q=0Q=0; for m>0m>0m>0, the predicate requires the existence of mmm orthonormal vectors, which is impossible when ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) has dimension below mmm.

QAlgorithms.Papers.Independent.Intakenext100.P02.SpectralExpansion

For any type III and state RRR on III, this structure consists of real weights wiw_iwi​ and vectors ui∈ℓ2(I;C)u_i\in\ell^2(I;\mathbb C)ui​∈ℓ2(I;C), indexed by i∈Ni\in\mathbb Ni∈N, such that every wi≥0w_i\ge0wi​≥0, wj≤wiw_j\le w_iwj​≤wi​ whenever i≤ji\le ji≤j, and the family wiw_iwi​ has sum 111; whenever wi>0w_i>0wi​>0, ∥ui∥=1\|u_i\|=1∥ui​∥=1, and whenever i≠ji\ne ji=j and both weights are positive, ⟨ui,uj⟩=0\langle u_i,u_j\rangle=0⟨ui​,uj​⟩=0. The state RRR is an array admitting a coordinate expansion Rab=∑nan(a)bn(b)‾R_{ab}=\sum_n a_n(a)\overline{b_n(b)}Rab​=∑n​an​(a)bn​(b)​ with ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, having real nonnegative finite quadratic forms, and having summable real diagonal entries of sum 111. Setting Xi=wiuiui∗X_i=w_i u_i u_i^*Xi​=wi​ui​ui∗​, the remaining field requires the following specific trace-summation condition: RRR and each XiX_iXi​ admit such coordinate nuclear expansions; writing X^\widehat XX for a chosen bounded operator on ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) with matrix XXX when one exists, and for 000 otherwise, R^\widehat RR is operator trace class, every finite sum ∑i∈FX^i\sum_{i\in F}\widehat X_i∑i∈F​Xi​ and its difference from R^\widehat RR are operator trace class, and

ν ⁣(∑i∈FX^i−R^)⟶0\nu\!\left(\sum_{i\in F}\widehat X_i-\widehat R\right)\longrightarrow0ν(i∈F∑​Xi​−R)⟶0

as finite subsets F⊆NF\subseteq\mathbb NF⊆N increase by inclusion. In this condition an operator TTT is trace class when it has an operator-norm convergent sum T=∑n∣an⟩⟨bn∣T=\sum_n |a_n\rangle\langle b_n|T=∑n​∣an​⟩⟨bn​∣ with ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, and ν(T)\nu(T)ν(T) is the real infimum of these sums of norm products. Zero weights are allowed, and their vectors need not be normalized or orthogonal to anything; repeated positive weights are allowed. No countability assumption on III is imposed, although the supplied state excludes empty III.

QAlgorithms.Papers.Independent.Intakenext100.P02.SpectralExpansion.term

For any type III, any state RRR on III, any spectral expansion sss of RRR, and any i∈Ni\in\mathbb Ni∈N, this defines the array

si(a,b)=wi ui(a)ui(b)‾(a,b∈I).s_i(a,b)=w_i\,u_i(a)\overline{u_i(b)}\qquad(a,b\in I).si​(a,b)=wi​ui​(a)ui​(b)​(a,b∈I).

Here the state RRR has a coordinate nuclear representation with summable products of ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) norms, real nonnegative finite quadratic forms, and summable real diagonal of sum 111. The expansion sss supplies nonnegative, nonincreasing real weights wiw_iwi​ of sum 111, and vectors ui∈ℓ2(I;C)u_i\in\ell^2(I;\mathbb C)ui​∈ℓ2(I;C) that are unit vectors at positive weights and mutually orthogonal at distinct positive-weight indices. It also requires Xi=wiuiui∗X_i=w_i u_i u_i^*Xi​=wi​ui​ui∗​ to sum to RRR in this precise sense: RRR and every XiX_iXi​ admit coordinate nuclear representations; their chosen bounded-operator realizations R^,X^i\widehat R,\widehat X_iR,Xi​ satisfy that R^\widehat RR, all finite sums ∑i∈FX^i\sum_{i\in F}\widehat X_i∑i∈F​Xi​, and their differences from R^\widehat RR are operator trace class, with

ν ⁣(∑i∈FX^i−R^)→0\nu\!\left(\sum_{i\in F}\widehat X_i-\widehat R\right)\to0ν(i∈F∑​Xi​−R)→0

over finite subsets ordered by inclusion. The realization X^\widehat XX is a chosen bounded operator having entries XXX, or 000 if none exists; operator trace class means an operator-norm sum ∑n∣an⟩⟨bn∣\sum_n|a_n\rangle\langle b_n|∑n​∣an​⟩⟨bn​∣ with ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, and ν\nuν is the real infimum of these norm-product sums. The definition of the individual term uses only wi,uiw_i,u_iwi​,ui​; in particular, it gives the zero array whenever wi=0w_i=0wi​=0, even though the corresponding vector is unrestricted. There is no countability assumption on III.

QAlgorithms.Papers.Independent.Intakenext100.P02.TraceClassChannelSemigroup

For any type AAA, this structure consists of a channel Φt\Phi_tΦt​ from arrays on AAA to arrays on AAA for every nonnegative real ttt, together with the identities

Φ0(R)=R,Φt+s(R)=Φs(Φt(R))\Phi_0(R)=R,\qquad \Phi_{t+s}(R)=\Phi_s\bigl(\Phi_t(R)\bigr)Φ0​(R)=R,Φt+s​(R)=Φs​(Φt​(R))

for every state RRR on AAA and every s,t≥0s,t\ge0s,t≥0. Here an array XXX is trace class precisely when Xij=∑nan(i)bn(j)‾X_{ij}=\sum_n a_n(i)\overline{b_n(j)}Xij​=∑n​an​(i)bn​(j)​ for sequences an,bn∈ℓ2(A;C)a_n,b_n\in\ell^2(A;\mathbb C)an​,bn​∈ℓ2(A;C) with ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞. A state is such an array whose finite quadratic forms are real and nonnegative and whose real diagonal entries are summable with sum 111. Each channel Φt\Phi_tΦt​ preserves trace-class arrays, is additive on pairs of trace-class arrays, is homogeneous under every complex scalar on trace-class arrays, and, for every integer n≥0n\ge0n≥0 and every state RRR on A×{0,…,n−1}A\times\{0,\ldots,n-1\}A×{0,…,n−1}, produces a state after amplification, whose entries are

(Φt⊗id)(R)(a,r),(b,s)=Φt((R(i,r),(j,s))ij)ab.(\Phi_t\otimes\mathrm{id})(R)_{(a,r),(b,s)} =\Phi_t\bigl((R_{(i,r),(j,s)})_{ij}\bigr)_{ab}.(Φt​⊗id)(R)(a,r),(b,s)​=Φt​((R(i,r),(j,s)​)ij​)ab​.

The semigroup identities themselves are required only on states. The structure imposes no continuity or measurability in ttt, and gives no additional requirements on channel values at arrays that are not trace class. There is no countability or nonemptiness assumption on AAA; when AAA is empty there are no states, so the state-indexed identities have no instances, and the amplification condition at n=0n=0n=0 likewise has no input states.

QAlgorithms.Papers.Independent.Intakenext100.P02.UniformQC

For any finite label type AAA, any label type EEE, and any complex matrix XXX indexed by E×AE\times AE×A, this property means that there exist an orthonormal Hilbert basis b=(bk)k∈Ab=(b_k)_{k\in A}b=(bk​)k∈A​ of ℓ2(A;C)\ell^2(A;\mathbb C)ℓ2(A;C) and a state ρk\rho_kρk​ on EEE for every k∈Ak\in Ak∈A, such that, with d=∣A∣d=|A|d=∣A∣,

X(e,a),(f,a′)=∑k∈A(d−1:C) (ρk)ef bk(a)bk(a′)‾.X_{(e,a),(f,a')} =\sum_{k\in A}(d^{-1}:\mathbb C)\, (\rho_k)_{ef}\,b_k(a)\overline{b_k(a')}.X(e,a),(f,a′)​=k∈A∑​(d−1:C)(ρk​)ef​bk​(a)bk​(a′)​.

Here d−1d^{-1}d−1 is first taken in R\mathbb RR and then embedded in C\mathbb CC. A state on EEE is a complex matrix admitting a nuclear expansion (ρk)ef=∑nun(e)vn(f)‾(\rho_k)_{ef}=\sum_n u_n(e)\overline{v_n(f)}(ρk​)ef​=∑n​un​(e)vn​(f)​ with un,vn∈ℓ2(E;C)u_n,v_n\in\ell^2(E;\mathbb C)un​,vn​∈ℓ2(E;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, whose finite quadratic forms are real and nonnegative and whose real diagonal is summable with sum 111. Neither countability nor nonemptiness of EEE, nor nonemptiness of AAA, is assumed. If AAA is empty, the sum is empty and the condition reduces to X=0X=0X=0; if AAA is nonempty and EEE is empty, the required family of states cannot exist.

QAlgorithms.Papers.Independent.Intakenext100.P02.basisDephasingCoefficients

For any finite label type AAA, any orthonormal Hilbert basis b=(bk)k∈Ab=(b_k)_{k\in A}b=(bk​)k∈A​ of ℓ2(A;C)\ell^2(A;\mathbb C)ℓ2(A;C), and any complex matrix X=(Xij)i,j∈AX=(X_{ij})_{i,j\in A}X=(Xij​)i,j∈A​, this defines the matrix

Db(X)ij=∑k∈A⟨bk,X^bk⟩ bk(i)bk(j)‾.\mathcal D_b(X)_{ij} =\sum_{k\in A}\langle b_k,\widehat X b_k\rangle\,b_k(i)\overline{b_k(j)}.Db​(X)ij​=k∈A∑​⟨bk​,Xbk​⟩bk​(i)bk​(j)​.

Here X^\widehat XX is a bounded complex-linear operator whose coordinate matrix is XXX, chosen if one exists, and is the zero operator otherwise; having coordinate matrix XXX means (X^ej)(i)=Xij(\widehat X e_j)(i)=X_{ij}(Xej​)(i)=Xij​, where eje_jej​ has coordinate 111 at jjj and 000 elsewhere. There is no positivity, normalization, or Hermitian hypothesis on XXX. The finite type AAA may be empty, in which case the sums are empty and the resulting matrix is the unique matrix on the empty index type.

QAlgorithms.Papers.Independent.Intakenext100.P02.chiA

For arbitrary types A,CA,CA,C and any complex array XXX on (A×C)2(A\times C)^2(A×C)2, this definition returns

sup⁡(wn,Rn)∑n≥0wn D ⁣(Tr⁡CRn ∥ Tr⁡CX)∈[0,∞],\sup_{(w_n,R_n)} \sum_{n\geq0}w_n\,D\!\left(\operatorname{Tr}_C R_n\,\middle\|\,\operatorname{Tr}_C X\right)\in[0,\infty],(wn​,Rn​)sup​n≥0∑​wn​D(TrC​Rn​∥TrC​X)∈[0,∞],

where wn∈[0,∞]w_n\in[0,\infty]wn​∈[0,∞], ∑nwn=1\sum_nw_n=1∑n​wn​=1, every RnR_nRn​ is a density array on A×CA\times CA×C, and

Xp,q=∑n≥0wnreal(Rn)p,qfor every p,q∈A×C.X_{p,q}=\sum_{n\geq0}w_n^{\mathrm{real}}(R_n)_{p,q} \quad\text{for every }p,q\in A\times C.Xp,q​=n≥0∑​wnreal​(Rn​)p,q​for every p,q∈A×C.

Here wnrealw_n^{\mathrm{real}}wnreal​ is the real conversion of wnw_nwn​, (Tr⁡CZ)a,a′=∑cZ(a,c),(a′,c)(\operatorname{Tr}_C Z)_{a,a'}=\sum_cZ_{(a,c),(a',c)}(TrC​Z)a,a′​=∑c​Z(a,c),(a′,c)​, and a density array RRR admits a countable expansion Rp,q=∑nun(p)vn(q)‾R_{p,q}=\sum_nu_n(p)\overline{v_n(q)}Rp,q​=∑n​un​(p)vn​(q)​ with un,vn∈ℓ2(A×C;C)u_n,v_n\in\ell^2(A\times C;\mathbb C)un​,vn​∈ℓ2(A×C;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, has real nonnegative finite quadratic forms, and has summable real diagonal of sum 111. The quantity D(U∥V)D(U\|V)D(U∥V) is the supremum over all finite coordinate sets sss of the following value for the compressed matrices Us,VsU_s,V_sUs​,Vs​: it is +∞+\infty+∞ unless ker⁡Vs⊆ker⁡Us\ker V_s\subseteq\ker U_skerVs​⊆kerUs​, and otherwise it is

[Re⁡tr⁡((x↦xlog⁡x)(Us)−Uslog⁡(Vs)+Vs−Us)]+,\left[\operatorname{Re}\operatorname{tr} \bigl((x\mapsto x\log x)(U_s)-U_s\log(V_s)+V_s-U_s\bigr)\right]_+,[Retr((x↦xlogx)(Us​)−Us​log(Vs​)+Vs​−Us​)]+​,

using continuous functional calculus and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0), regarded in [0,∞][0,\infty][0,∞]. No hypothesis says that XXX itself is a state or that the displayed coordinate sums converge; total complex sums give 000 when nonsummable. The supremum is 000 if no admissible ensemble exists, including when AAA or CCC is empty. Extended nonnegative multiplication is used, including 0⋅∞=00\cdot\infty=00⋅∞=0.

QAlgorithms.Papers.Independent.Intakenext100.P02.classicalM

For arbitrary types A,B,KA,B,KA,B,K, let M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ be bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u in norm for every uuu. For any complex array XXX on (A×B)2(A\times B)^2(A×B)2, form an array ZZZ on (A×K)2(A\times K)^2(A×K)2 by

Z(a,k),(a′,l)={∑b(MkXa,a′^eb)b,k=l,0,k≠l,Xbb′a,a′=X(a,b),(a′,b′).Z_{(a,k),(a',l)}= \begin{cases} \displaystyle\sum_b(M_k\widehat{X^{a,a'}}e_b)_b,&k=l,\\ 0,&k\ne l, \end{cases} \qquad X^{a,a'}_{bb'}=X_{(a,b),(a',b')}.Z(a,k),(a′,l)​=⎩⎨⎧​b∑​(Mk​Xa,a′eb​)b​,0,​k=l,k=l,​Xbb′a,a′​=X(a,b),(a′,b′)​.

Here Y^\widehat YY is a chosen bounded operator with coordinate matrix YYY, or zero if none exists, and ebe_beb​ is the coordinate unit vector. This declaration defines

D ⁣(Z,ZA⊗ZK),(ZA)aa′=∑kZ(a,k),(a′,k),(ZK)kl=∑aZ(a,k),(a,l),D\!\left(Z,Z_A\otimes Z_K\right),\qquad (Z_A)_{aa'}=\sum_k Z_{(a,k),(a',k)},\qquad (Z_K)_{kl}=\sum_a Z_{(a,k),(a,l)},D(Z,ZA​⊗ZK​),(ZA​)aa′​=k∑​Z(a,k),(a′,k)​,(ZK​)kl​=a∑​Z(a,k),(a,l)​,

where (U⊗V)(a,k),(a′,l)=Uaa′Vkl(U\otimes V)_{(a,k),(a',l)}=U_{aa'}V_{kl}(U⊗V)(a,k),(a′,l)​=Uaa′​Vkl​. For arrays U,VU,VU,V on a common index type, D(U,V)D(U,V)D(U,V) is the supremum, over every finite coordinate subset FFF, of

{max⁡ ⁣{0,Re⁡tr⁡(UFlog⁡UF−UFlog⁡VF+VF−UF)},ker⁡VF⊆ker⁡UF,∞,otherwise,\begin{cases} \max\!\left\{0,\operatorname{Re}\operatorname{tr} \bigl(U_F\log U_F-U_F\log V_F+V_F-U_F\bigr)\right\}, &\ker V_F\subseteq\ker U_F,\\ \infty,&\text{otherwise}, \end{cases}{max{0,Retr(UF​logUF​−UF​logVF​+VF​−UF​)},∞,​kerVF​⊆kerUF​,otherwise,​

where logarithms of matrices use continuous functional calculus. The value lies in [0,∞][0,\infty][0,∞]; XXX is not assumed positive, normalized, or trace class, and nonsummable total sums are assigned zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.conditionalAC

For arbitrary types A,B,C,KA,B,C,KA,B,C,K, let M=(Ek)k∈KM=(E_k)_{k\in K}M=(Ek​)k∈K​ be bounded complex-linear operators on HB=ℓ2(B;C)H_B=\ell^2(B;\mathbb C)HB​=ℓ2(B;C) such that ⟨u,Eku⟩\langle u,E_ku\rangle⟨u,Ek​u⟩ is real and nonnegative for every k,uk,uk,u, and ∑kEku=u\sum_kE_ku=u∑k​Ek​u=u in the sense of convergence of finite partial sums for every uuu. For any complex array XXX on ((A×B)×C)2((A\times B)\times C)^2((A×B)×C)2 and any k∈Kk\in Kk∈K, the definition returns YkY_kYk​ on (A×C)2(A\times C)^2(A×C)2 with

(Yk)(a,c),(a′,c′)=∑b∈B(Ek Xa,c;a′,c′^ eb)(b),Xi,ja,c;a′,c′=X((a,i),c),((a′,j),c′).(Y_k)_{(a,c),(a',c')} =\sum_{b\in B}\bigl(E_k\,\widehat{X^{a,c;a',c'}}\,e_b\bigr)(b), \qquad X^{a,c;a',c'}_{i,j}=X_{((a,i),c),((a',j),c')}.(Yk​)(a,c),(a′,c′)​=b∈B∑​(Ek​Xa,c;a′,c′eb​)(b),Xi,ja,c;a′,c′​=X((a,i),c),((a′,j),c′)​.

Here ebe_beb​ is the coordinate unit vector, and Z^\widehat ZZ is a chosen bounded operator satisfying (Z^ej)(i)=Zi,j(\widehat Z e_j)(i)=Z_{i,j}(Zej​)(i)=Zi,j​ if such an operator exists, and is the zero operator otherwise. No state, trace-class, or summability assumption is imposed on XXX. The final complex sum is total and equals 000 if nonsummable; it is also 000 for empty BBB. There is no countability assumption on the outcome type KKK.

QAlgorithms.Papers.Independent.Intakenext100.P02.conditionalHolevoA

For arbitrary types A,B,C,KA,B,C,KA,B,C,K, let EkE_kEk​ be bounded operators on HB=ℓ2(B;C)H_B=\ell^2(B;\mathbb C)HB​=ℓ2(B;C) whose quadratic forms are real and nonnegative and for which ∑kEku=u\sum_kE_ku=u∑k​Ek​u=u for every uuu, with convergence over finite partial sums. For any complex array XXX on ((A×B)×C)2((A\times B)\times C)^2((A×B)×C)2, put

RB(b,b′)=∑a∑cX((a,b),c),((a,b′),c),RA(a,a′)=∑b∑cX((a,b),c),((a′,b),c),R_B(b,b')=\sum_a\sum_cX_{((a,b),c),((a,b'),c)},\qquad R_A(a,a')=\sum_b\sum_cX_{((a,b),c),((a',b),c)},RB​(b,b′)=a∑​c∑​X((a,b),c),((a,b′),c)​,RA​(a,a′)=b∑​c∑​X((a,b),c),((a′,b),c)​,

and define YkY_kYk​ by

Yk((a,c),(a′,c′))=∑b(EkXa,c;a′,c′^eb)(b),Xi,ja,c;a′,c′=X((a,i),c),((a′,j),c′).Y_k((a,c),(a',c'))=\sum_b(E_k\widehat{X^{a,c;a',c'}}e_b)(b), \qquad X^{a,c;a',c'}_{i,j}=X_{((a,i),c),((a',j),c')}.Yk​((a,c),(a′,c′))=b∑​(Ek​Xa,c;a′,c′eb​)(b),Xi,ja,c;a′,c′​=X((a,i),c),((a′,j),c′)​.

For any array ZZZ, Z^\widehat ZZ is a chosen bounded operator with coordinate matrix ZZZ if one exists, and zero otherwise. Set wk=[Re⁡∑b(EkRB^eb)(b)]+∈[0,∞)w_k=[\operatorname{Re}\sum_b(E_k\widehat{R_B}e_b)(b)]_+\in[0,\infty)wk​=[Re∑b​(Ek​RB​​eb​)(b)]+​∈[0,∞). The defined value is

∑k∈Kwk≠0wk D ⁣(Tr⁡C((wkreal)−1Yk) ∥ RA)∈[0,∞],\sum_{\substack{k\in K\\w_k\ne0}} w_k\,D\!\left(\operatorname{Tr}_C\bigl((w_k^{\mathrm{real}})^{-1}Y_k\bigr)\,\middle\|\,R_A\right)\in[0,\infty],k∈Kwk​=0​∑​wk​D(TrC​((wkreal​)−1Yk​)​RA​)∈[0,∞],

where (Tr⁡CZ)a,a′=∑cZ(a,c),(a′,c)(\operatorname{Tr}_CZ)_{a,a'}=\sum_cZ_{(a,c),(a',c)}(TrC​Z)a,a′​=∑c​Z(a,c),(a′,c)​. Here D(U∥V)D(U\|V)D(U∥V) is the supremum over finite coordinate sets sss of +∞+\infty+∞ when ker⁡Vs⊈ker⁡Us\ker V_s\not\subseteq\ker U_skerVs​⊆kerUs​, and otherwise of

[Re⁡tr⁡(Uslog⁡Us−Uslog⁡Vs+Vs−Us)]+,\left[\operatorname{Re}\operatorname{tr} \bigl(U_s\log U_s-U_s\log V_s+V_s-U_s\bigr)\right]_+,[Retr(Us​logUs​−Us​logVs​+Vs​−Us​)]+​,

with logarithms defined by continuous functional calculus. No positivity, normalization, trace-class, or countability assumptions are imposed on XXX or the label types. All complex infinite sums are total, giving 000 if nonsummable. Zero weights are omitted; every retained weight is finite and positive, so its real reciprocal exists. The value is 000 if there are no retained outcomes.

QAlgorithms.Papers.Independent.Intakenext100.P02.conditionalInput

For arbitrary types A,R,KA,R,KA,R,K, let M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ be bounded complex-linear operators on ℓ2(R;C)\ell^2(R;\mathbb C)ℓ2(R;C) such that ⟨u,Mku⟩\langle u,M_k u\rangle⟨u,Mk​u⟩ is real and nonnegative for every k,uk,uk,u, and such that ∑k∈KMku=u\sum_{k\in K}M_k u=u∑k∈K​Mk​u=u in Hilbert-space norm for every uuu. Given any complex matrix XXX indexed by A×RA\times RA×R and any k∈Kk\in Kk∈K, the definition returns an A×AA\times AA×A matrix as follows. For each a,b∈Aa,b\in Aa,b∈A, form the R×RR\times RR×R matrix Yija,b=X(a,i),(b,j)Y^{a,b}_{ij}=X_{(a,i),(b,j)}Yija,b​=X(a,i),(b,j)​. Let BY\mathcal B_YBY​ be a chosen bounded operator having coefficients Yij=(BYej)iY_{ij}=(\mathcal B_Y e_j)_iYij​=(BY​ej​)i​, if one exists, and let BY=0\mathcal B_Y=0BY​=0 otherwise, where eje_jej​ is the standard coordinate vector. Then

(conditionalInput⁡(M,X,k))ab=∑i∈R(MkBYa,bei)i.\bigl(\operatorname{conditionalInput}(M,X,k)\bigr)_{ab} =\sum_{i\in R}\bigl(M_k\mathcal B_{Y^{a,b}}e_i\bigr)_i.(conditionalInput(M,X,k))ab​=i∈R∑​(Mk​BYa,b​ei​)i​.

Thus each entry is the specified coefficient trace of a composition. There are no countability assumptions and no positivity, normalization, trace-class, or representability hypothesis on XXX; the fallback operator and the total complex infinite sum are part of the definition, with a nonsummable complex series assigned value zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.constrainedInformationDeficit

For arbitrary types A,BA,BA,B, an arbitrary function Φ:CA×A→CB×B\Phi:\mathbb C^{A\times A}\to\mathbb C^{B\times B}Φ:CA×A→CB×B, and an arbitrary array R∈CA×AR\in\mathbb C^{A\times A}R∈CA×A, this defines

ΔR(Φ)=I(R,Φ)−χR(Φ)∈[0,∞].\Delta_R(\Phi)=I(R,\Phi)-\chi_R(\Phi)\in[0,\infty].ΔR​(Φ)=I(R,Φ)−χR​(Φ)∈[0,∞].

To specify these quantities, let D(X,Y)=sup⁡S finited(XS,YS)D(X,Y)=\sup_{S\text{ finite}}d(X_S,Y_S)D(X,Y)=supS finite​d(XS​,YS​), where XS,YSX_S,Y_SXS​,YS​ are finite coordinate restrictions and

d(U,V)={[Re⁡tr⁡(g(U)−Ulog⁡V+V−U)]+,ker⁡V⊆ker⁡U,+∞,otherwise,g(x)=xlog⁡x.d(U,V)= \begin{cases} \bigl[\operatorname{Re}\operatorname{tr}\bigl(g(U)-U\log V+V-U\bigr)\bigr]_+, &\ker V\subseteq\ker U,\\ +\infty,&\text{otherwise}, \end{cases} \qquad g(x)=x\log x.d(U,V)={[Retr(g(U)−UlogV+V−U)]+​,+∞,​kerV⊆kerU,otherwise,​g(x)=xlogx.

Here functions of matrices use the code’s functional calculus, and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) is embedded in [0,∞][0,\infty][0,∞]. A state SSS on a label type TTT is an array admitting Sij=∑nan(i)bn(j)‾S_{ij}=\sum_n a_n(i)\overline{b_n(j)}Sij​=∑n​an​(i)bn​(j)​ with an,bn∈ℓ2(T;C)a_n,b_n\in\ell^2(T;\mathbb C)an​,bn​∈ℓ2(T;C) and ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, having real nonnegative finite quadratic forms, and having summable real diagonal entries of sum 111. A pure state additionally has Sij=u(i)u(j)‾S_{ij}=u(i)\overline{u(j)}Sij​=u(i)u(j)​ for a unit vector u∈ℓ2(T;C)u\in\ell^2(T;\mathbb C)u∈ℓ2(T;C). The quantity I(R,Φ)I(R,\Phi)I(R,Φ) is the infimum over pure states PPP on A×AA\times AA×A with tr⁡2P=R\operatorname{tr}_2P=Rtr2​P=R of

D ⁣((Φ⊗id)(P), Φ(R)⊗tr⁡1P).D\!\left((\Phi\otimes\mathrm{id})(P),\,\Phi(R)\otimes\operatorname{tr}_1P\right).D((Φ⊗id)(P),Φ(R)⊗tr1​P).

Partial traces sum the repeated coordinate, tensor products multiply entries, and (Φ⊗id)(P)(b,r),(b′,s)=Φ((P(i,r),(j,s))ij)bb′(\Phi\otimes\mathrm{id})(P)_{(b,r),(b',s)}=\Phi((P_{(i,r),(j,s)})_{ij})_{bb'}(Φ⊗id)(P)(b,r),(b′,s)​=Φ((P(i,r),(j,s)​)ij​)bb′​. The quantity χR(Φ)\chi_R(\Phi)χR​(Φ) is the supremum over all sequences of states SnS_nSn​ and weights wn∈[0,∞]w_n\in[0,\infty]wn​∈[0,∞] satisfying

∑nwn=1,Rij=∑n(wn)R(Sn)ijfor every i,j,\sum_n w_n=1,\qquad R_{ij}=\sum_n (w_n)_{\mathbb R}(S_n)_{ij}\quad\text{for every }i,j,n∑​wn​=1,Rij​=n∑​(wn​)R​(Sn​)ij​for every i,j,

of ∑nwnD(Φ(Sn),Φ(R))\sum_n w_nD(\Phi(S_n),\Phi(R))∑n​wn​D(Φ(Sn​),Φ(R)), where (wn)R(w_n)_{\mathbb R}(wn​)R​ is the extended nonnegative real’s conversion to a real number. The subtraction defining ΔR\Delta_RΔR​ is truncated extended nonnegative subtraction, including +∞−(+∞)=0+\infty-(+\infty)=0+∞−(+∞)=0. Neither RRR being a state nor Φ\PhiΦ being a channel is required; no countability or nonemptiness assumptions occur. An empty purification family contributes infimum +∞+\infty+∞, an empty ensemble family contributes supremum 000, and zero-weight ensemble entries remain unrestricted states.

QAlgorithms.Papers.Independent.Intakenext100.P02.correctionG

For every real number xxx, this defines the real number

g(x)=(x+1)log⁡(x+1)−xlog⁡x.g(x)=(x+1)\log(x+1)-x\log x.g(x)=(x+1)log(x+1)−xlogx.

There is no nonnegativity assumption on xxx. The real logarithm is total: log⁡0=0\log 0=0log0=0, and for a nonzero real argument ttt, its value is log⁡∣t∣\log|t|log∣t∣. Thus the formula also applies at x=0x=0x=0, at x=−1x=-1x=−1, and for negative arguments; in particular, g(0)=g(−1)=0g(0)=g(-1)=0g(0)=g(−1)=0.

QAlgorithms.Papers.Independent.Intakenext100.P02.correlatedUniform

For every natural number ddd, this defines the complex matrix indexed by pairs from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} by

R(a,b),(c,e)(d)={d−1,a=c, b=e, a=b,0,otherwise.R^{(d)}_{(a,b),(c,e)} = \begin{cases} d^{-1},&a=c,\ b=e,\ a=b,\\ 0,&\text{otherwise}. \end{cases}R(a,b),(c,e)(d)​={d−1,0,​a=c, b=e, a=b,otherwise.​

Thus its only nonzero entries, when d>0d>0d>0, are the ddd diagonal entries at (a,a)(a,a)(a,a), each equal to 1/d1/d1/d. The definition includes d=0d=0d=0, where the matrix has an empty index set and no entries; inversion is total in C\mathbb CC, with 0−1=00^{-1}=00−1=0.

QAlgorithms.Papers.Independent.Intakenext100.P02.countableAverageCoefficients

For any type AAA, let eee consist of weights wn∈[0,∞]w_n\in[0,\infty]wn​∈[0,∞], indexed by all n∈Nn\in\mathbb Nn∈N, with ∑nwn=1\sum_n w_n=1∑n​wn​=1, and a state matrix ρn\rho_nρn​ on AAA for every nnn, including indices of weight zero. Here a state matrix XXX admits sequences um,vm∈ℓ2(A;C)u_m,v_m\in\ell^2(A;\mathbb C)um​,vm​∈ℓ2(A;C) with ∑m∥um∥∥vm∥<∞\sum_m\|u_m\|\|v_m\|<\infty∑m​∥um​∥∥vm​∥<∞ and Xij=∑mum(i)vm(j)‾X_{ij}=\sum_m u_m(i)\overline{v_m(j)}Xij​=∑m​um​(i)vm​(j)​; every finite quadratic sum ∑i,j∈szi‾Xijzj\sum_{i,j\in s}\overline{z_i}X_{ij}z_j∑i,j∈s​zi​​Xij​zj​ is real and nonnegative; and its real diagonal is summable with sum 111. The definition assigns to eee the matrix ρˉe\bar\rho_eρˉ​e​ given entrywise by

(ρˉe)ij=∑n=0∞wnreal(ρn)ij.(\bar\rho_e)_{ij}=\sum_{n=0}^{\infty}w_n^{\mathrm{real}}(\rho_n)_{ij}.(ρˉ​e​)ij​=n=0∑∞​wnreal​(ρn​)ij​.

The weights are converted to real numbers and then to complex scalars; their total mass condition excludes infinite individual weights. The complex series uses the total infinite-sum operation, whose value is zero when a series is not summable. No countability or nonemptiness assumption on AAA is a separate argument; if AAA is empty, no such ensemble of states exists.

QAlgorithms.Papers.Independent.Intakenext100.P02.countableOutputHolevo

For arbitrary types A,BA,BA,B, any function Φ\PhiΦ from complex A×AA\times AA×A matrices to complex B×BB\times BB×B matrices, and a countable ensemble e=(wn,ρn)n∈Ne=(w_n,\rho_n)_{n\in\mathbb N}e=(wn​,ρn​)n∈N​, the definition assigns

HΦ(e)=∑n=0∞wn D ⁣(Φ(ρn),Φ(ρˉe))∈[0,∞],(ρˉe)ij=∑nwnreal(ρn)ij.H_\Phi(e)=\sum_{n=0}^{\infty}w_n\,D\!\left(\Phi(\rho_n),\Phi(\bar\rho_e)\right)\in[0,\infty], \qquad (\bar\rho_e)_{ij}=\sum_n w_n^{\mathrm{real}}(\rho_n)_{ij}.HΦ​(e)=n=0∑∞​wn​D(Φ(ρn​),Φ(ρˉ​e​))∈[0,∞],(ρˉ​e​)ij​=n∑​wnreal​(ρn​)ij​.

The weights belong to [0,∞][0,\infty][0,∞] and sum to 111, and every ρn\rho_nρn​ is a state: it admits a countable expansion Xij=∑mum(i)vm(j)‾X_{ij}=\sum_m u_m(i)\overline{v_m(j)}Xij​=∑m​um​(i)vm​(j)​ with um,vm∈ℓ2(A;C)u_m,v_m\in\ell^2(A;\mathbb C)um​,vm​∈ℓ2(A;C) and ∑m∥um∥∥vm∥<∞\sum_m\|u_m\|\|v_m\|<\infty∑m​∥um​∥∥vm​∥<∞, has real nonnegative quadratic forms on every finite coordinate set, and has summable real diagonal of sum 111. To define D(X,Y)D(X,Y)D(X,Y), for each finite coordinate set s⊆Bs\subseteq Bs⊆B, restrict both matrices to s×ss\times ss×s. If ker⁡Ys⊆ker⁡Xs\ker Y_s\subseteq\ker X_skerYs​⊆kerXs​, the corresponding value is

[Re⁡tr⁡(Xslog⁡fcXs−Xslog⁡fcYs+Ys−Xs)]+;\left[\operatorname{Re}\operatorname{tr} \left(X_s\log_{\mathrm{fc}}X_s-X_s\log_{\mathrm{fc}}Y_s+Y_s-X_s\right)\right]_+;[Retr(Xs​logfc​Xs​−Xs​logfc​Ys​+Ys​−Xs​)]+​;

otherwise it is +∞+\infty+∞. Here log⁡fc\log_{\mathrm{fc}}logfc​ is the total continuous functional calculus for the real logarithm, and [r]+[r]_+[r]+​ means max⁡(r,0)\max(r,0)max(r,0), regarded as an extended nonnegative real. Then D(X,Y)D(X,Y)D(X,Y) is the supremum of these values over all finite sss, including the empty set. The definition requires no linearity, positivity, or channel property of Φ\PhiΦ. All sums are total; in particular, zero-weight terms contribute zero even when their relative-entropy factor is infinite.

QAlgorithms.Papers.Independent.Intakenext100.P02.cqCoefficients

For arbitrary types A,BA,BA,B, a Hilbert basis (bi)i∈B(b_i)_{i\in B}(bi​)i∈B​ of ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C), an arbitrary real function w:B→Rw:B\to\mathbb Rw:B→R, and a family (ρi)i∈B(\rho_i)_{i\in B}(ρi​)i∈B​ of states on AAA, this definition gives the complex matrix on A×BA\times BA×B with entries

X(a,b),(a′,b′)=∑i∈Bwi(ρi)aa′ bi(b)bi(b′)‾.X_{(a,b),(a',b')}=\sum_{i\in B}w_i(\rho_i)_{aa'}\,b_i(b)\overline{b_i(b')}.X(a,b),(a′,b′)​=i∈B∑​wi​(ρi​)aa′​bi​(b)bi​(b′)​.

Here a state ρi\rho_iρi​ is a matrix admitting an expansion (ρi)aa′=∑nun(a)vn(a′)‾(\rho_i)_{aa'}=\sum_nu_n(a)\overline{v_n(a')}(ρi​)aa′​=∑n​un​(a)vn​(a′)​ with un,vn∈ℓ2(A;C)u_n,v_n\in\ell^2(A;\mathbb C)un​,vn​∈ℓ2(A;C) and summable ∥un∥∥vn∥\|u_n\|\|v_n\|∥un​∥∥vn​∥, having real nonnegative quadratic forms on every finite principal coordinate set, and having summable real diagonal entries with sum 111. The basis is orthonormal and complete. There is no countability assumption on either type and no sign, summability, or normalization assumption on www. The displayed complex sum is the total infinite-sum operation, which returns 000 when its summand family is not summable; for empty BBB it is the empty sum. The definition itself makes no assertion that XXX is a state.

QAlgorithms.Papers.Independent.Intakenext100.P02.diagonalPure

For every natural ddd and every i∈{0,…,d−1}i\in\{0,\ldots,d-1\}i∈{0,…,d−1}, this defines the complex matrix

P(a,b),(c,e)(i)={1,(a,b)=(i,i) and (c,e)=(i,i),0,otherwise.P^{(i)}_{(a,b),(c,e)} = \begin{cases} 1,&(a,b)=(i,i)\ \text{and }(c,e)=(i,i),\\ 0,&\text{otherwise}. \end{cases}P(a,b),(c,e)(i)​={1,0,​(a,b)=(i,i) and (c,e)=(i,i),otherwise.​

There is no choice of the argument iii when d=0d=0d=0; for d>0d>0d>0, the matrix has exactly one nonzero entry.

QAlgorithms.Papers.Independent.Intakenext100.P02.discordM

For arbitrary types A,B,KA,B,KA,B,K, a family M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u in norm for every uuu, and any complex array XXX on (A×B)2(A\times B)^2(A×B)2, this defines

D(X,XA⊗XB)−D(Z,ZA⊗ZK)∈[0,∞].D(X,X_A\otimes X_B)-D(Z,Z_A\otimes Z_K)\in[0,\infty].D(X,XA​⊗XB​)−D(Z,ZA​⊗ZK​)∈[0,∞].

Here (XA)aa′=∑bX(a,b),(a′,b)(X_A)_{aa'}=\sum_bX_{(a,b),(a',b)}(XA​)aa′​=∑b​X(a,b),(a′,b)​, (XB)bb′=∑aX(a,b),(a,b′)(X_B)_{bb'}=\sum_aX_{(a,b),(a,b')}(XB​)bb′​=∑a​X(a,b),(a,b′)​, and

Z(a,k),(a′,l)={∑b(MkXa,a′^eb)b,k=l,0,k≠l,Xbb′a,a′=X(a,b),(a′,b′),Z_{(a,k),(a',l)}= \begin{cases} \displaystyle\sum_b(M_k\widehat{X^{a,a'}}e_b)_b,&k=l,\\ 0,&k\ne l, \end{cases} \qquad X^{a,a'}_{bb'}=X_{(a,b),(a',b')},Z(a,k),(a′,l)​=⎩⎨⎧​b∑​(Mk​Xa,a′eb​)b​,0,​k=l,k=l,​Xbb′a,a′​=X(a,b),(a′,b′)​,

with (ZA)aa′=∑kZ(a,k),(a′,k)(Z_A)_{aa'}=\sum_kZ_{(a,k),(a',k)}(ZA​)aa′​=∑k​Z(a,k),(a′,k)​ and (ZK)kl=∑aZ(a,k),(a,l)(Z_K)_{kl}=\sum_aZ_{(a,k),(a,l)}(ZK​)kl​=∑a​Z(a,k),(a,l)​. The operator Y^\widehat YY is a chosen bounded operator realizing the coordinates YYY, or zero if none exists; ebe_beb​ is the coordinate unit vector, and products of arrays multiply the respective entries. For any common-index arrays U,VU,VU,V, D(U,V)D(U,V)D(U,V) is the supremum over finite coordinate subsets FFF of max⁡{0,Re⁡tr⁡(UFlog⁡UF−UFlog⁡VF+VF−UF)}\max\{0,\operatorname{Re}\operatorname{tr}(U_F\log U_F-U_F\log V_F+V_F-U_F)\}max{0,Retr(UF​logUF​−UF​logVF​+VF​−UF​)} if ker⁡VF⊆ker⁡UF\ker V_F\subseteq\ker U_FkerVF​⊆kerUF​, and ∞\infty∞ otherwise, using continuous functional calculus. Subtraction is truncated subtraction of extended nonnegative reals, so a larger subtrahend gives zero and ∞−∞=0\infty-\infty=0∞−∞=0. No density or trace-class assumption is made on XXX, and nonsummable total sums are zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.discreteBornWeight

For arbitrary types B,KB,KB,K, a family M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and ∑kMku=u\sum_k M_ku=u∑k​Mk​u=u in norm for every uuu, an arbitrary complex array XXX indexed by B×BB\times BB×B, and k∈Kk\in Kk∈K, this defines the extended nonnegative real number

max⁡{0,Re⁡∑i∈B(MkX^ei)i},\max\left\{0,\operatorname{Re}\sum_{i\in B}(M_k\widehat X e_i)_i\right\},max{0,Rei∈B∑​(Mk​Xei​)i​},

where eie_iei​ is the coordinate unit vector and X^\widehat XX is a chosen bounded complex-linear operator with (X^ej)i=Xij(\widehat X e_j)_i=X_{ij}(Xej​)i​=Xij​, if such an operator exists, and is zero otherwise. The sum is the total Hilbert-independent complex sum, which is assigned zero when the summand family is not summable. No positivity, normalization, trace-class, or bounded-operator realization hypothesis is imposed on XXX; in particular, the definition returns zero when no bounded operator realizes XXX.

QAlgorithms.Papers.Independent.Intakenext100.P02.discreteClassicalCorrelation

For arbitrary types A,BA,BA,B and any complex array XXX on (A×B)2(A\times B)^2(A×B)2, this defines the supremum in [0,∞][0,\infty][0,∞] over every countable type KKK and every family M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and norm-convergent summation ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u for every uuu, of the quantity D(Z,ZA⊗ZK)D(Z,Z_A\otimes Z_K)D(Z,ZA​⊗ZK​). In this expression,

Z(a,k),(a′,l)={∑b(MkXa,a′^eb)b,k=l,0,k≠l,Xbb′a,a′=X(a,b),(a′,b′),(ZA)aa′=∑kZ(a,k),(a′,k),(ZK)kl=∑aZ(a,k),(a,l).Z_{(a,k),(a',l)} =\begin{cases} \displaystyle\sum_b(M_k\widehat{X^{a,a'}}e_b)_b,&k=l,\\ 0,&k\ne l, \end{cases} \quad X^{a,a'}_{bb'}=X_{(a,b),(a',b')}, \quad (Z_A)_{aa'}=\sum_kZ_{(a,k),(a',k)}, \quad (Z_K)_{kl}=\sum_aZ_{(a,k),(a,l)}.Z(a,k),(a′,l)​=⎩⎨⎧​b∑​(Mk​Xa,a′eb​)b​,0,​k=l,k=l,​Xbb′a,a′​=X(a,b),(a′,b′)​,(ZA​)aa′​=k∑​Z(a,k),(a′,k)​,(ZK​)kl​=a∑​Z(a,k),(a,l)​.

The operator Y^\widehat YY is a chosen bounded operator with coordinate matrix YYY, or zero if none exists, and ebe_beb​ is the coordinate unit vector; product arrays have entries (U⊗V)(a,k),(a′,l)=Uaa′Vkl(U\otimes V)_{(a,k),(a',l)}=U_{aa'}V_{kl}(U⊗V)(a,k),(a′,l)​=Uaa′​Vkl​. The function D(U,V)D(U,V)D(U,V) is the supremum over finite coordinate subsets FFF of max⁡{0,Re⁡tr⁡(UFlog⁡UF−UFlog⁡VF+VF−UF)}\max\{0,\operatorname{Re}\operatorname{tr}(U_F\log U_F-U_F\log V_F+V_F-U_F)\}max{0,Retr(UF​logUF​−UF​logVF​+VF​−UF​)} when ker⁡VF⊆ker⁡UF\ker V_F\subseteq\ker U_FkerVF​⊆kerUF​, and of ∞\infty∞ otherwise, with matrix logarithms defined by continuous functional calculus. Countable KKK includes finite and empty types; an empty outcome family can satisfy completeness only when ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) is zero. The array XXX has no density or trace-class hypothesis, and nonsummable total sums are zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.discreteOptimizedDiscord

For arbitrary types A,BA,BA,B and an arbitrary complex array XXX on (A×B)2(A\times B)^2(A×B)2, this defines

D(X,XA⊗XB)−sup⁡K countableMD(ZM,ZAM⊗ZKM)∈[0,∞],D(X,X_A\otimes X_B) -\sup_{\substack{K\text{ countable}\\ M}}D(Z^M,Z^M_A\otimes Z^M_K)\in[0,\infty],D(X,XA​⊗XB​)−K countableM​sup​D(ZM,ZAM​⊗ZKM​)∈[0,∞],

where (XA)aa′=∑bX(a,b),(a′,b)(X_A)_{aa'}=\sum_bX_{(a,b),(a',b)}(XA​)aa′​=∑b​X(a,b),(a′,b)​ and (XB)bb′=∑aX(a,b),(a,b′)(X_B)_{bb'}=\sum_aX_{(a,b),(a,b')}(XB​)bb′​=∑a​X(a,b),(a,b′)​. For each countable type KKK, the supremum ranges over bounded complex-linear operators MkM_kMk​ on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) such that ⟨u,Mku⟩\langle u,M_ku\rangle⟨u,Mk​u⟩ is real and nonnegative and ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u in norm for every uuu; the associated array is

Z(a,k),(a′,l)M={∑b(MkXa,a′^eb)b,k=l,0,k≠l,Xbb′a,a′=X(a,b),(a′,b′).Z^M_{(a,k),(a',l)} =\begin{cases} \displaystyle\sum_b(M_k\widehat{X^{a,a'}}e_b)_b,&k=l,\\ 0,&k\ne l, \end{cases} \qquad X^{a,a'}_{bb'}=X_{(a,b),(a',b')}.Z(a,k),(a′,l)M​=⎩⎨⎧​b∑​(Mk​Xa,a′eb​)b​,0,​k=l,k=l,​Xbb′a,a′​=X(a,b),(a′,b′)​.

Its marginals are (ZAM)aa′=∑kZ(a,k),(a′,k)M(Z^M_A)_{aa'}=\sum_kZ^M_{(a,k),(a',k)}(ZAM​)aa′​=∑k​Z(a,k),(a′,k)M​ and (ZKM)kl=∑aZ(a,k),(a,l)M(Z^M_K)_{kl}=\sum_aZ^M_{(a,k),(a,l)}(ZKM​)kl​=∑a​Z(a,k),(a,l)M​. Here Y^\widehat YY is a chosen bounded operator with coordinate matrix YYY, or zero if none exists, ebe_beb​ is the coordinate unit vector, and products of arrays multiply the respective entries. The function D(U,V)D(U,V)D(U,V) is the supremum over finite coordinate subsets FFF of max⁡{0,Re⁡tr⁡(UFlog⁡UF−UFlog⁡VF+VF−UF)}\max\{0,\operatorname{Re}\operatorname{tr}(U_F\log U_F-U_F\log V_F+V_F-U_F)\}max{0,Retr(UF​logUF​−UF​logVF​+VF​−UF​)} when ker⁡VF⊆ker⁡UF\ker V_F\subseteq\ker U_FkerVF​⊆kerUF​, and ∞\infty∞ otherwise, with matrix logarithms given by continuous functional calculus. The subtraction is truncated extended nonnegative subtraction, including ∞−∞=0\infty-\infty=0∞−∞=0. No positivity, normalization, or trace-class condition is imposed on XXX; nonsummable total sums are zero, and the outcome types include finite and empty types whenever the required operator family exists.

QAlgorithms.Papers.Independent.Intakenext100.P02.discreteOutcomeChannel

For arbitrary types B,KB,KB,K, let M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ be bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and norm-convergent summation ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u for every uuu. For every complex array XXX indexed by B×BB\times BB×B, this defines the complex array on K×KK\times KK×K

ΦM(X)ij={∑b∈B(MiX^eb)b,i=j,0,i≠j.\Phi_M(X)_{ij}= \begin{cases} \displaystyle\sum_{b\in B}(M_i\widehat X e_b)_b,&i=j,\\ 0,&i\ne j. \end{cases}ΦM​(X)ij​=⎩⎨⎧​b∈B∑​(Mi​Xeb​)b​,0,​i=j,i=j.​

Here ebe_beb​ is the coordinate unit vector, and X^\widehat XX is a chosen bounded complex-linear operator with coordinate matrix XXX if one exists, and zero otherwise. A nonsummable complex summand family has total sum zero. The diagonal entries retain their full complex values; XXX is arbitrary, and no density or trace-class assumption is made.

QAlgorithms.Papers.Independent.Intakenext100.P02.energyEnvelope

For any label type III, any positive observable HHH, and any real EEE, this defines

FH(E)=sup⁡ρ a state on IEH(ρ)≤[E]+S(ρ)∈[0,∞],\mathcal F_H(E)= \sup_{\substack{\rho\text{ a state on }I\\ \mathcal E_H(\rho)\le [E]_+}} S(\rho)\in[0,\infty],FH​(E)=ρ a state on IEH​(ρ)≤[E]+​​sup​S(ρ)∈[0,∞],

where

EH(X)=sup⁡n∈N, u1,…,un∈ℓ2(I;C)X−∑k=1nukuk∗ has real nonnegative finite quadratic forms∑k=1nH(uk),S(X)=sup⁡s⊆I finite[tslog⁡ts−Re⁡tr⁡(Xslog⁡Xs)]+,ts=Re⁡tr⁡Xs.\mathcal E_H(X)= \sup_{\substack{n\in\mathbb N,\ u_1,\ldots,u_n\in\ell^2(I;\mathbb C)\\ X-\sum_{k=1}^n u_ku_k^*\text{ has real nonnegative finite quadratic forms}}} \sum_{k=1}^n H(u_k), \qquad S(X)=\sup_{s\subseteq I\text{ finite}} \left[ t_s\log t_s-\operatorname{Re}\operatorname{tr}(X_s\log X_s) \right]_+, \quad t_s=\operatorname{Re}\operatorname{tr}X_s.EH​(X)=n∈N, u1​,…,un​∈ℓ2(I;C)X−∑k=1n​uk​uk∗​ has real nonnegative finite quadratic forms​sup​k=1∑n​H(uk​),S(X)=s⊆I finitesup​[ts​logts​−Retr(Xs​logXs​)]+​,ts​=RetrXs​.

Here Xs=(Xij)i,j∈sX_s=(X_{ij})_{i,j\in s}Xs​=(Xij​)i,j∈s​, logarithms use continuous functional calculus, [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) embedded in [0,∞][0,\infty][0,∞], and ukuk∗u_ku_k^*uk​uk∗​ has entries uk(i)uk(j)‾u_k(i)\overline{u_k(j)}uk​(i)uk​(j)​. Having real nonnegative finite quadratic forms means that ∑i,j∈szi‾Xijzj\sum_{i,j\in s}\overline{z_i}X_{ij}z_j∑i,j∈s​zi​​Xij​zj​ is real and nonnegative for every finite sss and every z:I→Cz:I\to\mathbb Cz:I→C. A state is a matrix with this positivity property, a summable real diagonal of sum 111, and a nuclear expansion Xij=∑nan(i)bn(j)‾X_{ij}=\sum_n a_n(i)\overline{b_n(j)}Xij​=∑n​an​(i)bn​(j)​ with an,bn∈ℓ2(I;C)a_n,b_n\in\ell^2(I;\mathbb C)an​,bn​∈ℓ2(I;C) and ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞. The positive observable HHH is a lower semicontinuous [0,∞][0,\infty][0,∞]-valued form satisfying H(0)=0H(0)=0H(0)=0, H(cu)=∣c∣2H(u)H(cu)=|c|^2H(u)H(cu)=∣c∣2H(u), the parallelogram identity, and density of its finite-valued domain. Neither countability nor nonemptiness of III, nor nonnegativity of EEE, is assumed: negative EEE gives the constraint EH(ρ)≤0\mathcal E_H(\rho)\le0EH​(ρ)≤0, and an empty feasible set gives supremum 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.ensembleInformationDeficit

For arbitrary types A,BA,BA,B, an arbitrary function Φ:CA×A→CB×B\Phi:\mathbb C^{A\times A}\to\mathbb C^{B\times B}Φ:CA×A→CB×B, and a probability measure μ\muμ on the space of states on ℓ2(A;C)\ell^2(A;\mathbb C)ℓ2(A;C), this defines

Δμ(Φ)=I(ρˉμ,Φ)−χΦ(μ)∈[0,∞].\Delta_\mu(\Phi)=I(\bar\rho_\mu,\Phi)-\chi_\Phi(\mu)\in[0,\infty].Δμ​(Φ)=I(ρˉ​μ​,Φ)−χΦ​(μ)∈[0,∞].

Here a state is an array RRR admitting a representation Rij=∑nan(i)bn(j)‾R_{ij}=\sum_n a_n(i)\overline{b_n(j)}Rij​=∑n​an​(i)bn​(j)​, with an,bn∈ℓ2a_n,b_n\in\ell^2an​,bn​∈ℓ2 and ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, whose every finite quadratic form is real and nonnegative, and for which ∑iRe⁡Rii\sum_i\operatorname{Re}R_{ii}∑i​ReRii​ is summable and equals 111. The state topology is generated by balls τ(S−R)<ε\tau(S-R)<\varepsilonτ(S−R)<ε, where τ(X)\tau(X)τ(X) is the infimum of ∑n∥an∥∥bn∥\sum_n\|a_n\|\|b_n\|∑n​∥an​∥∥bn​∥ over such representations of XXX, with value +∞+\infty+∞ if none exists; the measure uses the Borel measurable space of this topology. Its average is the coordinatewise integral (ρˉμ)ij=∫Rij dμ(R)(\bar\rho_\mu)_{ij}=\int R_{ij}\,d\mu(R)(ρˉ​μ​)ij​=∫Rij​dμ(R). For an array XXX on a label type TTT and an arbitrary array map FFF, I(X,F)I(X,F)I(X,F) is the infimum, over pure states P=uu∗P=uu^*P=uu∗ on T×TT\times TT×T with ∥u∥=1\|u\|=1∥u∥=1 and tr⁡2P=X\operatorname{tr}_2P=Xtr2​P=X, of

D1 ⁣((F⊗id)(P), F(X)⊗tr⁡1P).D_1\!\left((F\otimes\mathrm{id})(P),\,F(X)\otimes\operatorname{tr}_1P\right).D1​((F⊗id)(P),F(X)⊗tr1​P).

The partial traces are coordinatewise sums, (tr⁡2P)ij=∑rP(i,r),(j,r)(\operatorname{tr}_2P)_{ij}=\sum_rP_{(i,r),(j,r)}(tr2​P)ij​=∑r​P(i,r),(j,r)​ and (tr⁡1P)ij=∑rP(r,i),(r,j)(\operatorname{tr}_1P)_{ij}=\sum_rP_{(r,i),(r,j)}(tr1​P)ij​=∑r​P(r,i),(r,j)​; products have entries (Y⊗Z)(i,r),(j,s)=YijZrs(Y\otimes Z)_{(i,r),(j,s)}=Y_{ij}Z_{rs}(Y⊗Z)(i,r),(j,s)​=Yij​Zrs​, and (F⊗id)(P)(b,r),(b′,s)=F((P(i,r),(j,s))ij)bb′(F\otimes\mathrm{id})(P)_{(b,r),(b',s)}=F((P_{(i,r),(j,s)})_{ij})_{bb'}(F⊗id)(P)(b,r),(b′,s)​=F((P(i,r),(j,s)​)ij​)bb′​. Writing YSY_SYS​ for restriction to a finite coordinate set SSS, the two relative-entropy expressions used here are

D1(Y,Z)=sup⁡S finited1(YS,ZS),D2(Y,Z)=sup⁡S finited2(YS,ZS),D_1(Y,Z)=\sup_{S\text{ finite}}d_1(Y_S,Z_S),\qquad D_2(Y,Z)=\sup_{S\text{ finite}}d_2(Y_S,Z_S),D1​(Y,Z)=S finitesup​d1​(YS​,ZS​),D2​(Y,Z)=S finitesup​d2​(YS​,ZS​),

where both finite expressions are +∞+\infty+∞ unless ker⁡ZS⊆ker⁡YS\ker Z_S\subseteq\ker Y_SkerZS​⊆kerYS​, and otherwise

d1(U,V)=[Re⁡tr⁡(g(U)−Ulog⁡V+V−U)]+,d2(U,V)=[Re⁡tr⁡(Ulog⁡U−Ulog⁡V+V−U)]+,d_1(U,V)=\Bigl[\operatorname{Re}\operatorname{tr} \bigl(g(U)-U\log V+V-U\bigr)\Bigr]_+,\qquad d_2(U,V)=\Bigl[\operatorname{Re}\operatorname{tr} \bigl(U\log U-U\log V+V-U\bigr)\Bigr]_+,d1​(U,V)=[Retr(g(U)−UlogV+V−U)]+​,d2​(U,V)=[Retr(UlogU−UlogV+V−U)]+​,

with g(x)=xlog⁡xg(x)=x\log xg(x)=xlogx, functional calculus interpreted as in the code, and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0), regarded as an extended nonnegative real. The Holevo expression is

χΦ(μ)=∫D2(Φ(R),Φ(ρˉμ)) dμ(R).\chi_\Phi(\mu)=\int D_2\bigl(\Phi(R),\Phi(\bar\rho_\mu)\bigr)\,d\mu(R).χΦ​(μ)=∫D2​(Φ(R),Φ(ρˉ​μ​))dμ(R).

The final subtraction is truncated subtraction in [0,∞][0,\infty][0,∞]: it is 000 when the subtrahend is at least the minuend, including +∞−(+∞)=0+\infty-(+\infty)=0+∞−(+∞)=0. No countability, nonemptiness, channel property of Φ\PhiΦ, or finiteness of either information quantity is assumed; an empty purification family gives I=+∞I=+\inftyI=+∞, and finite coordinate sets include the empty set.

QAlgorithms.Papers.Independent.Intakenext100.P02.entangledCoeff

For any finite label type AAA and any two orthonormal Hilbert bases b=(bk)k∈Ab=(b_k)_{k\in A}b=(bk​)k∈A​ and c=(ck)k∈Ac=(c_k)_{k\in A}c=(ck​)k∈A​ of ℓ2(A;C)\ell^2(A;\mathbb C)ℓ2(A;C), this defines a complex matrix PPP on A×AA\times AA×A by

P(a,a′),(b,b′)=(∣A∣:C)−1∑k∈A∑j∈Abk(a)bj(b)‾ ck(a′)cj(b′)‾.P_{(a,a'),(b,b')} =(|A|:\mathbb C)^{-1} \sum_{k\in A}\sum_{j\in A} b_k(a)\overline{b_j(b)}\,c_k(a')\overline{c_j(b')}.P(a,a′),(b,b′)​=(∣A∣:C)−1k∈A∑​j∈A∑​bk​(a)bj​(b)​ck​(a′)cj​(b′)​.

The two summation indices are independent. No nonemptiness assumption is made; for empty AAA, the sums are empty, the inverse of 000 is 000, and the result is the unique matrix on the empty index type.

QAlgorithms.Papers.Independent.Intakenext100.P02.entropyReduction

For arbitrary types B,KB,KB,K, a family M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) with ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u in norm for every uuu, and an arbitrary complex array XXX on B×BB\times BB×B, this defines I(X,ΦM)∈[0,∞]\mathcal I(X,\Phi_M)\in[0,\infty]I(X,ΦM​)∈[0,∞], where ΦM(Y)\Phi_M(Y)ΦM​(Y) is diagonal with kkk-th diagonal entry ∑b(MkY^eb)b\sum_b(M_k\widehat Y e_b)_b∑b​(Mk​Yeb​)b​. Here Y^\widehat YY is a chosen bounded operator with coordinate matrix YYY, or zero if none exists. Explicitly,

I(X,ΦM)=inf⁡PD ⁣(TΦMP, ΦM(X)⊗RP),(TΦP)(k,r),(l,s)=Φ ⁣((P(b,r),(c,s))b,c∈B)kl,(RP)rs=∑bP(b,r),(b,s).\mathcal I(X,\Phi_M) =\inf_P D\!\left(T_{\Phi_M}P,\ \Phi_M(X)\otimes R_P\right), \quad (T_\Phi P)_{(k,r),(l,s)} =\Phi\!\left((P_{(b,r),(c,s)})_{b,c\in B}\right)_{kl}, \quad (R_P)_{rs}=\sum_bP_{(b,r),(b,s)}.I(X,ΦM​)=Pinf​D(TΦM​​P, ΦM​(X)⊗RP​),(TΦ​P)(k,r),(l,s)​=Φ((P(b,r),(c,s)​)b,c∈B​)kl​,(RP​)rs​=b∑​P(b,r),(b,s)​.

The infimum ranges over pure states PPP on B×BB\times BB×B satisfying ∑rP(b,r),(c,r)=Xbc\sum_rP_{(b,r),(c,r)}=X_{bc}∑r​P(b,r),(c,r)​=Xbc​. A pure state here has Ppq=upuq‾P_{pq}=u_p\overline{u_q}Ppq​=up​uq​​ for some unit u∈ℓ2(B×B;C)u\in\ell^2(B\times B;\mathbb C)u∈ℓ2(B×B;C), and is a density array: it admits an expansion Ppq=∑nan,pbn,q‾P_{pq}=\sum_n a_{n,p}\overline{b_{n,q}}Ppq​=∑n​an,p​bn,q​​ with an,bn∈ℓ2(B×B;C)a_n,b_n\in\ell^2(B\times B;\mathbb C)an​,bn​∈ℓ2(B×B;C) and ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, every finite quadratic form is real and nonnegative, and its real diagonal is summable with sum one. Products of arrays mean (U⊗V)(i,r),(j,s)=UijVrs(U\otimes V)_{(i,r),(j,s)}=U_{ij}V_{rs}(U⊗V)(i,r),(j,s)​=Uij​Vrs​. For arrays U,VU,VU,V on any common index type,

D(U,V)=sup⁡F finited(UF,VF),d(C,D)={max⁡ ⁣{0,Re⁡tr⁡(f(C)−Clog⁡D+D−C)},ker⁡D⊆ker⁡C,∞,otherwise,D(U,V)=\sup_{F\text{ finite}}d(U_F,V_F),\qquad d(C,D)= \begin{cases} \max\!\left\{0,\operatorname{Re}\operatorname{tr} \bigl(f(C)-C\log D+D-C\bigr)\right\}, &\ker D\subseteq\ker C,\\ \infty,&\text{otherwise}, \end{cases}D(U,V)=F finitesup​d(UF​,VF​),d(C,D)={max{0,Retr(f(C)−ClogD+D−C)},∞,​kerD⊆kerC,otherwise,​

where UF,VFU_F,V_FUF​,VF​ are coordinate compressions, f(t)=tlog⁡tf(t)=t\log tf(t)=tlogt, and matrix functions use continuous functional calculus. The infimum is ∞\infty∞ when there is no such purification. No density assumption is imposed on XXX; all infinite sums are total sums, assigned zero when nonsummable.

QAlgorithms.Papers.Independent.Intakenext100.P02.extendedDiscordM

For arbitrary types A,B,KA,B,KA,B,K, let M=(Ek)k∈KM=(E_k)_{k\in K}M=(Ek​)k∈K​ be bounded operators on HB=ℓ2(B;C)H_B=\ell^2(B;\mathbb C)HB​=ℓ2(B;C) with real nonnegative quadratic forms and ∑kEku=u\sum_kE_ku=u∑k​Ek​u=u for every uuu, with convergence over finite partial sums, and let XXX be any complex array on (A×B)2(A\times B)^2(A×B)2. This definition returns

sup⁡Φ[Q(YΦ)−Q((id⊗M)YΦ)],YΦ=(Φ⊗id)X,\sup_{\Phi}\left[ Q(Y_\Phi)-Q\bigl((\mathrm{id}\otimes\mathcal M)Y_\Phi\bigr) \right], \qquad Y_\Phi=(\Phi\otimes\mathrm{id})X,Φsup​[Q(YΦ​)−Q((id⊗M)YΦ​)],YΦ​=(Φ⊗id)X,

where the subtraction is in [0,∞][0,\infty][0,∞], truncated at zero, including ∞−∞=0\infty-\infty=0∞−∞=0. The supremum ranges over maps Φ:A2-arrays→A2-arrays\Phi:A^2\text{-arrays}\to A^2\text{-arrays}Φ:A2-arrays→A2-arrays that preserve trace class, are complex linear on trace class, send density arrays to density arrays under every finite amplification, and have finite-dimensional closed span of all ranges Φ(R)^HA\widehat{\Phi(R)}H_AΦ(R)​HA​ as RRR ranges over input density arrays. Here HA=ℓ2(A;C)H_A=\ell^2(A;\mathbb C)HA​=ℓ2(A;C); trace class means an expansion Ri,j=∑nun(i)vn(j)‾R_{i,j}=\sum_nu_n(i)\overline{v_n(j)}Ri,j​=∑n​un​(i)vn​(j)​ with square-summable vectors and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; density additionally means real nonnegative finite quadratic forms and summable real diagonal of sum 111. For any array ZZZ, Z^\widehat ZZ is a chosen bounded operator with coordinate matrix ZZZ, or zero if none exists. The measurement map is

M(Z)k,l={∑b(EkZ^eb)(b),k=l,0,k≠l,\mathcal M(Z)_{k,l} =\begin{cases}\sum_b(E_k\widehat Z e_b)(b),&k=l,\\0,&k\ne l,\end{cases}M(Z)k,l​={∑b​(Ek​Zeb​)(b),0,​k=l,k=l,​

and Q(Z)=D(Z∥Z1⊗Z2)Q(Z)=D(Z\|Z_1\otimes Z_2)Q(Z)=D(Z∥Z1​⊗Z2​), where (Z1)i,j=∑rZ(i,r),(j,r)(Z_1)_{i,j}=\sum_rZ_{(i,r),(j,r)}(Z1​)i,j​=∑r​Z(i,r),(j,r)​, (Z2)r,s=∑iZ(i,r),(i,s)(Z_2)_{r,s}=\sum_iZ_{(i,r),(i,s)}(Z2​)r,s​=∑i​Z(i,r),(i,s)​, and (U⊗V)(i,r),(j,s)=Ui,jVr,s(U\otimes V)_{(i,r),(j,s)}=U_{i,j}V_{r,s}(U⊗V)(i,r),(j,s)​=Ui,j​Vr,s​. The quantity D(U∥V)D(U\|V)D(U∥V) is the supremum over finite coordinate compressions Us,VsU_s,V_sUs​,Vs​, assigning +∞+\infty+∞ if ker⁡Vs⊈ker⁡Us\ker V_s\not\subseteq\ker U_skerVs​⊆kerUs​, and otherwise assigning [Re⁡tr⁡(Uslog⁡Us−Uslog⁡Vs+Vs−Us)]+[\operatorname{Re}\operatorname{tr}(U_s\log U_s-U_s\log V_s+V_s-U_s)]_+[Retr(Us​logUs​−Us​logVs​+Vs​−Us​)]+​, using continuous functional calculus. Applying a map on one factor means applying it separately to each block obtained by fixing the other factor’s row and column indices. No state or summability hypothesis is imposed on XXX, and KKK need not be countable. Complex infinite sums are total, with nonsummable sums equal to 000; an empty supremum is 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.firstER

For arbitrary types B,C,KB,C,KB,C,K, a family M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u in norm for every uuu, and an arbitrary complex array XXX on (B×C)2(B\times C)^2(B×C)2, this defines I(X,Φ)∈[0,∞]\mathcal I(X,\Phi)\in[0,\infty]I(X,Φ)∈[0,∞], with source index D=B×CD=B\times CD=B×C, where

Z(Y)bb′=∑c∈CY(b,c),(b′,c),Φ(Y)kl={∑b(MkZ(Y)^eb)b,k=l,0,k≠l.Z(Y)_{bb'}=\sum_{c\in C}Y_{(b,c),(b',c)}, \qquad \Phi(Y)_{kl}= \begin{cases} \displaystyle\sum_b(M_k\widehat{Z(Y)}e_b)_b,&k=l,\\ 0,&k\ne l. \end{cases}Z(Y)bb′​=c∈C∑​Y(b,c),(b′,c)​,Φ(Y)kl​=⎩⎨⎧​b∑​(Mk​Z(Y)​eb​)b​,0,​k=l,k=l.​

Here ebe_beb​ is the coordinate unit vector, and Z^\widehat ZZ is a chosen bounded complex-linear operator with coordinate matrix ZZZ, or zero if none exists. Explicitly,

I(X,Φ)=inf⁡PD∗ ⁣(TΦP, Φ(X)⊗RP),(TΦP)(k,r),(l,s)=Φ ⁣((P(d,r),(d′,s))d,d′∈D)kl,(RP)rs=∑d∈DP(d,r),(d,s).\mathcal I(X,\Phi)=\inf_P D_*\!\left(T_\Phi P,\ \Phi(X)\otimes R_P\right), \quad (T_\Phi P)_{(k,r),(l,s)} =\Phi\!\left((P_{(d,r),(d',s)})_{d,d'\in D}\right)_{kl}, \quad (R_P)_{rs}=\sum_{d\in D}P_{(d,r),(d,s)}.I(X,Φ)=Pinf​D∗​(TΦ​P, Φ(X)⊗RP​),(TΦ​P)(k,r),(l,s)​=Φ((P(d,r),(d′,s)​)d,d′∈D​)kl​,(RP​)rs​=d∈D∑​P(d,r),(d,s)​.

The infimum ranges over pure density arrays PPP on D×DD\times DD×D satisfying ∑rP(d,r),(d′,r)=Xdd′\sum_rP_{(d,r),(d',r)}=X_{dd'}∑r​P(d,r),(d′,r)​=Xdd′​. Such a PPP has entries upuq‾u_p\overline{u_q}up​uq​​ for a unit u∈ℓ2(D×D;C)u\in\ell^2(D\times D;\mathbb C)u∈ℓ2(D×D;C); its density conditions require a countable expansion Ppq=∑nan,pbn,q‾P_{pq}=\sum_n a_{n,p}\overline{b_{n,q}}Ppq​=∑n​an,p​bn,q​​ with ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, real nonnegative finite quadratic forms, and a summable real diagonal of sum one. Products have entries (U⊗V)(i,r),(j,s)=UijVrs(U\otimes V)_{(i,r),(j,s)}=U_{ij}V_{rs}(U⊗V)(i,r),(j,s)​=Uij​Vrs​. The value D∗(U,V)D_*(U,V)D∗​(U,V) is the supremum over finite coordinate compressions C,D′C,D'C,D′ of

{max⁡ ⁣{0,Re⁡tr⁡(f(C)−Clog⁡D′+D′−C)},ker⁡D′⊆ker⁡C,∞,otherwise,f(t)=tlog⁡t,\begin{cases} \max\!\left\{0,\operatorname{Re}\operatorname{tr} \bigl(f(C)-C\log D'+D'-C\bigr)\right\}, &\ker D'\subseteq\ker C,\\ \infty,&\text{otherwise}, \end{cases} \qquad f(t)=t\log t,{max{0,Retr(f(C)−ClogD′+D′−C)},∞,​kerD′⊆kerC,otherwise,​f(t)=tlogt,

with matrix functions interpreted through continuous functional calculus. The infimum is ∞\infty∞ if no purification exists; nonsummable total sums are zero. The input XXX need not be a density or trace-class array.

QAlgorithms.Papers.Independent.Intakenext100.P02.flaggedTraceClassErasure

For any type AAA, any real number ppp, and any complex A×AA\times AA×A matrix XXX, the definition returns a matrix indexed by AAA together with an additional flag ⊥\bot⊥, with entries

Ep(X)ij={(1−p)Xab,i=a, j=b,a,b∈A,p∑a∈AXaa,i=j=⊥,0,exactly one of i,j is ⊥.\mathcal E_p(X)_{ij}= \begin{cases} (1-p)X_{ab},&i=a,\ j=b,\quad a,b\in A,\\ p\displaystyle\sum_{a\in A}X_{aa},&i=j=\bot,\\ 0,&\text{exactly one of }i,j\text{ is }\bot. \end{cases}Ep​(X)ij​=⎩⎨⎧​(1−p)Xab​,pa∈A∑​Xaa​,0,​i=a, j=b,a,b∈A,i=j=⊥,exactly one of i,j is ⊥.​

Real scalars are embedded in C\mathbb CC. The diagonal sum is the total complex infinite sum, equal zero when nonsummable. The parameter ppp is unrestricted, and AAA and XXX have no countability, positivity, normalization, or trace-class hypotheses. For empty AAA, the sole flag entry is zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.generalizedHolevoCapacity

For arbitrary label types A,BA,BA,B and an arbitrary function Φ:CA×A→CB×B\Phi:\mathbb C^{A\times A}\to\mathbb C^{B\times B}Φ:CA×A→CB×B, this defines

Cχ(Φ)=sup⁡μ∈P(SA)∫SAD7 ⁣(Φ(ρ),Φ(ρˉμ)) dμ(ρ)in [0,∞].C_\chi(\Phi)=\sup_{\mu\in\mathcal P(\mathcal S_A)} \int_{\mathcal S_A}D_7\!\left(\Phi(\rho),\Phi(\bar\rho_\mu)\right)\,d\mu(\rho) \quad\text{in }[0,\infty].Cχ​(Φ)=μ∈P(SA​)sup​∫SA​​D7​(Φ(ρ),Φ(ρˉ​μ​))dμ(ρ)in [0,∞].

Here HT=ℓ2(T;C)\mathcal H_T=\ell^2(T;\mathbb C)HT​=ℓ2(T;C), and ST\mathcal S_TST​ consists of arrays XXX admitting sequences un,vn∈HTu_n,v_n\in\mathcal H_Tun​,vn​∈HT​ with ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞ and Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​, such that every finite quadratic form ∑i,j∈szi‾Xijzj\sum_{i,j\in s}\overline{z_i}X_{ij}z_j∑i,j∈s​zi​​Xij​zj​ is real and nonnegative, the real diagonal is summable, and ∑iRe⁡Xii=1\sum_i\operatorname{Re}X_{ii}=1∑i​ReXii​=1. Define N(X)N(X)N(X) as the infimum of ∑n∥un∥∥vn∥\sum_n\|u_n\|\|v_n\|∑n​∥un​∥∥vn​∥ over these expansions, with value +∞+\infty+∞ when none exists. The state space has the topology generated by sets {Y:N(Y−X)<ϵ}\{Y:N(Y-X)<\epsilon\}{Y:N(Y−X)<ϵ}, X∈ST,ϵ>0X\in\mathcal S_T,\epsilon>0X∈ST​,ϵ>0, and its Borel measurable structure; P(SA)\mathcal P(\mathcal S_A)P(SA​) means all Borel probability measures on it. Its coefficient average is (ρˉμ)ij=∫ρij dμ(ρ)(\bar\rho_\mu)_{ij}=\int\rho_{ij}\,d\mu(\rho)(ρˉ​μ​)ij​=∫ρij​dμ(ρ). For arbitrary arrays X,YX,YX,Y on TTT, D7(X,Y)D_7(X,Y)D7​(X,Y) is the supremum over all finite s⊆Ts\subseteq Ts⊆T of

{max⁡ ⁣{0,Re⁡tr⁡(Xslog⁡Xs−Xslog⁡Ys+Ys−Xs)},ker⁡Ys⊆ker⁡Xs,+∞,otherwise,\begin{cases} \displaystyle \max\!\left\{0,\operatorname{Re}\operatorname{tr} \bigl(X_s\log X_s-X_s\log Y_s+Y_s-X_s\bigr)\right\}, &\ker Y_s\subseteq\ker X_s,\\ +\infty,&\text{otherwise}, \end{cases}{max{0,Retr(Xs​logXs​−Xs​logYs​+Ys​−Xs​)},+∞,​kerYs​⊆kerXs​,otherwise,​

where Xs,YsX_s,Y_sXs​,Ys​ are coordinate restrictions and logarithms use the stated continuous functional calculus. The integral is the nonnegative extended integral. No channel, linearity, positivity, countability, or nonemptiness assumption is imposed on Φ,A,B\Phi,A,BΦ,A,B, and no finite-support restriction is imposed on μ\muμ. An empty supremum in [0,∞][0,\infty][0,∞] is 000; in particular, if AAA is empty, there are no states or ensemble probability measures and the defined capacity is 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.halfTraceClassDiamondDistance

For arbitrary types A,BA,BA,B and arbitrary functions Φ,Ψ\Phi,\PsiΦ,Ψ from complex A×AA\times AA×A matrices to complex B×BB\times BB×B matrices, the definition assigns

d(Φ,Ψ)=12sup⁡ρτ ⁣(((Φ−Ψ)⊗idA)(ρ))∈[0,∞].d(\Phi,\Psi)=\frac12\sup_{\rho}\tau\!\left(((\Phi-\Psi)\otimes\mathrm{id}_A)(\rho)\right)\in[0,\infty].d(Φ,Ψ)=21​ρsup​τ(((Φ−Ψ)⊗idA​)(ρ))∈[0,∞].

The supremum runs over all state matrices ρ\rhoρ on A×AA\times AA×A: these admit countable nuclear expansions, have real nonnegative finite-coordinate quadratic forms, and have summable real diagonal of sum 111. Explicitly, a nuclear expansion of a matrix XXX is Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​, with un,vn∈ℓ2u_n,v_n\in\ell^2un​,vn​∈ℓ2 and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; τ(X)\tau(X)τ(X) is the infimum of these sums, embedded in [0,∞][0,\infty][0,∞], or +∞+\infty+∞ when no expansion exists. The amplified difference has entries

(((Φ−Ψ)⊗idA)ρ)(b,a),(b′,a′)=Φ ⁣((ρ(i,a),(j,a′))i,j)bb′−Ψ ⁣((ρ(i,a),(j,a′))i,j)bb′.\left(((\Phi-\Psi)\otimes\mathrm{id}_A)\rho\right)_{(b,a),(b',a')} = \Phi\!\left((\rho_{(i,a),(j,a')})_{i,j}\right)_{bb'} -\Psi\!\left((\rho_{(i,a),(j,a')})_{i,j}\right)_{bb'}.(((Φ−Ψ)⊗idA​)ρ)(b,a),(b′,a′)​=Φ((ρ(i,a),(j,a′)​)i,j​)bb′​−Ψ((ρ(i,a),(j,a′)​)i,j​)bb′​.

There are no countability, nonemptiness, linearity, or channel hypotheses. The reference index space in this supremum is exactly AAA. If there are no input states, as when AAA is empty, the supremum is 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.indexShannonNats

For an arbitrary type BBB and arbitrary real weights w:B→Rw:B\to\mathbb Rw:B→R, this definition gives

∑i∈BofReal⁡(−wilog⁡wi)=∑i∈Bmax⁡{−wilog⁡wi,0} ∈[0,+∞].\sum_{i\in B}\operatorname{ofReal}(-w_i\log w_i) =\sum_{i\in B}\max\{-w_i\log w_i,0\}\ \in[0,+\infty].i∈B∑​ofReal(−wi​logwi​)=i∈B∑​max{−wi​logwi​,0} ∈[0,+∞].

The sum is the extended nonnegative sum over all indices, with value 000 for empty BBB, and it may be infinite. Neither countability, nonnegativity, nor normalization of www is assumed. The logarithm is the total real logarithm: log⁡0=0\log0=0log0=0, and at negative arguments it equals the logarithm of the absolute value; thus a zero weight contributes 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.infDiscord

For arbitrary types A,BA,BA,B and any complex array XXX on (A×B)2(A\times B)^2(A×B)2, this definition returns

inf⁡K countableM=(Ek)k∈K sup⁡Φ[Q((Φ⊗id)X)−Q((id⊗M)(Φ⊗id)X)].\inf_{\substack{K\ \mathrm{countable}\\M=(E_k)_{k\in K}}} \ \sup_{\Phi} \left[ Q\bigl((\Phi\otimes\mathrm{id})X\bigr) - Q\bigl((\mathrm{id}\otimes\mathcal M)(\Phi\otimes\mathrm{id})X\bigr) \right].K countableM=(Ek​)k∈K​​inf​ Φsup​[Q((Φ⊗id)X)−Q((id⊗M)(Φ⊗id)X)].

Here HI=ℓ2(I;C)H_I=\ell^2(I;\mathbb C)HI​=ℓ2(I;C); each Ek:HB→HBE_k:H_B\to H_BEk​:HB​→HB​ is bounded and complex linear, its quadratic forms are real and nonnegative, and ∑kEku=u\sum_kE_ku=u∑k​Ek​u=u for every uuu, with convergence of finite partial sums. The map M\mathcal MM is diagonal, with M(Z)k,k=∑b(EkZ^eb)(b)\mathcal M(Z)_{k,k}=\sum_b(E_k\widehat Z e_b)(b)M(Z)k,k​=∑b​(Ek​Zeb​)(b). For any array ZZZ, Z^\widehat ZZ is a chosen bounded operator with that coordinate matrix if one exists, and zero otherwise. The inner supremum ranges over maps Φ\PhiΦ preserving trace class, complex linear on trace class, preserving density arrays under every finite amplification, and having finite-dimensional closed span of Φ(R)^HA\widehat{\Phi(R)}H_AΦ(R)​HA​ over all input density arrays RRR. Trace class means an expansion Ri,j=∑nun(i)vn(j)‾R_{i,j}=\sum_nu_n(i)\overline{v_n(j)}Ri,j​=∑n​un​(i)vn​(j)​ with un,vn∈HIu_n,v_n\in H_Iun​,vn​∈HI​ and summable products of norms; density additionally means real nonnegative finite quadratic forms and summable real diagonal of sum 111. For an array ZZZ on a product label type, Q(Z)=D(Z∥Z1⊗Z2)Q(Z)=D(Z\|Z_1\otimes Z_2)Q(Z)=D(Z∥Z1​⊗Z2​), where Z1,Z2Z_1,Z_2Z1​,Z2​ are the coordinate partial traces and the tensor product has entries Ui,jVr,sU_{i,j}V_{r,s}Ui,j​Vr,s​. The quantity D(U∥V)D(U\|V)D(U∥V) is the supremum over finite coordinate compressions of +∞+\infty+∞ if ker⁡Vs⊈ker⁡Us\ker V_s\not\subseteq\ker U_skerVs​⊆kerUs​, and otherwise of [Re⁡tr⁡(Uslog⁡Us−Uslog⁡Vs+Vs−Us)]+[\operatorname{Re}\operatorname{tr}(U_s\log U_s-U_s\log V_s+V_s-U_s)]_+[Retr(Us​logUs​−Us​logVs​+Vs​−Us​)]+​, using continuous functional calculus. Factorwise application acts on blocks with the other factor’s indices fixed. Subtraction is truncated subtraction in [0,∞][0,\infty][0,∞], including ∞−∞=0\infty-\infty=0∞−∞=0. No countability assumption is imposed on A,BA,BA,B, no state assumption on XXX, and no nonemptiness assumption on KKK; an empty outcome type is included whenever its measurement requirements can hold. Complex sums are total, nonsummable sums give 000, empty suprema give 000, and empty infima give +∞+\infty+∞.

QAlgorithms.Papers.Independent.Intakenext100.P02.localER

For arbitrary types A,B,KA,B,KA,B,K, a family M=(Mk)k∈KM=(M_k)_{k\in K}M=(Mk​)k∈K​ of bounded complex-linear operators on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) satisfying ⟨u,Mku⟩∈[0,∞)\langle u,M_ku\rangle\in[0,\infty)⟨u,Mk​u⟩∈[0,∞) and ∑kMku=u\sum_kM_ku=u∑k​Mk​u=u in norm for every uuu, and an arbitrary complex array XXX on (A×B)2(A\times B)^2(A×B)2, this defines I(X,Φ)∈[0,∞]\mathcal I(X,\Phi)\in[0,\infty]I(X,Φ)∈[0,∞], with source index D=A×BD=A\times BD=A×B, where

Z(Y)bb′=∑a∈AY(a,b),(a,b′),Φ(Y)kl={∑b(MkZ(Y)^eb)b,k=l,0,k≠l.Z(Y)_{bb'}=\sum_{a\in A}Y_{(a,b),(a,b')}, \qquad \Phi(Y)_{kl}= \begin{cases} \displaystyle\sum_b(M_k\widehat{Z(Y)}e_b)_b,&k=l,\\ 0,&k\ne l. \end{cases}Z(Y)bb′​=a∈A∑​Y(a,b),(a,b′)​,Φ(Y)kl​=⎩⎨⎧​b∑​(Mk​Z(Y)​eb​)b​,0,​k=l,k=l.​

Here ebe_beb​ is the coordinate unit vector, and Z^\widehat ZZ is a chosen bounded complex-linear operator with coordinate matrix ZZZ, or zero if none exists. The quantity I\mathcal II means

I(X,Φ)=inf⁡PD∗ ⁣(TΦP, Φ(X)⊗RP),(TΦP)(k,r),(l,s)=Φ ⁣((P(d,r),(d′,s))d,d′∈D)kl,(RP)rs=∑d∈DP(d,r),(d,s).\mathcal I(X,\Phi)=\inf_P D_*\!\left(T_\Phi P,\ \Phi(X)\otimes R_P\right), \quad (T_\Phi P)_{(k,r),(l,s)} =\Phi\!\left((P_{(d,r),(d',s)})_{d,d'\in D}\right)_{kl}, \quad (R_P)_{rs}=\sum_{d\in D}P_{(d,r),(d,s)}.I(X,Φ)=Pinf​D∗​(TΦ​P, Φ(X)⊗RP​),(TΦ​P)(k,r),(l,s)​=Φ((P(d,r),(d′,s)​)d,d′∈D​)kl​,(RP​)rs​=d∈D∑​P(d,r),(d,s)​.

The infimum ranges over pure density arrays PPP on D×DD\times DD×D with ∑rP(d,r),(d′,r)=Xdd′\sum_rP_{(d,r),(d',r)}=X_{dd'}∑r​P(d,r),(d′,r)​=Xdd′​. Such a PPP is upuq‾u_p\overline{u_q}up​uq​​ for a unit u∈ℓ2(D×D;C)u\in\ell^2(D\times D;\mathbb C)u∈ℓ2(D×D;C); its density conditions require a countable expansion Ppq=∑nan,pbn,q‾P_{pq}=\sum_n a_{n,p}\overline{b_{n,q}}Ppq​=∑n​an,p​bn,q​​ with ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞, real nonnegative finite quadratic forms, and a summable real diagonal of sum one. The product array has entries (U⊗V)(i,r),(j,s)=UijVrs(U\otimes V)_{(i,r),(j,s)}=U_{ij}V_{rs}(U⊗V)(i,r),(j,s)​=Uij​Vrs​. The function D∗(U,V)D_*(U,V)D∗​(U,V) is the supremum over all finite coordinate compressions C,D′C,D'C,D′ of

{max⁡ ⁣{0,Re⁡tr⁡(f(C)−Clog⁡D′+D′−C)},ker⁡D′⊆ker⁡C,∞,otherwise,f(t)=tlog⁡t,\begin{cases} \max\!\left\{0,\operatorname{Re}\operatorname{tr} \bigl(f(C)-C\log D'+D'-C\bigr)\right\}, &\ker D'\subseteq\ker C,\\ \infty,&\text{otherwise}, \end{cases} \qquad f(t)=t\log t,{max{0,Retr(f(C)−ClogD′+D′−C)},∞,​kerD′⊆kerC,otherwise,​f(t)=tlogt,

using continuous functional calculus. An empty purification infimum is ∞\infty∞, and nonsummable total sums are zero. No density or trace-class hypothesis is imposed on XXX.

QAlgorithms.Papers.Independent.Intakenext100.P02.oneShotPrivateCapacityNats

For a finite label type AAA, arbitrary label types B,EB,EB,E, and arbitrary functions Φ:CA×A→CB×B\Phi:\mathbb C^{A\times A}\to\mathbb C^{B\times B}Φ:CA×A→CB×B and Φc:CA×A→CE×E\Phi^c:\mathbb C^{A\times A}\to\mathbb C^{E\times E}Φc:CA×A→CE×E, this defines the real number

P(1)(Φ,Φc)=sup⁡{χΦ(μ)real−χΦc(μ)real:μ∈P(SA)}.P^{(1)}(\Phi,\Phi^c) =\sup\left\{ \chi_\Phi(\mu)^{\mathrm{real}}-\chi_{\Phi^c}(\mu)^{\mathrm{real}} :\mu\in\mathcal P(\mathcal S_A)\right\}.P(1)(Φ,Φc)=sup{χΦ​(μ)real−χΦc​(μ)real:μ∈P(SA​)}.

The superscript “real” sends a finite extended nonnegative number to its real value and sends +∞+\infty+∞ to 000. Here a state X∈STX\in\mathcal S_TX∈ST​ is an array admitting an expansion Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​, with un,vn∈ℓ2(T;C)u_n,v_n\in\ell^2(T;\mathbb C)un​,vn​∈ℓ2(T;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, whose finite quadratic forms are real and nonnegative and whose summable real diagonal has sum 111. Write N(X)N(X)N(X) for the infimum of these expansion sums, taking N(X)=+∞N(X)=+\inftyN(X)=+∞ when no expansion exists. The state topology is generated by {Y:N(Y−X)<ϵ}\{Y:N(Y-X)<\epsilon\}{Y:N(Y−X)<ϵ}, X∈ST,ϵ>0X\in\mathcal S_T,\epsilon>0X∈ST​,ϵ>0, and P(SA)\mathcal P(\mathcal S_A)P(SA​) denotes probability measures for its Borel structure. For any map FFF,

χF(μ)=∫SAD7(F(ρ),F(ρˉμ)) dμ(ρ),(ρˉμ)ij=∫ρij dμ(ρ).\chi_F(\mu)=\int_{\mathcal S_A}D_7(F(\rho),F(\bar\rho_\mu))\,d\mu(\rho), \qquad (\bar\rho_\mu)_{ij}=\int\rho_{ij}\,d\mu(\rho).χF​(μ)=∫SA​​D7​(F(ρ),F(ρˉ​μ​))dμ(ρ),(ρˉ​μ​)ij​=∫ρij​dμ(ρ).

The extended nonnegative quantity D7(X,Y)D_7(X,Y)D7​(X,Y) is the supremum over finite coordinate restrictions Xs,YsX_s,Y_sXs​,Ys​ of max⁡{0,Re⁡tr⁡(Xslog⁡Xs−Xslog⁡Ys+Ys−Xs)}\max\{0,\operatorname{Re}\operatorname{tr}(X_s\log X_s-X_s\log Y_s+Y_s-X_s)\}max{0,Retr(Xs​logXs​−Xs​logYs​+Ys​−Xs​)} when ker⁡Ys⊆ker⁡Xs\ker Y_s\subseteq\ker X_skerYs​⊆kerXs​, and +∞+\infty+∞ otherwise; logarithms use continuous functional calculus. The integral is the nonnegative extended integral. Neither map is required to be a channel, and they are not required to be complementary; no finiteness assumption on either χ\chiχ-quantity is included. The supremum is taken in the real numbers with their total supremum convention: an empty or unbounded-above set has supremum 000. In particular, AAA may be empty, in which case the defining set is empty and this value is 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.oscillatorEntropySupremum

For every natural lll, positive real frequencies ωi\omega_iωi​ for i<li<li<l, and arbitrary real EEE, this defines

Sω(E)=sup⁡ρ state on Nl∑n∈Nl[ε(n)Re⁡ρnn]+≤EH(ρ),ε(n)=∑i<lωini,\mathcal S_\omega(E)= \sup_{\substack{\rho\ {\rm state\ on}\ \mathbb N^l\\ \sum_{n\in\mathbb N^l}[\varepsilon(n)\operatorname{Re}\rho_{nn}]_+\le E}} H(\rho), \qquad \varepsilon(n)=\sum_{i<l}\omega_i n_i,Sω​(E)=ρ state on Nl∑n∈Nl​[ε(n)Reρnn​]+​≤E​sup​H(ρ),ε(n)=i<l∑​ωi​ni​,

where the energy inequality is in the extended real numbers, without truncating EEE to its nonnegative part. Here a state is a complex array with real nonnegative finite quadratic forms, summable real diagonal of sum one, and a nuclear expansion ρab=∑juj(a)vj(b)‾\rho_{ab}=\sum_j u_j(a)\overline{v_j(b)}ρab​=∑j​uj​(a)vj​(b)​ with uj,vj∈ℓ2(Nl;C)u_j,v_j\in\ell^2(\mathbb N^l;\mathbb C)uj​,vj​∈ℓ2(Nl;C) and ∑j∥uj∥∥vj∥<∞\sum_j\|u_j\|\|v_j\|<\infty∑j​∥uj​∥∥vj​∥<∞. The entropy is

H(X)=sup⁡s⊆Nl finite[−Re⁡Tr⁡f(Xs)+tslog⁡ts]+,f(x)=xlog⁡x,ts=Re⁡Tr⁡Xs,H(X)=\sup_{s\subseteq\mathbb N^l\ {\rm finite}} \left[-\operatorname{Re}\operatorname{Tr}f(X_s)+t_s\log t_s\right]_+, \qquad f(x)=x\log x,\quad t_s=\operatorname{Re}\operatorname{Tr}X_s,H(X)=s⊆Nl finitesup​[−ReTrf(Xs​)+ts​logts​]+​,f(x)=xlogx,ts​=ReTrXs​,

with coordinate compressions XsX_sXs​ and continuous functional calculus for f(Xs)f(X_s)f(Xs​). The notation [x]+[x]_+[x]+​ denotes the nonnegative part embedded in [0,+∞][0,+\infty][0,+∞], and log⁡0=0\log0=0log0=0. An empty admissible supremum is zero; in particular this occurs for E<0E<0E<0. The case l=0l=0l=0 is permitted and gives value zero for every EEE.

QAlgorithms.Papers.Independent.Intakenext100.P02.oscillatorG

For every natural number lll, arbitrary real frequencies (ωi)i<l(\omega_i)_{i<l}(ωi​)i<l​, and arbitrary real EEE, this defines the real number

Gω(E)=llog⁡ ⁣(E+∑i<lωil(∏i<lωi)1/l)+l.G_\omega(E)= l\log\!\left( \frac{E+\sum_{i<l}\omega_i} {l\left(\prod_{i<l}\omega_i\right)^{1/l}} \right)+l.Gω​(E)=llog(l(∏i<l​ωi​)1/lE+∑i<l​ωi​​)+l.

There are no positivity assumptions on the frequencies, on EEE, or on lll. All division, real powers, and logarithms are their total real-valued operations, including 1/0=01/0=01/0=0 and log⁡0=0\log0=0log0=0. In particular, when l=0l=0l=0, the sum is zero, the product is one, and the defined value is zero for every EEE.

QAlgorithms.Papers.Independent.Intakenext100.P02.oscillatorGibbs

For every natural lll, positive real frequencies ωi\omega_iωi​ for i<li<li<l, and arbitrary real EEE, this defines an array GEG_EGE​ indexed by Nl\mathbb N^lNl. If E=0E=0E=0, it is the rank-one array of the coordinate unit vector at the zero occupation vector, so (G0)nm=1(G_0)_{nm}=1(G0​)nm​=1 exactly when n=m=0n=m=0n=m=0, and is zero otherwise. If E≠0E\ne0E=0, put ε(n)=∑i<lωini\varepsilon(n)=\sum_{i<l}\omega_i n_iε(n)=∑i<l​ωi​ni​ and Z(β)=∑n∈Nl[exp⁡(−βε(n))]+Z(\beta)=\sum_{n\in\mathbb N^l}[\exp(-\beta\varepsilon(n))]_+Z(β)=∑n∈Nl​[exp(−βε(n))]+​ in [0,+∞][0,+\infty][0,+∞]; choose a real βE\beta_EβE​, if one exists, satisfying

βE>0,Z(βE)real>0,∑ne−βEε(n) summable,∑nε(n)e−βEε(n) summable,∑nε(n)e−βEε(n)=E Z(βE)real,\beta_E>0,\quad Z(\beta_E)^{\rm real}>0,\quad \sum_n e^{-\beta_E\varepsilon(n)}\ \text{summable},\quad \sum_n\varepsilon(n)e^{-\beta_E\varepsilon(n)}\ \text{summable},\quad \sum_n\varepsilon(n)e^{-\beta_E\varepsilon(n)} =E\,Z(\beta_E)^{\rm real},βE​>0,Z(βE​)real>0,n∑​e−βE​ε(n) summable,n∑​ε(n)e−βE​ε(n) summable,n∑​ε(n)e−βE​ε(n)=EZ(βE​)real,

and set βE=0\beta_E=0βE​=0 if there is no such value. Then

(GE)nm={e−βEε(n)/Z(βE)real,n=m,0,n≠m.(G_E)_{nm}= \begin{cases} e^{-\beta_E\varepsilon(n)}/Z(\beta_E)^{\rm real},&n=m,\\ 0,&n\ne m. \end{cases}(GE​)nm​={e−βE​ε(n)/Z(βE​)real,0,​n=m,n=m.​

Here [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), the real conversion of +∞+\infty+∞ is zero, and division by zero is zero. The definition alone does not assert normalization or existence of an equilibrium parameter. Negative EEE and l=0l=0l=0 are allowed; when l=0l=0l=0, the resulting one-entry array is 111 for every EEE.

QAlgorithms.Papers.Independent.Intakenext100.P02.oscillatorSpectrum

For every natural number lll, every real frequency family (ωi)i<l(\omega_i)_{i<l}(ωi​)i<l​, and a proof that ωi>0\omega_i>0ωi​>0 for every iii, this constructs a Hamiltonian indexed by occupation vectors n∈Nln\in\mathbb N^ln∈Nl, with energy and specified lower bound

ε(n)=∑i<lωini,lower bound=0.\varepsilon(n)=\sum_{i<l}\omega_i n_i,\qquad \text{lower bound}=0.ε(n)=i<l∑​ωi​ni​,lower bound=0.

The constructed data include the assertion 0≤ε(n)0\le\varepsilon(n)0≤ε(n) for every occupation vector. Here a Hamiltonian means a real energy function on its index type, a real lower bound, and a proof of that bound; no further operator data are part of this construction. The case l=0l=0l=0 is included: the positivity hypothesis is vacuous, there is one empty occupation vector, and its energy is zero.

QAlgorithms.Papers.Independent.Intakenext100.P02.privacy

For arbitrary types A,B,EA,B,EA,B,E, arbitrary matrix functions Φ:A→B\Phi:A\to BΦ:A→B and ΦC:A→E\Phi_C:A\to EΦC​:A→E, and a generalized ensemble μ\muμ, the definition assigns the real number

P(Φ,ΦC,μ)=HΦ(μ)real−HΦC(μ)real,HT(μ)=∫D ⁣(T(X),T(ρˉμ)) dμ(X),(ρˉμ)ij=∫Xij dμ(X).P(\Phi,\Phi_C,\mu)=H_\Phi(\mu)^{\mathrm{real}}-H_{\Phi_C}(\mu)^{\mathrm{real}}, \qquad H_T(\mu)=\int D\!\left(T(X),T(\bar\rho_\mu)\right)\,d\mu(X), \qquad (\bar\rho_\mu)_{ij}=\int X_{ij}\,d\mu(X).P(Φ,ΦC​,μ)=HΦ​(μ)real−HΦC​​(μ)real,HT​(μ)=∫D(T(X),T(ρˉ​μ​))dμ(X),(ρˉ​μ​)ij​=∫Xij​dμ(X).

Here μ\muμ is a Borel probability measure on state matrices on AAA. Such a state XXX admits a countable expansion Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​, with un,vn∈ℓ2(A;C)u_n,v_n\in\ell^2(A;\mathbb C)un​,vn​∈ℓ2(A;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, has real nonnegative finite-coordinate quadratic forms, and has summable real diagonal of sum 111. Its topology is generated by positive-radius balls for the infimum of these nuclear expansion sums applied to matrix differences. For output matrices Y,ZY,ZY,Z, D(Y,Z)D(Y,Z)D(Y,Z) is the supremum over finite coordinate restrictions sss of +∞+\infty+∞ if ker⁡Zs⊈ker⁡Ys\ker Z_s\not\subseteq\ker Y_skerZs​⊆kerYs​, and otherwise of

[Re⁡tr⁡(Yslog⁡fcYs−Yslog⁡fcZs+Zs−Ys)]+,\left[\operatorname{Re}\operatorname{tr} \left(Y_s\log_{\mathrm{fc}}Y_s-Y_s\log_{\mathrm{fc}}Z_s+Z_s-Y_s\right)\right]_+,[Retr(Ys​logfc​Ys​−Ys​logfc​Zs​+Zs​−Ys​)]+​,

where the logarithm uses total continuous functional calculus and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) in [0,∞][0,\infty][0,∞]. The integrals defining HTH_THT​ are extended nonnegative integrals. Conversion to a real number sends +∞+\infty+∞ to 000, so this is ordinary real subtraction after that conversion, including when either Holevo quantity is infinite. Neither matrix function is assumed to be a channel, and no finiteness hypothesis on the two Holevo quantities is imposed.

QAlgorithms.Papers.Independent.Intakenext100.P02.purifiedDilationCoefficients

For arbitrary index types A,B,E,RA,B,E,RA,B,E,R, write HI=ℓ2(I;C)\mathcal H_I=\ell^2(I;\mathbb C)HI​=ℓ2(I;C), and let V:HA→HB×EV:\mathcal H_A\to\mathcal H_{B\times E}V:HA​→HB×E​ be a complex linear isometry, without a surjectivity requirement. Let ψ\psiψ be a pure state on A×RA\times RA×R: its coefficient array PPP admits a nuclear expansion Pij=∑nun(i)vn(j)‾P_{ij}=\sum_nu_n(i)\overline{v_n(j)}Pij​=∑n​un​(i)vn​(j)​ with ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, has real nonnegative finite coordinate quadratic forms and summable real diagonal of sum 111, and satisfies Pij=u(i)u(j)‾P_{ij}=u(i)\overline{u(j)}Pij​=u(i)u(j)​ for some u∈HA×Ru\in\mathcal H_{A\times R}u∈HA×R​ with ∥u∥=1\|u\|=1∥u∥=1. The definition produces an array ZZZ on (B×E)×R(B\times E)\times R(B×E)×R by applying the following conjugation to each AAA-matrix slice of PPP:

Z((b,e),r),((b′,e′),r′)=(V BPr,r′ V∗e(b′,e′))(b,e),Paa′r,r′=P(a,r),(a′,r′).Z_{((b,e),r),((b',e'),r')} = \left(V\,\mathcal B_{P^{r,r'}}\,V^*e_{(b',e')}\right)(b,e), \qquad P^{r,r'}_{aa'}=P_{(a,r),(a',r')}.Z((b,e),r),((b′,e′),r′)​=(VBPr,r′​V∗e(b′,e′)​)(b,e),Paa′r,r′​=P(a,r),(a′,r′)​.

Here eie_iei​ is the coordinate unit vector, V∗V^*V∗ is the Hilbert-space adjoint, and BX\mathcal B_XBX​ means a classically chosen bounded complex linear operator on HA\mathcal H_AHA​ satisfying (BXej)(i)=Xij(\mathcal B_Xe_j)(i)=X_{ij}(BX​ej​)(i)=Xij​ for every i,ji,ji,j, if such an operator exists, and the zero operator otherwise. Thus the auxiliary indices r,r′r,r'r,r′ select the slice and are retained as output indices. There are no countability or nonemptiness assumptions on the four index types; their possible emptiness is subject only to the existence of the supplied isometry and pure state.

QAlgorithms.Papers.Independent.Intakenext100.P02.qcProximity

For any finite label type AAA, any label type EEE, and any function Φc\Phi^cΦc from complex matrices on AAA to complex matrices on EEE, this defines the real number

q(Φc)=(inf⁡P pure on A×A∑rP(i,r),(j,r)=δij/d inf⁡Θ a state on E×AΘ has the representation below12 τ ⁣(Z−Θ))R,Z(e,a),(f,a′)=Φc ⁣((P(i,a),(j,a′))i,j∈A)ef,q(\Phi^c)= \left( \inf_{\substack{P\text{ pure on }A\times A\\ \sum_rP_{(i,r),(j,r)}=\delta_{ij}/d}} \ \inf_{\substack{\Theta\text{ a state on }E\times A\\ \Theta\text{ has the representation below}}} \frac12\,\tau\!\left(Z-\Theta\right) \right)_{\mathbb R}, \qquad Z_{(e,a),(f,a')} =\Phi^c\!\left((P_{(i,a),(j,a')})_{i,j\in A}\right)_{ef},q(Φc)=​P pure on A×A∑r​P(i,r),(j,r)​=δij​/d​inf​ Θ a state on E×AΘ has the representation below​inf​21​τ(Z−Θ)​R​,Z(e,a),(f,a′)​=Φc((P(i,a),(j,a′)​)i,j∈A​)ef​,

where d=∣A∣d=|A|d=∣A∣. The required representation of Θ\ThetaΘ is the existence of an orthonormal Hilbert basis b=(bk)k∈Ab=(b_k)_{k\in A}b=(bk​)k∈A​ of ℓ2(A;C)\ell^2(A;\mathbb C)ℓ2(A;C) and states ρk\rho_kρk​ on EEE with

Θ(e,a),(f,a′)=∑k∈Ad−1(ρk)efbk(a)bk(a′)‾.\Theta_{(e,a),(f,a')}=\sum_{k\in A}d^{-1}(\rho_k)_{ef}b_k(a)\overline{b_k(a')}.Θ(e,a),(f,a′)​=k∈A∑​d−1(ρk​)ef​bk​(a)bk​(a′)​.

For any label set TTT, a state matrix has real nonnegative finite quadratic forms, a summable real diagonal of sum 111, and a nuclear expansion Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​ with un,vn∈ℓ2(T;C)u_n,v_n\in\ell^2(T;\mathbb C)un​,vn​∈ℓ2(T;C) and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; a pure state additionally equals uu∗uu^*uu∗ for a unit vector uuu. The quantity τ(X)∈[0,∞]\tau(X)\in[0,\infty]τ(X)∈[0,∞] is the infimum, over all such nuclear expansions of XXX, of ∑n∥un∥∥vn∥\sum_n\|u_n\|\|v_n\|∑n​∥un​∥∥vn​∥, with an empty infimum equal to +∞+\infty+∞. The outer infima are also in [0,∞][0,\infty][0,∞], and (⋅)R(\cdot)_{\mathbb R}(⋅)R​ means conversion to a real number, which sends +∞+\infty+∞ to 000. No channel or linearity assumption is imposed on Φc\Phi^cΦc. Empty AAA, or empty EEE with nonempty AAA, leaves no admissible pair and therefore gives the defined real value 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.resetQubit

For any orthonormal Hilbert basis b=(b0,b1)b=(b_0,b_1)b=(b0​,b1​) of ℓ2({0,1};C)\ell^2(\{0,1\};\mathbb C)ℓ2({0,1};C) and any complex 2×22\times22×2 matrix XXX, this defines

Rb(X)ij=(X00+X11) b0(i)b0(j)‾(i,j∈{0,1}).\mathcal R_b(X)_{ij}=(X_{00}+X_{11})\,b_0(i)\overline{b_0(j)} \qquad(i,j\in\{0,1\}).Rb​(X)ij​=(X00​+X11​)b0​(i)b0​(j)​(i,j∈{0,1}).

Thus the scalar multiplying the rank-one matrix b0b0∗b_0b_0^*b0​b0∗​ is the complex sum of the diagonal entries of XXX. No positivity, Hermitian, or trace-one hypothesis is imposed on XXX.

QAlgorithms.Papers.Independent.Intakenext100.P02.simpleEnergyBound

For any label type III, positive observable HHH, and arbitrary real numbers E,rE,rE,r, this defines

BH(E,r)={0,r=0,[r]+ EH(2E/r2)+[g(r)]+,r≠0,g(r)=(r+1)log⁡(r+1)−rlog⁡r,B_H(E,r)= \begin{cases} 0,&r=0,\\ [r]_+\,\mathcal E_H(2E/r^2)+[g(r)]_+,&r\ne0, \end{cases} \qquad g(r)=(r+1)\log(r+1)-r\log r,BH​(E,r)={0,[r]+​EH​(2E/r2)+[g(r)]+​,​r=0,r=0,​g(r)=(r+1)log(r+1)−rlogr,

where [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is regarded as an extended nonnegative real. The observable is a function h:ℓ2(I;C)→[0,+∞]h:\ell^2(I;\mathbb C)\to[0,+\infty]h:ℓ2(I;C)→[0,+∞] satisfying h(0)=0h(0)=0h(0)=0, h(cu)=∣c∣2h(u)h(cu)=|c|^2h(u)h(cu)=∣c∣2h(u), and h(u+v)+h(u−v)=2h(u)+2h(v)h(u+v)+h(u-v)=2h(u)+2h(v)h(u+v)+h(u−v)=2h(u)+2h(v), which is lower semicontinuous and finite on a dense set. Its array expectation is

QH(X)=sup⁡m∈N, u0,…,um−1∈ℓ2(I;C)X−∑a<muaua∗ positive∑a<mh(ua),EH(u)=sup⁡ρ stateQH(ρ)≤[u]+S(ρ).\mathcal Q_H(X)= \sup_{\substack{m\in\mathbb N,\ u_0,\ldots,u_{m-1}\in\ell^2(I;\mathbb C)\\ X-\sum_{a<m}u_au_a^*\ \text{positive}}} \sum_{a<m}h(u_a), \qquad \mathcal E_H(u)=\sup_{\substack{\rho\ \text{state}\\\mathcal Q_H(\rho)\le[u]_+}}S(\rho).QH​(X)=m∈N, u0​,…,um−1​∈ℓ2(I;C)X−∑a<m​ua​ua∗​ positive​sup​a<m∑​h(ua​),EH​(u)=ρ stateQH​(ρ)≤[u]+​​sup​S(ρ).

An array is positive when all its finite quadratic forms are real and nonnegative; a state additionally has summable real diagonal of sum one and an expansion Xij=∑nan(i)bn(j)‾X_{ij}=\sum_n a_n(i)\overline{b_n(j)}Xij​=∑n​an​(i)bn​(j)​ with an,bn∈ℓ2(I;C)a_n,b_n\in\ell^2(I;\mathbb C)an​,bn​∈ℓ2(I;C) and ∑n∥an∥∥bn∥<∞\sum_n\|a_n\|\|b_n\|<\infty∑n​∥an​∥∥bn​∥<∞. The entropy used here is

S(X)=sup⁡s⊆I finite[tslog⁡ts−Re⁡Tr⁡ ⁣(Xslog⁡Xs)]+,ts=Re⁡Tr⁡Xs,S(X)=\sup_{s\subseteq I\ {\rm finite}} \left[t_s\log t_s-\operatorname{Re}\operatorname{Tr}\!\left(X_s\log X_s\right)\right]_+, \qquad t_s=\operatorname{Re}\operatorname{Tr}X_s,S(X)=s⊆I finitesup​[ts​logts​−ReTr(Xs​logXs​)]+​,ts​=ReTrXs​,

with XsX_sXs​ the coordinate compression and log⁡Xs\log X_slogXs​ defined by continuous functional calculus. Empty suprema in [0,+∞][0,+\infty][0,+∞] are zero. There are no sign restrictions on EEE or rrr; for r<0r<0r<0 the first term is zero, including when the entropy supremum is infinite, since 0⋅∞=00\cdot\infty=00⋅∞=0. The real logarithm is total, with log⁡0=0\log0=0log0=0.

QAlgorithms.Papers.Independent.Intakenext100.P02.supDiscord

For arbitrary types A,BA,BA,B and any complex array XXX on (A×B)2(A\times B)^2(A×B)2, this definition returns

sup⁡Φ[Q(YΦ)−sup⁡K countableM=(Ek)k∈KQ((id⊗M)YΦ)],YΦ=(Φ⊗id)X.\sup_{\Phi} \left[ Q(Y_\Phi)- \sup_{\substack{K\ \mathrm{countable}\\M=(E_k)_{k\in K}}} Q\bigl((\mathrm{id}\otimes\mathcal M)Y_\Phi\bigr) \right], \qquad Y_\Phi=(\Phi\otimes\mathrm{id})X.Φsup​​Q(YΦ​)−K countableM=(Ek​)k∈K​​sup​Q((id⊗M)YΦ​)​,YΦ​=(Φ⊗id)X.

The outer supremum ranges over maps Φ\PhiΦ on A2A^2A2-arrays that preserve trace class, are complex linear on trace class, preserve density arrays under every finite amplification, and whose output ranges Φ(R)^ℓ2(A;C)\widehat{\Phi(R)}\ell^2(A;\mathbb C)Φ(R)​ℓ2(A;C), over all input density arrays RRR, have finite-dimensional closed linear span. An array on I2I^2I2 is trace class here if it equals ∑nun(i)vn(j)‾\sum_nu_n(i)\overline{v_n(j)}∑n​un​(i)vn​(j)​ entrywise for un,vn∈ℓ2(I;C)u_n,v_n\in\ell^2(I;\mathbb C)un​,vn​∈ℓ2(I;C) with ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; it is a density array if it additionally has real nonnegative finite quadratic forms and summable real diagonal of sum 111. For any array ZZZ, Z^\widehat ZZ is a chosen bounded operator with coordinate matrix ZZZ, or zero if none exists. Each measurement in the inner supremum consists of bounded operators EkE_kEk​ on ℓ2(B;C)\ell^2(B;\mathbb C)ℓ2(B;C) with real nonnegative quadratic forms and ∑kEku=u\sum_kE_ku=u∑k​Ek​u=u for every uuu, with convergence over finite partial sums; its map is M(Z)k,l=0\mathcal M(Z)_{k,l}=0M(Z)k,l​=0 for k≠lk\ne lk=l and M(Z)k,k=∑b(EkZ^eb)(b)\mathcal M(Z)_{k,k}=\sum_b(E_k\widehat Z e_b)(b)M(Z)k,k​=∑b​(Ek​Zeb​)(b). For any product-indexed array ZZZ, Q(Z)=D(Z∥Z1⊗Z2)Q(Z)=D(Z\|Z_1\otimes Z_2)Q(Z)=D(Z∥Z1​⊗Z2​), where Z1,Z2Z_1,Z_2Z1​,Z2​ are its coordinate partial traces and tensor products multiply the respective entries. The value D(U∥V)D(U\|V)D(U∥V) is the supremum over finite coordinate compressions of +∞+\infty+∞ when ker⁡Vs⊈ker⁡Us\ker V_s\not\subseteq\ker U_skerVs​⊆kerUs​, and otherwise of [Re⁡tr⁡(Uslog⁡Us−Uslog⁡Vs+Vs−Us)]+[\operatorname{Re}\operatorname{tr}(U_s\log U_s-U_s\log V_s+V_s-U_s)]_+[Retr(Us​logUs​−Us​logVs​+Vs​−Us​)]+​, using continuous functional calculus. Factorwise application acts on blocks with the other factor’s indices fixed. All subtractions are truncated in [0,∞][0,\infty][0,∞], including ∞−∞=0\infty-\infty=0∞−∞=0. Neither AAA nor BBB is assumed countable or nonempty, XXX need not be a state, and empty outcome types are allowed when the measurement conditions hold. Complex infinite sums are total, giving 000 when nonsummable, and empty suprema are 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.traceA

For arbitrary types A,B,CA,B,CA,B,C and any complex array XXX indexed by ((A×B)×C)2((A\times B)\times C)^2((A×B)×C)2, this definition returns the array on (B×C)2(B\times C)^2(B×C)2 given by

(traceA⁡X)(b,c),(b′,c′)=∑a∈AX((a,b),c),((a,b′),c′).(\operatorname{traceA}X)_{(b,c),(b',c')} =\sum_{a\in A}X_{((a,b),c),((a,b'),c')}.(traceAX)(b,c),(b′,c′)​=a∈A∑​X((a,b),c),((a,b′),c′)​.

There are no positivity, normalization, countability, or summability assumptions. Each sum uses the total complex infinite-sum operation, which gives 000 for a nonsummable family; in particular, an empty sum is 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.traceClassSquaredFidelity

For any label type III and states ρ,σ\rho,\sigmaρ,σ on III, this defines an extended nonnegative real number

F(ρ,σ)=ν ⁣(coeff⁡(RρRσ))2.F(\rho,\sigma)=\nu\!\left(\operatorname{coeff}(R_\rho R_\sigma)\right)^2.F(ρ,σ)=ν(coeff(Rρ​Rσ​))2.

Here the Hilbert space is ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C), eie_iei​ is its coordinate unit vector, and coeff⁡(T)ij=(Tej)i\operatorname{coeff}(T)_{ij}=(Te_j)_icoeff(T)ij​=(Tej​)i​. For an array XXX, let BXB_XBX​ be a chosen bounded complex-linear operator with coefficients XXX, if such an operator exists, and zero otherwise; then RρR_\rhoRρ​ is the continuous functional calculus of BρB_\rhoBρ​ for the complex-valued function z↦Re⁡zz\mapsto\sqrt{\operatorname{Re}z}z↦Rez​, and similarly for RσR_\sigmaRσ​. The size ν(X)\nu(X)ν(X) is the infimum of ∑n=0∞∥un∥∥vn∥\sum_{n=0}^{\infty}\|u_n\|\|v_n\|∑n=0∞​∥un​∥∥vn​∥ over all sequences un,vn∈ℓ2(I;C)u_n,v_n\in\ell^2(I;\mathbb C)un​,vn​∈ℓ2(I;C) for which this real series is summable and Xij=∑nun(i)vn(j)‾X_{ij}=\sum_n u_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​ for every i,ji,ji,j; its value is +∞+\infty+∞ if no such expansion exists. A state here is an array admitting such an expansion, whose every finite quadratic form ∑i,j∈szi‾Xijzj\sum_{i,j\in s}\overline{z_i}X_{ij}z_j∑i,j∈s​zi​​Xij​zj​ is real and nonnegative, and whose real diagonal is summable with sum one. No countability assumption on III is imposed; if III is empty, there are no states to supply as arguments.

QAlgorithms.Papers.Independent.Intakenext100.P02.tripartiteAC

For arbitrary types A,B,CA,B,CA,B,C and any complex array XXX indexed by ((A×B)×C)2((A\times B)\times C)^2((A×B)×C)2, this definition returns the array on (A×C)2(A\times C)^2(A×C)2 given by

(tripartiteAC⁡X)(a,c),(a′,c′)=∑b∈BX((a,b),c),((a′,b),c′).(\operatorname{tripartiteAC}X)_{(a,c),(a',c')} =\sum_{b\in B}X_{((a,b),c),((a',b),c')}.(tripartiteACX)(a,c),(a′,c′)​=b∈B∑​X((a,b),c),((a′,b),c′)​.

No positivity, normalization, countability, or summability hypothesis is imposed. The sum is the total infinite-sum operation, so it is 000 when the corresponding complex family is not summable, and an empty sum is 000.

QAlgorithms.Papers.Independent.Intakenext100.P02.uniformDensityCoefficients

For every finite type AAA, with d=∣A∣d=|A|d=∣A∣, the definition returns the complex matrix

Uij={d−1,i=j,0,i≠j.U_{ij}= \begin{cases} d^{-1},&i=j,\\ 0,&i\ne j. \end{cases}Uij​={d−1,0,​i=j,i=j.​

The reciprocal is taken in C\mathbb CC. The empty type is included: then d=0d=0d=0, its reciprocal is 000, and the resulting matrix has no entries. No nonemptiness hypothesis or assertion that this matrix is a state is part of the declaration.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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