Density matrices and the partial trace #
A density matrix on ℂ^ι is a positive semidefinite matrix of trace one
(Cslib.Quantum.IsDensityMatrix), the general (mixed) state of a quantum system; a unit vector
ψ gives the pure state |ψ⟩⟨ψ| (Cslib.Quantum.pureState) (de Wolf, §15.1).
For a bipartite system ℂ^{ι × κ}, the partial trace over the first system
(Cslib.Quantum.partialTraceLeft) gives the reduced state of the second,
(Tr_A ρ)_{k k'} = ∑ᵢ ρ_{(i, k), (i, k')}, and symmetrically Cslib.Quantum.partialTraceRight
gives the reduced state of the first (de Wolf, §18.3, where Tr_B is defined on
product matrices by Tr_B (C ⊗ D) = C · Tr D and extended linearly).
The partial trace preserves the trace and positive semidefiniteness, so it maps density matrices
to density matrices; on a Kronecker product it is Tr_A (A ⊗ₖ B) = tr A • B. An operator A on
the traced-out system can be moved cyclically under Tr_A, which gives no-signalling
(Cslib.Quantum.partialTraceLeft_kraus): whatever Alice does to her system, as a Kraus family
{Kⱼ} with ∑ⱼ Kⱼᴴ Kⱼ = 1 (a unitary, a measurement whose outcome is discarded, ...), Bob's
reduced state is unchanged. This generalizes de Wolf, Chapter 18, Exercise 7
("Alice cannot give information to Bob by doing a unitary operation on her part of an entangled
pure state") from unitaries on pure states to Kraus families on mixed states.
Main definitions #
Cslib.Quantum.IsDensityMatrix: positive semidefinite with trace one.Cslib.Quantum.pureState: the projector|ψ⟩⟨ψ|.Cslib.Quantum.partialTraceLeft,Cslib.Quantum.partialTraceRight: the partial traces over the first and the second system.
Main results #
Cslib.Quantum.isDensityMatrix_pureState:|ψ⟩⟨ψ|is a density matrix for a unit vectorψ.Cslib.Quantum.IsDensityMatrix.conj_isometry,.conj_unitary: rectangular isometries and unitary evolution preserve density matrices.Cslib.Quantum.IsDensityMatrix.partialTraceLeft,Cslib.Quantum.IsDensityMatrix.partialTraceRight: reduced states are density matrices.Cslib.Quantum.partialTraceLeft_kronecker,Cslib.Quantum.partialTraceRight_kronecker: the partial traces of a Kronecker product.Cslib.Quantum.partialTraceLeft_pureState_maxEntangled,Cslib.Quantum.partialTraceRight_pureState_maxEntangled: either half of the maximally entangled state is maximally mixed.Cslib.Quantum.partialTraceLeft_kraus: no-signalling for a Kraus family on the first system, with the special casesCslib.Quantum.partialTraceLeft_conj_unitary(a unitary) andCslib.Quantum.partialTraceLeft_measure(a computational-basis measurement whose outcome is discarded).
References #
Density matrices #
A density matrix: positive semidefinite with trace one.
- posSemidef : ρ.PosSemidef
A density matrix is positive semidefinite.
A density matrix has trace one.
The pure state |ψ⟩⟨ψ|, with entries ψᵢ conj ψⱼ.
|ψ⟩⟨ψ| is a density matrix for a unit vector ψ.
Conjugation by a possibly rectangular isometry preserves density matrices.
Unitary evolution ρ ↦ U ρ Uᴴ preserves density matrices.
The partial trace #
The partial trace over the first system preserves the trace.
The partial trace over the second system preserves the trace.
Tr_A (A ⊗ₖ B) = tr A • B.
Tr_B (A ⊗ₖ B) = tr B • A.
The partial trace over the first system is a sum of compressions ρ ↦ ρ_{(i, ·), (i, ·)}.
The partial trace over the first system preserves positive semidefiniteness.
The partial trace over the second system preserves positive semidefiniteness.
The reduced state Tr_A ρ of a density matrix is a density matrix.
The reduced state Tr_B ρ of a density matrix is a density matrix.
The reduced state of either half of the maximally entangled state is maximally mixed:
Tr_A |Φ⟩⟨Φ| = 1 / |ι| (de Wolf, §18.3, for the EPR pair).
Tr_B |Φ⟩⟨Φ| = 1 / |ι| for the maximally entangled state.
No-signalling #
A possibly rectangular operator on the traced-out first system moves cyclically under the partial trace. The two sides trace out the respective output and input systems.
No-signalling for a Kraus family on the first system, with possibly different input and
output dimensions: if Alice applies the operation
ρ ↦ ∑ⱼ (Kⱼ ⊗ 1) ρ (Kⱼ ⊗ 1)ᴴ with ∑ⱼ Kⱼᴴ Kⱼ = 1, Bob's reduced state Tr_A ρ is unchanged.
This generalizes de Wolf, Chapter 18, Exercise 7, from a unitary on a pure state to
a Kraus family on a mixed state.
No-signalling for a local unitary (de Wolf, Chapter 18, Exercise 7, for
mixed states): a unitary U applied by Alice leaves Bob's reduced state unchanged.
No-signalling for a measurement: if Alice measures her system in the computational basis
and the outcome is discarded, ρ ↦ ∑ᵢ (|i⟩⟨i| ⊗ 1) ρ (|i⟩⟨i| ⊗ 1), Bob's reduced state is
unchanged.