Documentation

CslibFrontier.Foundations.Quantum.DensityMatrix.Holevo

Von Neumann entropy, Holevo's bound, and superdense-coding optimality #

For a density matrix ρ on ℂ^ι, the von Neumann entropy S(ρ) = -tr(ρ log₂ ρ) (Cslib.Quantum.vonNeumannEntropy) equals the Shannon entropy of its eigenvalues (vonNeumannEntropy_eq_sum_eigenvalues), vanishes on pure states (vonNeumannEntropy_pureState), is invariant under rectangular isometries (vonNeumannEntropy_conj_isometry), is additive on Kronecker products (vonNeumannEntropy_kronecker), and satisfies subadditivity (vonNeumannEntropy_subadditivity) and the Araki–Lieb triangle inequality (vonNeumannEntropy_arakiLieb).

For a finite ensemble (p, ρ) of states ρ_x drawn according to p : PMF X, the Holevo information χ(p, ρ) = S(∑_x p(x) ρ_x) - ∑_x p(x) S(ρ_x) (Cslib.Quantum.holevoInformation) equals the classical–quantum mutual information mutualInformation (classicalQuantumState p ρ) converted from nats to bits (mutualInformation_classicalQuantumState_eq_holevoInformation). Combining Stinespring isometric invariance with partial-trace monotonicity (relativeEntropy_partialTraceRight_le) gives monotonicity of quantum relative entropy and of Holevo information under arbitrary trace-preserving Kraus channels (relativeEntropy_kraus_le, holevoInformation_kraus_le).

Specializing Kraus monotonicity to the quantum-to-classical POVM measurement channel proves Holevo's bound (Holevo; Nielsen and Chuang, Theorem 12.1; Watrous, Theorem 5.49): for every prior p : PMF X, density-matrix ensemble ρ, and POVM M : POVM Y ι, the classical mutual information between X and M's outcome Y satisfies I(X : Y) ≤ χ(p, ρ) (mutualInfo_measureDensity_le_holevoInformation).

Two communication bounds follow immediately:

Main definitions #

Main results #

References #

Isometric invariance and Kraus monotonicity of quantum relative entropy #

theorem Cslib.Quantum.relativeEntropy_conj_isometry {ι : Type u_1} {κ : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {V : Matrix κ ι ℂ} (hV : V.conjTranspose * V = 1) {ρ σ : Matrix ι ι ℂ} (hρ : ρ.PosSemidef) (hσ : σ.PosSemidef) :

Rectangular isometries preserve quantum relative entropy, including infinite divergence.

theorem Cslib.Quantum.relativeEntropy_kraus_le {ι : Type u_1} {ι' : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype ι'] [DecidableEq ι'] {α : Type u_4} (s : Finset α) (K : α → Matrix ι' ι ℂ) (hK : ∑ a ∈ s, (K a).conjTranspose * K a = 1) {ρ σ : Matrix ι ι ℂ} (hρ : ρ.PosSemidef) (hσ : σ.PosSemidef) :
relativeEntropy (∑ a ∈ s, K a * ρ * (K a).conjTranspose) (∑ a ∈ s, K a * σ * (K a).conjTranspose) ≤ relativeEntropy ρ σ

Data processing for Kraus channels: applying a trace-preserving Kraus operation ρ ↦ ∑_{a ∈ s} K_a ρ K_aᴴ with ∑_{a ∈ s} K_aᴴ K_a = 1 cannot increase quantum relative entropy. Proved via the Stinespring isometry into ℂ^{ι' × s} followed by partialTraceRight.

Von Neumann entropy #

noncomputable def Cslib.Quantum.vonNeumannEntropy {ι : Type u_1} [Fintype ι] [DecidableEq ι] (ρ : Matrix ι ι ℂ) :

Von Neumann entropy S(ρ) = -tr(ρ log₂ ρ) of a matrix on ℂ^ι, in bits.

theorem Cslib.Quantum.vonNeumannEntropy_diagonal {ι : Type u_1} [Fintype ι] [DecidableEq ι] (d : ι → ℝ) :
vonNeumannEntropy (Matrix.diagonal fun (i : ι) => ↑(d i)) = (∑ i : ι, (d i).negMulLog) / Real.log 2

Von Neumann entropy of a real diagonal matrix is the binary Shannon sum of its entries.

theorem Cslib.Quantum.vonNeumannEntropy_conj_isometry {ι : Type u_1} {κ : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {V : Matrix κ ι ℂ} (hV : V.conjTranspose * V = 1) {ρ : Matrix ι ι ℂ} (hρ : ρ.IsHermitian) :

Rectangular isometries preserve von Neumann entropy.

theorem Cslib.Quantum.vonNeumannEntropy_eq_sum_eigenvalues {ι : Type u_1} [Fintype ι] [DecidableEq ι] {ρ : Matrix ι ι ℂ} (hρ : ρ.IsHermitian) :
vonNeumannEntropy ρ = (∑ i : ι, (hρ.eigenvalues i).negMulLog) / Real.log 2

Von Neumann entropy equals -∑_i λ_i log₂ λ_i for the eigenvalues λ_i of ρ.

Von Neumann entropy of a density matrix is nonnegative.

Every pure state has zero von Neumann entropy.

The maximally mixed state (1 / |ι|) • 1 on a nonempty register has von Neumann entropy log₂ |ι|.

Von Neumann entropy of any density matrix on ℂ^ι is at most log₂ |ι|.

theorem Cslib.Quantum.vonNeumannEntropy_kronecker {ι : Type u_1} {κ : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {ρ : Matrix ι ι ℂ} {σ : Matrix κ κ ℂ} (hρ : IsDensityMatrix ρ) (hσ : IsDensityMatrix σ) :

Von Neumann entropy is additive across Kronecker products of density matrices.

Both reduced states of a bipartite pure state have equal von Neumann entropy.

Subadditivity of von Neumann entropy (Watrous, Theorem 5.24): S(ρ_{AB}) ≤ S(ρ_A) + S(ρ_B) for every bipartite density matrix ρ.

Araki–Lieb triangle inequality (Watrous, Theorem 5.25): S(ρ_B) - S(ρ_A) ≤ S(ρ_{AB}) for every bipartite density matrix ρ.

Holevo information and Holevo's bound #

noncomputable def Cslib.Quantum.holevoInformation {X : Type u_1} {ι : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (p : PMF X) (ρ : X → Matrix ι ι ℂ) :

Holevo information χ(p, ρ) = S(∑_x p(x) ρ_x) - ∑_x p(x) S(ρ_x) of a finite ensemble of states on ℂ^ι, in bits (Holevo; Nielsen and Chuang, Section 12.1.1).

Classical–quantum mutual information (in nats) equals ln 2 times the Holevo information (in bits).

theorem Cslib.Quantum.holevoInformation_nonneg {X : Type u_1} {ι : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (p : PMF X) {ρ : X → Matrix ι ι ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) :

Holevo information is nonnegative (equivalently, von Neumann entropy is concave).

theorem Cslib.Quantum.holevoInformation_le_vonNeumannEntropy {X : Type u_1} {ι : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (p : PMF X) {ρ : X → Matrix ι ι ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) :
holevoInformation p ρ ≤ vonNeumannEntropy (∑ x : X, (p x).toReal • ρ x)

Holevo information is at most the von Neumann entropy of the ensemble average.

theorem Cslib.Quantum.holevoInformation_le_logb_card {X : Type u_1} {ι : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (p : PMF X) {ρ : X → Matrix ι ι ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) :

Holevo information on ℂ^ι is at most log₂ |ι|.

theorem Cslib.Quantum.holevoInformation_le_entropy {X : Type u_1} {ι : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (p : PMF X) {ρ : X → Matrix ι ι ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) :

Holevo information is at most the Shannon entropy of the mixing weights: S(∑_x p(x) ρ_x) - ∑_x p(x) S(ρ_x) ≤ H(p).

theorem Cslib.Quantum.holevoInformation_kraus_le {X : Type u_1} {ι : Type u_3} {ι' : Type u_4} [Fintype ι] [DecidableEq ι] [Fintype X] [Fintype ι'] [DecidableEq ι'] {α : Type u_6} (s : Finset α) (K : α → Matrix ι' ι ℂ) (hK : ∑ a ∈ s, (K a).conjTranspose * K a = 1) (p : PMF X) {ρ : X → Matrix ι ι ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) :
(holevoInformation p fun (x : X) => ∑ a ∈ s, K a * ρ x * (K a).conjTranspose) ≤ holevoInformation p ρ

Data processing for Holevo information (Watrous, Section 5.3, eq. (5.272) and Theorem 5.35): applying a trace-preserving Kraus channel to every state of an ensemble cannot increase its Holevo information.

theorem Cslib.Quantum.mutualInfo_measureDensity_le_holevoInformation {X : Type u_1} {Y : Type u_2} {ι : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] [Fintype Y] (p : PMF X) {ρ : X → Matrix ι ι ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) (M : POVM Y ι) :
Probability.PMF.mutualInfo (p.bind fun (x : X) => PMF.map (fun (x_1 : Y) => (x, x_1)) (M.measureDensity (ρ x) ⋯)) ≤ holevoInformation p ρ

Holevo's bound (Holevo; Nielsen and Chuang, Theorem 12.1; Watrous, Theorem 5.49): if Alice samples x from p : PMF X and prepares the density matrix ρ x on ℂ^ι, and Bob measures with any POVM M : POVM Y ι, the classical mutual information between X and Y is at most the Holevo information χ(p, ρ).

theorem Cslib.Quantum.mutualInfo_measureDensity_le_logb_card {X : Type u_1} {Y : Type u_2} {ι : Type u_3} [Fintype ι] [DecidableEq ι] [Finite X] [Fintype Y] (p : PMF X) {ρ : X → Matrix ι ι ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) (M : POVM Y ι) :
Probability.PMF.mutualInfo (p.bind fun (x : X) => PMF.map (fun (x_1 : Y) => (x, x_1)) (M.measureDensity (ρ x) ⋯)) ≤ Real.logb 2 ↑(Fintype.card ι)

Unassisted quantum communication bound (Watrous, Corollary 5.50; de Wolf, Chapter 15, Theorem 3, part 1): without prior entanglement, sending a state on ℂ^ι conveys at most log₂ |ι| bits of mutual information for any POVM readout.

theorem Cslib.Quantum.mutualInfo_measureDensity_qubits_le {X : Type u_1} {Y : Type u_2} {α : Type u_6} [Fintype α] [DecidableEq α] [Finite X] [Fintype Y] (p : PMF X) {ρ : X → Matrix (α → Bool) (α → Bool) ℂ} (hρ : ∀ (x : X), IsDensityMatrix (ρ x)) (M : POVM Y (α → Bool)) :
Probability.PMF.mutualInfo (p.bind fun (x : X) => PMF.map (fun (x_1 : Y) => (x, x_1)) (M.measureDensity (ρ x) ⋯)) ≤ ↑(Fintype.card α)

Unassisted n-qubit transmission bound (de Wolf, Chapter 15, Theorem 3, part 1): sending n = |α| qubits without prior entanglement conveys at most n classical bits of mutual information under any POVM measurement.

Entanglement-assisted quantum communication and superdense-coding optimality #

theorem Cslib.Quantum.isDensityMatrix_kraus_onFirst {ι : Type u_3} {κ : Type u_5} [Fintype ι] {ι₀ : Type u_6} [Fintype ι₀] [DecidableEq ι₀] [Fintype κ] [DecidableEq κ] {β : Type u_7} (s : Finset β) (K : β → Matrix ι ι₀ ℂ) (hK : ∑ j ∈ s, (K j).conjTranspose * K j = 1) {σ : Matrix (ι₀ × κ) (ι₀ × κ) ℂ} (hσ : IsDensityMatrix σ) :
IsDensityMatrix (∑ j ∈ s, Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K j) 1 * σ * (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K j) 1).conjTranspose)

Applying a trace-preserving Kraus operation to the first factor of a joint density matrix produces a joint density matrix.

theorem Cslib.Quantum.holevoInformation_kraus_onFirst_le {X : Type u_1} {ι : Type u_3} {κ : Type u_5} [Fintype ι] [DecidableEq ι] {ι₀ : Type u_6} [Fintype ι₀] [DecidableEq ι₀] [Fintype κ] [DecidableEq κ] [Fintype X] {β : Type u_7} (s : Finset β) (K : X → β → Matrix ι ι₀ ℂ) (hK : ∀ (x : X), ∑ j ∈ s, (K x j).conjTranspose * K x j = 1) (p : PMF X) {σ : Matrix (ι₀ × κ) (ι₀ × κ) ℂ} (hσ : IsDensityMatrix σ) :
(holevoInformation p fun (x : X) => ∑ j ∈ s, Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K x j) 1 * σ * (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K x j) 1).conjTranspose) ≤ 2 * Real.logb 2 ↑(Fintype.card ι)

Entanglement-assisted Holevo bound (de Wolf, Chapter 15, Theorem 3, part 2): if Alice and Bob share any bipartite state σ on ℂ^{ι₀ × κ} and Alice encodes x by applying a trace-preserving Kraus channel K x from ℂ^{ι₀} to ℂ^ι on her share, the resulting joint ensemble on ℂ^{ι × κ} has Holevo information at most 2 log₂ |ι|, independent of ι₀ and κ.

theorem Cslib.Quantum.mutualInfo_entanglementAssisted_le {X : Type u_1} {Y : Type u_2} {ι : Type u_3} {κ : Type u_5} [Fintype ι] [DecidableEq ι] {ι₀ : Type u_6} [Fintype ι₀] [DecidableEq ι₀] [Fintype κ] [DecidableEq κ] [Finite X] [Fintype Y] {β : Type u_7} (s : Finset β) (K : X → β → Matrix ι ι₀ ℂ) (hK : ∀ (x : X), ∑ j ∈ s, (K x j).conjTranspose * K x j = 1) (p : PMF X) {σ : Matrix (ι₀ × κ) (ι₀ × κ) ℂ} (hσ : IsDensityMatrix σ) (M : POVM Y (ι × κ)) :
Probability.PMF.mutualInfo (p.bind fun (x : X) => PMF.map (fun (x_1 : Y) => (x, x_1)) (M.measureDensity (∑ j ∈ s, Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K x j) 1 * σ * (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K x j) 1).conjTranspose) ⋯)) ≤ 2 * Real.logb 2 ↑(Fintype.card ι)

Entanglement-assisted classical communication cap (de Wolf, Chapter 15, Theorem 3, part 2): even with an arbitrary shared bipartite state σ on ℂ^{ι₀ × κ} and arbitrary local Kraus encoding K x into a register ℂ^ι sent to Bob, any joint POVM M on ℂ^{ι × κ} extracts at most 2 log₂ |ι| bits of classical mutual information.

theorem Cslib.Quantum.mutualInfo_entanglementAssisted_qubits_le {X : Type u_1} {Y : Type u_2} {κ : Type u_5} {α : Type u_6} {ι₀ : Type u_7} [Fintype α] [DecidableEq α] [Fintype ι₀] [DecidableEq ι₀] [Fintype κ] [DecidableEq κ] [Finite X] [Fintype Y] {β : Type u_8} (s : Finset β) (K : X → β → Matrix (α → Bool) ι₀ ℂ) (hK : ∀ (x : X), ∑ j ∈ s, (K x j).conjTranspose * K x j = 1) (p : PMF X) {σ : Matrix (ι₀ × κ) (ι₀ × κ) ℂ} (hσ : IsDensityMatrix σ) (M : POVM Y ((α → Bool) × κ)) :
Probability.PMF.mutualInfo (p.bind fun (x : X) => PMF.map (fun (x_1 : Y) => (x, x_1)) (M.measureDensity (∑ j ∈ s, Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K x j) 1 * σ * (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (K x j) 1).conjTranspose) ⋯)) ≤ 2 * ↑(Fintype.card α)

Optimality of superdense coding for n qubits (de Wolf, Chapter 15, Theorem 3, part 2): sending n = |α| qubits with arbitrary prior entanglement and local Kraus encoding conveys at most 2n classical bits of mutual information.

theorem Cslib.Quantum.mutualInfo_unitary_onFirst_le {X : Type u_1} {Y : Type u_2} {ι : Type u_3} {κ : Type u_5} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [Finite X] [Fintype Y] (U : X → ↥(Matrix.unitaryGroup ι ℂ)) (p : PMF X) {σ : Matrix (ι × κ) (ι × κ) ℂ} (hσ : IsDensityMatrix σ) (M : POVM Y (ι × κ)) :
Probability.PMF.mutualInfo (p.bind fun (x : X) => PMF.map (fun (x_1 : Y) => (x, x_1)) (M.measureDensity (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (↑(U x)) 1 * σ * (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (↑(U x)) 1).conjTranspose) ⋯)) ≤ 2 * Real.logb 2 ↑(Fintype.card ι)

Local-unitary entanglement-assisted communication cap: when Alice encodes x by applying a local unitary U x to her ℂ^ι share of σ and sends that share to Bob, Bob's joint POVM on ℂ^{ι × κ} yields at most 2 log₂ |ι| bits of mutual information (2 bits for a single qubit ι = Bool, matching Cslib.Quantum.superdense_coding).