Documentation

CslibFrontier.Computability.PCP.TwoProverGame.TensorStrategy

Independent tensor strategies #

Two strategies can be played independently with the product of their shared states. Each player measures their two local registers with the product of their two local POVMs. For fixed questions, the answer pairs have the independent product law, with the coordinates grouped by player.

noncomputable def Cslib.PCP.QuantumStrategy.tensor {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {X' : Type u_5} {Y' : Type u_6} {A' : Type u_7} {B' : Type u_8} {ι : Type u_9} {κ : Type u_10} {ι' : Type u_11} {κ' : Type u_12} [Fintype A] [Fintype B] [Fintype A'] [Fintype B'] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [Fintype ι'] [DecidableEq ι'] [Fintype κ'] [DecidableEq κ'] (S : QuantumStrategy X Y A B ι κ) (T : QuantumStrategy X' Y' A' B' ι' κ') :
QuantumStrategy (X × X') (Y × Y') (A × A') (B × B') (ι × ι') (κ × κ')

Play both strategies on separate registers, with the questions, answers and registers grouped by player.

theorem Cslib.PCP.QuantumStrategy.prob_tensor {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {X' : Type u_5} {Y' : Type u_6} {A' : Type u_7} {B' : Type u_8} {ι : Type u_9} {κ : Type u_10} {ι' : Type u_11} {κ' : Type u_12} [Fintype A] [Fintype B] [Fintype A'] [Fintype B'] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [Fintype ι'] [DecidableEq ι'] [Fintype κ'] [DecidableEq κ'] (S : QuantumStrategy X Y A B ι κ) (T : QuantumStrategy X' Y' A' B' ι' κ') (x : X × X') (y : Y × Y') (a : A × A') (b : B × B') :
(S.tensor T).prob x y a b = S.prob x.1 y.1 a.1 b.1 * T.prob x.2 y.2 a.2 b.2

The Born probability of a pair of independent outcomes is the product of their probabilities.

theorem Cslib.PCP.QuantumStrategy.answers_tensor {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {X' : Type u_5} {Y' : Type u_6} {A' : Type u_7} {B' : Type u_8} {ι : Type u_9} {κ : Type u_10} {ι' : Type u_11} {κ' : Type u_12} [Fintype A] [Fintype B] [Fintype A'] [Fintype B'] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [Fintype ι'] [DecidableEq ι'] [Fintype κ'] [DecidableEq κ'] (S : QuantumStrategy X Y A B ι κ) (T : QuantumStrategy X' Y' A' B' ι' κ') (x : X × X') (y : Y × Y') :
(S.tensor T).answers x y = PMF.map (⇑(Equiv.prodProdProdComm A B A' B')) ((S.answers x.1 y.1).bind fun (ab : A × B) => PMF.map (fun (x : A' × B') => (ab, x)) (T.answers x.2 y.2))

Independently sample both answer pairs, then regroup the answers by player.