Documentation

MIPRE.Background.QLD.Soundness

thm:qld: soundness of the Pauli basis test, in a bipartite model #

Phase 5 of planning/mipco-track.md. This file proves thm:qld for the projective strategies of a bipartite model, in the form QLD.SoundIn ω M in which introspection takes it (MIPRE/Background/QLD/ModelSoundness.lean), from two hypotheses on the model:

The headline is soundIn_of_lidt. Its two instances are the two models the project needs.

The route #

Inside the regime --- 48 m d ≤ q, where the chain runs, and qldHlt < 1, where the swap isometry lemma applies --- three steps (exists_extraction_of_regime).

  1. Legalize (legalStrat). Sending each answer of the wrong format to the question's default makes the strategy legally supported, which stage 4 needs. It keeps the strategy projective, does not raise its failure probability (one_sub_povmValue_legalizeStrat_le), and does not change the cube data a Pauli answer carries (rdPauliVec_legalize_pauli), which is all the conclusion is about (legalStrat_pauli_A, legalStrat_pauli_B).
  2. Both cuts on one state (exists_mirrorSimul): lem:qld-global-pvm at the strategy and at the strategy with the players exchanged, at one padding size.
  3. The swap isometry (MirrorSimul.swap_isometry): a local isometry swapPhi aux of the model into the register model over the padded extension in an auxiliary unit state aux, with item 1 on the squared distance and item 2 for both players.

The extraction is that local isometry, with the padded extension in the state aux as its ancilla model. Item 1 of thm:qld is the distance itself, at most √qldEta, and item 2 is the swap lemma's: both are at most qldBound, and both are at most the trivial bound 4 (sum_stateSqNorm_alice_le_four, sum_stateSqNorm_bob_le_four), so at most qldErr (le_qldErr). Outside the regime qldErr = 4, and the model itself with the EPR register adjoined inertly is an extraction at the trivial bound (Extraction.trivial).

What changed from the matrix statement #

The matrix thm:qld this replaces (qld_soundness, removed in Phase 5) was about an arbitrary POVM strategy on finite-dimensional spaces. It dilated the strategy to a projective one, ran the chain on the dilation, and carried item 2 back down to the original POVM through the agreement with τ^W on the other half of the pair, at a cost of 8 √η. Introspection, its one consumer, applies it to projective strategies only, so the descent is gone, and with it the explicit embedding of the original space and the register-first reading of the isometries. The error is the same function qldErr, of the closed form a (md)^a (ε^b + q^{-b} + 2^{-bmd}) (exists_qldErr_le).

What differs from the paper's statement #

def MIPRE.BipartiteModel.LocalIsometry.withStates {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} {𝒞' : Type u_4} {𝒜' : Type u_5} {ℬ' : Type u_6} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [Ring 𝒞'] [StarRing 𝒞'] [Algebra ℂ 𝒞'] [Ring 𝒜'] [StarRing 𝒜'] [Algebra ℂ 𝒜'] [Ring ℬ'] [StarRing ℬ'] [Algebra ℂ ℬ'] {M : BipartiteModel 𝒞 𝒜 ℬ} {M' : BipartiteModel 𝒞' 𝒜' ℬ'} (Φ : M.LocalIsometry M') (v : M.H) (w : M'.H) :

A local isometry between the two models with their states replaced: the same isometry and homomorphisms, the states playing no part in a local isometry (toWithState replaces the target's alone).

Equations
  • Φ.withStates v w = { W := Φ.W, ΦA := Φ.ΦA, ΦB := Φ.ΦB, intertwineA := ⋯, intertwineB := ⋯ }
Instances For

    Legalizing the strategy #

    Legalizing a (Pauli, W) answer does not change the cube data it reports: an answer of the wrong format reads as 0, and so does the default.

    noncomputable def MIPRE.QLD.legalStrat {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) :

    The legalized strategy: each measurement relabelled along legalize, which sends an answer of the wrong format for the question to the question's default (legalizeStrat). A coarse-graining of a projective strategy is projective.

    Equations
    Instances For
      theorem MIPRE.QLD.legalStrat_PA {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) (q : Question F m) :
      theorem MIPRE.QLD.legalStrat_PB {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) (q : Question F m) :
      theorem MIPRE.QLD.one_sub_value_legalStrat_le {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) {ε : ℝ} (hfail : 1 - S.value ≤ ε) :

      Legalizing does not raise the failure probability (one_sub_povmValue_legalizeStrat_le).

      theorem MIPRE.QLD.legalSupport_legalStrat_A {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) :
      theorem MIPRE.QLD.legalSupport_legalStrat_B {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) :
      theorem MIPRE.QLD.legalStrat_pauli_A {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) (W : Bas) :

      The first player's coarse (Pauli, W) measurement is unchanged by legalizing.

      theorem MIPRE.QLD.legalStrat_pauli_B {F : Type} [Field F] [Fintype F] [DecidableEq F] {m d : ℕ} [Algebra (ZMod 2) F] [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) (W : Bas) :

      The second player's coarse (Pauli, W) measurement is unchanged by legalizing.

      The trivial bound #

      theorem MIPRE.QLD.sum_stateSqNorm_alice_le_four {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m : ℕ} [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] {M : BipartiteModel 𝒞 𝒜 ℬ} (N : AncillaModel) (Φ : M.LocalIsometry (N.N.reg (Anc F m))) (hΦ : Φ.ΦA 1 = 1) {P : POVMIn (Anc F m) 𝒜} (hP : IsPVMIn P.op) (W : Bas) :
      ∑ h : Anc F m, (N.N.reg (Anc F m)).stateSqNorm (Φ.ΦA (P.op h) - smulKron 1 (Weyl.proj (weylOf W) h)) ≤ 4

      The first player's error of an extraction is at most 4, for a local isometry into the register model of an ancilla model whose first homomorphism preserves the unit: the transported Pauli measurement and the honest one are projective, on a unit vector (BipartiteModel.sum_stateSqNorm_sub_le_four).

      theorem MIPRE.QLD.sum_stateSqNorm_bob_le_four {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m : ℕ} [NeZero m] {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} (N : AncillaModel) (Φ : M.LocalIsometry (N.N.reg (Anc F m))) (hΦ : Φ.ΦB 1 = 1) {P : POVMIn (Anc F m) ℬ} (hP : IsPVMIn P.op) (W : Bas) :
      ∑ h : Anc F m, (N.N.reg (Anc F m)).swap.stateSqNorm (Φ.ΦB (P.op h) - smulKron 1 (Weyl.proj (weylOf W) h)) ≤ 4

      The second player's error of an extraction is at most 4.

      theorem MIPRE.QLD.norm_inert_reg_sub_le_four {F : Type} [Field F] [Fintype F] [DecidableEq F] {m : ℕ} {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} :
      ‖(M.inert (Introspection.registerEPR (Anc F m)) ⋯).W M.ψ - (M.reg (Anc F m)).ψ‖ ≤ 4

      The inert EPR register carries the state exactly to the state of the register model.

      theorem MIPRE.QLD.inert_reg_ΦA_one {F : Type} [Field F] [Fintype F] [DecidableEq F] {m : ℕ} {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} :
      theorem MIPRE.QLD.inert_reg_ΦB_one {F : Type} [Field F] [Fintype F] [DecidableEq F] {m : ℕ} {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} :
      noncomputable def MIPRE.QLD.Extraction.trivial {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {hm : m ∣ Fintype.card F} (S : M.ProjStrat (qldGame hm)) :
      Extraction M hm S 4

      The trivial extraction, at the trivial bound 4: the model itself is the ancilla model, and the local isometry adjoins the EPR register inertly, carrying the state exactly to the register model's.

      Equations
      Instances For

        The one-point unit vector.

        theorem MIPRE.QLD.dominatesPOVM_of_expand {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarProper 𝒜] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ω : ValueModel} (hω : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → ∀ (v : (M.expand e).H), ‖v‖ = 1 → ω.DominatesPOVM ((M.expand e).withState v)) (hψ : ‖M.ψ‖ = 1) :

        A value model dominating the extensions of a model in unit states dominates the model, in a unit state: the model reduces to its extension by one-point registers, which is itself in its own state.

        Inside the regime #

        theorem MIPRE.QLD.MirrorSimul.swapPhi_ΦA_one {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {S : M.ProjStrat (qldGame hm)} {δ : ℝ} (Mi : MirrorSimul M S δ) (aux : (M.expand (padE (Anc F m) F m d Mi.K)).H) :
        (Mi.swapPhi aux).ΦA 1 = 1

        The swap isometry preserves the first player's unit.

        theorem MIPRE.QLD.MirrorSimul.swapPhi_ΦB_one {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {S : M.ProjStrat (qldGame hm)} {δ : ℝ} (Mi : MirrorSimul M S δ) (aux : (M.expand (padE (Anc F m) F m d Mi.K)).H) :
        (Mi.swapPhi aux).ΦB 1 = 1

        The swap isometry preserves the second player's unit.

        theorem MIPRE.QLD.exists_extraction_of_regime {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ω : ValueModel} (hL : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → LIDT.Simul.SoundIn (M.expand e)) (hω : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → ∀ (v : (M.expand e).H), ‖v‖ = 1 → ω.DominatesPOVM ((M.expand e).withState v)) (hd : 1 ≤ d) (S : M.ProjStrat (qldGame hm)) {ε : ℝ} (hε : 0 ≤ ε) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) (hlt : qldHlt ε m d (Fintype.card F) < 1) :
        ∃ (E : Extraction M hm S (qldErr ε m d (Fintype.card F))), ω.DominatesPOVM E.N.N

        thm:qld inside the regime. For a projective strategy failing with probability at most ε, when 48 m d ≤ q and qldHlt < 1: the swap isometry of the legalized strategy (MirrorSimul.swap_isometry, at the MirrorSimul of exists_mirrorSimul), with the extension by the padding registers in the swap lemma's auxiliary state as the ancilla model, is an extraction at error qldErr. Item 1 is the swap lemma's at the cost of a square root, and item 2 is the swap lemma's on the nose, the legalized strategy having the strategy's Pauli measurements.

        thm:qld #

        theorem MIPRE.QLD.soundIn_of_lidt {𝒞 𝒜 ℬ : Type} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ω : ValueModel} (hL : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → LIDT.Simul.SoundIn (M.expand e)) (hω : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → ∀ (v : (M.expand e).H), ‖v‖ = 1 → ω.DominatesPOVM ((M.expand e).withState v)) :
        SoundIn ω M

        thm:qld: the Pauli basis test is sound in a bipartite model (the paper's thm:pauli-appendix), with the value model ω, when the seeded low individual degree test is sound in every extension of the model by a unit vector and ω dominates every such extension in every unit state. For every admissible (q, m, d) and every projective strategy in the model that fails with probability at most ε, there are an ancilla model, which ω dominates, and a local isometry of the model into it with the EPR register |EPR_q>^{⊗M} adjoined, such that

        1. the transported state is within qldErr ε m d q of |EPR_q>^{⊗M} ⊗ |aux>, the state of the register model; and
        2. for each basis W ∈ {X, Z}, each player's own (Pauli, W) measurement, read as cube data and transported, is within qldErr ε m d q of the honest Pauli basis measurement τ^W_h on that player's register, in summed squared state norm on that state.

        qldErr is of the closed form a (md)^a (ε^b + q^{-b} + 2^{-bmd}) (exists_qldErr_le). Inside the regime this is exists_extraction_of_regime; outside it, Extraction.trivial.

        The tensor-product instance #

        The Pauli basis test is sound in the tensor-product model of every state, with val*. An extension of a tensor-product model by a unit vector is the tensor-product model of the expanded vector (BipartiteModel.tensorExpandIso), in which the seeded test is sound (LIDT.Simul.soundIn_expand_tensor), and which val* dominates in every unit state (ValueModel.tensor_dominatesPOVM).

        val* is approached in tensor-product models, where the test is sound (soundIn_tensor): a tensor-product strategy near the supremum is a projective strategy of its model, of the same value.

        The commuting-operator instance #

        The Pauli basis test is sound in the commuting-operator model as soon as the seeded low individual degree test is: an extension of the model of a commuting-operator strategy by a unit vector is the model of a commuting-operator strategy (LIDT.Simul.SoundCo.expand), and ω_co dominates every model in a unit state (ValueModel.commuting_dominatesPOVM).