Lemma 4: distribution error controls observable-mean error
OpenQAlgorithms.Papers.Independent.Advance50.P30.observable_mean_errorLet have finite dimension , and let , where , all , and the are Hermitian with . Let be a normalized density operator. For each , write for its spectral decomposition, set , and let be any normalized probability distribution on the same spectral alphabet. Then
The Hilbert–Schmidt norm is . This estimate converts distribution-frequency control into mean-value control, including negative coefficients. The maximum is over a nonempty finite set.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P30
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P30
open QAlgorithms MeasureTheory
open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)
open QAlgorithms.Papers.Independent.Information100.P21 (Op Vec)
open QAlgorithms.Papers.Independent.Information100.P69 (permute)
open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.Elementwise
attribute [local instance] Classical.decEq Classical.propDecidable
attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixContinuousENorm
attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixMeasurable
attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixBorel
attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.vectorMeasurable
attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.vectorBorel
/-- PDF p.17, Lemma 4, Eq.(15), with arbitrary signed real coefficients.
The proof's operator-norm equality is unnecessary; HS normalization gives
operator norm at most one. The nonempty finite sSup is the actual maximum. -/
theorem observable_mean_error {I : Type} [Fintype I] [DecidableEq I] [Nonempty I]
(t : ℕ) (ht : 0 < t) (D : HSDecomposition I t)
(rho : Op I) (hrho : IsDensityMatrix rho)
(Q : (i : Fin t) → Fin (D.intermediate i).count → ℝ)
(hQpos : ∀ i a, 0 ≤ Q i a) (hQsum : ∀ i, ∑ a, Q i a = 1) :
|(D.operator * rho).trace.re -
∑ i, D.coeff i * ∑ a, (D.intermediate i).value a * Q i a| ≤
Real.sqrt t * frobNorm D.operator *
sSup (Set.range fun i : Fin t =>
l1 (fun a => effectProb ((D.intermediate i).effect a) rho) (Q i)) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a finite, nonempty type with decidable equality, and let be a natural number. For each , take a positive number of outcomes, nonzero positive semidefinite projections indexed by that sum to the identity and satisfy when , and pairwise distinct real values . Put
Suppose for and otherwise, and take arbitrary real coefficients , defining . Let be positive semidefinite with trace one, and for each let be nonnegative real numbers summing to one over that intermediate measurement’s outcomes. With
the following inequality holds:
Because , the supremum on the right is the maximum of a nonempty finite collection. No bounds on the real coefficients or spectral values are assumed beyond the stated conditions.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.