Documentation

CslibFrontier.Foundations.Quantum.Algebra.FamApprox

Closeness of families of measurements #

Rigidity arguments compare families of measurements A = (A^q_a)_{q,a}, indexed by a question q and an outcome a, in a state φ and under a question distribution μ. The source's relation Ji, Natarajan, Vidick, Wright and Yuen, §5.2, Definition 5.16 (arXiv:2001.04383v4, p. 55) squares, sums over outcomes and averages over questions, for vector states, and bounds the result by O(δ):

E_{q ∼ μ} ∑_a ‖(A^q_a - B^q_a) ψ‖² = O(δ).

The relation A ≈ᶠ[μ, φ; δ] B (Cslib.Quantum.FamApprox) adapts it. It fixes an exact budget in place of O(δ), bounds the distance rather than its square, so for δ ≥ 0 it says E_{q ∼ μ} ∑_a ‖A^q_a - B^q_a‖²_φ ≤ δ² (Cslib.Quantum.famApprox_iff), and it allows families of arbitrary operators in an arbitrary state of an algebra. So the source's A ≈_δ B with constant C is A ≈ᶠ[μ, φ; √(C δ)] B, as for single operators in CslibFrontier/Foundations/Quantum/Algebra/Approx.lean.

The relation is the generic closeness Cslib.Close through the weighted linear map x ↦ (√μ(q) · x_{q,a})_{q,a} into ℓ²(Q × α) over the GNS pre-inner-product space of φ (Cslib.Quantum.famL). This map may discard the questions of probability 0, so it need not be injective; separately, its seminorm does not distinguish operators of state norm 0. The relation inherits the calculus of Cslib.Close and composes in calc chains. Per-question bounds turn into family closeness (Cslib.Quantum.famApprox_of_forall). For example, consistent measurements are close (Cslib.Quantum.Measurement.famApprox_of_agreement).

Main definitions #

Main results #

References #

noncomputable def Cslib.Quantum.famL {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} (μ : PMF Q) (φ : AlgState A) :
(Q → α → A) →ₗ[ℂ] PiLp 2 fun (x : Q × α) => φ.PreGNS

The weighted linear map x ↦ (√μ(q) · x_{q,a})_{q,a} of families into ℓ²(Q × α) over the GNS pre-inner-product space of φ. Its norm is √(E_{q∼μ} ∑_a ‖x_{q,a}‖²_φ) (Cslib.Quantum.norm_famL_sq). It discards the questions of probability 0.

theorem Cslib.Quantum.norm_famL_sq {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] (μ : PMF Q) (φ : AlgState A) (x : Q → α → A) :
‖(famL μ φ) x‖ ^ 2 = ∑ q : Q, (μ q).toReal * ∑ a : α, φ.norm (x q a) ^ 2
def Cslib.Quantum.FamApprox {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] (μ : PMF Q) (φ : AlgState A) (δ : ℝ) (x y : Q → α → A) :

x and y are δ-close as families in the state φ under the question distribution μ: ‖famL μ φ (x - y)‖ ≤ δ, which for δ ≥ 0 is E_{q∼μ} ∑_a ‖x_{q,a} - y_{q,a}‖²_φ ≤ δ² (Cslib.Quantum.famApprox_iff). A named relation, so that it elaborates under binders.

Instances For

    x and y are δ-close as families in the state φ under the question distribution μ: ‖famL μ φ (x - y)‖ ≤ δ, which for δ ≥ 0 is E_{q∼μ} ∑_a ‖x_{q,a} - y_{q,a}‖²_φ ≤ δ² (Cslib.Quantum.famApprox_iff). A named relation, so that it elaborates under binders.

    theorem Cslib.Quantum.famApprox_iff {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] {μ : PMF Q} {φ : AlgState A} {x y : Q → α → A} {δ : ℝ} (hδ : 0 ≤ δ) :
    FamApprox μ φ δ x y ↔ ∑ q : Q, (μ q).toReal * ∑ a : α, φ.norm (x q a - y q a) ^ 2 ≤ δ ^ 2
    theorem Cslib.Quantum.FamApprox.symm {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] {μ : PMF Q} {φ : AlgState A} {x y : Q → α → A} {δ : ℝ} (h : FamApprox μ φ δ x y) :
    FamApprox μ φ δ y x
    theorem Cslib.Quantum.FamApprox.mono {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] {μ : PMF Q} {φ : AlgState A} {x y : Q → α → A} {δ δ' : ℝ} (h : FamApprox μ φ δ x y) (hδ : δ ≤ δ') :
    FamApprox μ φ δ' x y
    theorem Cslib.Quantum.FamApprox.trans {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] {μ : PMF Q} {φ : AlgState A} {x y z : Q → α → A} {δ δ' : ℝ} (h₁ : FamApprox μ φ δ x y) (h₂ : FamApprox μ φ δ' y z) :
    FamApprox μ φ (δ + δ') x z

    Errors add along chains of family approximations.

    @[instance_reducible]
    instance Cslib.Quantum.instTransForallForallFamApproxHAddReal {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] {μ : PMF Q} {φ : AlgState A} {δ δ' : ℝ} :
    Trans (FamApprox μ φ δ) (FamApprox μ φ δ') (FamApprox μ φ (δ + δ'))
    theorem Cslib.Quantum.famApprox_of_forall {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] {μ : PMF Q} {φ : AlgState A} {x y : Q → α → A} {ε : ℝ} (h : ∀ (q : Q), ∑ a : α, φ.norm (x q a - y q a) ^ 2 ≤ ε) :
    FamApprox μ φ (√ε) x y

    Per-question bounds ∑_a ‖x_{q,a} - y_{q,a}‖²_φ ≤ ε give family closeness √ε.

    def Cslib.Quantum.Measurement.effects {A : Type u_1} [Ring A] [PartialOrder A] {Q : Type u_2} {α : Type u_3} [Fintype α] (M : Q → Measurement α A) :
    Q → α → A

    The effects (A^q_a)_{q,a} of a family of measurements.

    theorem Cslib.Quantum.Measurement.famApprox_of_agreement {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {Q : Type u_2} {α : Type u_3} [Fintype Q] [Fintype α] [TopologicalSpace A] [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [NonnegSpectrumClass ℝ A] (μ : PMF Q) (φ : AlgState A) (M R : Q → Measurement α A) (hc : ∀ (q : Q) (a : α), Commute ((M q).effect a) ((R q).effect a)) {ε : ℝ} (h : ∀ (q : Q), 1 - ε ≤ agreement φ (M q) (R q)) :
    FamApprox μ φ (√(2 * ε)) (effects M) (effects R)

    Consistency implies closeness, for families: measurements agreeing with probability at least 1 - ε on every question are √(2ε)-close as families.