From semantics of computation to physics, and back Samson Abramsky - - PowerPoint PPT Presentation

from semantics of computation to physics and back
SMART_READER_LITE
LIVE PREVIEW

From semantics of computation to physics, and back Samson Abramsky - - PowerPoint PPT Presentation

From semantics of computation to physics, and back Samson Abramsky Department of Computer Science, University of Oxford Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 1


slide-1
SLIDE 1

From semantics of computation to physics, and back

Samson Abramsky

Department of Computer Science, University of Oxford

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 1 / 29

slide-2
SLIDE 2

Adriaan van Wijngaarden

From his Wikipedia article: His education was in mechanical engineering, for which he received a degree from Delft University of Technology in 1939. He then studied for a doctorate in hydrodynamics, but then abandoned the area. He joined the Nationaal Luchtvaartlaboratorium in 1945 and went with a group to England the following year to learn about new technologies that had been developed there during World War II. Van Wijngaarden was intrigued by the new idea of automatic computing, and on 1 January 1947 he became the head of the Computing Department of the brand-new Mathematisch Centrum (MC) in Amsterdam.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 2 / 29

slide-3
SLIDE 3

Some Themes

Even though he was trained as an engineer, van Wijngaarden would emphasize and promote the mathematical aspects of computing, first in numerical analysis, then in programming languages and finally in design principles of programming languages.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 3 / 29

slide-4
SLIDE 4

Some Themes

Even though he was trained as an engineer, van Wijngaarden would emphasize and promote the mathematical aspects of computing, first in numerical analysis, then in programming languages and finally in design principles of programming languages. Current work in quantum information and computation draws on mathematical tools developed in the study of mathematical foundations of computation, and delivers exciting new challenges and possibilities for computer science.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 3 / 29

slide-5
SLIDE 5

Some Themes

Even though he was trained as an engineer, van Wijngaarden would emphasize and promote the mathematical aspects of computing, first in numerical analysis, then in programming languages and finally in design principles of programming languages. Current work in quantum information and computation draws on mathematical tools developed in the study of mathematical foundations of computation, and delivers exciting new challenges and possibilities for computer science. New possibilities for quantum advantage sit at the very boundaries of paradox, reminiscent of the way that paradoxical combinators and fixpoints are turned into a basis for recursion, as a working tool for the programmer.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 3 / 29

slide-6
SLIDE 6

From the Y Combinator to Y Combinator

Wikipedia disambiguation:

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 4 / 29

slide-7
SLIDE 7

From the Y Combinator to Y Combinator

Wikipedia disambiguation: Y Combinator may refer to: Y combinator, one of the fixed-point combinators in untyped lambda calculus Y Combinator (company), a startup-company accelerator

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 4 / 29

slide-8
SLIDE 8

From the Y Combinator to Y Combinator

Wikipedia disambiguation: Y Combinator may refer to: Y combinator, one of the fixed-point combinators in untyped lambda calculus Y Combinator (company), a startup-company accelerator Fast Company has called YC ”the world’s most powerful start-up incubator”. Fortune has called Y Combinator ”a spawning ground for emerging tech giants”.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 4 / 29

slide-9
SLIDE 9

From the Y Combinator to Y Combinator

Wikipedia disambiguation: Y Combinator may refer to: Y combinator, one of the fixed-point combinators in untyped lambda calculus Y Combinator (company), a startup-company accelerator Fast Company has called YC ”the world’s most powerful start-up incubator”. Fortune has called Y Combinator ”a spawning ground for emerging tech giants”. Y Combinator was started by Paul Graham and colleagues, LISP gurus — LISP is based on the lambda calculus.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 4 / 29

slide-10
SLIDE 10

From the Y Combinator to Y Combinator

Wikipedia disambiguation: Y Combinator may refer to: Y combinator, one of the fixed-point combinators in untyped lambda calculus Y Combinator (company), a startup-company accelerator Fast Company has called YC ”the world’s most powerful start-up incubator”. Fortune has called Y Combinator ”a spawning ground for emerging tech giants”. Y Combinator was started by Paul Graham and colleagues, LISP gurus — LISP is based on the lambda calculus. The Y combinator was introduced by Haskell Curry, in his analysis of Russell’s

  • paradox. Self-application (reflexivity) plays a key rˆ
  • le.

Y ≡ λF. (λx. F(xx))(λx. F(xx))

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 4 / 29

slide-11
SLIDE 11

From the Y Combinator to Y Combinator

Wikipedia disambiguation: Y Combinator may refer to: Y combinator, one of the fixed-point combinators in untyped lambda calculus Y Combinator (company), a startup-company accelerator Fast Company has called YC ”the world’s most powerful start-up incubator”. Fortune has called Y Combinator ”a spawning ground for emerging tech giants”. Y Combinator was started by Paul Graham and colleagues, LISP gurus — LISP is based on the lambda calculus. The Y combinator was introduced by Haskell Curry, in his analysis of Russell’s

  • paradox. Self-application (reflexivity) plays a key rˆ
  • le.

Y ≡ λF. (λx. F(xx))(λx. F(xx)) For any term M, YM = M(YM).

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 4 / 29

slide-12
SLIDE 12

From the Y Combinator to Y Combinator

Wikipedia disambiguation: Y Combinator may refer to: Y combinator, one of the fixed-point combinators in untyped lambda calculus Y Combinator (company), a startup-company accelerator Fast Company has called YC ”the world’s most powerful start-up incubator”. Fortune has called Y Combinator ”a spawning ground for emerging tech giants”. Y Combinator was started by Paul Graham and colleagues, LISP gurus — LISP is based on the lambda calculus. The Y combinator was introduced by Haskell Curry, in his analysis of Russell’s

  • paradox. Self-application (reflexivity) plays a key rˆ
  • le.

Y ≡ λF. (λx. F(xx))(λx. F(xx)) For any term M, YM = M(YM). The Haskell programming language is named after Curry.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 4 / 29

slide-13
SLIDE 13

From paradox to technology

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 5 / 29

slide-14
SLIDE 14

From paradox to technology

“Strange loops” (Hofstadter)

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 5 / 29

slide-15
SLIDE 15

From paradox to technology

“Strange loops” (Hofstadter) “It’s not a bug, it’s a feature”.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 5 / 29

slide-16
SLIDE 16

From paradox to technology

“Strange loops” (Hofstadter) “It’s not a bug, it’s a feature”. Resolution of the paradox — add new values (partial values).

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 5 / 29

slide-17
SLIDE 17

From paradox to technology

“Strange loops” (Hofstadter) “It’s not a bug, it’s a feature”. Resolution of the paradox — add new values (partial values). Scott’s reflexive domain models of the untyped lambda calculus.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 5 / 29

slide-18
SLIDE 18

Quantum Paradoxes and Quantum Technologies

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 6 / 29

slide-19
SLIDE 19

Quantum Paradoxes and Quantum Technologies

We are witnessing the beginnings of quantum technologies for information processing:

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 6 / 29

slide-20
SLIDE 20

Quantum Paradoxes and Quantum Technologies

We are witnessing the beginnings of quantum technologies for information processing: randomness certification and amplification

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 6 / 29

slide-21
SLIDE 21

Quantum Paradoxes and Quantum Technologies

We are witnessing the beginnings of quantum technologies for information processing: randomness certification and amplification quantum key distribution and other security protocols (and post-quantum crypto)

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 6 / 29

slide-22
SLIDE 22

Quantum Paradoxes and Quantum Technologies

We are witnessing the beginnings of quantum technologies for information processing: randomness certification and amplification quantum key distribution and other security protocols (and post-quantum crypto) simulation of quantum chemistry, machine learning, optimization may soon be in reach

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 6 / 29

slide-23
SLIDE 23

Quantum Paradoxes and Quantum Technologies

We are witnessing the beginnings of quantum technologies for information processing: randomness certification and amplification quantum key distribution and other security protocols (and post-quantum crypto) simulation of quantum chemistry, machine learning, optimization may soon be in reach These remarkable developments are directly connected with ideas from quantum foundations, closely associated with paradoxes or quasi-paradoxes: Bell’s theorem, Kochen-Specker paradox, Hardy’s paradox, teleportation, pseudo-telepathy, non-locality, contextuality, . . .

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 6 / 29

slide-24
SLIDE 24

Quantum Paradoxes and Quantum Technologies

We are witnessing the beginnings of quantum technologies for information processing: randomness certification and amplification quantum key distribution and other security protocols (and post-quantum crypto) simulation of quantum chemistry, machine learning, optimization may soon be in reach These remarkable developments are directly connected with ideas from quantum foundations, closely associated with paradoxes or quasi-paradoxes: Bell’s theorem, Kochen-Specker paradox, Hardy’s paradox, teleportation, pseudo-telepathy, non-locality, contextuality, . . . The borders of paradox are a fruitful place to be!

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 6 / 29

slide-25
SLIDE 25

Alice-Bob games

Verifier Alice Bob

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 7 / 29

slide-26
SLIDE 26

The XOR Game

Alice and Bob play a cooperative game against Verifier (or Nature!):

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 8 / 29

slide-27
SLIDE 27

The XOR Game

Alice and Bob play a cooperative game against Verifier (or Nature!): Verifier chooses an input x ∈ {0, 1} for Alice, and similarly an input y for

  • Bob. We assume the uniform distribution for Nature’s choices.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 8 / 29

slide-28
SLIDE 28

The XOR Game

Alice and Bob play a cooperative game against Verifier (or Nature!): Verifier chooses an input x ∈ {0, 1} for Alice, and similarly an input y for

  • Bob. We assume the uniform distribution for Nature’s choices.

Alice and Bob each have to choose an output, a ∈ {0, 1} for Alice, b ∈ {0, 1} for Bob, depending on their input. They are not allowed to communicate during the game.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 8 / 29

slide-29
SLIDE 29

The XOR Game

Alice and Bob play a cooperative game against Verifier (or Nature!): Verifier chooses an input x ∈ {0, 1} for Alice, and similarly an input y for

  • Bob. We assume the uniform distribution for Nature’s choices.

Alice and Bob each have to choose an output, a ∈ {0, 1} for Alice, b ∈ {0, 1} for Bob, depending on their input. They are not allowed to communicate during the game. The winning condition: a ⊕ b = x ∧ y.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 8 / 29

slide-30
SLIDE 30

The XOR Game

Alice and Bob play a cooperative game against Verifier (or Nature!): Verifier chooses an input x ∈ {0, 1} for Alice, and similarly an input y for

  • Bob. We assume the uniform distribution for Nature’s choices.

Alice and Bob each have to choose an output, a ∈ {0, 1} for Alice, b ∈ {0, 1} for Bob, depending on their input. They are not allowed to communicate during the game. The winning condition: a ⊕ b = x ∧ y. A table of conditional probabilities p(a, b|x, y) defines a probabilistic strategy for this game. The success probability for this strategy is: 1/4[p(a = b|x = 0, y = 0) + p(a = b|x = 0, y = 1) + p(a = b|x = 1, y = 0) +p(a = b|x = 1, y = 1)]

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 8 / 29

slide-31
SLIDE 31

A Strategy for the Alice-Bob game

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 9 / 29

slide-32
SLIDE 32

A Strategy for the Alice-Bob game

Example: The Bell Model A B (0, 0) (1, 0) (0, 1) (1, 1) 1/2 1/2 1 3/8 1/8 1/8 3/8 1 3/8 1/8 1/8 3/8 1 1 1/8 3/8 3/8 1/8

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 9 / 29

slide-33
SLIDE 33

A Strategy for the Alice-Bob game

Example: The Bell Model A B (0, 0) (1, 0) (0, 1) (1, 1) 1/2 1/2 1 3/8 1/8 1/8 3/8 1 3/8 1/8 1/8 3/8 1 1 1/8 3/8 3/8 1/8 The entry in row 2 column 3 says: If the Verifier sends Alice a1 and Bob b2, then with probability 1/8, Alice outputs a 0 and Bob outputs a 1.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 9 / 29

slide-34
SLIDE 34

A Strategy for the Alice-Bob game

Example: The Bell Model A B (0, 0) (1, 0) (0, 1) (1, 1) 1/2 1/2 1 3/8 1/8 1/8 3/8 1 3/8 1/8 1/8 3/8 1 1 1/8 3/8 3/8 1/8 The entry in row 2 column 3 says: If the Verifier sends Alice a1 and Bob b2, then with probability 1/8, Alice outputs a 0 and Bob outputs a 1. This gives a winning probability of 3.25

4

≈ 0.81.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 9 / 29

slide-35
SLIDE 35

A Strategy for the Alice-Bob game

Example: The Bell Model The entry in row 2 column 3 says: If the Verifier sends Alice a1 and Bob b2, then with probability 1/8, Alice outputs a 0 and Bob outputs a 1. This gives a winning probability of 3.25

4

≈ 0.81. The optimal classical probability is 0.75!

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 9 / 29

slide-36
SLIDE 36

A Strategy for the Alice-Bob game

Example: The Bell Model The entry in row 2 column 3 says: If the Verifier sends Alice a1 and Bob b2, then with probability 1/8, Alice outputs a 0 and Bob outputs a 1. This gives a winning probability of 3.25

4

≈ 0.81. The optimal classical probability is 0.75! The proof of this uses (and is essentially the same as) the use of Bell inequalities.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 9 / 29

slide-37
SLIDE 37

A Strategy for the Alice-Bob game

Example: The Bell Model The entry in row 2 column 3 says: If the Verifier sends Alice a1 and Bob b2, then with probability 1/8, Alice outputs a 0 and Bob outputs a 1. This gives a winning probability of 3.25

4

≈ 0.81. The optimal classical probability is 0.75! The proof of this uses (and is essentially the same as) the use of Bell inequalities. The Bell table exceeds this bound. Since it is quantum realizable using an entangled pair of qubits, it shows that quantum resources yield a quantum advantage in an information-processing task.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 9 / 29

slide-38
SLIDE 38

A Simple Observation

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-39
SLIDE 39

A Simple Observation

Suppose we have propositional formulas φ1, . . . , φN

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-40
SLIDE 40

A Simple Observation

Suppose we have propositional formulas φ1, . . . , φN Suppose further we can assign a probability pi = Prob(φi) to each φi.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-41
SLIDE 41

A Simple Observation

Suppose we have propositional formulas φ1, . . . , φN Suppose further we can assign a probability pi = Prob(φi) to each φi. (Story: perform experiment to test the variables in φi; pi is the relative frequency

  • f the trials satisfying φi.)

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-42
SLIDE 42

A Simple Observation

Suppose we have propositional formulas φ1, . . . , φN Suppose further we can assign a probability pi = Prob(φi) to each φi. (Story: perform experiment to test the variables in φi; pi is the relative frequency

  • f the trials satisfying φi.)

Suppose that these formulas are not simultaneously satisfiable. Then (e.g.)

N−1

  • i=1

φi ⇒ ¬φN,

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-43
SLIDE 43

A Simple Observation

Suppose we have propositional formulas φ1, . . . , φN Suppose further we can assign a probability pi = Prob(φi) to each φi. (Story: perform experiment to test the variables in φi; pi is the relative frequency

  • f the trials satisfying φi.)

Suppose that these formulas are not simultaneously satisfiable. Then (e.g.)

N−1

  • i=1

φi ⇒ ¬φN,

  • r equivalently

φN ⇒

N−1

  • i=1

¬φi.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-44
SLIDE 44

A Simple Observation

Suppose we have propositional formulas φ1, . . . , φN Suppose further we can assign a probability pi = Prob(φi) to each φi. (Story: perform experiment to test the variables in φi; pi is the relative frequency

  • f the trials satisfying φi.)

Suppose that these formulas are not simultaneously satisfiable. Then (e.g.)

N−1

  • i=1

φi ⇒ ¬φN,

  • r equivalently

φN ⇒

N−1

  • i=1

¬φi. Using elementary probability theory, we can calculate: pN ≤ Prob(

N−1

  • i=1

¬φi) ≤

N−1

  • i=1

Prob(¬φi) =

N−1

  • i=1

(1 − pi) = (N − 1) −

N−1

  • i=1

pi.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-45
SLIDE 45

A Simple Observation

Suppose we have propositional formulas φ1, . . . , φN Suppose further we can assign a probability pi = Prob(φi) to each φi. (Story: perform experiment to test the variables in φi; pi is the relative frequency

  • f the trials satisfying φi.)

Suppose that these formulas are not simultaneously satisfiable. Then (e.g.)

N−1

  • i=1

φi ⇒ ¬φN,

  • r equivalently

φN ⇒

N−1

  • i=1

¬φi. Using elementary probability theory, we can calculate: pN ≤ Prob(

N−1

  • i=1

¬φi) ≤

N−1

  • i=1

Prob(¬φi) =

N−1

  • i=1

(1 − pi) = (N − 1) −

N−1

  • i=1

pi. Hence we obtain the inequality

N

  • i=1

pi ≤ N − 1.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 10 / 29

slide-46
SLIDE 46

Logical analysis of the Bell table

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 11 / 29

slide-47
SLIDE 47

Logical analysis of the Bell table

(0, 0) (1, 0) (0, 1) (1, 1) (a1, b1) 1/2 1/2 (a1, b2) 3/8 1/8 1/8 3/8 (a2, b1) 3/8 1/8 1/8 3/8 (a2, b2) 1/8 3/8 3/8 1/8

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 11 / 29

slide-48
SLIDE 48

Logical analysis of the Bell table

(0, 0) (1, 0) (0, 1) (1, 1) (a1, b1) 1/2 1/2 (a1, b2) 3/8 1/8 1/8 3/8 (a2, b1) 3/8 1/8 1/8 3/8 (a2, b2) 1/8 3/8 3/8 1/8 If we read 0 as true and 1 as false, the highlighted entries in each row of the table are represented by the following propositions: ϕ1 = (a1 ∧ b1) ∨ (¬a1 ∧ ¬b1) = a1 ↔ b1 ϕ2 = (a1 ∧ b2) ∨ (¬a1 ∧ ¬b2) = a1 ↔ b2 ϕ3 = (a2 ∧ b1) ∨ (¬a2 ∧ ¬b1) = a2 ↔ b1 ϕ4 = (¬a2 ∧ b2) ∨ (a2 ∧ ¬b2) = a2 ⊕ b2.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 11 / 29

slide-49
SLIDE 49

Logical analysis of the Bell table

(0, 0) (1, 0) (0, 1) (1, 1) (a1, b1) 1/2 1/2 (a1, b2) 3/8 1/8 1/8 3/8 (a2, b1) 3/8 1/8 1/8 3/8 (a2, b2) 1/8 3/8 3/8 1/8 If we read 0 as true and 1 as false, the highlighted entries in each row of the table are represented by the following propositions: ϕ1 = (a1 ∧ b1) ∨ (¬a1 ∧ ¬b1) = a1 ↔ b1 ϕ2 = (a1 ∧ b2) ∨ (¬a1 ∧ ¬b2) = a1 ↔ b2 ϕ3 = (a2 ∧ b1) ∨ (¬a2 ∧ ¬b1) = a2 ↔ b1 ϕ4 = (¬a2 ∧ b2) ∨ (a2 ∧ ¬b2) = a2 ⊕ b2. These propositions are easily seen to be contradictory.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 11 / 29

slide-50
SLIDE 50

Logical analysis of the Bell table

(0, 0) (1, 0) (0, 1) (1, 1) (a1, b1) 1/2 1/2 (a1, b2) 3/8 1/8 1/8 3/8 (a2, b1) 3/8 1/8 1/8 3/8 (a2, b2) 1/8 3/8 3/8 1/8 If we read 0 as true and 1 as false, the highlighted entries in each row of the table are represented by the following propositions: ϕ1 = (a1 ∧ b1) ∨ (¬a1 ∧ ¬b1) = a1 ↔ b1 ϕ2 = (a1 ∧ b2) ∨ (¬a1 ∧ ¬b2) = a1 ↔ b2 ϕ3 = (a2 ∧ b1) ∨ (¬a2 ∧ ¬b1) = a2 ↔ b1 ϕ4 = (¬a2 ∧ b2) ∨ (a2 ∧ ¬b2) = a2 ⊕ b2. These propositions are easily seen to be contradictory. The violation of the logical Bell inequality is 1/4.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 11 / 29

slide-51
SLIDE 51

Science Fiction? – The News from Delft

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 12 / 29

slide-52
SLIDE 52

Science Fiction? – The News from Delft

First Loophole-free Bell test, 2015

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 12 / 29

slide-53
SLIDE 53

Science Fiction? – The News from Delft

First Loophole-free Bell test, 2015

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 12 / 29

slide-54
SLIDE 54

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 13 / 29

slide-55
SLIDE 55

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 14 / 29

slide-56
SLIDE 56

Timeline

1932 von Neumann’s Mathematical Foundations of Quantum Mechanics 1935 EPR Paradox, the Einstein-Bohr debate 1964 Bell’s Theorem 1982 First experimental test of EPR and Bell inequalities (Aspect, Grangier, Roger, Dalibard) 1984 Bennett-Brassard quantum key distribution protocol 1985 Deutch Quantum Computing paper 1993 Quantum teleportation (Bennett, Brassard, Cr´ epeau, Jozsa, Peres, Wooters) 1994 Shor’s algorithm 2015 First loophole-free Bell tests (Delft, NIST, Vienna)

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 15 / 29

slide-57
SLIDE 57

Qubits: Spin Measurements

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 16 / 29

slide-58
SLIDE 58

Qubits: Spin Measurements

States of the system can be described by complex unit vectors in C2. These can be visualized as points on the unit 2-sphere: |+ |− |+ |− |Ψ

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 16 / 29

slide-59
SLIDE 59

Qubits: Spin Measurements

States of the system can be described by complex unit vectors in C2. These can be visualized as points on the unit 2-sphere: |+ |− |+ |− |Ψ Spin can be measured in any direction; so there are a continuum of possible

  • measurements. There are two possible outcomes for each such measurement;

spin in the specified direction, or in the opposite direction. These two directions are represented by a pair of orthogonal vectors. They are represented on the sphere as a pair of antipodal points.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 16 / 29

slide-60
SLIDE 60

Qubits: Spin Measurements

States of the system can be described by complex unit vectors in C2. These can be visualized as points on the unit 2-sphere: |+ |− |+ |− |Ψ Spin can be measured in any direction; so there are a continuum of possible

  • measurements. There are two possible outcomes for each such measurement;

spin in the specified direction, or in the opposite direction. These two directions are represented by a pair of orthogonal vectors. They are represented on the sphere as a pair of antipodal points. Note the appearance of quantization here: there are not a continuum of possible

  • utcomes for each measurement, but only two!

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 16 / 29

slide-61
SLIDE 61

Quantum Entanglement

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 17 / 29

slide-62
SLIDE 62

Quantum Entanglement

Bell state: |↑↑ + |↓↓

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 17 / 29

slide-63
SLIDE 63

Quantum Entanglement

Bell state: |↑↑ + |↓↓ Compound systems are represented by tensor product: H1 ⊗ H2. Typical element:

  • i

λi · φi ⊗ ψi Superposition encodes correlation.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 17 / 29

slide-64
SLIDE 64

Quantum Entanglement

Bell state: |↑↑ + |↓↓ Compound systems are represented by tensor product: H1 ⊗ H2. Typical element:

  • i

λi · φi ⊗ ψi Superposition encodes correlation. Einstein’s ‘spooky action at a distance’. Even if the particles are spatially separated, measuring one has an effect on the state of the other.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 17 / 29

slide-65
SLIDE 65

Quantum Entanglement

Bell state: |↑↑ + |↓↓ Compound systems are represented by tensor product: H1 ⊗ H2. Typical element:

  • i

λi · φi ⊗ ψi Superposition encodes correlation. Einstein’s ‘spooky action at a distance’. Even if the particles are spatially separated, measuring one has an effect on the state of the other. Entangled pairs of qubits provide quantum resources which can be used to gain quantum advantage in information processing tasks.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 17 / 29

slide-66
SLIDE 66

The Mermin Magic Square

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 18 / 29

slide-67
SLIDE 67

The Mermin Magic Square

A B C D E F G H I

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 18 / 29

slide-68
SLIDE 68

The Mermin Magic Square

A B C D E F G H I The values we can observe for these variables are 0 or 1.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 18 / 29

slide-69
SLIDE 69

The Mermin Magic Square

A B C D E F G H I The values we can observe for these variables are 0 or 1. We require that each row and the first two columns have even parity, and the final column has odd parity.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 18 / 29

slide-70
SLIDE 70

The Mermin Magic Square

A B C D E F G H I The values we can observe for these variables are 0 or 1. We require that each row and the first two columns have even parity, and the final column has odd parity. This translates into 6 linear equations over Z2: A ⊕ B ⊕ C = 0 A ⊕ D ⊕ G = 0 D ⊕ E ⊕ F = 0 B ⊕ E ⊕ H = 0 G ⊕ H ⊕ I = 0 C ⊕ F ⊕ I = 1

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 18 / 29

slide-71
SLIDE 71

The Mermin Magic Square

A B C D E F G H I The values we can observe for these variables are 0 or 1. We require that each row and the first two columns have even parity, and the final column has odd parity. This translates into 6 linear equations over Z2: A ⊕ B ⊕ C = 0 A ⊕ D ⊕ G = 0 D ⊕ E ⊕ F = 0 B ⊕ E ⊕ H = 0 G ⊕ H ⊕ I = 0 C ⊕ F ⊕ I = 1 Of course, the equations are not satisfiable in Z2!

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 18 / 29

slide-72
SLIDE 72

Alice-Bob games for binary constraint systems

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 19 / 29

slide-73
SLIDE 73

Alice-Bob games for binary constraint systems

Alice and Bob can share prior information, but cannot communicate once the game starts.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 19 / 29

slide-74
SLIDE 74

Alice-Bob games for binary constraint systems

Alice and Bob can share prior information, but cannot communicate once the game starts. Verifier sends an equation to Alice, and a variable to Bob.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 19 / 29

slide-75
SLIDE 75

Alice-Bob games for binary constraint systems

Alice and Bob can share prior information, but cannot communicate once the game starts. Verifier sends an equation to Alice, and a variable to Bob. They win if Alice returns a satisfying assignment for the equation, and Bob returns a value for the variable consistent with Alice’s assignment.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 19 / 29

slide-76
SLIDE 76

Alice-Bob games for binary constraint systems

Alice and Bob can share prior information, but cannot communicate once the game starts. Verifier sends an equation to Alice, and a variable to Bob. They win if Alice returns a satisfying assignment for the equation, and Bob returns a value for the variable consistent with Alice’s assignment. A perfect strategy is one which wins with probability 1.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 19 / 29

slide-77
SLIDE 77

Alice-Bob games for binary constraint systems

Alice and Bob can share prior information, but cannot communicate once the game starts. Verifier sends an equation to Alice, and a variable to Bob. They win if Alice returns a satisfying assignment for the equation, and Bob returns a value for the variable consistent with Alice’s assignment. A perfect strategy is one which wins with probability 1. Classically, A-B have a perfect strategy if and only if there is a satisfying assignment for the equations.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 19 / 29

slide-78
SLIDE 78

Alice-Bob games for binary constraint systems

Alice and Bob can share prior information, but cannot communicate once the game starts. Verifier sends an equation to Alice, and a variable to Bob. They win if Alice returns a satisfying assignment for the equation, and Bob returns a value for the variable consistent with Alice’s assignment. A perfect strategy is one which wins with probability 1. Classically, A-B have a perfect strategy if and only if there is a satisfying assignment for the equations. Mermin’s construction shows that there is a quantum perfect strategy for the magic square.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 19 / 29

slide-79
SLIDE 79

Recent results

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 20 / 29

slide-80
SLIDE 80

Recent results

These games for general binary constraint systems studied by Cleve, Mittal, Liu and Slofstra.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 20 / 29

slide-81
SLIDE 81

Recent results

These games for general binary constraint systems studied by Cleve, Mittal, Liu and Slofstra. They show that have a quantum perfect strategy is equivalent to a purely group-theoretic condition on a solution group which can be associated to each system of binary equations.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 20 / 29

slide-82
SLIDE 82

Recent results

These games for general binary constraint systems studied by Cleve, Mittal, Liu and Slofstra. They show that have a quantum perfect strategy is equivalent to a purely group-theoretic condition on a solution group which can be associated to each system of binary equations. Major recent result by Slofstra:

Theorem

Every finitely presented group can be embedded in a solution group.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 20 / 29

slide-83
SLIDE 83

Recent results

These games for general binary constraint systems studied by Cleve, Mittal, Liu and Slofstra. They show that have a quantum perfect strategy is equivalent to a purely group-theoretic condition on a solution group which can be associated to each system of binary equations. Major recent result by Slofstra:

Theorem

Every finitely presented group can be embedded in a solution group. Corollaries: There are finite systems of boolean equations which have quantum perfect strategies in infinite-dimensional Hilbert space, but not in any finite dimension. The question: Given a binary constraint system, does a quantum perfect strategy exist? is undecidable.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 20 / 29

slide-84
SLIDE 84

Alice-Bob games for Graph Homomorphisms1

1Studied by Mancinska and Robertson, following Cameron, Montanaro, Newman, Severini and

Winter on the quantum chromatic number.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 21 / 29

slide-85
SLIDE 85

Alice-Bob games for Graph Homomorphisms1

Given graphs G and H, does there exist a homomorphism G → H?

1Studied by Mancinska and Robertson, following Cameron, Montanaro, Newman, Severini and

Winter on the quantum chromatic number.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 21 / 29

slide-86
SLIDE 86

Alice-Bob games for Graph Homomorphisms1

Given graphs G and H, does there exist a homomorphism G → H? Verifier sends a vertex of G to Alice, and a vertex to Bob. They output vertices of H.

1Studied by Mancinska and Robertson, following Cameron, Montanaro, Newman, Severini and

Winter on the quantum chromatic number.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 21 / 29

slide-87
SLIDE 87

Alice-Bob games for Graph Homomorphisms1

Given graphs G and H, does there exist a homomorphism G → H? Verifier sends a vertex of G to Alice, and a vertex to Bob. They output vertices of H. They win if . . . ?

1Studied by Mancinska and Robertson, following Cameron, Montanaro, Newman, Severini and

Winter on the quantum chromatic number.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 21 / 29

slide-88
SLIDE 88

Alice-Bob games for Graph Homomorphisms1

Given graphs G and H, does there exist a homomorphism G → H? Verifier sends a vertex of G to Alice, and a vertex to Bob. They output vertices of H. They win if . . . ? So we get a notion of “quantum graph homomorphism”. What does it mean?

1Studied by Mancinska and Robertson, following Cameron, Montanaro, Newman, Severini and

Winter on the quantum chromatic number.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 21 / 29

slide-89
SLIDE 89

Alice-Bob games for Graph Homomorphisms1

Given graphs G and H, does there exist a homomorphism G → H? Verifier sends a vertex of G to Alice, and a vertex to Bob. They output vertices of H. They win if . . . ? So we get a notion of “quantum graph homomorphism”. What does it mean? What is the general underlying notion? How far can we generalize? Does it lead to a notion of “quantum mathematics”?

1Studied by Mancinska and Robertson, following Cameron, Montanaro, Newman, Severini and

Winter on the quantum chromatic number.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 21 / 29

slide-90
SLIDE 90

Alice-Bob games for Graph Homomorphisms1

Given graphs G and H, does there exist a homomorphism G → H? Verifier sends a vertex of G to Alice, and a vertex to Bob. They output vertices of H. They win if . . . ? So we get a notion of “quantum graph homomorphism”. What does it mean? What is the general underlying notion? How far can we generalize? Does it lead to a notion of “quantum mathematics”? Are there connections to description in various kinds of logic? E.g. a kind of “quantum finite model theory”?

1Studied by Mancinska and Robertson, following Cameron, Montanaro, Newman, Severini and

Winter on the quantum chromatic number.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 21 / 29

slide-91
SLIDE 91

Contextuality Analogy: Local Consistency

a a′ b b′

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 22 / 29

slide-92
SLIDE 92

Contextuality Analogy: Local Consistency

a a′ b b′

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 22 / 29

slide-93
SLIDE 93

Contextuality Analogy: Global Inconsistency

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 23 / 29

slide-94
SLIDE 94

Strong Contextuality2

A B (0, 0) (1, 0) (0, 1) (1, 1) a1 b1 1 1 a1 b2 1 1 a2 b1 1 1 a2 b2 1 1 The PR Box: winning conditions for the XOR game!

2SA and A. Brandenburger, The Sheaf-theoretic structure of non-locality and contextuality

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 24 / 29

slide-95
SLIDE 95

Bundle Pictures3

Strong Contextuality E.g. the PR box: 00 01 10 11 ab

  • ×

×

  • ab′
  • ×

×

  • a′b
  • ×

×

  • a′b′

×

  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • 3SA, R. Barbosa, K. Kishida, R. Lal, S. Mansfield, Contextuality, Cohomology and Paradox.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 25 / 29

slide-96
SLIDE 96

Contextuality, Logic and Paradoxes

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 26 / 29

slide-97
SLIDE 97

Contextuality, Logic and Paradoxes

Liar cycles. A Liar cycle of length N is a sequence of statements S1 : S2 is true, S2 : S3 is true, . . . SN−1 : SN is true, SN : S1 is false. For N = 1, this is the classic Liar sentence S : S is false.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 26 / 29

slide-98
SLIDE 98

Contextuality, Logic and Paradoxes

Liar cycles. A Liar cycle of length N is a sequence of statements S1 : S2 is true, S2 : S3 is true, . . . SN−1 : SN is true, SN : S1 is false. For N = 1, this is the classic Liar sentence S : S is false. We can model the situation by boolean equations: x1 = x2, . . . , xn−1 = xn, xn = ¬x1

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 26 / 29

slide-99
SLIDE 99

Contextuality, Logic and Paradoxes

Liar cycles. A Liar cycle of length N is a sequence of statements S1 : S2 is true, S2 : S3 is true, . . . SN−1 : SN is true, SN : S1 is false. For N = 1, this is the classic Liar sentence S : S is false. We can model the situation by boolean equations: x1 = x2, . . . , xn−1 = xn, xn = ¬x1 The “paradoxical” nature of the original statements is captured by the inconsistency of these equations.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 26 / 29

slide-100
SLIDE 100

Contextuality in the Liar; Liar cycles in the PR Box

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 27 / 29

slide-101
SLIDE 101

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 27 / 29

slide-102
SLIDE 102

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1 Any subset of up to n − 1 of these equations is consistent; while the whole set is inconsistent.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 27 / 29

slide-103
SLIDE 103

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1 Any subset of up to n − 1 of these equations is consistent; while the whole set is inconsistent. Up to rearrangement, the Liar cycle of length 4 corresponds exactly to the PR box.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 27 / 29

slide-104
SLIDE 104

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1 Any subset of up to n − 1 of these equations is consistent; while the whole set is inconsistent. Up to rearrangement, the Liar cycle of length 4 corresponds exactly to the PR box. The usual reasoning to derive a contradiction from the Liar cycle corresponds precisely to the attempt to find a univocal path in the bundle diagram.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 27 / 29

slide-105
SLIDE 105

Paths to contradiction

  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 28 / 29

slide-106
SLIDE 106

Paths to contradiction

  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • Suppose that we try to set a2 to 1. Following the path on the right leads to the

following local propagation of values: a2 = 1 b1 = 1 a1 = 1 b2 = 1 a2 = 0 a2 = 0 b1 = 0 a1 = 0 b2 = 0 a2 = 1

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 28 / 29

slide-107
SLIDE 107

Paths to contradiction

  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • Suppose that we try to set a2 to 1. Following the path on the right leads to the

following local propagation of values: a2 = 1 b1 = 1 a1 = 1 b2 = 1 a2 = 0 a2 = 0 b1 = 0 a1 = 0 b2 = 0 a2 = 1 We have discussed a specific case here, but the analysis can be generalised to a large class of examples.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 28 / 29

slide-108
SLIDE 108

Envoi

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 29 / 29

slide-109
SLIDE 109

Envoi

Contextuality in physics raises deep questions about the nature of reality. But it is also a new kind of resource, which yields new possibilities in information processing tasks. The challenge is to find methods to harness this resource, and understand its structure.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 29 / 29

slide-110
SLIDE 110

Envoi

Contextuality in physics raises deep questions about the nature of reality. But it is also a new kind of resource, which yields new possibilities in information processing tasks. The challenge is to find methods to harness this resource, and understand its structure. By using these notions, we may come to understand them better. This may be the only way!

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 29 / 29

slide-111
SLIDE 111

Envoi

Contextuality in physics raises deep questions about the nature of reality. But it is also a new kind of resource, which yields new possibilities in information processing tasks. The challenge is to find methods to harness this resource, and understand its structure. By using these notions, we may come to understand them better. This may be the only way! Under the rubric of ”local consistency, global inconsistency” contextuality is a pervasive notion, arising e.g. in constraint satisfaction, databases, distributed computation and elsewhere in classical computation.

Samson Abramsky (Department of Computer Science, University of Oxford) From semantics of computation to physics, and back 29 / 29