Pratik Patil

AncillaBlocks.lean

1module23public import SubentropyCertificates.CQContinuityTheorem45/-! Tensoring each block of a CQ ensemble with the same independent ancillary state. -/6@[expose] public section7noncomputable section8open Matrix9open scoped BigOperators ComplexOrder MatrixOrder Kronecker10namespace SubentropyCertificates.ConditionalContinuity11open D5.S3.Quantum.Foundation.FiniteStateChannel (DensityState)12open D5.S3.Quantum.Information.PartialTraceMutualInformation (density_posSemidef)13open SubentropyCertificates.BinarySpectra (densityMatrix)1415variable {X D C : Type*} [Fintype X] [Fintype D] [DecidableEq D]16  [Fintype C] [DecidableEq C]1718/-- Append the same independent quantum state to every subnormalized CQ block. -/19def ancillaBlocks (τ : DensityState C) (A : X → Matrix D D ℂ) (x : X) : Matrix (D × C) (D × C) ℂ :=20  A x ⊗ₖ densityMatrix τ2122omit [Fintype X] [DecidableEq D] in23theorem ancillaBlocks_posSemidef (τ : DensityState C) (A : X → Matrix D D ℂ)24    (ha : ∀ x, (A x).PosSemidef) (x : X) : (ancillaBlocks τ A x).PosSemidef :=25  (ha x).kronecker (density_posSemidef τ)2627omit [Fintype D] [DecidableEq D] in28theorem sum_ancillaBlocks (τ : DensityState C) (A : X → Matrix D D ℂ) :29    ∑ x, ancillaBlocks τ A x = (∑ x, A x) ⊗ₖ densityMatrix τ := by30  ext ⟨i,c⟩ ⟨j,b⟩31  simp only [ancillaBlocks, Matrix.sum_apply, kroneckerMap_apply, Finset.sum_mul]3233omit [DecidableEq D] in34theorem ancillaBlocks_trace (τ : DensityState C) (A : X → Matrix D D ℂ)35    (ht : (∑ x, A x).trace = 1) : (∑ x, ancillaBlocks τ A x).trace = 1 := by36  rw [sum_ancillaBlocks, trace_kronecker, ht, show (densityMatrix τ).trace = 1 from τ.2.2, mul_one]3738omit [Fintype D] [DecidableEq D] in39/-- Along the segment between extended endpoints the marginal is the extension of the40original marginal at the same parameter. -/41theorem ancilla_segment_marginal (τ : DensityState C) (A B : X → Matrix D D ℂ) (s : ℝ) :42    (∑ x, blockSegment (ancillaBlocks τ A) (ancillaBlocks τ B) s x) =43      (∑ x, blockSegment A B s x) ⊗ₖ densityMatrix τ := by44  rw [← sum_ancillaBlocks]45  apply Finset.sum_congr rfl46  intro x _47  simp only [blockSegment, ancillaBlocks, Matrix.add_kronecker, Matrix.smul_kronecker]4849end SubentropyCertificates.ConditionalContinuity

Axioms used

Choose a statement to see which axioms its proof uses.