AncillaEffectivePOVM.lean
1module23public import SubentropyCertificates.AncillaBlocks45/-! Effective POVMs on the signal system when the ancillary state is independent. -/6@[expose] public section7noncomputable section8open Matrix9open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator Kronecker1011namespace SubentropyCertificates.Discrimination12open D5.S3.Quantum.Foundation.FiniteStateChannel (DensityState)13open D5.S3.Quantum.Information.PartialTraceMutualInformation14open SubentropyCertificates.BinarySpectra (densityMatrix)1516variable {B C : Type*} [Fintype B] [DecidableEq B] [Fintype C] [DecidableEq C]1718/-- The signal effect obtained by compressing a joint effect against the independent state ν. -/19def ancillaEffect (ν : DensityState C) (E : Matrix (B × C) (B × C) ℂ) : Matrix B B ℂ :=20 let S := (1 : Matrix B B ℂ) ⊗ₖ CFC.sqrt (densityMatrix ν)21 partialTraceRight (S * E * S)2223/-- Compression takes positive joint effects to positive signal effects, including for singular ν. -/24theorem ancillaEffect_posSemidef (ν : DensityState C) (E : Matrix (B × C) (B × C) ℂ)25 (hE : E.PosSemidef) : (ancillaEffect ν E).PosSemidef := by26 let S := (1 : Matrix B B ℂ) ⊗ₖ CFC.sqrt (densityMatrix ν)27 have hs : S.conjTranspose = S := by28 dsimp only [S]29 rw [Matrix.conjTranspose_kronecker, Matrix.conjTranspose_one]30 rw [show (CFC.sqrt (densityMatrix ν)).conjTranspose = CFC.sqrt (densityMatrix ν) from31 (CFC.sqrt_nonneg _).isSelfAdjoint.star_eq]32 apply partialTraceRight_posSemidef33 simpa only [hs] using hE.conjTranspose_mul_mul_same S3435/-- Compression of an identity-summing family is identity-summing on the signal system. -/36theorem sum_ancillaEffect {Y : Type*} [Fintype Y] (ν : DensityState C)37 (E : Y → Matrix (B × C) (B × C) ℂ) (hsum : ∑ y, E y = 1) :38 ∑ y, ancillaEffect ν (E y) = 1 := by39 let S := (1 : Matrix B B ℂ) ⊗ₖ CFC.sqrt (densityMatrix ν)40 have h : (∑ y, ancillaEffect ν (E y)) = partialTraceRight (∑ y, S * E y * S) := by41 ext i j42 simp only [ancillaEffect, S, partialTraceRight, Matrix.sum_apply]43 exact Finset.sum_comm44 rw [h, ← Finset.sum_mul, ← Finset.mul_sum, hsum, Matrix.mul_one]45 change partialTraceRight (((1 : Matrix B B ℂ) ⊗ₖ _) * (1 ⊗ₖ _)) = _46 rw [← Matrix.mul_kronecker_mul, Matrix.one_mul, CFC.sqrt_mul_sqrt_self _47 (density_posSemidef ν).nonneg]48 exact (partialTraceRight_kronecker (1 : Matrix B B ℂ) (densityMatrix ν)).trans49 (by rw [show (densityMatrix ν).trace = 1 from ν.2.2, one_smul])5051end SubentropyCertificates.Discrimination
Axioms used
Choose a statement to see which axioms its proof uses.