Linear constraint system games #
A binary linear constraint system (Cslib.PCP.LinearSystem) has equations e over Boolean
variables V: the variables in support e must have parity parity e. Its game
(Cslib.PCP.LinearSystem.game), for a distribution μ of pairs of an equation and a variable,
asks Alice for an assignment satisfying the equation e and Bob for the value of the variable
v, and accepts when Alice's assignment satisfies e and agrees with Bob's bit on v whenever
v occurs in e. These are the binary constraint system games of
Cleve and Mittal, §1 (arXiv:1209.2729v1, p. 2), which ask a uniformly random
equation and a uniformly random variable of it; here the question distribution is arbitrary. The
magic square is the system of its six rows and columns.
An operator solution (Cslib.PCP.LinearSystem.OperatorSolution) replaces the variables by
±1 observables: self-adjoint involutions commuting within every equation, whose product over
each equation is the sign (-1)^{parity e}. A satisfying assignment is an operator solution in
ℂ, but there are systems, such as the magic square, with operator solutions and no satisfying
assignment.
Operator solutions give perfect strategies. The verification step holds in every
commuting-operator model: if Alice measures each equation jointly in an operator solution X
(Cslib.Quantum.Measurement.ofCommuting) and Bob measures each variable v by an observable Y_v
commuting with Alice's and agreeing perfectly with X_v in the shared state, they win with
probability 1 for every question distribution
(Cslib.PCP.LinearSystem.OperatorSolution.commutingWinProb_strategy_of_agreement). Outcomes
violating the equation vanish because of the product relation (Cslib.Quantum.jointProj_eq_zero),
and disagreement on v vanishes after exchanging Bob's Y_v for Alice's X_v inside the state
(Cslib.Quantum.AlgState.apply_mul_signProj_eq_of_approx_zero).
For a finite-dimensional operator solution X in M_ι(ℂ), the construction of
Cleve and Mittal, §2 (arXiv:1209.2729v1, p. 3) supplies Bob and the state: on
the maximally entangled state of ℂ^ι ⊗ ℂ^ι, Alice measures with X_v ⊗ 1 and Bob measures v
by 1 ⊗ X_vᵀ (Cslib.PCP.LinearSystem.OperatorSolution.maxEntangledStrategy), and the transpose
trick (Cslib.Quantum.AlgState.kroneckerOne_approx_oneKronecker_transpose) gives the perfect
agreement. So every finite-dimensional operator solution, from its matrices alone, wins with
probability 1 for every question distribution
(Cslib.PCP.LinearSystem.OperatorSolution.commutingWinProb_maxEntangledStrategy): the direction
"operator solution ⇒ perfect strategy" of Cleve and Mittal, for arbitrary question distributions.
Alice's observables are the images of X under M ↦ M ⊗ 1
(Cslib.PCP.LinearSystem.OperatorSolution.map). A satisfying assignment gives the scalar
operator solution (-1)^{s_v} in ℂ (Cslib.PCP.LinearSystem.OperatorSolution.ofAssignment).
Main definitions #
Cslib.PCP.LinearSystem: a binary linear constraint system.Cslib.PCP.LinearSystem.game: its game.Cslib.PCP.LinearSystem.OperatorSolution: operator solutions.Cslib.PCP.LinearSystem.OperatorSolution.strategy: the strategy of an operator solution.Cslib.PCP.LinearSystem.OperatorSolution.ofAssignment: the operator solution of a satisfying assignment.Cslib.PCP.LinearSystem.OperatorSolution.map: the image of an operator solution under a star-algebra homomorphism.Cslib.PCP.LinearSystem.OperatorSolution.maxEntangledStrategy: the maximally entangled transpose strategy of a finite-dimensional operator solution.
Main results #
Cslib.PCP.LinearSystem.OperatorSolution.commutingWinProb_strategy_of_agreement: an operator solution with a perfectly agreeing Bob wins with certainty.Cslib.PCP.LinearSystem.OperatorSolution.commutingWinProb_maxEntangledStrategy: every finite-dimensional operator solution wins with certainty through the maximally entangled transpose strategy (Cleve and Mittal, §2).
References #
The assignment a satisfies the equation e.
Instances For
The game of a linear constraint system with question distribution μ: Alice receives an
equation and answers an assignment, Bob receives a variable and answers a bit; they win when the
assignment satisfies the equation and agrees with Bob's bit on the variable, if it occurs.
An operator solution of a linear constraint system: ±1 observables commuting within
every equation, whose product over the equation e is (-1)^{parity e}.
- op : V → 𝒜
The observable of the variable
v. - isSelfAdjoint (v : V) : IsSelfAdjoint (self.op v)
- prod_eq (e : E) : Quantum.jointProd (fun (v : ↥(L.support e)) => self.op ↑v) ⋯ = ↑(BitString.signVal (L.parity e)) • 1
The observables of the equation e.
An assignment of the variables of an equation, extended by false.
Alice's measurement of the equation e: the joint measurement of its observables.
The strategy of an operator solution X for Alice and observables Y for Bob in the state
φ, when Alice's observables commute with Bob's.
In the strategy of an operator solution with perfect agreement, rejected answers have
probability 0.
Verification of a perfect strategy: if Alice measures the equations jointly in an operator
solution X, and Bob measures each variable by a supplied observable Y_v commuting with Alice's
and agreeing perfectly with X_v in the supplied state, they win the game of the linear constraint
system with probability 1, for every question distribution. The construction of such a Bob and
state from a finite-dimensional solution is
Cslib.PCP.LinearSystem.OperatorSolution.commutingWinProb_maxEntangledStrategy.
A satisfying assignment s is an operator solution in ℂ: the scalars (-1)^{s_v}.
The image of an operator solution under a star-algebra homomorphism.
Bob's observable of the variable v in the transpose strategy: 1 ⊗ X_vᵀ.
The maximally entangled transpose strategy of a finite-dimensional operator solution
Cleve and Mittal, §2: on the maximally entangled state of ℂ^ι ⊗ ℂ^ι, Alice
measures each equation jointly in the observables X_v ⊗ 1, and Bob measures each variable v by
1 ⊗ X_vᵀ.
Operator solutions give perfect strategies Cleve and Mittal, §2: the
maximally entangled transpose strategy of a finite-dimensional operator solution wins the game of
the linear constraint system with probability 1, for every question distribution.