Coalgebraic Walks in Quantum and Turing Computation Bart Jacobs - - PowerPoint PPT Presentation

coalgebraic walks in quantum and turing computation
SMART_READER_LITE
LIVE PREVIEW

Coalgebraic Walks in Quantum and Turing Computation Bart Jacobs - - PowerPoint PPT Presentation

Introduction Walks illustrating computation types Matrix representation Reversible computation Radboud University Nijmegen Turing Machines Conclusions Coalgebraic Walks in Quantum and Turing Computation Bart Jacobs Institute for Computing


slide-1
SLIDE 1

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebraic Walks in Quantum and Turing Computation

Bart Jacobs

Institute for Computing and Information Sciences – Digital Security Radboud University Nijmegen

30/10/10, Oxford

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 1 / 42

slide-2
SLIDE 2

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Outline

Introduction Walks illustrating computation types Non-deterministic walks Probabilistic walks Quantum walks Quantum walks, coalgebraically Matrix representation Reversible computation Turing Machines Conclusions

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 2 / 42

slide-3
SLIDE 3

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Outline

Introduction Walks illustrating computation types Non-deterministic walks Probabilistic walks Quantum walks Quantum walks, coalgebraically Matrix representation Reversible computation Turing Machines Conclusions

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 3 / 42

slide-4
SLIDE 4

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Aims of this presentation

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 4 / 42

slide-5
SLIDE 5

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Aims of this presentation

  • Explore quantum computation in relation to well-known

computation paradigms:

  • deterministic / non-deterministic / probabilistic / . . .
  • Seek connections quantum-coalgebra connection, within

paradigm for state-based computation.

  • Byproduct: coalgebraic modeling of Turing machines

(long-standing open problem)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 4 / 42

slide-6
SLIDE 6

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Aims of this presentation

  • Explore quantum computation in relation to well-known

computation paradigms:

  • deterministic / non-deterministic / probabilistic / . . .
  • Seek connections quantum-coalgebra connection, within

paradigm for state-based computation.

  • Byproduct: coalgebraic modeling of Turing machines

(long-standing open problem) ☛ ✡ ✟ ✠

Walks on a line form the leading example

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 4 / 42

slide-7
SLIDE 7

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Why coalgebras?

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 5 / 42

slide-8
SLIDE 8

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Why coalgebras?

  • Coalgebras have emerged as a generic formalism for

state-based computation, including e.g.

  • its own “coalgebraic modal logic”
  • bisimilarity as observational indistinguishability

(with generic ‘bisimilarity-is-congruence’ proofs)

  • canonical (final) models, with sound & complete languages

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 5 / 42

slide-9
SLIDE 9

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Why coalgebras?

  • Coalgebras have emerged as a generic formalism for

state-based computation, including e.g.

  • its own “coalgebraic modal logic”
  • bisimilarity as observational indistinguishability

(with generic ‘bisimilarity-is-congruence’ proofs)

  • canonical (final) models, with sound & complete languages
  • The language of quantum mechanics is very much related:
  • states and observations
  • observations disturbe the state (have side-effects)
  • unfinished debates about determinism & probability

(Einstein: God does not play dice; Bohr: internal state is unkown)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 5 / 42

slide-10
SLIDE 10

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 6 / 42

slide-11
SLIDE 11

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras

  • Mathematical models for state-based computation:
  • state space, say X
  • transition map X → F(X)
  • F is a functor that fixes the type of computation

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 6 / 42

slide-12
SLIDE 12

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras

  • Mathematical models for state-based computation:
  • state space, say X
  • transition map X → F(X)
  • F is a functor that fixes the type of computation
  • A deterministic automaton involves a pair of maps:

X

step,final?

X A × 2

where 2 = {0, 1}.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 6 / 42

slide-13
SLIDE 13

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras

  • Mathematical models for state-based computation:
  • state space, say X
  • transition map X → F(X)
  • F is a functor that fixes the type of computation
  • A deterministic automaton involves a pair of maps:

X

step,final?

X A × 2

where 2 = {0, 1}.

  • A non-deterministic automaton, or transition system, with

input actions A is a coalgebra: X

succs

P(X)A

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 6 / 42

slide-14
SLIDE 14

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras

  • Mathematical models for state-based computation:
  • state space, say X
  • transition map X → F(X)
  • F is a functor that fixes the type of computation
  • A deterministic automaton involves a pair of maps:

X

step,final?

X A × 2

where 2 = {0, 1}.

  • A non-deterministic automaton, or transition system, with

input actions A is a coalgebra: X

succs

P(X)A

  • By replacing powerset P by distribution functor D one obtains

probabilistic automata (aka. Markov chain)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 6 / 42

slide-15
SLIDE 15

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras of monads

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 7 / 42

slide-16
SLIDE 16

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras of monads

  • In this context we use coalgebras X → T(X) where T is a

monad

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 7 / 42

slide-17
SLIDE 17

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras of monads

  • In this context we use coalgebras X → T(X) where T is a

monad

  • As a result, coalgebras can be composed
  • More formally: the set of coalgebras
  • TX

X forms a monoid

  • Even more formally: a monoid in the category of T-algebras

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 7 / 42

slide-18
SLIDE 18

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Coalgebras of monads

  • In this context we use coalgebras X → T(X) where T is a

monad

  • As a result, coalgebras can be composed
  • More formally: the set of coalgebras
  • TX

X forms a monoid

  • Even more formally: a monoid in the category of T-algebras
  • Main monad examples:
  • Powerset P
  • Distribution D
  • Multiset M

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 7 / 42

slide-19
SLIDE 19

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Distribution monad D

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 8 / 42

slide-20
SLIDE 20

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Distribution monad D

For a set X, define D(X) = {ϕ: X → [0, 1]

  • support(ϕ) is finite, and

x ϕ(x) = 1}

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 8 / 42

slide-21
SLIDE 21

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Distribution monad D

For a set X, define D(X) = {ϕ: X → [0, 1]

  • support(ϕ) is finite, and

x ϕ(x) = 1}

Such ϕ ∈ D(X) is a formal convex combination: r1x1 + · · · + rnxn where        support(ϕ) = {x1, . . . , xn} ri = ϕ(xi) > 0 r1 + · · · + rn = 1

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 8 / 42

slide-22
SLIDE 22

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Distribution monad D

For a set X, define D(X) = {ϕ: X → [0, 1]

  • support(ϕ) is finite, and

x ϕ(x) = 1}

Such ϕ ∈ D(X) is a formal convex combination: r1x1 + · · · + rnxn where        support(ϕ) = {x1, . . . , xn} ri = ϕ(xi) > 0 r1 + · · · + rn = 1 Coalgebras X → D(X) are Markov chains, giving probabilistic transitions: x

ri

− → xi with

  • i ri = 1.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 8 / 42

slide-23
SLIDE 23

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Multiset monad M

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 9 / 42

slide-24
SLIDE 24

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Multiset monad M

The mulitset monad M over complex numbers is similar to, but simpler than, the distribution monad D. For a set X, now define

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 9 / 42

slide-25
SLIDE 25

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Multiset monad M

The mulitset monad M over complex numbers is similar to, but simpler than, the distribution monad D. For a set X, now define M(X) = {ϕ: X → C

  • support(ϕ) is finite }

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 9 / 42

slide-26
SLIDE 26

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Multiset monad M

The mulitset monad M over complex numbers is similar to, but simpler than, the distribution monad D. For a set X, now define M(X) = {ϕ: X → C

  • support(ϕ) is finite }

Such ϕ ∈ M(X) is a formal linear combination: z1x1 + · · · + znxn where

  • support(ϕ) = {x1, . . . , xn}

zi = ϕ(xi) ∈ C Such formal linear combinations form the free vector space on X.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 9 / 42

slide-27
SLIDE 27

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Multiset monad M

The mulitset monad M over complex numbers is similar to, but simpler than, the distribution monad D. For a set X, now define M(X) = {ϕ: X → C

  • support(ϕ) is finite }

Such ϕ ∈ M(X) is a formal linear combination: z1x1 + · · · + znxn where

  • support(ϕ) = {x1, . . . , xn}

zi = ϕ(xi) ∈ C Such formal linear combinations form the free vector space on X. Coalgebras X → M(X) are like weighted automata, adding weights/resources in C as labels to transitions.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 9 / 42

slide-28
SLIDE 28

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Outline

Introduction Walks illustrating computation types Non-deterministic walks Probabilistic walks Quantum walks Quantum walks, coalgebraically Matrix representation Reversible computation Turing Machines Conclusions

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 10 / 42

slide-29
SLIDE 29

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Walk the walk

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 11 / 42

slide-30
SLIDE 30

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Walk the walk

Consider a line of integer points . . . , −2, −1, 0, 1, 2, . . . ∈ Z. Different styles of walks, say of a drunkard, on this line will be described next:

  • non-deterministic
  • probabilistic
  • quantum

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 11 / 42

slide-31
SLIDE 31

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Walk the walk

Consider a line of integer points . . . , −2, −1, 0, 1, 2, . . . ∈ Z. Different styles of walks, say of a drunkard, on this line will be described next:

  • non-deterministic
  • probabilistic
  • quantum

All three computational styles can & will be represented coalgebraically.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 11 / 42

slide-32
SLIDE 32

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: definition

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 12 / 42

slide-33
SLIDE 33

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: definition

Coalgebraic represenation, of possible left-or-right stepping: Z

s

P(Z)

k

{k − 1, k + 1}

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 12 / 42

slide-34
SLIDE 34

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: definition

Coalgebraic represenation, of possible left-or-right stepping: Z

s

P(Z)

k

{k − 1, k + 1}

Iteration, starting in 0 ∈ Z, yields: 0 → {−1, 1}

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 12 / 42

slide-35
SLIDE 35

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: definition

Coalgebraic represenation, of possible left-or-right stepping: Z

s

P(Z)

k

{k − 1, k + 1}

Iteration, starting in 0 ∈ Z, yields: 0 → {−1, 1} → {−2, 0, 2}

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 12 / 42

slide-36
SLIDE 36

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: definition

Coalgebraic represenation, of possible left-or-right stepping: Z

s

P(Z)

k

{k − 1, k + 1}

Iteration, starting in 0 ∈ Z, yields: 0 → {−1, 1} → {−2, 0, 2} → {−3, −1, 1, 3}

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 12 / 42

slide-37
SLIDE 37

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: definition

Coalgebraic represenation, of possible left-or-right stepping: Z

s

P(Z)

k

{k − 1, k + 1}

Iteration, starting in 0 ∈ Z, yields: 0 → {−1, 1} → {−2, 0, 2} → {−3, −1, 1, 3} · · · {−n, −n + 2, · · · n − 2, n}

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 12 / 42

slide-38
SLIDE 38

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: definition

Coalgebraic represenation, of possible left-or-right stepping: Z

s

P(Z)

k

{k − 1, k + 1}

Iteration, starting in 0 ∈ Z, yields: 0 → {−1, 1} → {−2, 0, 2} → {−3, −1, 1, 3} · · · {−n, −n + 2, · · · n − 2, n}

· · ·

  • 3
  • 2
  • 1

1 2 3 · · ·

  • etc

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 12 / 42

slide-39
SLIDE 39

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: iteration

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 13 / 42

slide-40
SLIDE 40

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: iteration

Formally, iteration is done via the Kleisli extension endomap: P(Z)

s#

P(Z)

U

k∈U{k − 1, k + 1}

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 13 / 42

slide-41
SLIDE 41

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: iteration

Formally, iteration is done via the Kleisli extension endomap: P(Z)

s#

P(Z)

U

k∈U{k − 1, k + 1}

The subset of successors of 0 ∈ Z, after n steps, is obtained as the n-th iterate:

  • s#n

({0}) = {−n, −n + 2, · · · n − 2, n}.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 13 / 42

slide-42
SLIDE 42

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Non-deterministic walks: iteration

Formally, iteration is done via the Kleisli extension endomap: P(Z)

s#

P(Z)

U

k∈U{k − 1, k + 1}

The subset of successors of 0 ∈ Z, after n steps, is obtained as the n-th iterate:

  • s#n

({0}) = {−n, −n + 2, · · · n − 2, n}. Aside: categorically, this can be described directly as iteration in the Kleisli category of the powerset monad P.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 13 / 42

slide-43
SLIDE 43

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: definition

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 14 / 42

slide-44
SLIDE 44

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: definition

Probabilistic left-or-right stepping, each with chance 1

2 is expressed

via a formal convex sum / distribution, as: Z

d

D(Z)

k

1

2(k − 1) + 1 2(k + 1)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 14 / 42

slide-45
SLIDE 45

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: definition

Probabilistic left-or-right stepping, each with chance 1

2 is expressed

via a formal convex sum / distribution, as: Z

d

D(Z)

k

1

2(k − 1) + 1 2(k + 1)

Iteration, starting in 0 ∈ Z, now yields: 0 → 1

2(-1) + 1 2(1)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 14 / 42

slide-46
SLIDE 46

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: definition

Probabilistic left-or-right stepping, each with chance 1

2 is expressed

via a formal convex sum / distribution, as: Z

d

D(Z)

k

1

2(k − 1) + 1 2(k + 1)

Iteration, starting in 0 ∈ Z, now yields: 0 → 1

2(-1) + 1 2(1)

→ 1

4(-2) + 1 2(0) + 1 4(2)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 14 / 42

slide-47
SLIDE 47

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: definition

Probabilistic left-or-right stepping, each with chance 1

2 is expressed

via a formal convex sum / distribution, as: Z

d

D(Z)

k

1

2(k − 1) + 1 2(k + 1)

Iteration, starting in 0 ∈ Z, now yields: 0 → 1

2(-1) + 1 2(1)

→ 1

4(-2) + 1 2(0) + 1 4(2)

→ 1

8(-3) + 3 8(-1) + 3 8(1) + 1 8(3)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 14 / 42

slide-48
SLIDE 48

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: definition

Probabilistic left-or-right stepping, each with chance 1

2 is expressed

via a formal convex sum / distribution, as: Z

d

D(Z)

k

1

2(k − 1) + 1 2(k + 1)

Iteration, starting in 0 ∈ Z, now yields: 0 → 1

2(-1) + 1 2(1)

→ 1

4(-2) + 1 2(0) + 1 4(2)

→ 1

8(-3) + 3 8(-1) + 3 8(1) + 1 8(3)

· · ·

  • 3
  • 2
  • 1

1 2 3 · · · 1

  • 1

2

  • 1

2

  • 1

4

  • 1

2

  • 1

4

  • 1

8

  • 3

8

  • 3

8

  • 1

8

  • 1

16 1 4 5 8 1 4 1 16

etc

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 14 / 42

slide-49
SLIDE 49

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: the general formula

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 15 / 42

slide-50
SLIDE 50

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: the general formula

This tree of probabilities involves Pascal’s triangle. Starting in k ∈ Z, after n iterations one obtains the formal convex sum: n

  • 2n (k−n)+

n

1

  • 2n (k−n+2)+

n

2

  • 2n (k−n+4)+. . .+

n

n−1

  • 2n

(k+n−2)+ n

n

  • 2n (k+n)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 15 / 42

slide-51
SLIDE 51

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: the general formula

This tree of probabilities involves Pascal’s triangle. Starting in k ∈ Z, after n iterations one obtains the formal convex sum: n

  • 2n (k−n)+

n

1

  • 2n (k−n+2)+

n

2

  • 2n (k−n+4)+. . .+

n

n−1

  • 2n

(k+n−2)+ n

n

  • 2n (k+n)

Using the sum formula for binomial coefficients: n

  • +

n

1

  • +

n

2

  • + · · · +

n

n−1

  • +

n

n

  • =

2n.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 15 / 42

slide-52
SLIDE 52

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: iteration

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 16 / 42

slide-53
SLIDE 53

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: iteration

Again there is a Kleisli extension endomap d# : D(Z) → D(Z)

  • r1k1 + · · · + rnkn

  • 1

2r1(k1 − 1) + 1 2r1(k1 + 1) + · · · + 1 2rn(kn − 1) + 1 2rn(kn + 1)

  • Bart Jacobs

30/10/10, Oxford Coalgebraic Walks 16 / 42

slide-54
SLIDE 54

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: iteration

Again there is a Kleisli extension endomap d# : D(Z) → D(Z)

  • r1k1 + · · · + rnkn

  • 1

2r1(k1 − 1) + 1 2r1(k1 + 1) + · · · + 1 2rn(kn − 1) + 1 2rn(kn + 1)

  • The subset of successors of 0 ∈ Z, after n steps, is obtained as the

n-th iterate:

  • d#n

(1 0) = n

  • 2n (−n)+

n

1

  • 2n (−n+2)+. . .+

n

n−1

  • 2n

(n−2)+ n

n

  • 2n (n)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 16 / 42

slide-55
SLIDE 55

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Probabilistic walks: iteration

Again there is a Kleisli extension endomap d# : D(Z) → D(Z)

  • r1k1 + · · · + rnkn

  • 1

2r1(k1 − 1) + 1 2r1(k1 + 1) + · · · + 1 2rn(kn − 1) + 1 2rn(kn + 1)

  • The subset of successors of 0 ∈ Z, after n steps, is obtained as the

n-th iterate:

  • d#n

(1 0) = n

  • 2n (−n)+

n

1

  • 2n (−n+2)+. . .+

n

n−1

  • 2n

(n−2)+ n

n

  • 2n (n)

It is iteration in the Kleisli category of the distribution monad D.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 16 / 42

slide-56
SLIDE 56

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 17 / 42

slide-57
SLIDE 57

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks

Situation / plan

  • Quantum walks are standardly described as endomap S → S

(see eg. work of Julia Kempe)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 17 / 42

slide-58
SLIDE 58

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks

Situation / plan

  • Quantum walks are standardly described as endomap S → S

(see eg. work of Julia Kempe)

  • Here it will be shown that there is also an (equivalent)

coalgebraic / monadic description.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 17 / 42

slide-59
SLIDE 59

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: endomap definition I

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 18 / 42

slide-60
SLIDE 60

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: endomap definition I

Two vector spaces

  • M(Z), the free vector space on Z (over C), with base vectors

written as: | k ∈ M(Z), for k ∈ Z

  • C2, the one qubit space, with base vectors | ↑ and | ↓

(think of the direction of the walk)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 18 / 42

slide-61
SLIDE 61

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: endomap definition I

Two vector spaces

  • M(Z), the free vector space on Z (over C), with base vectors

written as: | k ∈ M(Z), for k ∈ Z

  • C2, the one qubit space, with base vectors | ↑ and | ↓

(think of the direction of the walk)

The state space is C2 ⊗ M(Z), with basis

  • | ↑ ⊗ | k

| ↓ ⊗ | k

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 18 / 42

slide-62
SLIDE 62

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: endomap definition II

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 19 / 42

slide-63
SLIDE 63

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: endomap definition II

The relevant endomap is: C2 ⊗ M(Z)

q

C2 ⊗ M(Z)

| ↑ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 + 1 √ 2| ↓ ⊗ | k + 1

| ↓ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 – 1 √ 2| ↓ ⊗ | k + 1

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 19 / 42

slide-64
SLIDE 64

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: endomap definition II

The relevant endomap is: C2 ⊗ M(Z)

q

C2 ⊗ M(Z)

| ↑ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 + 1 √ 2| ↓ ⊗ | k + 1

| ↓ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 – 1 √ 2| ↓ ⊗ | k + 1

Implicitly, the Hadamard operator H : C2 → C2 is used: H = 1 √ 2

  1

1 1 −1

 

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 19 / 42

slide-65
SLIDE 65

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities I

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 20 / 42

slide-66
SLIDE 66

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities I

Obtaining probabilities in quantum walks

  • We are interested in the probability of reaching | k after n
  • steps. Starting from 0 — more precisely, from | ↑ ⊗ | 0 .

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 20 / 42

slide-67
SLIDE 67

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities I

Obtaining probabilities in quantum walks

  • We are interested in the probability of reaching | k after n
  • steps. Starting from 0 — more precisely, from | ↑ ⊗ | 0 .
  • We do so by n-times iterating the endomap q, and then

measuring in the basis | k .

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 20 / 42

slide-68
SLIDE 68

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities I

Obtaining probabilities in quantum walks

  • We are interested in the probability of reaching | k after n
  • steps. Starting from 0 — more precisely, from | ↑ ⊗ | 0 .
  • We do so by n-times iterating the endomap q, and then

measuring in the basis | k .

  • The sum of norms |αi|2 of amplitudes αi for | k then gives

the probability.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 20 / 42

slide-69
SLIDE 69

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 21 / 42

slide-70
SLIDE 70

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

| ↑ ⊗ | 0 →

1 √ 2| ↑ ⊗ | -1 + 1 √ 2| ↓ ⊗ | 1

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 21 / 42

slide-71
SLIDE 71

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

| ↑ ⊗ | 0 →

1 √ 2| ↑ ⊗ | -1 + 1 √ 2| ↓ ⊗ | 1

probabilities    | -1 | 1

√ 2|2 = 1 2

| 1 | 1

√ 2|2 = 1 2

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 21 / 42

slide-72
SLIDE 72

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

| ↑ ⊗ | 0 →

1 √ 2| ↑ ⊗ | -1 + 1 √ 2| ↓ ⊗ | 1

probabilities    | -1 | 1

√ 2|2 = 1 2

| 1 | 1

√ 2|2 = 1 2

1 2| ↑ ⊗ | -2 + 1 2| ↓ ⊗ | 0

+

1 2| ↑ ⊗ | 0 − 1 2| ↓ ⊗ | 2

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 21 / 42

slide-73
SLIDE 73

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

| ↑ ⊗ | 0 →

1 √ 2| ↑ ⊗ | -1 + 1 √ 2| ↓ ⊗ | 1

probabilities    | -1 | 1

√ 2|2 = 1 2

| 1 | 1

√ 2|2 = 1 2

1 2| ↑ ⊗ | -2 + 1 2| ↓ ⊗ | 0

+

1 2| ↑ ⊗ | 0 − 1 2| ↓ ⊗ | 2

probabilities        | -2 | 1

2|2 = 1 4

| 0 | 1

2|2 + | 1 2|2 = 1 2

| 2 | − 1

2|2 = 1 4

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 21 / 42

slide-74
SLIDE 74

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

| ↑ ⊗ | 0 →

1 √ 2| ↑ ⊗ | -1 + 1 √ 2| ↓ ⊗ | 1

probabilities    | -1 | 1

√ 2|2 = 1 2

| 1 | 1

√ 2|2 = 1 2

1 2| ↑ ⊗ | -2 + 1 2| ↓ ⊗ | 0

+

1 2| ↑ ⊗ | 0 − 1 2| ↓ ⊗ | 2

probabilities        | -2 | 1

2|2 = 1 4

| 0 | 1

2|2 + | 1 2|2 = 1 2

| 2 | − 1

2|2 = 1 4

→ · · · (next page)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 21 / 42

slide-75
SLIDE 75

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 22 / 42

slide-76
SLIDE 76

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

· · · →

1 2 √ 2| ↑ ⊗ | -3 + 1 2 √ 2| ↓ ⊗ | -1 + 1 2 √ 2| ↑ ⊗ | -1

1 2 √ 2| ↓ ⊗ | 1 + 1 2 √ 2| ↑ ⊗ | -1 + 1 2 √ 2| ↓ ⊗ | 1

1 2 √ 2| ↑ ⊗ | 1 + 1 2 √ 2| ↓ ⊗ | 3

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 22 / 42

slide-77
SLIDE 77

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

· · · →

1 2 √ 2| ↑ ⊗ | -3 + 1 2 √ 2| ↓ ⊗ | -1 + 1 2 √ 2| ↑ ⊗ | -1

1 2 √ 2| ↓ ⊗ | 1 + 1 2 √ 2| ↑ ⊗ | -1 + 1 2 √ 2| ↓ ⊗ | 1

1 2 √ 2| ↑ ⊗ | 1 + 1 2 √ 2| ↓ ⊗ | 3

=

1 2 √ 2| ↑ ⊗ | -3 + 1 √ 2| ↑ ⊗ | -1 + 1 2 √ 2| ↓ ⊗ | -1

1 2 √ 2| ↑ ⊗ | 1 + 1 2 √ 2| ↓ ⊗ | 3

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 22 / 42

slide-78
SLIDE 78

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

· · · →

1 2 √ 2| ↑ ⊗ | -3 + 1 2 √ 2| ↓ ⊗ | -1 + 1 2 √ 2| ↑ ⊗ | -1

1 2 √ 2| ↓ ⊗ | 1 + 1 2 √ 2| ↑ ⊗ | -1 + 1 2 √ 2| ↓ ⊗ | 1

1 2 √ 2| ↑ ⊗ | 1 + 1 2 √ 2| ↓ ⊗ | 3

=

1 2 √ 2| ↑ ⊗ | -3 + 1 √ 2| ↑ ⊗ | -1 + 1 2 √ 2| ↓ ⊗ | -1

1 2 √ 2| ↑ ⊗ | 1 + 1 2 √ 2| ↓ ⊗ | 3

probabilities              | -3 |

1 2 √ 2|2 = 1 8

| -1 | 1

√ 2|2 + | 1 2 √ 2|2 = 5 8

| 1 | −

1 2 √ 2|2 = 1 8

| 3 |

1 2 √ 2|2 = 1 8

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 22 / 42

slide-79
SLIDE 79

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities II

· · · →

1 2 √ 2| ↑ ⊗ | -3 + 1 2 √ 2| ↓ ⊗ | -1 + 1 2 √ 2| ↑ ⊗ | -1

1 2 √ 2| ↓ ⊗ | 1 + 1 2 √ 2| ↑ ⊗ | -1 + 1 2 √ 2| ↓ ⊗ | 1

1 2 √ 2| ↑ ⊗ | 1 + 1 2 √ 2| ↓ ⊗ | 3

=

1 2 √ 2| ↑ ⊗ | -3 + 1 √ 2| ↑ ⊗ | -1 + 1 2 √ 2| ↓ ⊗ | -1

1 2 √ 2| ↑ ⊗ | 1 + 1 2 √ 2| ↓ ⊗ | 3

probabilities              | -3 |

1 2 √ 2|2 = 1 8

| -1 | 1

√ 2|2 + | 1 2 √ 2|2 = 5 8

| 1 | −

1 2 √ 2|2 = 1 8

| 3 |

1 2 √ 2|2 = 1 8

There is “drift to the left” due to interference.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 22 / 42

slide-80
SLIDE 80

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities III

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 23 / 42

slide-81
SLIDE 81

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks: iteration and probabilities III

The resulting tree of quantum walk probabilities starts as: · · ·

  • 3
  • 2
  • 1

1 2 3 · · · 1

  • 1

2

  • 1

2

  • 1

4

  • 1

2

  • 1

4

  • 1

8

  • 5

8

  • 1

8

  • 1

8

  • 1

16 5 8 1 8 1 8 1 16

The matrix involved — Hadamard’s H in this case — determines the drifting, and thus how the tree is traversed. This may yield

  • ptimisations in data processing.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 23 / 42

slide-82
SLIDE 82

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Basic isomorphism

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 24 / 42

slide-83
SLIDE 83

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Basic isomorphism

LEMMA C2 ⊗ M(X) ∼ = M(X + X) where + is disjoint union

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 24 / 42

slide-84
SLIDE 84

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Basic isomorphism

LEMMA C2 ⊗ M(X) ∼ = M(X + X) where + is disjoint union Proof By the following chain of isomorphisms: C2 ⊗ M(X) = (C ⊕ C) ⊗ M(X)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 24 / 42

slide-85
SLIDE 85

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Basic isomorphism

LEMMA C2 ⊗ M(X) ∼ = M(X + X) where + is disjoint union Proof By the following chain of isomorphisms: C2 ⊗ M(X) = (C ⊕ C) ⊗ M(X) ∼ = C ⊗ M(X) ⊕ C ⊗ M(X) by distributivity

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 24 / 42

slide-86
SLIDE 86

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Basic isomorphism

LEMMA C2 ⊗ M(X) ∼ = M(X + X) where + is disjoint union Proof By the following chain of isomorphisms: C2 ⊗ M(X) = (C ⊕ C) ⊗ M(X) ∼ = C ⊗ M(X) ⊕ C ⊗ M(X) by distributivity ∼ = M(X) ⊕ M(X) since C is tensor unit

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 24 / 42

slide-87
SLIDE 87

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Basic isomorphism

LEMMA C2 ⊗ M(X) ∼ = M(X + X) where + is disjoint union Proof By the following chain of isomorphisms: C2 ⊗ M(X) = (C ⊕ C) ⊗ M(X) ∼ = C ⊗ M(X) ⊕ C ⊗ M(X) by distributivity ∼ = M(X) ⊕ M(X) since C is tensor unit ∼ = M(X + X) ⊕ is also coproduct of spaces, and M is a free functor.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 24 / 42

slide-88
SLIDE 88

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum endomorphism as coalgebra

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 25 / 42

slide-89
SLIDE 89

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum endomorphism as coalgebra

THEOREM Linear maps (in VectC) C2 ⊗ M(Z) − → C2 ⊗ M(Z) correspond bijectively to functions (in Sets) Z − → M(Z + Z)2 . that is, to coalgebras with state space Z of the functor M(2 · −)2.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 25 / 42

slide-90
SLIDE 90

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum endomorphism as coalgebra

THEOREM Linear maps (in VectC) C2 ⊗ M(Z) − → C2 ⊗ M(Z) correspond bijectively to functions (in Sets) Z − → M(Z + Z)2 . that is, to coalgebras with state space Z of the functor M(2 · −)2. Proof C2 ⊗ M(Z) − → C2 ⊗ M(Z) linear = = = = = = = = = = = = = = = = = = = = = = M(Z + Z) − → M(Z + Z) linear

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 25 / 42

slide-91
SLIDE 91

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum endomorphism as coalgebra

THEOREM Linear maps (in VectC) C2 ⊗ M(Z) − → C2 ⊗ M(Z) correspond bijectively to functions (in Sets) Z − → M(Z + Z)2 . that is, to coalgebras with state space Z of the functor M(2 · −)2. Proof C2 ⊗ M(Z) − → C2 ⊗ M(Z) linear = = = = = = = = = = = = = = = = = = = = = = M(Z + Z) − → M(Z + Z) linear = = = = = = = = = = = = = = = = = = = = Z + Z − → M(Z + Z)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 25 / 42

slide-92
SLIDE 92

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum endomorphism as coalgebra

THEOREM Linear maps (in VectC) C2 ⊗ M(Z) − → C2 ⊗ M(Z) correspond bijectively to functions (in Sets) Z − → M(Z + Z)2 . that is, to coalgebras with state space Z of the functor M(2 · −)2. Proof C2 ⊗ M(Z) − → C2 ⊗ M(Z) linear = = = = = = = = = = = = = = = = = = = = = = M(Z + Z) − → M(Z + Z) linear = = = = = = = = = = = = = = = = = = = = Z + Z − → M(Z + Z) = = = = = = = = = = = = = = = = = Z − → M(Z + Z)2

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 25 / 42

slide-93
SLIDE 93

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Qubit action is monadic!

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 26 / 42

slide-94
SLIDE 94

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Qubit action is monadic!

In the background, there is a new monad transformer result.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 26 / 42

slide-95
SLIDE 95

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Qubit action is monadic!

In the background, there is a new monad transformer result. LEMMA If T is a monad, then so is X → T(n · X)n, for each n ∈ N

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 26 / 42

slide-96
SLIDE 96

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Qubit action is monadic!

In the background, there is a new monad transformer result. LEMMA If T is a monad, then so is X → T(n · X)n, for each n ∈ N For quantum walks we use T = M and n = 2.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 26 / 42

slide-97
SLIDE 97

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Outline

Introduction Walks illustrating computation types Non-deterministic walks Probabilistic walks Quantum walks Quantum walks, coalgebraically Matrix representation Reversible computation Turing Machines Conclusions

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 27 / 42

slide-98
SLIDE 98

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Three representations of quantum walks

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 28 / 42

slide-99
SLIDE 99

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Three representations of quantum walks

1 Endomaps C2 ⊗ M(Z) −

→ C2 ⊗ M(Z)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 28 / 42

slide-100
SLIDE 100

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Three representations of quantum walks

1 Endomaps C2 ⊗ M(Z) −

→ C2 ⊗ M(Z) | ↑ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 + 1 √ 2| ↓ ⊗ | k + 1

| ↓ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 − 1 √ 2| ↓ ⊗ | k + 1

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 28 / 42

slide-101
SLIDE 101

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Three representations of quantum walks

1 Endomaps C2 ⊗ M(Z) −

→ C2 ⊗ M(Z) | ↑ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 + 1 √ 2| ↓ ⊗ | k + 1

| ↓ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 − 1 √ 2| ↓ ⊗ | k + 1 2 Coalgebras Z −

→ M(Z + Z)2

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 28 / 42

slide-102
SLIDE 102

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Three representations of quantum walks

1 Endomaps C2 ⊗ M(Z) −

→ C2 ⊗ M(Z) | ↑ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 + 1 √ 2| ↓ ⊗ | k + 1

| ↓ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 − 1 √ 2| ↓ ⊗ | k + 1 2 Coalgebras Z −

→ M(Z + Z)2 Z

M(Z + Z)2

m

  • 1

√ 2κ1| m − 1 + 1 √ 2κ2| m + 1 , 1 √ 2κ1| m − 1 − 1 √ 2κ2| m + 1

  • Bart Jacobs

30/10/10, Oxford Coalgebraic Walks 28 / 42

slide-103
SLIDE 103

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Three representations of quantum walks

1 Endomaps C2 ⊗ M(Z) −

→ C2 ⊗ M(Z) | ↑ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 + 1 √ 2| ↓ ⊗ | k + 1

| ↓ ⊗ | k

  • 1

√ 2| ↑ ⊗ | k − 1 − 1 √ 2| ↓ ⊗ | k + 1 2 Coalgebras Z −

→ M(Z + Z)2 Z

M(Z + Z)2

m

  • 1

√ 2κ1| m − 1 + 1 √ 2κ2| m + 1 , 1 √ 2κ1| m − 1 − 1 √ 2κ2| m + 1

  • 3 2 × 2 matrices of coalgebras Z → M(Z) — see below

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 28 / 42

slide-104
SLIDE 104

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Where do these matrices come from?

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 29 / 42

slide-105
SLIDE 105

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Where do these matrices come from?

Multiset M is an additive monad

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 29 / 42

slide-106
SLIDE 106

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Where do these matrices come from?

Multiset M is an additive monad

  • It sends finite coproducts to products
  • M(0) ∼

= 1 and M(X + Y ) ∼ = M(X) × M(Y ), canonically

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 29 / 42

slide-107
SLIDE 107

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Where do these matrices come from?

Multiset M is an additive monad

  • It sends finite coproducts to products
  • M(0) ∼

= 1 and M(X + Y ) ∼ = M(X) × M(Y ), canonically Hence: Z − → M(Z + Z)2 ∼ =

  • M(Z) × M(Z)

2 ∼ = M(Z)4

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 29 / 42

slide-108
SLIDE 108

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Where do these matrices come from?

Multiset M is an additive monad

  • It sends finite coproducts to products
  • M(0) ∼

= 1 and M(X + Y ) ∼ = M(X) × M(Y ), canonically Hence: Z − → M(Z + Z)2 ∼ =

  • M(Z) × M(Z)

2 ∼ = M(Z)4 These four coalgebras Z → M(Z) will be used as entries in a 2 × 2 matrix

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 29 / 42

slide-109
SLIDE 109

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks as matrix

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 30 / 42

slide-110
SLIDE 110

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks as matrix

Matrix entries give 4 possible transitions between | ↑ and | ↓ , in:   λk.

1 √ 2| k − 1

λk.

1 √ 2| k − 1

λk.

1 √ 2| k + 1

λk. −

1 √ 2| k + 1

 

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 30 / 42

slide-111
SLIDE 111

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks as matrix

Matrix entries give 4 possible transitions between | ↑ and | ↓ , in:   λk.

1 √ 2| k − 1

λk.

1 √ 2| k − 1

λk.

1 √ 2| k + 1

λk. −

1 √ 2| k + 1

  Moreover: matrix composition corresponds to

  • endomap composition, for C2 ⊗ M(Z) −

→ C2 ⊗ M(Z)

  • Kleisli composition, for Z −

→ M(Z + Z)2

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 30 / 42

slide-112
SLIDE 112

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum walks as matrix

Matrix entries give 4 possible transitions between | ↑ and | ↓ , in:   λk.

1 √ 2| k − 1

λk.

1 √ 2| k − 1

λk.

1 √ 2| k + 1

λk. −

1 √ 2| k + 1

  Moreover: matrix composition corresponds to

  • endomap composition, for C2 ⊗ M(Z) −

→ C2 ⊗ M(Z)

  • Kleisli composition, for Z −

→ M(Z + Z)2 Question: can one calculate fixed points as eigenvectors?

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 30 / 42

slide-113
SLIDE 113

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Underlying structure

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 31 / 42

slide-114
SLIDE 114

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Underlying structure

LEMMA The set of coalgebras M(X)X is a ring with:

  • sums inherited pointwise from vector space M(X)
  • Kleisli composition as multiplication

(Hence we have an algebra: a monoid in VectC) We do matrix algebra over this (semi)ring.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 31 / 42

slide-115
SLIDE 115

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Outline

Introduction Walks illustrating computation types Non-deterministic walks Probabilistic walks Quantum walks Quantum walks, coalgebraically Matrix representation Reversible computation Turing Machines Conclusions

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 32 / 42

slide-116
SLIDE 116

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum computation is reversible

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 33 / 42

slide-117
SLIDE 117

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum computation is reversible

Reversibility captured by requirement that endomap C2 ⊗ M(Z)

q

− → C2 ⊗ M(Z) is unitary: q is an isomorphism with q−1 = q† (adjoint transpose)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 33 / 42

slide-118
SLIDE 118

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Quantum computation is reversible

Reversibility captured by requirement that endomap C2 ⊗ M(Z)

q

− → C2 ⊗ M(Z) is unitary: q is an isomorphism with q−1 = q† (adjoint transpose) What does this mean for (matrices of) coalgebras?

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 33 / 42

slide-119
SLIDE 119

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappable coaglebras

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 34 / 42

slide-120
SLIDE 120

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappable coaglebras

Recall that a coalgebra c : X → M(X) is a function c : X → (X → C) such that:

  • each c(x): X → C has finite support

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 34 / 42

slide-121
SLIDE 121

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappable coaglebras

Recall that a coalgebra c : X → M(X) is a function c : X → (X → C) such that:

  • each c(x): X → C has finite support

DEFINITION Call c : X → M(X) swappable if:

  • Each c(−)(y): X → C also has finite support

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 34 / 42

slide-122
SLIDE 122

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappable coaglebras

Recall that a coalgebra c : X → M(X) is a function c : X → (X → C) such that:

  • each c(x): X → C has finite support

DEFINITION Call c : X → M(X) swappable if:

  • Each c(−)(y): X → C also has finite support

Define an involution on swappable coalgebras via swapping and conjugation (on C): c = λy. λx. c(x)(y) : X − → M(X)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 34 / 42

slide-123
SLIDE 123

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappable coaglebras

Recall that a coalgebra c : X → M(X) is a function c : X → (X → C) such that:

  • each c(x): X → C has finite support

DEFINITION Call c : X → M(X) swappable if:

  • Each c(−)(y): X → C also has finite support

Define an involution on swappable coalgebras via swapping and conjugation (on C): c = λy. λx. c(x)(y) : X − → M(X) LEMMA The subset of swappable coalgebras M(X)X is an involutive semiring

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 34 / 42

slide-124
SLIDE 124

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappability and unitarity

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 35 / 42

slide-125
SLIDE 125

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappability and unitarity

Call a matrix of swappable coalgebras unitary if its adjoint transpose is its inverse.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 35 / 42

slide-126
SLIDE 126

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappability and unitarity

Call a matrix of swappable coalgebras unitary if its adjoint transpose is its inverse. THEOREM A unitary n × n matrix over M(X)X yields a unitary endomap Cn ⊗ M(X) → Cn ⊗ M(X).

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 35 / 42

slide-127
SLIDE 127

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Swappability and unitarity

Call a matrix of swappable coalgebras unitary if its adjoint transpose is its inverse. THEOREM A unitary n × n matrix over M(X)X yields a unitary endomap Cn ⊗ M(X) → Cn ⊗ M(X). It is not clear if the converse also holds. Possibly the notion of swappability is too strong.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 35 / 42

slide-128
SLIDE 128

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Outline

Introduction Walks illustrating computation types Non-deterministic walks Probabilistic walks Quantum walks Quantum walks, coalgebraically Matrix representation Reversible computation Turing Machines Conclusions

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 36 / 42

slide-129
SLIDE 129

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

What we have so far

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 37 / 42

slide-130
SLIDE 130

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

What we have so far

  • Quantum walks on Z use 2 auxiliary states: | ↑ and | ↓

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 37 / 42

slide-131
SLIDE 131

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

What we have so far

  • Quantum walks on Z use 2 auxiliary states: | ↑ and | ↓
  • This number of states (two) reappears:
  • in the monad M(2 · −)2
  • in the size (2 × 2) of the matrix involved

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 37 / 42

slide-132
SLIDE 132

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

What we have so far

  • Quantum walks on Z use 2 auxiliary states: | ↑ and | ↓
  • This number of states (two) reappears:
  • in the monad M(2 · −)2
  • in the size (2 × 2) of the matrix involved
  • Next idea:
  • see Turing machines as “walks on a tape”
  • tape forms state space X
  • states of the Turing machine captured by n in X → T(n · X)n

(where n · X = X + · · · + X)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 37 / 42

slide-133
SLIDE 133

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Illustration, for non-deterministic Turing Machine

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 38 / 42

slide-134
SLIDE 134

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Illustration, for non-deterministic Turing Machine

Three-state Turing machine: 1

00R

  • 00R
  • 11R
  • 2

00R

3

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 38 / 42

slide-135
SLIDE 135

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Illustration, for non-deterministic Turing Machine

Three-state Turing machine: 1

00R

  • 00R
  • 11R
  • 2

00R

3

Use: “stream + position” as 2-dimensional tape: T = 2Z × Z

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 38 / 42

slide-136
SLIDE 136

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Illustration, for non-deterministic Turing Machine

Three-state Turing machine: 1

00R

  • 00R
  • 11R
  • 2

00R

3

Use: “stream + position” as 2-dimensional tape: T = 2Z × Z Three equivalent descriptions, using (finite) powerset monad Pfin

1 Endomap 23 ⊗ Pfin(T) −

→ 23 ⊗ Pfin(T) in the category of join semi-lattices (algebras of Pfin)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 38 / 42

slide-137
SLIDE 137

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Illustration, for non-deterministic Turing Machine

Three-state Turing machine: 1

00R

  • 00R
  • 11R
  • 2

00R

3

Use: “stream + position” as 2-dimensional tape: T = 2Z × Z Three equivalent descriptions, using (finite) powerset monad Pfin

1 Endomap 23 ⊗ Pfin(T) −

→ 23 ⊗ Pfin(T) in the category of join semi-lattices (algebras of Pfin)

2 Coalgebra T −

→ Pfin

  • T + T + T

3

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 38 / 42

slide-138
SLIDE 138

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Illustration, for non-deterministic Turing Machine

Three-state Turing machine: 1

00R

  • 00R
  • 11R
  • 2

00R

3

Use: “stream + position” as 2-dimensional tape: T = 2Z × Z Three equivalent descriptions, using (finite) powerset monad Pfin

1 Endomap 23 ⊗ Pfin(T) −

→ 23 ⊗ Pfin(T) in the category of join semi-lattices (algebras of Pfin)

2 Coalgebra T −

→ Pfin

  • T + T + T

3

3 3 × 3 matrix

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 38 / 42

slide-139
SLIDE 139

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Turing machine coalgebra, in detail

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 39 / 42

slide-140
SLIDE 140

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Turing machine coalgebra, in detail

T

Pfin(T + T + T)3

(t, p)

  • {κ1(t, p + 1)} ∪ {κ2(t, p + 1) | t(p) = 0},

{κ3(t, p + 1) | t(p) = 0}, ∅

  • Coprojection κj at projection i captures transition from state i to

state j.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 39 / 42

slide-141
SLIDE 141

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Outline

Introduction Walks illustrating computation types Non-deterministic walks Probabilistic walks Quantum walks Quantum walks, coalgebraically Matrix representation Reversible computation Turing Machines Conclusions

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 40 / 42

slide-142
SLIDE 142

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Concluding remarks

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 41 / 42

slide-143
SLIDE 143

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Concluding remarks

  • Qbit-action, like in quantum walks, fits in coalgebraic setting,

via monad construction T(n · −)n

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 41 / 42

slide-144
SLIDE 144

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Concluding remarks

  • Qbit-action, like in quantum walks, fits in coalgebraic setting,

via monad construction T(n · −)n

  • This provides more uniformity in state-based computation

(and makes quantum computation “more discrete”)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 41 / 42

slide-145
SLIDE 145

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Concluding remarks

  • Qbit-action, like in quantum walks, fits in coalgebraic setting,

via monad construction T(n · −)n

  • This provides more uniformity in state-based computation

(and makes quantum computation “more discrete”)

  • Also Turing computation is coalgebraic

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 41 / 42

slide-146
SLIDE 146

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Concluding remarks

  • Qbit-action, like in quantum walks, fits in coalgebraic setting,

via monad construction T(n · −)n

  • This provides more uniformity in state-based computation

(and makes quantum computation “more discrete”)

  • Also Turing computation is coalgebraic
  • Coalgebraic Turing Machine description provides:
  • genericity in type of computation (eg. probabilistic)
  • transitions via composition (Kleisli or matrix)
  • linear algebraic toolbox

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 41 / 42

slide-147
SLIDE 147

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Future work

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 42 / 42

slide-148
SLIDE 148

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Future work

  • spectral decomposition for getting fixed (stable) points

(both for quantum walks and for Turing machines)

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 42 / 42

slide-149
SLIDE 149

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Future work

  • spectral decomposition for getting fixed (stable) points

(both for quantum walks and for Turing machines)

  • Elaborate more examples, esp. for understanding the

swappability-unitarity question

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 42 / 42

slide-150
SLIDE 150

Introduction Walks illustrating computation types Matrix representation Reversible computation Turing Machines Conclusions

Radboud University Nijmegen

Future work

  • spectral decomposition for getting fixed (stable) points

(both for quantum walks and for Turing machines)

  • Elaborate more examples, esp. for understanding the

swappability-unitarity question

  • include measurements in this same coalgebraic framework.

Bart Jacobs 30/10/10, Oxford Coalgebraic Walks 42 / 42