Prediction for sparse states and observables
OpenQAlgorithms.Papers.Independent.Extend50.P46.corollary3_2Here is the number of qubits, , states are positive semidefinite matrices of trace one, and is a complex-linear CPTP map. The basis is a complete Hermitian Hilbert–Schmidt orthonormal basis. Write , and . The norm is the Hilbert–Schmidt norm, and uses the spectral norm.
Let be a state and with at most and nonzero coefficients, respectively. For , suppose estimates every entry of within . Then
This gives the sparsity dependence used in the learning results. A zero observable has the exact zero estimator.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P46
noncomputable section
open MeasureTheory
open scoped Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Extend50.P46
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.16-17, Corollary 3.2. The factor is s_rho times sqrt(s_O),
and ||O||_2 is the Hilbert-Schmidt norm. -/
theorem corollary3_2 {n : ℕ} (Q : HermitianBasis n) (N : {F : (Matrix (Qubits n) (Qubits n) ℂ) →ₗ[ℂ] (Matrix (Qubits n) (Qubits n) ℂ) // IsChannel F})
(rho O : (Matrix (Qubits n) (Qubits n) ℂ)) (hrho : IsDensityMatrix rho) (hO : O.IsHermitian)
(srho sO : ℕ) (hrhoSparse : supportCount (coeff Q rho) ≤ srho)
(hOSparse : supportCount (coeff Q O) ≤ sO)
(eps : ℝ) (heps : 0 < eps)
(r : Matrix (Fin (4 ^ n)) (Fin (4 ^ n)) ℝ)
(haccuracy : tableGood r (tm Q N) eps) :
|predict Q r rho O - (O * N.val rho).trace.re| ≤
eps * srho * Real.sqrt sO * frobNorm O * basisNorm Q := by sorry
end QAlgorithms.Papers.Independent.Extend50.P46
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , including , let be a complex basis of the matrices on bits, consisting of Hermitian matrices satisfying . Let be complex-linear and have a finite Kraus representation for all , with . Let be positive semidefinite of trace , let be Hermitian, and put and . For all natural numbers such that at most of the and at most of the are nonzero, every real , and every real matrix with for all , the assertion is
where the operator norm uses Euclidean vector norms. The quantifiers include and : the former cannot satisfy the density-matrix hypothesis, while the latter forces . No upper bound on is assumed, and gives a one-dimensional matrix space.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.