Definitions for Von Neumann Entropy-Preserving Quantum Operations
DefinitionQAlgorithms_Papers_Independent_Bridge50_P30The objects the formalized statements of Von Neumann Entropy-Preserving Quantum Operations (arXiv:1104.2992) are stated in. Each was checked against the paper by a blind read-back and a moderator.
IsBistochastic: PDF p.2, Section 1: a bi-stochastic operation is a trace-preserving CP map that preserves the identity. The accepted finite Kraus predicateIsChannelencodes CP and trace preservation on every operator; complex linearity is bundled.mapEntropy: PDF p.2, Section 1: map entropy S(J(Phi)/N). The accepted Choi matrix is unnormalized and output-first. All theorem uses have N > 0 and a channel Phi.krausMatrix: PDF p.5, Section 3: the Kraus matrix B(Phi). Its (i,j) entry is the output i population of the input matrix unit |j><j|, equivalently sum_mu |M_mu(i,j)|^2 for any Kraus representation of the channel. This coordinate expression is independent of the choice of Kraus representation.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P50
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P08
/-!
Statements from Zhang and Wu, *Von Neumann Entropy-Preserving Quantum Operations*,
arXiv:1104.2992v4. All locators are PDF pages. The system is C^(Fin N), N > 0,
with its coordinate orthonormal basis. Entropies are in bits and allow zero eigenvalues.
The full structural Theorem 2.1 and its extension in Remark 2.2 are deferred:
the single invariant block decomposition in (iii) fails for Hadamard after dephasing.
The separately inventoried equivalence (i) iff (ii) is explicitly proved on PDF p.3.
-/
noncomputable section
open scoped BigOperators Matrix ComplexOrder
namespace QAlgorithms.Papers.Independent.Bridge50.P30
open QAlgorithms.Papers.Independent.Information100.P50
(M Lin choiMatrix hilbertSchmidtAdjoint)
open QAlgorithms.Papers.Independent.Claimed50.P08 (classicalEntropy)
/-- PDF p.2, Section 1: a bi-stochastic operation is a trace-preserving CP map
that preserves the identity. The accepted finite Kraus predicate `IsChannel`
encodes CP and trace preservation on every operator; complex linearity is bundled. -/
def IsBistochastic {N : ℕ} (Phi : Lin N N) : Prop :=
IsChannel Phi ∧ Phi 1 = 1
/-- PDF p.2, Section 1: map entropy S(J(Phi)/N). The accepted Choi matrix is
unnormalized and output-first. All theorem uses have N > 0 and a channel Phi. -/
def mapEntropy {N : ℕ} (Phi : Lin N N) : ℝ :=
vnEntropy (((N : ℂ)⁻¹) • choiMatrix Phi)
/-- PDF p.5, Section 3: the Kraus matrix B(Phi). Its (i,j) entry is the
output i population of the input matrix unit |j><j|, equivalently
sum_mu |M_mu(i,j)|^2 for any Kraus representation of the channel.
This coordinate expression is independent of the choice of Kraus representation. -/
def krausMatrix {N : ℕ} (Phi : Lin N N) : Matrix (Fin N) (Fin N) ℝ :=
fun i j => (Phi (Matrix.single j j 1) i i).re
/-- Sanity check: the identity channel is bi-stochastic in every finite dimension. -/
example (N : ℕ) : IsBistochastic (LinearMap.id : Lin N N) := by
refine ⟨?_, rfl⟩
refine ⟨1, fun _ => 1, ?_, ?_⟩
· simp [IsKrausFamily]
· intro X
simp [krausApply]
/-- Sanity check: the one-dimensional zero map has zero normalized Choi matrix. -/
example : mapEntropy (0 : Lin 1 1) =
vnEntropy (0 : Matrix (Fin 1 × Fin 1) (Fin 1 × Fin 1) ℂ) := by
have hchoi : choiMatrix (0 : Lin 1 1) =
(0 : Matrix (Fin 1 × Fin 1) (Fin 1 × Fin 1) ℂ) := rfl
simp only [mapEntropy, hchoi, smul_zero]
/-- Sanity check: B(id) has its single entry equal to one when N = 1. -/
example : krausMatrix (LinearMap.id : Lin 1 1) 0 0 = 1 := by
simp [krausMatrix, Matrix.single]
end QAlgorithms.Papers.Independent.Bridge50.P30
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Bridge50.P30.IsBistochastic
For any natural number , including , and any complex-linear map , this predicate means that is a channel and preserves the identity matrix: . Here being a channel means that there exist a natural number and matrices such that and, for every matrix , . The Kraus family may be empty when these conditions permit it; when , all matrices involved have empty index sets.
QAlgorithms.Papers.Independent.Bridge50.P30.krausMatrix
For any natural number , including zero, and any complex-linear map , this defines a real matrix by
where has entry at and zero elsewhere. No channel or identity-preservation assumption is required. For , this is the empty matrix.
QAlgorithms.Papers.Independent.Bridge50.P30.mapEntropy
For any natural number , including zero, and any complex-linear map , define the matrix , indexed by pairs in , by , where has a single entry at and zero elsewhere. The value defined is
where is applied by the continuous functional calculus and is taken in . No channel, positivity, or normalization condition is imposed on . Inversion is total, with ; for , the matrix has empty indices and the value is zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.