Positive maps, completely positive maps, density matrices, and quantum channels #
This file defines positive maps, completely positive (CP) maps,
trace-preserving maps, and quantum channels on M_D(ℂ), together with the
basic theory of density matrices (compactness, convexity), following
Chapters 3 and 6 of Wolf's lecture notes.
Main results #
IsPositiveMap: a linear map that preserves the PSD coneIsTraceNonincreasingMap: a linear endomorphism that does not increase the trace of positive semidefinite inputsIsCPMap: a linear map that admits a Kraus representationIsKrausCP: a linear map between possibly different matrix algebras that admits a rectangular Kraus representationIsCompletelyCopositiveMap: a map whose composition with transposition is CPIsDecomposablePositiveMap: a sum of a CP map and a completely copositive mapIsIndecomposablePositiveMap: a positive map that is not decomposableIsCPMap.isPositiveMap: completely positive maps are positiveIsChannel: completely positive + trace-preserving (CPTP)Matrix.transposeLinearMapComplex_isPositiveMap: matrix transposition is positiveMatrix.transposeLinearMapComplex_isTracePreservingMap: matrix transposition is trace-preservingIsPositiveMap.map_isHermitian: positive maps preserve HermiticitydensityMatrices_isCompact: the set of density matrices is compactdensityMatrices_isConvex: the set of density matrices is convexIsChannel.map_densityMatrices: channels map density matrices to density matrices
References #
- [M. Wolf, Quantum Channels & Operations: Guided Tour, Chapters 3 and 6][Wolf2012QChannels]
Positive maps #
A linear map E : M_n(ℂ) →ₗ[ℂ] M_m(ℂ) is positive if it maps
positive semidefinite matrices to positive semidefinite matrices.
Equations
- IsPositiveMap E = ∀ (X : Matrix n n ℂ), X.PosSemidef → (E X).PosSemidef
Instances For
A matrix endomorphism is trace-nonincreasing if it does not increase the trace of any positive semidefinite input.
Equations
- IsTraceNonincreasingMap E = ∀ (X : Matrix n n ℂ), X.PosSemidef → (E X).trace ≤ X.trace
Instances For
A linear map is completely positive if it admits a Kraus representation:
E(X) = ∑ᵢ Kᵢ X Kᵢ† for some family of operators {Kᵢ}.
Equivalently (by Choi's theorem), E is completely positive iff E ⊗ idₙ
is positive for all n. We use the Kraus characterisation since it matches
the formulation used in the Kadison–Schwarz and multiplicative-domain proofs.
Equations
Instances For
A completely positive map between possibly different matrix algebras,
in rectangular Kraus form:
S(X) = ∑ᵢ Aᵢ X Aᵢ†, where Aᵢ : Matrix β α ℂ.
This is the dimension-changing Kraus notion in [M. Wolf, Quantum Channels & Operations: Guided Tour, Section 2.1, Theorem 2.1][Wolf2012QChannels]. It is also the notion used for the support formula of the Petz transpose map in Hayden--Jozsa--Petz--Winter, arXiv:quant-ph/0304007v2, Theorem 3, equation (8). No trace-preservation condition is included.
Equations
Instances For
A quantum channel is a completely positive trace-preserving (CPTP) map.
This matches the standard definition in quantum information theory (see \cite[Definition 4.1]{Wolf2012Quantum}). Earlier versions of this formalisation required only positivity; the upgrade to complete positivity is important because the Kadison–Schwarz inequality and the multiplicative domain characterisation require CP, not merely positivity.
- cp : IsCPMap E
- tp : IsTracePreservingMap E
Instances For
Matrix transposition as a complex-linear map on M_n(ℂ).
Equations
Instances For
Matrix transposition preserves positive semidefinite matrices.
Matrix transposition preserves the trace.
A map is completely copositive if composing it with transposition gives a completely positive map.
This is the convention used in Wolf Chapter 3: a decomposable positive map is
written as a completely positive map plus a map F for which F ∘ transpose is
completely positive.
Equations
Instances For
A decomposable positive map is a sum of a completely positive map and a completely copositive map. This is the class used in Wolf Chapter 3 to describe positive maps that cannot detect PPT entanglement.
Equations
Instances For
A positive matrix map is a positive linear map: if A ≤ B, then E A ≤ E B.
Equations
- hE.toPositiveLinearMap = { toLinearMap := E, monotone' := ⋯ }
Instances For
Positive maps preserve Hermiticity.
Density matrices: compactness and convexity #
Auxiliary lemmas for boundedness #
Main results #
PSD matrices with trace ≤ c form a bounded set (in the Frobenius norm).
For PSD X, every entry satisfies ‖X i j‖ ≤ ‖trace X‖
(diagonal: nonneg summand of trace; off-diagonal: Cauchy-Schwarz).
Hence the sup-norm ‖X‖ ≤ ‖trace X‖ ≤ c.
The set of density matrices is compact (Heine-Borel).
Closed: intersection of the closed PSD cone and the closed set {trace = 1}.
Bounded: PSD matrices with unit trace have bounded entries.
The set of density matrices is convex.
PSD cone is convex: a • ρ + b • σ is PSD when ρ, σ are PSD and a, b ≥ 0.
Trace is linear: trace(a • ρ + b • σ) = a * 1 + b * 1 = 1 when a + b = 1.
The set of density matrices is nonempty when D > 0.
The matrix (1/D) • I is a density matrix.