Documentation

CslibFrontier.Foundations.Quantum.DensityMatrix.Linear

Linear partial trace #

Bundle the existing partial trace as a complex-linear map, using its existing addition and scalar laws. This lets linear measurement continuations observe a reference register and lets the generic linear-map API handle sums and real scalar towers.

Main definitions #

noncomputable def Cslib.Quantum.partialTraceLeftLinearMap (ι : Type u_1) (κ : Type u_2) [Fintype ι] :
Matrix (ι × κ) (ι × κ) ℂ →ₗ[ℂ] Matrix κ κ ℂ

The existing partial trace over the first factor, bundled with its established linearity.

@[simp]
theorem Cslib.Quantum.partialTraceLeftLinearMap_apply (ι : Type u_1) (κ : Type u_2) [Fintype ι] (ρ : Matrix (ι × κ) (ι × κ) ℂ) :

Bundling changes no partial-trace entries.