Eqs. (6)–(8), pp. 12–13 — the two importance-sampling expectations
ProvedVdNSim.Sparse.eqs_6_8importance-samplingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sparse-operator
Let , where is the th column-data slot of . Define , , and the functions of Eqs. (7)–(8), splitting according to and its strict complement. Then
The identity turns each contribution to the matrix element into expectations that can be estimated from the two sampling laws.
Formalization Note No state normalization is needed for this algebraic identity. The value of a quotient at a zero-probability outcome is zero; its weighted contribution is also zero.
Preamble
import Mathlib import Definitions.Def_VdNSim_Sparse_Model noncomputable section
Formal statement
namespace VdNSim.Sparse
/-- Eqs. (6)–(8): the p- and q-weighted expectations sum to sigma_i. -/
theorem eqs_6_8 {X : Type*} [Fintype X] [DecidableEq X]
{A : Matrix X X ℂ} {s : ℕ} (D : ColumnData A s) (ψ ϕ : X → ℂ)
(i : Fin s) :
(∑ x, D.α i x * star (ϕ (D.r i x)) * ψ x) =
expect (prob ψ) (F ψ ϕ D i) + expect (prob ϕ) (G ψ ϕ D i) := by sorry
end VdNSim.Sparse
Source
Van den Nest, Simulating quantum computers with probabilistic methods, arXiv:0911.1624v3, pp. 12–13, Eqs. (6)–(8)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.