Pratik Patil

UniformAncillaLimit.lean

1module23public import SubentropyCertificates.AncillaFactorSpectrum4public import SubentropyCertificates.AncillaIntegralLimit5public import SubentropyCertificates.AncillaStateDifference67/-! The large-ancilla purity limit of Corollary 26. -/8@[expose] public section9noncomputable section10open Filter Matrix MeasureTheory Set11open scoped Topology BigOperators Kronecker ComplexOrder MatrixOrder12namespace SubentropyCertificates.AncillaLimit13open D5.S3.Quantum.Foundation.FiniteStateChannel (DensityState)14open D5.S3.Quantum.Information.PartialTraceMutualInformation (density_posSemidef productState)15open D5.S3.Quantum.Information.OrthogonalRecordEntropy (recordState mixtureState)16open D5.S3.Quantum.Subentropy.Basic (matrixSubentropy)17open D5.S3.Quantum.Subentropy.ClassicalQuantumGram (conditionalSubentropy)18open SubentropyCertificates.BinarySpectra (densityMatrix)19open SubentropyCertificates.Representations (determinantIntegrand reciprocal_determinant_integral)20open SubentropyCertificates.SpectralContinuity (maximallyMixed)21open SubentropyCertificates.Quadratic (purity statistic)2223private theorem spectrum_sum_one {D : Type*} [Fintype D] [DecidableEq D] (σ : DensityState D) :24    ∑ i, (density_posSemidef σ).isHermitian.eigenvalues i = 1 := by25  have h := congrArg Complex.re (density_posSemidef σ).isHermitian.trace_eq_sum_eigenvalues.symm26  have ht : (densityMatrix σ).trace = 1 := σ.2.227  simpa [densityMatrix] using h.trans (congrArg Complex.re ht)2829private theorem tensor_subentropy_representation {D : Type*} [Fintype D] [DecidableEq D]30    (σ : DensityState D) (k : ℕ) :31    let M := densityMatrix σ ⊗ₖ densityMatrix (maximallyMixed (Fin (k + 1)))32    IntegrableOn (determinantIntegrand M) (Ioi 0) ∧33      matrixSubentropy M = ∫ t in Ioi (0 : ℝ), determinantIntegrand M t := by34  let ν := maximallyMixed (Fin (k + 1))35  apply reciprocal_determinant_integral _ ((density_posSemidef σ).kronecker (density_posSemidef ν))36  rw [Matrix.trace_kronecker, show (densityMatrix σ).trace = 1 from σ.2.2,37    show (densityMatrix ν).trace = 1 from ν.2.2, mul_one]3839/-- For any two density matrices, even of different dimensions, tensoring both with I/K40identifies their scaled subentropy difference in the limit with half the purity difference. -/41theorem replicated_state_difference_tendsto {D E : Type*} [Fintype D] [DecidableEq D]42    [Fintype E] [DecidableEq E] (R : DensityState D) (A : DensityState E) :43    Tendsto (fun k : ℕ ↦ ((k + 1 : ℕ) : ℝ) *44      (matrixSubentropy (densityMatrix R ⊗ₖ densityMatrix (maximallyMixed (Fin (k + 1)))) -45       matrixSubentropy (densityMatrix A ⊗ₖ densityMatrix (maximallyMixed (Fin (k + 1)))))) atTop46      (𝓝 ((purity A - purity R) / 2)) := by47  let w := (density_posSemidef A).isHermitian.eigenvalues48  let v := (density_posSemidef R).isHermitian.eigenvalues49  have h := replicated_difference_integral_tendsto w v50    (density_posSemidef A).eigenvalues_nonneg (density_posSemidef R).eigenvalues_nonneg51    (spectrum_sum_one A) (spectrum_sum_one R)52  change Tendsto _ atTop (𝓝 (((∑ i, (density_posSemidef A).isHermitian.eigenvalues i ^ 2) -53    ∑ i, (density_posSemidef R).isHermitian.eigenvalues i ^ 2) / 2)) at h54  rw [sum_eigenvalues_sq_eq_purity A, sum_eigenvalues_sq_eq_purity R] at h55  apply h.congr' (.of_forall fun k ↦ ?_)56  have hR := tensor_subentropy_representation R k57  have hA := tensor_subentropy_representation A k58  rw [hR.2, hA.2, ← integral_sub hR.1 hA.1, ← integral_const_mul]59  apply setIntegral_congr_fun measurableSet_Ioi60  intro t _61  dsimp only62  rw [determinantIntegrand_replicated (densityMatrix R) (density_posSemidef R) k t,63    determinantIntegrand_replicated (densityMatrix A) (density_posSemidef A) k t]64  dsimp only [w, v]65  ring6667/-- For every finite CQ ensemble, the ancilla dimension times the extended conditional68subentropy tends to the ensemble's quadratic statistic. The dimension ranges over k+1. -/69theorem uniform_ancilla_conditional_tendsto {X B : Type*}70    [Fintype X] [DecidableEq X] [Fintype B] [DecidableEq B] (p : X → ℝ)71    (hp : ∀ x, 0 ≤ p x) (hs : ∑ x, p x = 1) (ρ : X → DensityState B) :72    Tendsto (fun k : ℕ ↦ ((k + 1 : ℕ) : ℝ) * conditionalSubentropy p hp hs73      (fun x ↦ productState (ρ x) (maximallyMixed (Fin (k + 1))))) atTop74      (𝓝 (statistic p hp hs ρ)) := by75  simp_rw [conditional_product_eq_state_difference]76  exact replicated_state_difference_tendsto (recordState p hp hs ρ) (mixtureState p hp hs ρ)7778end SubentropyCertificates.AncillaLimit

Axioms used

Choose a statement to see which axioms its proof uses.