the quantum monad on relational structures - aqis...

86
The quantum monad on relational structures Samson Abramsky 1 Rui Soares Barbosa 1 Nadish de Silva 2 Octavio Zapata 2 1 University of Oxford 2 University College London 17th Asian Quantum Information Science Conference (AQIS’17) National University of Singapore Singapore, 7th September 2017

Upload: others

Post on 10-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

The quantum monad on relational structures

Samson Abramsky1 Rui Soares Barbosa1 Nadish de Silva2 Octavio Zapata2

1University of Oxford 2University College London

17th Asian Quantum Information Science Conference (AQIS’17)National University of SingaporeSingapore, 7th September 2017

Page 2: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

1. Introduction

Page 3: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Motivation

With the advent of quantum computation and information:

I use quantum resources for information-processing tasks

I delineate the scope of quantum advantage

I A setting in which this has been explored is non-local games

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 1/22

Page 4: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Motivation

With the advent of quantum computation and information:

I use quantum resources for information-processing tasks

I delineate the scope of quantum advantage

I A setting in which this has been explored is non-local games

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 1/22

Page 5: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information,

but cannot communicate once game starts

Alice

Alice

Bob

Bob

Alice Bob

VerifierVerifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 6: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information,

but cannot communicate once game starts

Alice

Alice

Bob

Bob

Alice Bob

VerifierVerifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 7: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

AliceAlice BobBob

Alice Bob

VerifierVerifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 8: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

AliceAlice BobBob

Alice Bob

Verifier

Verifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 9: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

AliceAlice BobBob

Alice Bob

Verifier

Verifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 10: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

AliceAlice BobBob

Alice Bob

Verifier

Verifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 11: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

AliceAlice BobBob

Alice Bob

VerifierVerifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 12: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local gamesAlice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

AliceAlice BobBob

Alice Bob

VerifierVerifier

iA iB

oA oB

Verifier

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 13: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local games

Alice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

Alice Bob

iA iB

oA oB

A strategy is described by the probabilities P(oA,oB | iA, iB ).

A perfect strategy is one that wins with probability 1.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 14: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Non-local games

Alice and Bob cooperate in solving a task set by Verifier

May share prior information, but cannot communicate once game starts

Alice Bob

iA iB

oA oB

A strategy is described by the probabilities P(oA,oB | iA, iB ).

A perfect strategy is one that wins with probability 1.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 2/22

Page 15: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Examples of non-local games

I Cleve, Mittal, Liu, Slofstra:games for binary constraint systems

I Cameron, Montanaro, Newman, Severini, Winter:game for graph colouring quantum chromatic number

I Mancinska & Roberson:generalised to a game for graph homomorphisms

quantum graph homomorphisms

Many of these works have some aspects in common. We aim to fleshthis out by subsuming them under a common framework.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 3/22

Page 16: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Examples of non-local games

I Cleve, Mittal, Liu, Slofstra:games for binary constraint systems

Game has (classical) perfect strategy iff there is a solution.E.g.: the system of linear equations over Z2

A ⊕ B ⊕ C = 0 A ⊕ D ⊕ G = 0D ⊕ E ⊕ F = 0 B ⊕ E ⊕ H = 0G ⊕ H ⊕ I = 0 C ⊕ F ⊕ I = 1

has a quantum solution but no classical solution.

Many of these works have some aspects in common. We aim to fleshthis out by subsuming them under a common framework.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 3/22

Page 17: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Examples of non-local games

I Cleve, Mittal, Liu, Slofstra:games for binary constraint systems quantum solutions

I Cameron, Montanaro, Newman, Severini, Winter:game for graph colouring quantum chromatic number

I Mancinska & Roberson:generalised to a game for graph homomorphisms

quantum graph homomorphisms

Many of these works have some aspects in common. We aim to fleshthis out by subsuming them under a common framework.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 3/22

Page 18: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Examples of non-local games

I Cleve, Mittal, Liu, Slofstra:games for binary constraint systems quantum solutions

I Cameron, Montanaro, Newman, Severini, Winter:game for graph colouring quantum chromatic number

I Mancinska & Roberson:generalised to a game for graph homomorphisms

quantum graph homomorphisms

Many of these works have some aspects in common. We aim to fleshthis out by subsuming them under a common framework.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 3/22

Page 19: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Motivation

Finite relational structures and homomorphisms

Pervasive notions in logic, computer science, combinatorics:

I constraint satisfaction

I finite model theory

I theory of relational databases

I graph theory

Many relevant questions in these areas can be phrased in terms of(existence, number of, . . . ) homomorphisms between finite relationalstructures.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 4/22

Page 20: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Motivation

Finite relational structures and homomorphisms

Pervasive notions in logic, computer science, combinatorics:

I constraint satisfaction

I finite model theory

I theory of relational databases

I graph theory

Many relevant questions in these areas can be phrased in terms of(existence, number of, . . . ) homomorphisms between finite relationalstructures.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 4/22

Page 21: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Motivation

Finite relational structures and homomorphisms

Pervasive notions in logic, computer science, combinatorics:

I constraint satisfaction

I finite model theory

I theory of relational databases

I graph theory

Many relevant questions in these areas can be phrased in terms of(existence, number of, . . . ) homomorphisms between finite relationalstructures.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 4/22

Page 22: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Motivation

What could it mean to quantise these fundamental structures?

I We formulate the task of constructing a homomorphism betweentwo relational structures as a non-local game

I uniformly obtain quantum analogues for free for a whole rangeof classical notions from CS, logic, . . .

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 5/22

Page 23: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Motivation

What could it mean to quantise these fundamental structures?

I We formulate the task of constructing a homomorphism betweentwo relational structures as a non-local game

I uniformly obtain quantum analogues for free for a whole rangeof classical notions from CS, logic, . . .

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 5/22

Page 24: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Outline of the talk

I Introduce homomorphism game for relational structures

I Arrive at the notion of quantum homomorphism,which removes the two-player aspect of the game

(generalises Cleve & Mittal and Mancinska & Roberson)

I Quantum monad: capture quantum homomorphisms as classicalhomomorphisms to a quantised version of a relational structure

(inspired on Mancinska & Roberson for graphs)

I Connection between non-locality and state-independent strongcontextuality

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 6/22

Page 25: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

2. Homomorphisms game forrelational structures

Page 26: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Relational structures and homomorphisms

A relational vocabulary σ consists of relational symbols R1, . . . ,Rpwhere Rl has an arity kl ∈ N for each l ∈ [p] := {1, . . . ,p}.

A σ-structure is A = (A;RA1 , . . .RAp ) where:

I A is a non-empty set,I for each l ∈ [p], RAl ⊆ Akl is a relation of arity kl on A.

A homomorphism of σ-structures f : A −→ B is a function f : A −→ Bsuch that for all l ∈ [p] and x ∈ Akl ,

x ∈ RAl =⇒ f (x) ∈ RBl

where f (x) = 〈f (x1), . . . , f (xkl )〉 for x = 〈x1, . . . , xkl 〉.

(For simplicity, from now on consider a single relational symbol R of arity k)

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 7/22

Page 27: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Relational structures and homomorphisms

A relational vocabulary σ consists of relational symbols R1, . . . ,Rpwhere Rl has an arity kl ∈ N for each l ∈ [p] := {1, . . . ,p}.

A σ-structure is A = (A;RA1 , . . .RAp ) where:

I A is a non-empty set,I for each l ∈ [p], RAl ⊆ Akl is a relation of arity kl on A.

A homomorphism of σ-structures f : A −→ B is a function f : A −→ Bsuch that for all l ∈ [p] and x ∈ Akl ,

x ∈ RAl =⇒ f (x) ∈ RBl

where f (x) = 〈f (x1), . . . , f (xkl )〉 for x = 〈x1, . . . , xkl 〉.

(For simplicity, from now on consider a single relational symbol R of arity k)

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 7/22

Page 28: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Relational structures and homomorphisms

A relational vocabulary σ consists of relational symbols R1, . . . ,Rpwhere Rl has an arity kl ∈ N for each l ∈ [p] := {1, . . . ,p}.

A σ-structure is A = (A;RA1 , . . .RAp ) where:

I A is a non-empty set,I for each l ∈ [p], RAl ⊆ Akl is a relation of arity kl on A.

A homomorphism of σ-structures f : A −→ B is a function f : A −→ Bsuch that for all l ∈ [p] and x ∈ Akl ,

x ∈ RAl =⇒ f (x) ∈ RBl

where f (x) = 〈f (x1), . . . , f (xkl )〉 for x = 〈x1, . . . , xkl 〉.

(For simplicity, from now on consider a single relational symbol R of arity k)

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 7/22

Page 29: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Relational structures and homomorphisms

A relational vocabulary σ consists of relational symbols R1, . . . ,Rpwhere Rl has an arity kl ∈ N for each l ∈ [p] := {1, . . . ,p}.

A σ-structure is A = (A;RA1 , . . .RAp ) where:

I A is a non-empty set,I for each l ∈ [p], RAl ⊆ Akl is a relation of arity kl on A.

A homomorphism of σ-structures f : A −→ B is a function f : A −→ Bsuch that for all l ∈ [p] and x ∈ Akl ,

x ∈ RAl =⇒ f (x) ∈ RBl

where f (x) = 〈f (x1), . . . , f (xkl )〉 for x = 〈x1, . . . , xkl 〉.

(For simplicity, from now on consider a single relational symbol R of arity k )

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 7/22

Page 30: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

The (A,B)-homomorphism gameGiven finite σ-structures A and B, the players aim to convince theVerifier that there is a homomorphism A −→ B.

I Verifier sends to Alice a tuple x ∈ RA ⊆ Ak

I It sends to Bob an element x ∈ A

I Alice returns a tuple y ∈ Bk

I Bob returns an element y ∈ B.

I They win this play if:I y ∈ RBI x = xi =⇒ y = yi for 1 ≤ i ≤ k .

If only classical resources are allowed, there is a perfect strategy if andonly if there exists a homomorphism from A to B.

What about quantum resources?

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 8/22

Page 31: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

The (A,B)-homomorphism gameGiven finite σ-structures A and B, the players aim to convince theVerifier that there is a homomorphism A −→ B.

I Verifier sends to Alice a tuple x ∈ RA ⊆ Ak

I It sends to Bob an element x ∈ A

I Alice returns a tuple y ∈ Bk

I Bob returns an element y ∈ B.

I They win this play if:I y ∈ RBI x = xi =⇒ y = yi for 1 ≤ i ≤ k .

If only classical resources are allowed, there is a perfect strategy if andonly if there exists a homomorphism from A to B.

What about quantum resources?

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 8/22

Page 32: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

The (A,B)-homomorphism gameGiven finite σ-structures A and B, the players aim to convince theVerifier that there is a homomorphism A −→ B.

I Verifier sends to Alice a tuple x ∈ RA ⊆ Ak

I It sends to Bob an element x ∈ A

I Alice returns a tuple y ∈ Bk

I Bob returns an element y ∈ B.

I They win this play if:I y ∈ RBI x = xi =⇒ y = yi for 1 ≤ i ≤ k .

If only classical resources are allowed, there is a perfect strategy if andonly if there exists a homomorphism from A to B.

What about quantum resources?

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 8/22

Page 33: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

The (A,B)-homomorphism gameGiven finite σ-structures A and B, the players aim to convince theVerifier that there is a homomorphism A −→ B.

I Verifier sends to Alice a tuple x ∈ RA ⊆ Ak

I It sends to Bob an element x ∈ A

I Alice returns a tuple y ∈ Bk

I Bob returns an element y ∈ B.

I They win this play if:I y ∈ RBI x = xi =⇒ y = yi for 1 ≤ i ≤ k .

If only classical resources are allowed, there is a perfect strategy if andonly if there exists a homomorphism from A to B.

What about quantum resources?

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 8/22

Page 34: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

The (A,B)-homomorphism gameGiven finite σ-structures A and B, the players aim to convince theVerifier that there is a homomorphism A −→ B.

I Verifier sends to Alice a tuple x ∈ RA ⊆ Ak

I It sends to Bob an element x ∈ A

I Alice returns a tuple y ∈ Bk

I Bob returns an element y ∈ B.

I They win this play if:I y ∈ RBI x = xi =⇒ y = yi for 1 ≤ i ≤ k .

If only classical resources are allowed, there is a perfect strategy if andonly if there exists a homomorphism from A to B.

What about quantum resources?

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 8/22

Page 35: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

The (A,B)-homomorphism gameGiven finite σ-structures A and B, the players aim to convince theVerifier that there is a homomorphism A −→ B.

I Verifier sends to Alice a tuple x ∈ RA ⊆ Ak

I It sends to Bob an element x ∈ A

I Alice returns a tuple y ∈ Bk

I Bob returns an element y ∈ B.

I They win this play if:I y ∈ RBI x = xi =⇒ y = yi for 1 ≤ i ≤ k .

If only classical resources are allowed, there is a perfect strategy if andonly if there exists a homomorphism from A to B.

What about quantum resources?

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 8/22

Page 36: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Homomorphism game with quantum resourcesQuantum resources:

I Finite-dimensional Hilbert spaces H (Alice’s) and K (Bob’s)

I A bipartite pure state ψ on H⊗KI For each tuple x ∈ RA, Alice has POVM Ex = {Ex,y}y∈Bk

I For each x ∈ A, Bob has POVM Fx = {Fx,y}y∈B

These resources are used as follows:I Given input x ∈ RA, Alice measures Ex on her part of ψI Given input x ∈ A, Bob measures Fx on his part of ψI Both output their respective measurement outcomesI P(y, y | x, x) = ψ∗(Ex,y ⊗Fx,y )ψ

Perfect strategy conditions:

(QS1) ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

(QS2) ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 9/22

Page 37: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Homomorphism game with quantum resourcesQuantum resources:

I Finite-dimensional Hilbert spaces H (Alice’s) and K (Bob’s)I A bipartite pure state ψ on H⊗K

I For each tuple x ∈ RA, Alice has POVM Ex = {Ex,y}y∈Bk

I For each x ∈ A, Bob has POVM Fx = {Fx,y}y∈B

These resources are used as follows:I Given input x ∈ RA, Alice measures Ex on her part of ψI Given input x ∈ A, Bob measures Fx on his part of ψI Both output their respective measurement outcomesI P(y, y | x, x) = ψ∗(Ex,y ⊗Fx,y )ψ

Perfect strategy conditions:

(QS1) ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

(QS2) ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 9/22

Page 38: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Homomorphism game with quantum resourcesQuantum resources:

I Finite-dimensional Hilbert spaces H (Alice’s) and K (Bob’s)I A bipartite pure state ψ on H⊗KI For each tuple x ∈ RA, Alice has POVM Ex = {Ex,y}y∈Bk

I For each x ∈ A, Bob has POVM Fx = {Fx,y}y∈B

These resources are used as follows:I Given input x ∈ RA, Alice measures Ex on her part of ψI Given input x ∈ A, Bob measures Fx on his part of ψI Both output their respective measurement outcomesI P(y, y | x, x) = ψ∗(Ex,y ⊗Fx,y )ψ

Perfect strategy conditions:

(QS1) ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

(QS2) ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 9/22

Page 39: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Homomorphism game with quantum resourcesQuantum resources:

I Finite-dimensional Hilbert spaces H (Alice’s) and K (Bob’s)I A bipartite pure state ψ on H⊗KI For each tuple x ∈ RA, Alice has POVM Ex = {Ex,y}y∈Bk

I For each x ∈ A, Bob has POVM Fx = {Fx,y}y∈B

These resources are used as follows:I Given input x ∈ RA, Alice measures Ex on her part of ψI Given input x ∈ A, Bob measures Fx on his part of ψI Both output their respective measurement outcomesI P(y, y | x, x) = ψ∗(Ex,y ⊗Fx,y )ψ

Perfect strategy conditions:

(QS1) ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

(QS2) ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 9/22

Page 40: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Homomorphism game with quantum resourcesQuantum resources:

I Finite-dimensional Hilbert spaces H (Alice’s) and K (Bob’s)I A bipartite pure state ψ on H⊗KI For each tuple x ∈ RA, Alice has POVM Ex = {Ex,y}y∈Bk

I For each x ∈ A, Bob has POVM Fx = {Fx,y}y∈B

These resources are used as follows:I Given input x ∈ RA, Alice measures Ex on her part of ψI Given input x ∈ A, Bob measures Fx on his part of ψI Both output their respective measurement outcomesI P(y, y | x, x) = ψ∗(Ex,y ⊗Fx,y )ψ

Perfect strategy conditions:

(QS1) ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

(QS2) ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 9/22

Page 41: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Homomorphism game with quantum resourcesQuantum resources:

I Finite-dimensional Hilbert spaces H (Alice’s) and K (Bob’s)I A bipartite pure state ψ on H⊗KI For each tuple x ∈ RA, Alice has POVM Ex = {Ex,y}y∈Bk

I For each x ∈ A, Bob has POVM Fx = {Fx,y}y∈B

These resources are used as follows:I Given input x ∈ RA, Alice measures Ex on her part of ψI Given input x ∈ A, Bob measures Fx on his part of ψI Both output their respective measurement outcomesI P(y, y | x, x) = ψ∗(Ex,y ⊗Fx,y )ψ

Perfect strategy conditions:

(QS1) ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

(QS2) ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 9/22

Page 42: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

3. From quantum perfectstrategies to quantum

homomorphisms

Page 43: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem1 The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .

I The POVMs Ex and Fx are projective.

I If x = xi then E ix,y = FT

x,y , where E ix,y :=

∑yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

1This generalises Cleve & Mittal and Mancinska & Roberson.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 10/22

Page 44: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem1 The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .

I The POVMs Ex and Fx are projective.

I If x = xi then E ix,y = FT

x,y , where E ix,y :=

∑yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

1This generalises Cleve & Mittal and Mancinska & Roberson.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 10/22

Page 45: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem1 The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .

I The POVMs Ex and Fx are projective.

I If x = xi then E ix,y = FT

x,y , where E ix,y :=

∑yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

1This generalises Cleve & Mittal and Mancinska & Roberson.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 10/22

Page 46: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem1 The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .

I The POVMs Ex and Fx are projective.

I If x = xi then E ix,y = FT

x,y , where E ix,y :=

∑yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

1This generalises Cleve & Mittal and Mancinska & Roberson.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 10/22

Page 47: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem1 The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .

I The POVMs Ex and Fx are projective.

I If x = xi then E ix,y = FT

x,y , where E ix,y :=

∑yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

1This generalises Cleve & Mittal and Mancinska & Roberson.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 10/22

Page 48: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem1 The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .

I The POVMs Ex and Fx are projective.

I If x = xi then E ix,y = FT

x,y , where E ix,y :=

∑yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

1This generalises Cleve & Mittal and Mancinska & Roberson.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 10/22

Page 49: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem1 The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .

I The POVMs Ex and Fx are projective.

I If x = xi then E ix,y = FT

x,y , where E ix,y :=

∑yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

ψ∗(Ex,y ⊗ I )ψ = 0 if y 6∈ RB

ψ∗(Ex,y ⊗Fx,y )ψ = 0 if x = xi and y 6= yi

1This generalises Cleve & Mittal and Mancinska & Roberson.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 10/22

Page 50: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

The reduction proceeds in three steps:

1. The state and strategies are projected down to the support of theSchmidt decomposition of the state. This reduces the dimensionof the Hilbert space and preserves the probabilities of thestrategy exactly.

2. It is shown that this strategy must already satisfy strongproperties (PVMs and E i

x,y = FTxi ,y ).

3. The state is changed but not the measurements. Theprobabilities change but the possibilities are preserved exactly.

N.B. In passing to the special form, the dimension is reduced; theprocess by which we obtain projective measurements is not at all akinto dilation.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 11/22

Page 51: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

The reduction proceeds in three steps:

1. The state and strategies are projected down to the support of theSchmidt decomposition of the state. This reduces the dimensionof the Hilbert space and preserves the probabilities of thestrategy exactly.

2. It is shown that this strategy must already satisfy strongproperties (PVMs and E i

x,y = FTxi ,y ).

3. The state is changed but not the measurements. Theprobabilities change but the possibilities are preserved exactly.

N.B. In passing to the special form, the dimension is reduced; theprocess by which we obtain projective measurements is not at all akinto dilation.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 11/22

Page 52: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .I The POVMs Ex and Fx are projective.I If x = xi then E i

x,y = FTx,y , where E i

x,y :=∑

yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

All the information determining the strategy is in Alice’s operators.

which must be chosen so that E ix,y is independent of the context x.

That is, we can define projectors Px,y := E ix,y whenever x = xi .

If xi = x = x′j , then we have E ix,y = FT

x,y = E jx′,y , so Px,y is well-defined.

These Px,y are enough to determine the strategy!

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 12/22

Page 53: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .I The POVMs Ex and Fx are projective.I If x = xi then E i

x,y = FTx,y , where E i

x,y :=∑

yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

All the information determining the strategy is in Alice’s operators.

which must be chosen so that E ix,y is independent of the context x.

That is, we can define projectors Px,y := E ix,y whenever x = xi .

If xi = x = x′j , then we have E ix,y = FT

x,y = E jx′,y , so Px,y is well-defined.

These Px,y are enough to determine the strategy!

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 12/22

Page 54: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .I The POVMs Ex and Fx are projective.I If x = xi then E i

x,y = FTx,y , where E i

x,y :=∑

yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

All the information determining the strategy is in Alice’s operators.

which must be chosen so that E ix,y is independent of the context x.

That is, we can define projectors Px,y := E ix,y whenever x = xi .

If xi = x = x′j , then we have E ix,y = FT

x,y = E jx′,y , so Px,y is well-defined.

These Px,y are enough to determine the strategy!

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 12/22

Page 55: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Simplifying quantum strategies

Theorem The existence of a quantum perfect strategy implies the ex-istence of a strategy (ψ, {Ex}, {Fx}) with the following properties:

I ψ is a maximally entangled state on Cd , ψ = 1/√

d∑d

i=1 ei ⊗ ei .I The POVMs Ex and Fx are projective.I If x = xi then E i

x,y = FTx,y , where E i

x,y :=∑

yi=y Ex,y.

I For x ∈ RA, if y 6∈ RB, then Ex,y = 0.

All the information determining the strategy is in Alice’s operators.

which must be chosen so that E ix,y is independent of the context x.

That is, we can define projectors Px,y := E ix,y whenever x = xi .

If xi = x = x′j , then we have E ix,y = FT

x,y = E jx′,y , so Px,y is well-defined.

These Px,y are enough to determine the strategy!

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 12/22

Page 56: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum homomorphisms

A quantum homomorphism fromA to B is a family of projectors {Px,y}x∈A,y∈Bin some dimension d ∈ N satisfying:(QH1) For all x ∈ A,

∑y∈B Px,y = I.

(QH2) For all x ∈ RA, x = xi , x ′ = xj ,

[Px,y ,Px′,y ′ ] = 0 for any y , y ′ ∈ B

so we can define a projective measurement Px = {Px,y}y,where Px,y := Px1,y1 · · ·Pxk ,yk .

(QH3) If x ∈ RA and y 6∈ RB, then Px,y = 0.

Theorem For finite structures A and B, the following are equivalent:1. The (A,B)-homomorphism game has a quantum perfect strategy.

2. There is a quantum homomorphism from A to B. (A q−→ B)

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 13/22

Page 57: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum homomorphisms

A quantum homomorphism fromA to B is a family of projectors {Px,y}x∈A,y∈Bin some dimension d ∈ N satisfying:(QH1) For all x ∈ A,

∑y∈B Px,y = I.

(QH2) For all x ∈ RA, x = xi , x ′ = xj ,

[Px,y ,Px′,y ′ ] = 0 for any y , y ′ ∈ B

so we can define a projective measurement Px = {Px,y}y,where Px,y := Px1,y1 · · ·Pxk ,yk .

(QH3) If x ∈ RA and y 6∈ RB, then Px,y = 0.

Theorem For finite structures A and B, the following are equivalent:1. The (A,B)-homomorphism game has a quantum perfect strategy.

2. There is a quantum homomorphism from A to B. (A q−→ B)

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 13/22

Page 58: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum homomorphisms as Kleisli maps

For each d ∈ N and σ-structure A, we can define a structure QdAsuch that there is a one-to-one correspondence:2

A q−→d B ∼= A −→ QdB

I quantum homomorphisms from A to B of dimension d

I (classical) homomorphisms from A to QdB

Underlying set of the structureQdA is the set of d-dimensional projector-valued distributions on A.

2Mancinska & Roberson: analogous construction for (their) graph homomorphisms.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 14/22

Page 59: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum homomorphisms as Kleisli maps

For each d ∈ N and σ-structure A, we can define a structure QdAsuch that there is a one-to-one correspondence:2

A q−→d B ∼= A −→ QdB

I quantum homomorphisms from A to B of dimension d

I (classical) homomorphisms from A to QdB

Underlying set of the structureQdA is the set of d-dimensional projector-valued distributions on A.

2Mancinska & Roberson: analogous construction for (their) graph homomorphisms.Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 14/22

Page 60: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum homomorphisms as Kleisli maps

Qd is part of a graded monad on the category of relational structuresand (classical) homomorphisms.

Monads play a major role in programming language theory, providinga uniform way of encapsulating various notions of computation:

I partialityI exceptionsI non-determinismI probabilisticI state updatesI input/outputI . . .

composition of quantum homomorphisms,keeping track of the dimension of the resources

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 15/22

Page 61: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Composition of perfect strategies

Alice Ey,z Bob Fy,z

B

C

y ∈ RB y ∈ B

z ∈ Ck z ∈ C

Alice Ex,y Bob Fx,y

A

B

x ∈ RA x ∈ A

y ∈ Bk y ∈ B

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 16/22

Page 62: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Composition of perfect strategies

Alice Ey,z Bob Fy,z

B

C

y ∈ RB y ∈ B

z ∈ Ck z ∈ C

Alice Ex,y Bob Fx,y

A

B

x ∈ RA x ∈ A

y ∈ Bk y ∈ B

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 16/22

Page 63: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Composition of perfect strategies

Alice Ey,z Bob Fy,z

B

C

y ∈ RB y ∈ B

z ∈ RC z ∈ C

Alice Ex,y Bob Fx,y

A

B

x ∈ RA x ∈ A

y ∈ RB y ∈ B

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 16/22

Page 64: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Composition of perfect strategies

Alice Ex,y Bob Fx,y

A x ∈ RA x ∈ A

y ∈ RB y ∈ B

Alice Ey,z Bob Fy,z

A

B

C z ∈ RC z ∈ C

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 16/22

Page 65: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Composition of perfect strategies

Alice Ex,y Bob Fx,y

A x ∈ RA x ∈ A

Alice Ey,z Bob Fy,z

A

B

C z ∈ RC z ∈ C

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 16/22

Page 66: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

4. Contextuality and non-locality

Page 67: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

ContextualityContextuality is a fundamental feature of quantum mechanics, whichdistinguishes it from classical physical theories.

It can be thought as saying that empirical predictions are inconsistentwith all measurements having pre-determined outcomes.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 17/22

Page 68: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

ContextualityContextuality is a fundamental feature of quantum mechanics, whichdistinguishes it from classical physical theories.

It can be thought as saying that empirical predictions are inconsistentwith all measurements having pre-determined outcomes.

Non-locality is a particular case of contextuality for Bell scenarios

. . . but here we show that certain contextuality proofs can always beunderwritten by non-locality arguments.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 17/22

Page 69: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

ContextualityMeasurement scenario (X ,M,O):

I X is a finite set of measurementsI O is a finite set of outcomesI M is a cover of X , where C ∈M is a set of compatible

measurements (context)

Empirical model: probability distributions on joint outcomes of mea-surements in a context C.

Possibilistic information: for C ∈M and s ∈ OC , eC(s) ∈ {0,1}indicates if joint outcome s for measurements C is possible or not.

Strong contextuality: if there is no global assignment g : X −→ Osuch that for all C ∈M, eC(g|C) = 1. That is, no global assignment isconsistent with the model in the sense of yielding possible outcomesin all contexts.

E.g.: GHZ, Kochen–Specker, (post-quantum) PR box

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 18/22

Page 70: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

ContextualityMeasurement scenario (X ,M,O):

I X is a finite set of measurementsI O is a finite set of outcomesI M is a cover of X , where C ∈M is a set of compatible

measurements (context)

Empirical model: probability distributions on joint outcomes of mea-surements in a context C.

Possibilistic information: for C ∈M and s ∈ OC , eC(s) ∈ {0,1}indicates if joint outcome s for measurements C is possible or not.

Strong contextuality: if there is no global assignment g : X −→ Osuch that for all C ∈M, eC(g|C) = 1. That is, no global assignment isconsistent with the model in the sense of yielding possible outcomesin all contexts.

E.g.: GHZ, Kochen–Specker, (post-quantum) PR box

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 18/22

Page 71: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

ContextualityMeasurement scenario (X ,M,O):

I X is a finite set of measurementsI O is a finite set of outcomesI M is a cover of X , where C ∈M is a set of compatible

measurements (context)

Empirical model: probability distributions on joint outcomes of mea-surements in a context C.

Possibilistic information: for C ∈M and s ∈ OC , eC(s) ∈ {0,1}indicates if joint outcome s for measurements C is possible or not.

Strong contextuality: if there is no global assignment g : X −→ Osuch that for all C ∈M, eC(g|C) = 1. That is, no global assignment isconsistent with the model in the sense of yielding possible outcomesin all contexts.

E.g.: GHZ, Kochen–Specker, (post-quantum) PR box

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 18/22

Page 72: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

ContextualityMeasurement scenario (X ,M,O):

I X is a finite set of measurementsI O is a finite set of outcomesI M is a cover of X , where C ∈M is a set of compatible

measurements (context)

Empirical model: probability distributions on joint outcomes of mea-surements in a context C.

Possibilistic information: for C ∈M and s ∈ OC , eC(s) ∈ {0,1}indicates if joint outcome s for measurements C is possible or not.

Strong contextuality: if there is no global assignment g : X −→ Osuch that for all C ∈M, eC(g|C) = 1. That is, no global assignment isconsistent with the model in the sense of yielding possible outcomesin all contexts.

E.g.: GHZ, Kochen–Specker, (post-quantum) PR box

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 18/22

Page 73: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Strong contextuality

Strong Contextuality:no consistent globalassignment.

A B (0, 0) (0, 1) (1, 0) (1, 1)a1 b1 X × × Xa1 b2 X × × Xa2 b1 X × × Xa2 b2 × X X × •a1

• b1

• a2

•b2

•0

•1•

•1

• 0

• 1

•0

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 19/22

Page 74: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Strong contextuality and constraint satisfaction

The support of e can be described as a CSP Ke

There is a one-to-one correspondence between:I solutions for Ke

I (homomorphisms AKe −→ BKe )

I consistent global assignements for e

Hence, e is strongly contextual iff Ke has no (classical) solution.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 20/22

Page 75: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Strong contextuality and constraint satisfaction

The support of e can be described as a CSP Ke

There is a one-to-one correspondence between:I solutions for Ke

I (homomorphisms AKe −→ BKe )

I consistent global assignements for e

Hence, e is strongly contextual iff Ke has no (classical) solution.

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 20/22

Page 76: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum correspondenceQuantum witness for e:

I state ϕI PVM Px = {Px,o}o∈O for each x ∈ XI [Px,o,Px′,o′ ] = 0 whenever x , x ′ ∈ C ∈ MI For all C ∈M, s ∈ OC , eC(s) = 0 =⇒ ϕ∗Px,s(x)ϕ = 0

State-independent witness: family of PVMs yielding witness for any ϕ.

There is one-to-one correspondence between:I quantum solutions for the CSP Ke

I (i.e. quantum homomorphisms AKe

q−→ BKe )

I state-independent witnesses for e

Quantum state-independent strong contextuality:Ke has quantum solution but no classical solution!

General way of turning state-independent contextuality proofs into Bellnon-locality arguments (generalising Heywood & Redhead’s construction).

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 21/22

Page 77: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum correspondenceQuantum witness for e:

I state ϕI PVM Px = {Px,o}o∈O for each x ∈ XI [Px,o,Px′,o′ ] = 0 whenever x , x ′ ∈ C ∈ MI For all C ∈M, s ∈ OC , eC(s) = 0 =⇒ ϕ∗Px,s(x)ϕ = 0

State-independent witness: family of PVMs yielding witness for any ϕ.

There is one-to-one correspondence between:I quantum solutions for the CSP Ke

I (i.e. quantum homomorphisms AKe

q−→ BKe )

I state-independent witnesses for e

Quantum state-independent strong contextuality:Ke has quantum solution but no classical solution!

General way of turning state-independent contextuality proofs into Bellnon-locality arguments (generalising Heywood & Redhead’s construction).

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 21/22

Page 78: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum correspondenceQuantum witness for e:

I state ϕI PVM Px = {Px,o}o∈O for each x ∈ XI [Px,o,Px′,o′ ] = 0 whenever x , x ′ ∈ C ∈ MI For all C ∈M, s ∈ OC , eC(s) = 0 =⇒ ϕ∗Px,s(x)ϕ = 0

State-independent witness: family of PVMs yielding witness for any ϕ.

There is one-to-one correspondence between:I quantum solutions for the CSP Ke

I (i.e. quantum homomorphisms AKe

q−→ BKe )

I state-independent witnesses for e

Quantum state-independent strong contextuality:Ke has quantum solution but no classical solution!

General way of turning state-independent contextuality proofs into Bellnon-locality arguments (generalising Heywood & Redhead’s construction).

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 21/22

Page 79: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Quantum correspondenceQuantum witness for e:

I state ϕI PVM Px = {Px,o}o∈O for each x ∈ XI [Px,o,Px′,o′ ] = 0 whenever x , x ′ ∈ C ∈ MI For all C ∈M, s ∈ OC , eC(s) = 0 =⇒ ϕ∗Px,s(x)ϕ = 0

State-independent witness: family of PVMs yielding witness for any ϕ.

There is one-to-one correspondence between:I quantum solutions for the CSP Ke

I (i.e. quantum homomorphisms AKe

q−→ BKe )

I state-independent witnesses for e

Quantum state-independent strong contextuality:Ke has quantum solution but no classical solution!

General way of turning state-independent contextuality proofs into Bellnon-locality arguments (generalising Heywood & Redhead’s construction).

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 21/22

Page 80: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

5. Outlook

Page 81: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Outlook

I Quantum graph isomorphisms, and isomorphisms of relationalstructures. How does it fit? Other similar generalisations?

I Infinite-dimensional resources

I What about state-dependent strong contextuality?

I A strategy has a winning probability. Can we adapt this to dealwith quantitative aspects (contextual fraction, . . . )?

I Homomorphisms are related to the existential positive fragment:can this be extended to provide quantum vality for first-orderformulae?

I Also, quantum versions of pebble games quantum finite model theory

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 22/22

Page 82: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Outlook

I Quantum graph isomorphisms, and isomorphisms of relationalstructures. How does it fit? Other similar generalisations?

I Infinite-dimensional resources

I What about state-dependent strong contextuality?

I A strategy has a winning probability. Can we adapt this to dealwith quantitative aspects (contextual fraction, . . . )?

I Homomorphisms are related to the existential positive fragment:can this be extended to provide quantum vality for first-orderformulae?

I Also, quantum versions of pebble games quantum finite model theory

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 22/22

Page 83: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Outlook

I Quantum graph isomorphisms, and isomorphisms of relationalstructures. How does it fit? Other similar generalisations?

I Infinite-dimensional resources

I What about state-dependent strong contextuality?

I A strategy has a winning probability. Can we adapt this to dealwith quantitative aspects (contextual fraction, . . . )?

I Homomorphisms are related to the existential positive fragment:can this be extended to provide quantum vality for first-orderformulae?

I Also, quantum versions of pebble games quantum finite model theory

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 22/22

Page 84: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Outlook

I Quantum graph isomorphisms, and isomorphisms of relationalstructures. How does it fit? Other similar generalisations?

I Infinite-dimensional resources

I What about state-dependent strong contextuality?

I A strategy has a winning probability. Can we adapt this to dealwith quantitative aspects (contextual fraction, . . . )?

I Homomorphisms are related to the existential positive fragment:can this be extended to provide quantum vality for first-orderformulae?

I Also, quantum versions of pebble games quantum finite model theory

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 22/22

Page 85: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Outlook

I Quantum graph isomorphisms, and isomorphisms of relationalstructures. How does it fit? Other similar generalisations?

I Infinite-dimensional resources

I What about state-dependent strong contextuality?

I A strategy has a winning probability. Can we adapt this to dealwith quantitative aspects (contextual fraction, . . . )?

I Homomorphisms are related to the existential positive fragment:can this be extended to provide quantum vality for first-orderformulae?

I Also, quantum versions of pebble games quantum finite model theory

Samson Abramsky, Rui S. Barbosa, Nadish de Silva, Octavio Zapata The quantum monad on relational structures 22/22

Page 86: The quantum monad on relational structures - AQIS Confaqis-conf.org/2017/wp-content/uploads/2017/09/D4_05_4A01... · 2017-09-18 · Motivation With the advent of quantum computation

Thank you!

Questions...

?