full depolarizing output spectrum, entropies, and loss
ProvedQAlgorithms.Papers.Independent.Gap48.P33.depolarizing_spectrum_entropiesFor , send the signal part of through the total-Pauli-error channel . The printed order here is signal then reference. With and the constructed q-basis of (5.5),
The remaining q-basis vectors are , , and . Its eigenvalue multiset is
Writing , one has , , , , and . This computes the full output rather than postulating its spectral data.
Here denotes binary Shannon entropy in bits, with .
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P33
namespace QAlgorithms.Papers.Independent.Gap48.P33
open scoped BigOperators Matrix ComplexConjugate
-- Reuse only definitions from the pinned accepted library; no imported theorem is used.
open QAlgorithms.Papers.Independent.Information100.P27 (shannon average labelInformation)
open QAlgorithms.Papers.Independent.Information100.P08 (canonicalPurification)
open QAlgorithms.Papers.Independent.Dependency50.P19 (mutualInformation first both)
open QAlgorithms.Papers.Independent.Dependency50.P24 (cqState)
open QAlgorithms.Papers.Independent.Dependency50.P45 (entropyExchange inputMutualInfo)
open QAlgorithms.Papers.Independent.Claimed50.P03 (pauliWeight wordSupport)
/-- PDF p.11, (5.12)–(5.17): actual output, eigenvalue multiset, entropies and loss.
The characteristic polynomial gives the multiset without arbitrary eigenvalue ordering. -/
theorem depolarizing_spectrum_entropies (p q : ℝ)
(hp : 0 ≤ p) (hp1 : p ≤ 1) (hq : 0 ≤ q) (hq1 : q ≤ 1) :
depolarizingOutput p q = ((1 - p : ℝ) : ℂ) • pureDensity (qBasis 0 q) +
((p / 3 : ℝ) : ℂ) • (pureDensity (qBasis 1 q) +
pureDensity (qBasis 2 (1 - q)) + pureDensity (qBasis 3 (1 - q))) ∧
IsDensityMatrix (depolarizingOutput p q) ∧
(depolarizingOutput p q).charpoly =
(∏ j : Fin 4, (Polynomial.X - Polynomial.C (depolarizingSpectrum p q j : ℂ))) ∧
vnEntropy (depolarizingOutput p q) = shannon (depolarizingSpectrum p q) ∧
entropyExchange (pauliDepolarizing p) (diagonalSource q) = shannon (depolarizingSpectrum p q) ∧
vnEntropy (traceLeft (depolarizingOutput p q)) =
binEntropy2 (q + (2 * p / 3) * (1 - 2 * q)) ∧
vnEntropy (diagonalSource q) = binEntropy2 q ∧
loss (pauliDepolarizing p) (diagonalSource q) = binEntropy2 q -
binEntropy2 (q + (2 * p / 3) * (1 - 2 * q)) + shannon (depolarizingSpectrum p q) ∧
mutualInformation (depolarizingOutput p q) =
2 * binEntropy2 q - loss (pauliDepolarizing p) (diagonalSource q) := by sorry
end QAlgorithms.Papers.Independent.Gap48.P33
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all , define using the Pauli matrices, , and
Put , , and . Then
is positive semidefinite with trace , and its characteristic polynomial is . With , , , and , the assertions further give
Here entropy exchange uses the canonical purification with amplitudes , , and mutual information is the sum of the two marginal entropies minus the joint entropy. All endpoints are included, with zero logarithms interpreted by the total real logarithm, in particular .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.