QPBT definitions: Combining / Points / Sandwich
DefinitionQPBT_QPBT_Combining_Points_Sandwichqpbt
This bundle constructs the sandwich POVM from the two expanded point measurements and proves its basic projective-measurement identities. The sandwich effects are positive operators of the form and resolve the identity.
Principal definitions:
MIPStarRE.QPBT.ProjectiveSetting.sandwichPoint: the sandwich measurement with outcome pair .MIPStarRE.QPBT.ProjectiveSetting.pointMeasExp_effect_conjTranspose: each expanded point effect is self-adjoint.MIPStarRE.QPBT.ProjectiveSetting.pointMeasExp_effect_mul_self: each expanded point effect is idempotent.MIPStarRE.QPBT.ProjectiveSetting.sandwich_eq_conjTranspose_mul_self: the sandwich is .MIPStarRE.QPBT.ProjectiveSetting.sum_sandwich_eq_one: the sandwich effects sum to the identity.MIPStarRE.QPBT.ProjectiveSetting.sandwichPoint_effect: the effect associated with each sandwich outcome.
Formalization Credit. This Lean declaration is part of the Quantum Pauli basis test formalization by Ruixuan Deng. The source code was generated by AI agents; Ruixuan Deng is the responsible maintainer.
Mathematical Source. The mathematical source is Ji, Natarajan, Vidick, Wright, and Yuen, MIP*=RE, arXiv:2001.04383v3.
Definition code
-- Generated from QPBT/Combining/Points/Sandwich.lean by skeleton subtraction.
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_AxisParallelLine
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_DiagonalLine
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_LinePolynomials
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_LowDegreePolynomial
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_OpFamily
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_ParametersBase
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_ParametersFiniteAnswers
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_QuantumState
import Definitions.Def_LIDT_MIPStarRE_LDT_CommutativityPoints_Defs
import Definitions.Def_LIDT_MIPStarRE_LDT_ExpansionHypercubeGraph_Defs_Core
import Definitions.Def_LIDT_MIPStarRE_LDT_GlobalVariance_Defs_Core
import Definitions.Def_LIDT_MIPStarRE_LDT_MakingMeasurementsProjective_Defs
import Definitions.Def_LIDT_MIPStarRE_LDT_Pasting_Defs_Families
import Definitions.Def_LIDT_MIPStarRE_LDT_Pasting_Defs_Interpolation
import Definitions.Def_LIDT_MIPStarRE_LDT_Tactic_AvgCongr
import Definitions.Def_LIDT_MIPStarRE_LDT_Test_StrategyCore
import Definitions.Def_LIDT_MIPStarRE_Quantum_FiniteMatrix_Basic
import Definitions.Def_LIDT_MIPStarRE_Quantum_Measurement
import Definitions.Def_QPBT_QPBT_Algebra_FieldBasis
import Definitions.Def_QPBT_QPBT_Algebra_LowDegreeCode
import Definitions.Def_QPBT_QPBT_Algebra_Pauli
import Definitions.Def_QPBT_QPBT_Observables_Defs
import Definitions.Def_QPBT_QPBT_Observables_ExpandedDefs
import Definitions.Def_QPBT_QPBT_Test_PauliBasisTest
import Mathlib
namespace LIDT.MIPStarRE.LDT
end LIDT.MIPStarRE.LDT
namespace LIDT.MIPStarRE.Quantum
end LIDT.MIPStarRE.Quantum
namespace MIPStarRE.QPBT
end MIPStarRE.QPBT
namespace MIPStarRE.QPBT.ProjectiveSetting
end MIPStarRE.QPBT.ProjectiveSetting
/-!
# The sandwich POVM of the expanded point measurements
The first step of the proof of `lem:qld-4-10` combines the two expanded point
measurements into the sandwich POVM
`R^{x,z}_{a,b} = M^{(Point,Z),z}_b M^{(Point,X),x}_a M^{(Point,Z),z}_b`. The
source forms it from the binary refinements; here it is formed directly with
outcomes in `F_q × F_q`, which the Parseval transfer of
`MIPStarRE/QPBT/Combining/Points/Commutation.lean` makes possible. This file
defines the POVM, proves that it is close to the ordered product
`M^Z_b M^X_a` by the approximate commutation, and records the consistency of
the ordered products across opposite register placements, which follows from
the self-consistency of each factor.
## Main results
* `ProjectiveSetting.sandwichPoint`: the sandwich POVM.
* `sandwichPoint_ordered_dist_le`: closeness of the sandwich to the ordered
product on every placement, with the error of `lem:qld-comm-cons`.
* `ordered_cross_dist_le`: the ordered product on one placement is close to
the reversed ordered product on the opposite placement.
## References
Paper `references/qpbt-paper/14_analysis_of_the_pauli_basis_test.tex:731-748`
(the sandwich and display `eq:qld-r-2`), blueprint
`blueprint/src/chapter/ch15_qpbt_combining.tex:803-960` (`lem:qld-4-10`); the
route is explained in `docs/paper-gaps/qpbt_combined-points-field-valued.tex`.
-/
@[expose] public section
open scoped BigOperators Matrix MatrixOrder ComplexOrder
namespace MIPStarRE.QPBT
open LIDT.MIPStarRE.LDT hiding Measurement
open LIDT.MIPStarRE.Quantum
noncomputable section
namespace ProjectiveSetting
variable {P : _root_.MIPStarRE.QPBT.AdmissibleParams} {ε : ℝ}
/-- An expanded point effect is self-adjoint. -/
theorem pointMeasExp_effect_conjTranspose (S : _root_.MIPStarRE.QPBT.ProjectiveSetting P ε)
(side : _root_.MIPStarRE.QPBT.PlayerSide) (W : _root_.MIPStarRE.QPBT.PauliKind) (u : Fin P.m → _root_.MIPStarRE.QPBT.PauliScalar P)
(a : _root_.MIPStarRE.QPBT.PauliScalar P) :
((S.pointMeasExp side W u).effect a)ᴴ = (S.pointMeasExp side W u).effect a :=
(S.pointMeasExp_isProjective side W u a).isSelfAdjoint.isHermitian.eq
/-- An expanded point effect is idempotent. -/
theorem pointMeasExp_effect_mul_self (S : _root_.MIPStarRE.QPBT.ProjectiveSetting P ε)
(side : _root_.MIPStarRE.QPBT.PlayerSide) (W : _root_.MIPStarRE.QPBT.PauliKind) (u : Fin P.m → _root_.MIPStarRE.QPBT.PauliScalar P)
(a : _root_.MIPStarRE.QPBT.PauliScalar P) :
(S.pointMeasExp side W u).effect a * (S.pointMeasExp side W u).effect a =
(S.pointMeasExp side W u).effect a :=
(S.pointMeasExp_isProjective side W u a).isIdempotentElem.eq
/-- The sandwich `M^Z_b M^X_a M^Z_b` is `(M^X_a M^Z_b)ᴴ (M^X_a M^Z_b)`. -/
theorem sandwich_eq_conjTranspose_mul_self (S : _root_.MIPStarRE.QPBT.ProjectiveSetting P ε)
(side : _root_.MIPStarRE.QPBT.PlayerSide) (x z : Fin P.m → _root_.MIPStarRE.QPBT.PauliScalar P) (a b : _root_.MIPStarRE.QPBT.PauliScalar P) :
(S.pointMeasExp side .Z z).effect b * (S.pointMeasExp side .X x).effect a *
(S.pointMeasExp side .Z z).effect b =
((S.pointMeasExp side .X x).effect a * (S.pointMeasExp side .Z z).effect b)ᴴ *
((S.pointMeasExp side .X x).effect a * (S.pointMeasExp side .Z z).effect b) := by
rw [Matrix.conjTranspose_mul, _root_.MIPStarRE.QPBT.ProjectiveSetting.pointMeasExp_effect_conjTranspose,
_root_.MIPStarRE.QPBT.ProjectiveSetting.pointMeasExp_effect_conjTranspose, Matrix.mul_assoc _ _
((S.pointMeasExp side .X x).effect a * (S.pointMeasExp side .Z z).effect b),
← Matrix.mul_assoc ((S.pointMeasExp side .X x).effect a)
((S.pointMeasExp side .X x).effect a), _root_.MIPStarRE.QPBT.ProjectiveSetting.pointMeasExp_effect_mul_self,
← Matrix.mul_assoc]
/-- The sandwich effects resolve the identity. -/
theorem sum_sandwich_eq_one (S : _root_.MIPStarRE.QPBT.ProjectiveSetting P ε) (side : _root_.MIPStarRE.QPBT.PlayerSide)
(x z : Fin P.m → _root_.MIPStarRE.QPBT.PauliScalar P) :
∑ ab : _root_.MIPStarRE.QPBT.PauliScalar P × _root_.MIPStarRE.QPBT.PauliScalar P,
(S.pointMeasExp side .Z z).effect ab.2 *
(S.pointMeasExp side .X x).effect ab.1 *
(S.pointMeasExp side .Z z).effect ab.2 = 1 := by
rw [Fintype.sum_prod_type_right]
calc ∑ b : _root_.MIPStarRE.QPBT.PauliScalar P, ∑ a : _root_.MIPStarRE.QPBT.PauliScalar P,
(S.pointMeasExp side .Z z).effect b * (S.pointMeasExp side .X x).effect a *
(S.pointMeasExp side .Z z).effect b
= ∑ b : _root_.MIPStarRE.QPBT.PauliScalar P, (S.pointMeasExp side .Z z).effect b *
(∑ a : _root_.MIPStarRE.QPBT.PauliScalar P, (S.pointMeasExp side .X x).effect a) *
(S.pointMeasExp side .Z z).effect b := by
refine Finset.sum_congr rfl fun b _ => ?_
rw [Finset.mul_sum, Finset.sum_mul]
_ = 1 := by
simp_rw [(S.pointMeasExp side .X x).sum_eq_one, mul_one,
_root_.MIPStarRE.QPBT.ProjectiveSetting.pointMeasExp_effect_mul_self]
exact (S.pointMeasExp side .Z z).sum_eq_one
/-- The sandwich POVM `R^{x,z}_{a,b} = M^Z_b M^X_a M^Z_b` of the two expanded
point measurements, with outcomes in `F_q × F_q`. This is the POVM of the
first step of the proof of `lem:qld-4-10`, paper
`references/qpbt-paper/14_analysis_of_the_pauli_basis_test.tex:731-736`,
formed directly with field-valued outcomes rather than from the binary
refinements; see `docs/paper-gaps/qpbt_combined-points-field-valued.tex`. -/
def sandwichPoint (S : _root_.MIPStarRE.QPBT.ProjectiveSetting P ε) (side : _root_.MIPStarRE.QPBT.PlayerSide)
(x z : Fin P.m → _root_.MIPStarRE.QPBT.PauliScalar P) :
_root_.LIDT.MIPStarRE.Quantum.Measurement (_root_.MIPStarRE.QPBT.PauliScalar P × _root_.MIPStarRE.QPBT.PauliScalar P) (S.ExpandedLocalSpace side) :=
_root_.LIDT.MIPStarRE.Quantum.Measurement.ofSumEqOne
(fun ab => (S.pointMeasExp side .Z z).effect ab.2 *
(S.pointMeasExp side .X x).effect ab.1 *
(S.pointMeasExp side .Z z).effect ab.2)
(fun ab => by
rw [_root_.MIPStarRE.QPBT.ProjectiveSetting.sandwich_eq_conjTranspose_mul_self]
exact Matrix.nonneg_iff_posSemidef.mpr
(Matrix.posSemidef_conjTranspose_mul_self _))
(_root_.MIPStarRE.QPBT.ProjectiveSetting.sum_sandwich_eq_one S side x z)
/-- The effects of the sandwich POVM. -/
@[simp] theorem sandwichPoint_effect (S : _root_.MIPStarRE.QPBT.ProjectiveSetting P ε)
(side : _root_.MIPStarRE.QPBT.PlayerSide) (x z : Fin P.m → _root_.MIPStarRE.QPBT.PauliScalar P)
(ab : _root_.MIPStarRE.QPBT.PauliScalar P × _root_.MIPStarRE.QPBT.PauliScalar P) :
(S.sandwichPoint side x z).effect ab =
(S.pointMeasExp side .Z z).effect ab.2 *
(S.pointMeasExp side .X x).effect ab.1 *
(S.pointMeasExp side .Z z).effect ab.2 := rfl
end ProjectiveSetting
end
end MIPStarRE.QPBT
Source