Pratik Patil

AncillaGuessing.lean

1module23public import SubentropyCertificates.AncillaTracePairing4public import D5.S3.Quantum.Subentropy.GuessingProbability56/-! The guessing-error clause of Proposition 25 for an arbitrary independent ancillary state. -/7@[expose] public section8noncomputable section9open Matrix Set10open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator Kronecker1112namespace SubentropyCertificates.Discrimination13open D5.S3.Quantum.Foundation.FiniteStateChannel (DensityState)14open D5.S3.Quantum.Information.PartialTraceMutualInformation (productState)15open D5.S3.Quantum.Subentropy.GuessingProbability16open SubentropyCertificates.BinarySpectra (densityMatrix)1718variable {X Y B C : Type*} [Fintype X] [Fintype Y] [Fintype B] [DecidableEq B]19  [Fintype C] [DecidableEq C]2021/-- A measurement on the original system can ignore the ancilla. The lifted effects22sum to the identity and reproduce every original outcome probability. -/23theorem lift_povm_ancilla (ν : DensityState C) (M : Y → Matrix B B ℂ)24    (hM : ∀ y, (M y).PosSemidef) (hs : ∑ y, M y = 1) :25    (∀ y, (M y ⊗ₖ (1 : Matrix C C ℂ)).PosSemidef) ∧26    (∑ y, M y ⊗ₖ (1 : Matrix C C ℂ)) = 1 ∧27    ∀ (y : Y) (ρ : DensityState B),28      ((M y ⊗ₖ (1 : Matrix C C ℂ)) * densityMatrix (productState ρ ν)).trace =29        (M y * densityMatrix ρ).trace := by30  refine ⟨fun y ↦ (hM y).kronecker Matrix.PosSemidef.one, ?_, ?_⟩31  · calc32      _ = (∑ y, M y) ⊗ₖ (1 : Matrix C C ℂ) := by33        ext ⟨i,c⟩ ⟨j,d⟩34        simp only [Matrix.sum_apply, kroneckerMap_apply, Finset.sum_mul]35      _ = _ := by rw [hs, one_kronecker_one]36  · intro y ρ37    change ((M y ⊗ₖ 1) * (densityMatrix ρ ⊗ₖ densityMatrix ν)).trace = _38    rw [← Matrix.mul_kronecker_mul, one_mul, trace_kronecker,39      show (densityMatrix ν).trace = 1 from ν.2.2, mul_one]4041/-- The attainable success probabilities coincide. Each joint guessing measurement induces42a measurement on B with the same statistics, and any measurement on B lifts by tensoring43its effects with the identity. -/44theorem successProbabilitySet_product_right (p : X → ℝ) (ρ : X → DensityState B)45    (ν : DensityState C) :46    successProbabilitySet p (fun x ↦ productState (ρ x) ν) = successProbabilitySet p ρ := by47  ext a48  constructor49  · rintro ⟨E, hE, hs, rfl⟩50    refine ⟨fun x ↦ ancillaEffect ν (E x), fun x ↦ ancillaEffect_posSemidef ν (E x) (hE x),51      sum_ancillaEffect ν E hs, ?_⟩52    apply Finset.sum_congr rfl53    intro x _54    exact congrArg (fun z : ℂ ↦ p x * z.re) (ancilla_trace_pairing ν (E x) (densityMatrix (ρ x))).symm55  · rintro ⟨M, hM, hs, rfl⟩56    obtain ⟨hpos, hsum, hpair⟩ := lift_povm_ancilla ν M hM hs57    refine ⟨fun x ↦ M x ⊗ₖ (1 : Matrix C C ℂ), hpos, hsum, ?_⟩58    apply Finset.sum_congr rfl59    intro x _60    exact congrArg (fun z : ℂ ↦ p x * z.re) (hpair x (ρ x)).symm6162/-- An independent ancillary density state preserves optimal guessing probability. -/63theorem pGuess_product_right (p : X → ℝ) (ρ : X → DensityState B) (ν : DensityState C) :64    pGuess p (fun x ↦ productState (ρ x) ν) = pGuess p ρ :=65  congrArg sSup (successProbabilitySet_product_right p ρ ν)6667/-- Proposition 25, guessing-error clause. The same ancillary state is appended for every68signal. It may be singular, and any of the original labels may have prior zero. -/69theorem guessing_error_product_right (p : X → ℝ) (ρ : X → DensityState B) (ν : DensityState C) :70    1 - pGuess p (fun x ↦ productState (ρ x) ν) = 1 - pGuess p ρ := by71  rw [pGuess_product_right]7273end SubentropyCertificates.Discrimination

Axioms used

Choose a statement to see which axioms its proof uses.