Properties of Matrix Maps #
Building on MatrixMaps, this defines the properties: IsTracePreserving, Unital,
IsHermitianPreserving, IsPositive and IsCompletelyPositive. They have basic facts
such as closure under composition, addition, and scaling.
These are the unbundled versions, which just state the relevant properties of a given MatrixMap.
The bundled versions are HPMap, UnitalMap, TPMap, PMap, and CPMap respectively, given
in Bundled.lean.
A map is trace preserving iff the partial trace of the Choi matrix is the identity.
Simp lemma: the trace of the image of a IsTracePreserving map is the same as the original trace.
The trace of a Choi matrix of a TP map is the cardinality of the input space.
The composition of IsTracePreserving maps is also trace preserving.
The identity MatrixMap IsTracePreserving.
Unit linear combinations of IsTracePreserving maps are IsTracePreserving.
The kronecker product of IsTracePreserving maps is also trace preserving.
The channel X ↦ ∑ k : κ, (M k) * X * (N k)ᴴ formed by Kraus operators M, N : κ → Matrix B A R is trace-preserving if ∑ k : κ, (N k)ᴴ * (M k) = 1
MatrixMap.submatrix is trace-preserving when the function is an equivalence.
A linear matrix map is unital if it preserves the identity.
Instances For
A linear matrix map is Hermitian preserving if it maps IsHermitian matrices to IsHermitian.
Equations
- M.IsHermitianPreserving = ∀ ⦃x : Matrix A A R⦄, x.IsHermitian → (M x).IsHermitian
Instances For
A linear matrix map is positive if it maps PosSemidef matrices to PosSemidef.
Equations
- M.IsPositive = ∀ ⦃x : Matrix A A R⦄, x.PosSemidef → (M x).PosSemidef
Instances For
A linear matrix map is completely positive if, for any integer n, the tensor product
with I(n) is positive.
Equations
- M.IsCompletelyPositive = ∀ (n : ℕ), (M.kron LinearMap.id).IsPositive
Instances For
The identity MatrixMap IsHermitianPreserving.
The composition of IsHermitianPreserving maps is also Hermitian preserving.
The composition of IsPositive maps is also positive.
The identity MatrixMap IsPositive.
Sums of IsPositive maps are IsPositive.
Nonnegative scalings of IsPositive maps are IsPositive.
Definition of a CP map, but with Fintype T in the definition instead of a Fin n.
The composition of IsCompletelyPositive maps is also completely positive.
The identity MatrixMap IsCompletelyPositive.
Sums of IsCompletelyPositive maps are IsCompletelyPositive.
Nonnegative scalings of IsCompletelyPositive maps are IsCompletelyPositive.
The zero map IsCompletelyPositive.
A finite sum of completely positive maps is completely positive.
The map that takes M and returns M ⊗ₖ C, where C is positive semidefinite, is a completely positive map.
Choi's theorem on completely positive maps: A map IsCompletelyPositive iff its Choi Matrix is PSD.
The linear map of conjugating a matrix by another, x → y * x * yᴴ.
Equations
- MatrixMap.IsCompletelyPositive.conj y = { toFun := fun (x : Matrix A A R) => y * x * y.conjTranspose, map_add' := ⋯, map_smul' := ⋯ }
Instances For
The act of conjugating (not necessarily by a unitary, just by any matrix at all) is completely positive.
MatrixMap.submatrix is completely positive
The channel X ↦ ∑ k : κ, (M k) * X * (M k)ᴴ formed by Kraus operators M : κ → Matrix B A R is completely positive
The Kronecker product of IsCompletelyPositive maps is also completely positive.
The piKron product of IsCompletelyPositive maps is also completely positive.