Documentation

CslibFrontier.Foundations.Quantum.DensityMatrix.Isometry

Density-matrix evolution through isometries #

Rectangular matrices describe an isometry into a larger register, including initialization of ancillas. densityConj V is the linear operation ρ ↦ V * ρ * Vᴴ, built from Mathlib's matrix multiplication maps. It is not a new notion of channel: preservation of density matrices requires the explicit isometry equation. The matrix of a linear isometry satisfies that equation.

The same operation on one factor of a joint state preserves the other factor's reduced density matrix. No product-state assumption is made, so correlations with an inaccessible reference remain in the joint output. These are original bridges between existing representations.

Main definitions #

Main results #

noncomputable def Cslib.Quantum.densityConj {ι : Type u_1} {ι' : Type u_2} [Fintype ι] (V : Matrix ι' ι ℂ) :

Conjugation ρ ↦ V * ρ * Vᴴ as a linear map, allowing different input and output dimensions. Density matrices are preserved when Vᴴ * V = 1.

theorem Cslib.Quantum.densityConj_apply {ι : Type u_1} {ι' : Type u_2} [Fintype ι] (V : Matrix ι' ι ℂ) (ρ : Matrix ι ι ℂ) :
(densityConj V) ρ = V * ρ * V.conjTranspose

The operation uses the usual matrix conjugation.

theorem Cslib.Quantum.densityConj_mul {ι : Type u_1} {ι' : Type u_2} [Fintype ι] {ι'' : Type u_4} [Fintype ι'] (U : Matrix ι'' ι' ℂ) (V : Matrix ι' ι ℂ) (ρ : Matrix ι ι ℂ) :
(densityConj (U * V)) ρ = (densityConj U) ((densityConj V) ρ)

Matrix multiplication composes the corresponding state evolutions, including rectangular maps between registers of different dimensions.

theorem Cslib.Quantum.trace_densityConj_sub_le {ι : Type u_4} {ι' : Type u_5} [Fintype ι] [Fintype ι'] [DecidableEq ι] {U V : Matrix ι' ι ℂ} (hu : U.conjTranspose * U = 1) (hv : V.conjTranspose * V = 1) {ρ : Matrix ι ι ℂ} (hρ : ρ.PosSemidef) :
((densityConj (U - V)) ρ).trace.re ≤ 4 * ρ.trace.re

Conjugating a positive matrix by the difference of two isometries gives a matrix with at most four times the original trace, including on subnormalized measurement branches.

@[simp]
theorem Cslib.Quantum.densityConj_one {ι : Type u_1} [Fintype ι] [DecidableEq ι] (ρ : Matrix ι ι ℂ) :
(densityConj 1) ρ = ρ

The identity matrix leaves an arbitrary state operator unchanged.

theorem Cslib.Quantum.IsDensityMatrix.densityConj {ι : Type u_1} {ι' : Type u_2} [Fintype ι] [Fintype ι'] [DecidableEq ι] {ρ : Matrix ι ι ℂ} (hρ : IsDensityMatrix ρ) {V : Matrix ι' ι ℂ} (hV : V.conjTranspose * V = 1) :

A rectangular isometry carries every density matrix to a density matrix.

theorem Cslib.Quantum.IsDensityMatrix.densityConj_kronecker {ι : Type u_1} {ι' : Type u_2} {κ : Type u_3} [Fintype ι] [Fintype ι'] [Fintype κ] [DecidableEq ι] [DecidableEq κ] {ρ : Matrix (ι × κ) (ι × κ) ℂ} (hρ : IsDensityMatrix ρ) {V : Matrix ι' ι ℂ} (hV : V.conjTranspose * V = 1) :
IsDensityMatrix ((Quantum.densityConj (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) V 1)) ρ)

A local isometry preserves a joint density matrix and retains the full reference.

The matrix of a linear isometry has orthonormal columns, even when it is rectangular.

theorem Cslib.Quantum.densityConj_pureState {ι : Type u_1} {ι' : Type u_2} [Fintype ι] [DecidableEq ι] (V : Matrix ι' ι ℂ) (ψ : EuclideanSpace ℂ ι) :

Conjugating a rank-one state is exactly the corresponding linear evolution of its vector.

theorem Cslib.Quantum.densityConj_kronecker_pureState {ι : Type u_1} {ι' : Type u_2} {κ : Type u_3} [Fintype ι] [Fintype κ] [DecidableEq ι] [DecidableEq κ] (V : Matrix ι' ι ℂ) (ψ : EuclideanSpace ℂ ι) (φ : EuclideanSpace ℂ κ) :
(densityConj (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) V 1)) (pureState (prodState ψ φ)) = pureState (prodState ((Matrix.toEuclideanLin V) ψ) φ)

On a product pure state, local conjugation evolves the active vector and retains the reference vector. Correlated inputs still use the unrestricted joint-matrix operation.

theorem Cslib.Quantum.partialTraceLeft_densityConj_kronecker {ι : Type u_1} {ι' : Type u_2} {κ : Type u_3} [Fintype ι] [Fintype ι'] [Fintype κ] [DecidableEq ι] [DecidableEq κ] {V : Matrix ι' ι ℂ} (hV : V.conjTranspose * V = 1) (ρ : Matrix (ι × κ) (ι × κ) ℂ) :
partialTraceLeft ((densityConj (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) V 1)) ρ) = partialTraceLeft ρ

Applying a rectangular isometry to the first system leaves the reference marginal unchanged. The input may be mixed or entangled, and need not even be normalized for this identity.