Sandwich Overlap Identity
ProvedMIPStarRE.QPBT.sandwich_overlap_identityqpbt
The squared norm of W ψ is the quadratic form of Wᴴ W.
All objects, parameters, typeclass assumptions, and hypotheses are quantified in the accompanying formal statement; each symbol denotes the object of the displayed Lean type with that name. The conclusion is the proposition
This result is an importable reduction step in the formal dependency graph for the quantum Pauli basis test completeness or soundness argument.
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.
Preamble
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_Games_Defs
import Definitions.Def_QPBT_QPBT_Games_DistanceTheorems_Support
import Definitions.Def_QPBT_QPBT_Test_MagicSquareTheorems_Rigidity_GroundSlice
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.DistanceCalculus
end MIPStarRE.QPBT.DistanceCalculus
namespace MIPStarRE.QPBT.ProjectiveSetting
end MIPStarRE.QPBT.ProjectiveSetting
/-!
# Self-consistency of the sandwich POVM
The sandwich POVM `R^{x,z}_{a,b} = M^Z_b M^X_a M^Z_b` of
`MIPStarRE/QPBT/Combining/Points/Sandwich.lean` is approximately self-consistent
between opposite register placements. The source establishes this by a
Cauchy--Schwarz chain (displays `eq:qld-rw-self-cons-1` to
`eq:qld-rw-self-cons-4`); here an exact identity is used instead. Writing
`P_1, P_2` for the two placements of an operator `P`,
`W_b = (M^Z_b)_1 (M^Z_b)_2`, and `D^W_c = (M^W_c)_1 - (M^W_c)_2`, the
consistency defect of the two placed sandwiches equals
`(1/2) ∑_b ‖D^Z_b ψ‖^2 + (1/2) ∑_{a,b} ‖D^X_a W_b ψ‖^2`,
by two applications of the identity
`∑_c ⟨w, P_c Q_c w⟩ = ‖w‖^2 - (1/2) ∑_c ‖(P_c - Q_c) w‖^2` for projective
measurements. The second sum is then bounded by the self-consistency of `M^X`
and the commutators on the two placements, since
`D^X_a W_b = W_b D^X_a + (M^Z_b)_2 K^1_{a,b} - (M^Z_b)_1 K^2_{a,b}`, where
`K^i_{a,b}` is the placed commutator of `M^X_a` and `M^Z_b`.
## Main results
* `sandwich_overlap_identity`: the exact expression of the overlap of two
placed sandwiches.
* `sandwich_defect_pointwise_le`: the pointwise bound on the consistency
defect of the sandwich for a fixed point pair.
* `ProjectiveSetting.sandwichDefectBound`,
`ProjectiveSetting.sandwich_offDiagonal_le_sandwichDefectBound`, and
`ProjectiveSetting.avg_sandwichDefectBound_le`: the bound as a function of
the point pair, the pointwise estimate, and the average.
## References
Paper `references/qpbt-paper/14_analysis_of_the_pauli_basis_test.tex:743-790`,
blueprint `blueprint/src/chapter/ch15_qpbt_combining.tex:851-880`
(`lem:qld-4-10`, first step); the identity route is explained in
`docs/paper-gaps/qpbt_combined-points-field-valued.tex`.
-/
open scoped BigOperators Matrix MatrixOrder ComplexOrder
open MIPStarRE.QPBT
open LIDT.MIPStarRE.LDT hiding Measurement
open LIDT.MIPStarRE.Quantum MIPStarRE.QPBT.DistanceCalculus
/-! ## Quadratic-form identities -/
/-! ## The overlap of two placed sandwiches -/
variable {α β ι : Type*} [Fintype α] [Fintype β] [Fintype ι] [DecidableEq ι]Formal statement
theorem MIPStarRE.QPBT.sandwich_overlap_identity (ψ : EuclideanSpace ℂ ι)
(X₁ X₂ : _root_.LIDT.MIPStarRE.Quantum.Measurement α ι) (Z₁ Z₂ : _root_.LIDT.MIPStarRE.Quantum.Measurement β ι)
(hX₁ : _root_.MIPStarRE.QPBT.Measurement.IsProjective X₁)
(hX₂ : _root_.MIPStarRE.QPBT.Measurement.IsProjective X₂)
(hZ₁ : _root_.MIPStarRE.QPBT.Measurement.IsProjective Z₁)
(hZ₂ : _root_.MIPStarRE.QPBT.Measurement.IsProjective Z₂)
(hXZ : ∀ a b, X₁.effect a * Z₂.effect b = Z₂.effect b * X₁.effect a)
(hZX : ∀ a b, Z₁.effect b * X₂.effect a = X₂.effect a * Z₁.effect b)
(hZZ : ∀ b, Z₁.effect b * Z₂.effect b = Z₂.effect b * Z₁.effect b) :
∑ ab : α × β, _root_.MIPStarRE.QPBT.DistanceCalculus.stateQForm ψ
((Z₁.effect ab.2 * X₁.effect ab.1 * Z₁.effect ab.2) *
(Z₂.effect ab.2 * X₂.effect ab.1 * Z₂.effect ab.2)) =
‖ψ‖ ^ 2 -
(1 / 2) * ∑ b, ‖_root_.MIPStarRE.QPBT.applyOperatorToState (Z₁.effect b - Z₂.effect b) ψ‖ ^ 2 -
(1 / 2) * ∑ ab : α × β, ‖_root_.MIPStarRE.QPBT.applyOperatorToState (X₁.effect ab.1 - X₂.effect ab.1)
(_root_.MIPStarRE.QPBT.applyOperatorToState (Z₁.effect ab.2 * Z₂.effect ab.2) ψ)‖ ^ 2 := by sorrySource