Quantum Recursion and Second Quantisation Basic Ideas and Examples - - PowerPoint PPT Presentation

quantum recursion and second quantisation basic ideas and
SMART_READER_LITE
LIVE PREVIEW

Quantum Recursion and Second Quantisation Basic Ideas and Examples - - PowerPoint PPT Presentation

Quantum Recursion and Second Quantisation Basic Ideas and Examples Mingsheng Ying University of Technology, Sydney, Australia and Tsinghua University, China Happy Birthday Prakash! Happy Birthday Prakash! Im very grateful to Prakash for


slide-1
SLIDE 1

Quantum Recursion and Second Quantisation Basic Ideas and Examples

Mingsheng Ying

University of Technology, Sydney, Australia and Tsinghua University, China

slide-2
SLIDE 2

Happy Birthday Prakash!

slide-3
SLIDE 3

Happy Birthday Prakash! I’m very grateful to Prakash for teaching me second quantisation method during his visit to UTS in 2013

slide-4
SLIDE 4

Outline

  • 1. Introduction
  • 2. Quantum Case Statement and Quantum Choice
  • 3. Motivating Example: Recursive Quantum Walks
  • 4. Second Quantisation
  • 5. Semantics of Quantum Recursion
  • 7. Conclusion
slide-5
SLIDE 5

Outline

  • 1. Introduction
  • 2. Quantum Case Statement and Quantum Choice
  • 3. Motivating Example: Recursive Quantum Walks
  • 4. Second Quantisation
  • 5. Semantics of Quantum Recursion
  • 7. Conclusion
slide-6
SLIDE 6

Classical Recursion of Quantum Programs

◮ Recursive procedure in quantum programming language QPL

[Selinger, Mathematical Structures in Computer Science’2004].

slide-7
SLIDE 7

Classical Recursion of Quantum Programs

◮ Recursive procedure in quantum programming language QPL

[Selinger, Mathematical Structures in Computer Science’2004].

◮ Termination of quantum while-loops in finite-dimensional state

spaces [Ying, Feng, Acta Informatica’2010].

slide-8
SLIDE 8

Classical Recursion of Quantum Programs

◮ Recursive procedure in quantum programming language QPL

[Selinger, Mathematical Structures in Computer Science’2004].

◮ Termination of quantum while-loops in finite-dimensional state

spaces [Ying, Feng, Acta Informatica’2010].

◮ Selinger’s slogan: Quantum data, classical control - control flow

  • f the quantum recursions is classical because branchings are

determined by the outcomes of certain quantum measurements.

slide-9
SLIDE 9

Quantum Control Flow

Quantum programming language QML [Altenkirch and Grattage, LICS’2005]: Two case constructs in the quantum setting:

◮ case, measure a qubit in the data it analyses - The control flow is

determined by the outcome of a measurement and thus is classical.

slide-10
SLIDE 10

Quantum Control Flow

Quantum programming language QML [Altenkirch and Grattage, LICS’2005]: Two case constructs in the quantum setting:

◮ case, measure a qubit in the data it analyses - The control flow is

determined by the outcome of a measurement and thus is classical.

◮ case◦, analyse quantum data without measuring -

if◦ − then − else statement.

slide-11
SLIDE 11

Quantum Control Flow

Hadamard gate: had x = if◦ x then { 1 √ 2 (qfalse − qtrue)} else { 1 √ 2 (qfalse + qtrue)}

slide-12
SLIDE 12

Quantum Control Flow

NOT gate: not x = if◦ x then qfalse else qtrue CNOT gate: cnot c x = if◦ c then (qtrue, not x) else (qfalse, x)

slide-13
SLIDE 13

Outline

  • 1. Introduction
  • 2. Quantum Case Statement and Quantum Choice
  • 3. Motivating Example: Recursive Quantum Walks
  • 4. Second Quantisation
  • 5. Semantics of Quantum Recursion
  • 7. Conclusion
slide-14
SLIDE 14

“Coined” Quantum Case Statement

◮ Introduce an external “quantum coin” c:

The state Hilbert space Hc = span{|0, |1}

slide-15
SLIDE 15

“Coined” Quantum Case Statement

◮ Introduce an external “quantum coin” c:

The state Hilbert space Hc = span{|0, |1}

◮ U0 and U1 two unitary transformations on a quantum system q -

the state Hilbert space Hq.

slide-16
SLIDE 16

“Coined” Quantum Case Statement

◮ Introduce an external “quantum coin” c:

The state Hilbert space Hc = span{|0, |1}

◮ U0 and U1 two unitary transformations on a quantum system q -

the state Hilbert space Hq.

◮ A quantum case statement employing “quantum coin” c:

qif [c] |0 → U0[q] |1 → U1[q] fiq

slide-17
SLIDE 17

“coined” Quantum Case Statement

◮ The semantics is an unitary operator U in Hc ⊗ Hq - the state

Hilbert space of the composed system of “coin” c and principal system q: U|0, ψ = |0U0|ψ, U|1, ψ = |1U1|ψ

slide-18
SLIDE 18

“coined” Quantum Case Statement

◮ The semantics is an unitary operator U in Hc ⊗ Hq - the state

Hilbert space of the composed system of “coin” c and principal system q: U|0, ψ = |0U0|ψ, U|1, ψ = |1U1|ψ

◮ Matrix representation:

U = |00| ⊗ U0 + |11| ⊗ U1 =

  • U0

U1

  • .
slide-19
SLIDE 19

Quantum Choice

◮ V a unitary operator in the state Hilbert space Hc of the “coin”.

slide-20
SLIDE 20

Quantum Choice

◮ V a unitary operator in the state Hilbert space Hc of the “coin”. ◮ The quantum choice of U0[q] and U1[q] with “coin-tossing” V[c]:

U0[q] ⊕V[c] U1[q]

def

= V[c]; qif [c] |0 → U0[q] |1 → U1[q] fiq

slide-21
SLIDE 21

Quantum Choice

◮ V a unitary operator in the state Hilbert space Hc of the “coin”. ◮ The quantum choice of U0[q] and U1[q] with “coin-tossing” V[c]:

U0[q] ⊕V[c] U1[q]

def

= V[c]; qif [c] |0 → U0[q] |1 → U1[q] fiq

◮ Compare with probabilistic choice [McIver and Morgan,

Abstraction, Refinement and Proof for Probabilistic Systems, 2005]

slide-22
SLIDE 22

External “Quantum Coin”

◮ Superpositions of time evolutions of a quantum system

[Aharonov, Anandan, Popescu, Vaidman, Plysical Review Letters 1990].

slide-23
SLIDE 23

External “Quantum Coin”

◮ Superpositions of time evolutions of a quantum system

[Aharonov, Anandan, Popescu, Vaidman, Plysical Review Letters 1990].

◮ Quantum walks [Ambainis, Bach, Nayak, Vishwanath, Watrous,

STOC’2001; Aharonov, Ambainis, Kempe, Vazirani, STOC’2001].

slide-24
SLIDE 24

External “Quantum Coin”

◮ Superpositions of time evolutions of a quantum system

[Aharonov, Anandan, Popescu, Vaidman, Plysical Review Letters 1990].

◮ Quantum walks [Ambainis, Bach, Nayak, Vishwanath, Watrous,

STOC’2001; Aharonov, Ambainis, Kempe, Vazirani, STOC’2001].

◮ Unitary transformations U0[q], U1[q] are replaced by general

quantum programs that may contain quantum measurements? [Ying, Yu, Feng, arXiv:1209.4379]

slide-25
SLIDE 25

Outline

  • 1. Introduction
  • 2. Quantum Case Statement and Quantum Choice
  • 3. Motivating Example: Recursive Quantum Walks
  • 4. Second Quantisation
  • 5. Semantics of Quantum Recursion
  • 7. Conclusion
slide-26
SLIDE 26

A new notion of quantum recursion can be defined based

  • n quantum case statement and quantum choice
slide-27
SLIDE 27

A new notion of quantum recursion can be defined based

  • n quantum case statement and quantum choice

Example - One-dimensional quantum walk

◮ One-dimensional random walk - a particle moves on a line

marked by integers Z; at each step it moves one position left or right, depending on the flip of a fair coin.

◮ Hadamard walk - a quantum variant of one-dimensional

random walk.

slide-28
SLIDE 28

A new notion of quantum recursion can be defined based

  • n quantum case statement and quantum choice

Example - One-dimensional quantum walk

◮ One-dimensional random walk - a particle moves on a line

marked by integers Z; at each step it moves one position left or right, depending on the flip of a fair coin.

◮ Hadamard walk - a quantum variant of one-dimensional

random walk.

◮ Its state Hilbert space Hd ⊗ Hp:

slide-29
SLIDE 29

A new notion of quantum recursion can be defined based

  • n quantum case statement and quantum choice

Example - One-dimensional quantum walk

◮ One-dimensional random walk - a particle moves on a line

marked by integers Z; at each step it moves one position left or right, depending on the flip of a fair coin.

◮ Hadamard walk - a quantum variant of one-dimensional

random walk.

◮ Its state Hilbert space Hd ⊗ Hp:

◮ Hd = span{|L, |R}, L, R indicate the direction Left and Right.

slide-30
SLIDE 30

A new notion of quantum recursion can be defined based

  • n quantum case statement and quantum choice

Example - One-dimensional quantum walk

◮ One-dimensional random walk - a particle moves on a line

marked by integers Z; at each step it moves one position left or right, depending on the flip of a fair coin.

◮ Hadamard walk - a quantum variant of one-dimensional

random walk.

◮ Its state Hilbert space Hd ⊗ Hp:

◮ Hd = span{|L, |R}, L, R indicate the direction Left and Right. ◮ Hp = span{|n : n ∈ Z}, n indicates the position marked by integer

n.

slide-31
SLIDE 31

Example - One-dimensional quantum walk

◮ One step of Hadamard walk — W = T(H ⊗ I):

slide-32
SLIDE 32

Example - One-dimensional quantum walk

◮ One step of Hadamard walk — W = T(H ⊗ I):

◮ Translation T:

T|L, n = |L, n − 1, T|R, n = |R, n + 1 is unitary operator in Hd ⊗ Hp.

slide-33
SLIDE 33

Example - One-dimensional quantum walk

◮ One step of Hadamard walk — W = T(H ⊗ I):

◮ Translation T:

T|L, n = |L, n − 1, T|R, n = |R, n + 1 is unitary operator in Hd ⊗ Hp.

H = 1 √ 2 1 1 1 −1

  • is Hadamard transform in the direction space Hd
slide-34
SLIDE 34

Example - One-dimensional quantum walk

◮ Define the left and right translation operators TL and TR in the

position space Hp : TL|n = |n − 1, TR|n = |n + 1

slide-35
SLIDE 35

Example - One-dimensional quantum walk

◮ Define the left and right translation operators TL and TR in the

position space Hp : TL|n = |n − 1, TR|n = |n + 1

◮ Then the translation operator T is a quantum case statement:

T = qif [d] |L → TL[p] |R → TR[p] fiq

slide-36
SLIDE 36

Example - One-dimensional quantum walk

◮ Define the left and right translation operators TL and TR in the

position space Hp : TL|n = |n − 1, TR|n = |n + 1

◮ Then the translation operator T is a quantum case statement:

T = qif [d] |L → TL[p] |R → TR[p] fiq

◮ The single-step walk operator W is a quantum choice:

TL[p] ⊕H[d] TR[p]

slide-37
SLIDE 37

Example - One-dimensional quantum walk

◮ Define the left and right translation operators TL and TR in the

position space Hp : TL|n = |n − 1, TR|n = |n + 1

◮ Then the translation operator T is a quantum case statement:

T = qif [d] |L → TL[p] |R → TR[p] fiq

◮ The single-step walk operator W is a quantum choice:

TL[p] ⊕H[d] TR[p]

◮ Hadamard walk — repeated applications of operator W.

slide-38
SLIDE 38

(Unidirectional) Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d],

and then a quantum case statement:

slide-39
SLIDE 39

(Unidirectional) Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d],

and then a quantum case statement:

◮ if the “direction coin” d is in state |L then the walker moves one

position left;

slide-40
SLIDE 40

(Unidirectional) Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d],

and then a quantum case statement:

◮ if the “direction coin” d is in state |L then the walker moves one

position left;

◮ if d is in state |R then it moves one position right, followed by a

procedure behaving as the recursive walk itself.

slide-41
SLIDE 41

(Unidirectional) Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d],

and then a quantum case statement:

◮ if the “direction coin” d is in state |L then the walker moves one

position left;

◮ if d is in state |R then it moves one position right, followed by a

procedure behaving as the recursive walk itself.

◮ Recursive Hadamard walk — program X declared by the

recursive equation: X ⇐ TL[p] ⊕H[d] (TR[p]; X)

slide-42
SLIDE 42

Bidirectional Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d]

and then a quantum case statement:

slide-43
SLIDE 43

Bidirectional Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d]

and then a quantum case statement:

◮ if the “direction coin” d is in state |L then the walker moves one

position left, followed by a procedure behaving as the recursive walk itself;

slide-44
SLIDE 44

Bidirectional Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d]

and then a quantum case statement:

◮ if the “direction coin” d is in state |L then the walker moves one

position left, followed by a procedure behaving as the recursive walk itself;

◮ if d is in state |R then it moves one position right, also followed by

a procedure behaving as the recursive walk itself.

slide-45
SLIDE 45

Bidirectional Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d]

and then a quantum case statement:

◮ if the “direction coin” d is in state |L then the walker moves one

position left, followed by a procedure behaving as the recursive walk itself;

◮ if d is in state |R then it moves one position right, also followed by

a procedure behaving as the recursive walk itself.

◮ The walk — Program X (or program Y) declared by the recursive

equation: X ⇐ (TL[p]; X) ⊕H[d] (TR[p]; X)

slide-46
SLIDE 46

Bidirectional Recursive Hadamard Walk

◮ The walk first runs the “coin-tossing” Hadamard operator H[d]

and then a quantum case statement:

◮ if the “direction coin” d is in state |L then the walker moves one

position left, followed by a procedure behaving as the recursive walk itself;

◮ if d is in state |R then it moves one position right, also followed by

a procedure behaving as the recursive walk itself.

◮ The walk — Program X (or program Y) declared by the recursive

equation: X ⇐ (TL[p]; X) ⊕H[d] (TR[p]; X)

◮ A variant of the bidirectional recursive Hadamard walk is

declared by the following system of recursive equations:

  • X ⇐ TL[p] ⊕H[d] (TR[p]; Y),

Y ⇐ (TL[p]; X) ⊕H[d] TR[p]

slide-47
SLIDE 47

A More Interesting Recursive Quantum Walk

◮ Let n ≥ 2. Another variant of unidirectional recursive quantum

walk is defined as the program declared by the following recursive equation: X ⇐ ((TL[p]; X) ⊕H[d] (TR[p]; X)); (TL[p] ⊕H[d] TR[p])n

slide-48
SLIDE 48

A More Interesting Recursive Quantum Walk

◮ Let n ≥ 2. Another variant of unidirectional recursive quantum

walk is defined as the program declared by the following recursive equation: X ⇐ ((TL[p]; X) ⊕H[d] (TR[p]; X)); (TL[p] ⊕H[d] TR[p])n

How to solve these quantum recursive equations?

slide-49
SLIDE 49

Syntactic Approximation

◮ A recursive program X declared by equation

X ⇐ F(X)

slide-50
SLIDE 50

Syntactic Approximation

◮ A recursive program X declared by equation

X ⇐ F(X)

◮ Syntactic approximations:

  • X(0) = Abort,

X(n+1) = F[X(n)/X] for n ≥ 0. Program X(n) is the nth syntactic approximation of X.

slide-51
SLIDE 51

Syntactic Approximation

◮ A recursive program X declared by equation

X ⇐ F(X)

◮ Syntactic approximations:

  • X(0) = Abort,

X(n+1) = F[X(n)/X] for n ≥ 0. Program X(n) is the nth syntactic approximation of X.

◮ Semantics X of X is the limit

X = lim

n→∞X(n)

slide-52
SLIDE 52

Example - (Unidirectional) Recursive Hadamard Walk

X(0) = abort, X(1) = TL[p] ⊕H[d] (TR[p]; abort), X(2) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; abort)), X(3) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; TL[p] ⊕H[d2] (TR[p]; abort))), ............

slide-53
SLIDE 53

Example - (Unidirectional) Recursive Hadamard Walk

X(0) = abort, X(1) = TL[p] ⊕H[d] (TR[p]; abort), X(2) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; abort)), X(3) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; TL[p] ⊕H[d2] (TR[p]; abort))), ............

Observation

◮ Continuously introduce new “coin” to avoid variable conflict. ◮ Variables d, d1, d2, ... denote identical particles.

slide-54
SLIDE 54

Example - (Unidirectional) Recursive Hadamard Walk

X(0) = abort, X(1) = TL[p] ⊕H[d] (TR[p]; abort), X(2) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; abort)), X(3) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; TL[p] ⊕H[d2] (TR[p]; abort))), ............

Observation

◮ Continuously introduce new “coin” to avoid variable conflict. ◮ Variables d, d1, d2, ... denote identical particles. ◮ The number of the “coin” particles that are needed in running

the recursive walk is unknown beforehand.

slide-55
SLIDE 55

Example - (Unidirectional) Recursive Hadamard Walk

X(0) = abort, X(1) = TL[p] ⊕H[d] (TR[p]; abort), X(2) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; abort)), X(3) = TL[p] ⊕H[d] (TR[p]; TL[p] ⊕H[d1] (TR[p]; TL[p] ⊕H[d2] (TR[p]; abort))), ............

Observation

◮ Continuously introduce new “coin” to avoid variable conflict. ◮ Variables d, d1, d2, ... denote identical particles. ◮ The number of the “coin” particles that are needed in running

the recursive walk is unknown beforehand.

◮ We need to deal with quantum systems where the number of

particles of the same type may vary.

slide-56
SLIDE 56

Outline

  • 1. Introduction
  • 2. Quantum Case Statement and Quantum Choice
  • 3. Motivating Example: Recursive Quantum Walks
  • 4. Second Quantisation
  • 5. Semantics of Quantum Recursion
  • 7. Conclusion
slide-57
SLIDE 57

Fock Spaces

◮ The principle of symmetrisation: the states of n identical

particles are either completely symmetric or completely antisymmetric with respect to the permutations of the particles. [ bosons - symmetric; fermions - antisymmetric]

slide-58
SLIDE 58

Fock Spaces

◮ The principle of symmetrisation: the states of n identical

particles are either completely symmetric or completely antisymmetric with respect to the permutations of the particles. [ bosons - symmetric; fermions - antisymmetric]

◮ Let H be the state Hilbert space of one particle.

slide-59
SLIDE 59

Fock Spaces

◮ The principle of symmetrisation: the states of n identical

particles are either completely symmetric or completely antisymmetric with respect to the permutations of the particles. [ bosons - symmetric; fermions - antisymmetric]

◮ Let H be the state Hilbert space of one particle. ◮ For each permutation π of 1, ..., n, define the permutation

  • perator Pπ in H⊗n by

Pπ|ψ1 ⊗ ... ⊗ ψn = |ψπ(1) ⊗ ... ⊗ ψπ(n)

slide-60
SLIDE 60

Fock Spaces

◮ The principle of symmetrisation: the states of n identical

particles are either completely symmetric or completely antisymmetric with respect to the permutations of the particles. [ bosons - symmetric; fermions - antisymmetric]

◮ Let H be the state Hilbert space of one particle. ◮ For each permutation π of 1, ..., n, define the permutation

  • perator Pπ in H⊗n by

Pπ|ψ1 ⊗ ... ⊗ ψn = |ψπ(1) ⊗ ... ⊗ ψπ(n)

◮ Define the symmetrisation and antisymmetrisation operators in

H⊗n: S+ = 1 n! ∑

π

Pπ, S− = 1 n! ∑

π

(−1)πPπ

slide-61
SLIDE 61

Fock Spaces

v = + for bosons, v = − for fermions.

◮ Write

|ψ1, ..., ψnv = Sv|ψ1 ⊗ ... ⊗ ψn.

slide-62
SLIDE 62

Fock Spaces

v = + for bosons, v = − for fermions.

◮ Write

|ψ1, ..., ψnv = Sv|ψ1 ⊗ ... ⊗ ψn.

◮ The state space of n bosons and that of fermions are

H⊗n

v

= SvH⊗n = span{|ψ1, ..., ψnv : |ψ1, ..., |ψn are in H}

slide-63
SLIDE 63

Fock Spaces

v = + for bosons, v = − for fermions.

◮ Write

|ψ1, ..., ψnv = Sv|ψ1 ⊗ ... ⊗ ψn.

◮ The state space of n bosons and that of fermions are

H⊗n

v

= SvH⊗n = span{|ψ1, ..., ψnv : |ψ1, ..., |ψn are in H}

◮ Introduce the vacuum state |0 and the one-dimensional space

H⊗0

v

= H⊗0 = span{|0}.

slide-64
SLIDE 64

Fock Spaces

v = + for bosons, v = − for fermions.

◮ Write

|ψ1, ..., ψnv = Sv|ψ1 ⊗ ... ⊗ ψn.

◮ The state space of n bosons and that of fermions are

H⊗n

v

= SvH⊗n = span{|ψ1, ..., ψnv : |ψ1, ..., |ψn are in H}

◮ Introduce the vacuum state |0 and the one-dimensional space

H⊗0

v

= H⊗0 = span{|0}.

◮ The space of the states of variable particle number is the Fock

space: Fv(H) =

n=0

H⊗n

v

slide-65
SLIDE 65

Fock Spaces

v = + for bosons, v = − for fermions.

◮ Write

|ψ1, ..., ψnv = Sv|ψ1 ⊗ ... ⊗ ψn.

◮ The state space of n bosons and that of fermions are

H⊗n

v

= SvH⊗n = span{|ψ1, ..., ψnv : |ψ1, ..., |ψn are in H}

◮ Introduce the vacuum state |0 and the one-dimensional space

H⊗0

v

= H⊗0 = span{|0}.

◮ The space of the states of variable particle number is the Fock

space: Fv(H) =

n=0

H⊗n

v

◮ The free Fock space:

F(H) =

n=0

H⊗n

slide-66
SLIDE 66

Evolution in the Fock Spaces

◮ Let the (discrete-time) evolution of one particle be unitary

  • perator U.
slide-67
SLIDE 67

Evolution in the Fock Spaces

◮ Let the (discrete-time) evolution of one particle be unitary

  • perator U.

◮ The evolution of n particles without mutual interactions is

  • perator U in H⊗n:

U|ψ1 ⊗ ... ⊗ ψn = |Uψ1 ⊗ ... ⊗ Uψn

slide-68
SLIDE 68

Evolution in the Fock Spaces

◮ Let the (discrete-time) evolution of one particle be unitary

  • perator U.

◮ The evolution of n particles without mutual interactions is

  • perator U in H⊗n:

U|ψ1 ⊗ ... ⊗ ψn = |Uψ1 ⊗ ... ⊗ Uψn

U|ψ1, ..., ψnv = |Uψ1, ...Uψnv.

slide-69
SLIDE 69

Evolution in the Fock Spaces

◮ Let the (discrete-time) evolution of one particle be unitary

  • perator U.

◮ The evolution of n particles without mutual interactions is

  • perator U in H⊗n:

U|ψ1 ⊗ ... ⊗ ψn = |Uψ1 ⊗ ... ⊗ Uψn

U|ψ1, ..., ψnv = |Uψ1, ...Uψnv.

◮ Extend to the Fock spaces Fv(H) and F(H):

U

n=0

|Ψ(n)

  • =

n=0

U|Ψ(n)

slide-70
SLIDE 70

Creation and Annihilation of Particles

◮ The transitions between states of different particle numbers.

slide-71
SLIDE 71

Creation and Annihilation of Particles

◮ The transitions between states of different particle numbers. ◮ Creation operator a∗(ψ) in Fv(H):

a∗(ψ)|ψ1, ..., ψnv = √ n + 1|ψ, ψ1, ..., ψnv Add a particle in the individual state |ψ to the system of n particles without modifying their respective states.

slide-72
SLIDE 72

Creation and Annihilation of Particles

◮ The transitions between states of different particle numbers. ◮ Creation operator a∗(ψ) in Fv(H):

a∗(ψ)|ψ1, ..., ψnv = √ n + 1|ψ, ψ1, ..., ψnv Add a particle in the individual state |ψ to the system of n particles without modifying their respective states.

◮ Annihilation operator a(ψ) — the Hermitian conjugate of a∗(ψ):

a(ψ)|0 = 0, a(ψ)|ψ1, ..., ψnv = 1 √n

n

i=1

(v)i−1ψ|ψi|ψ1, ..., ψi−1, ψi+1, ..., ψnv Decrease the number of particles by one unit, while preserving the symmetry of the state.

slide-73
SLIDE 73

Outline

  • 1. Introduction
  • 2. Quantum Case Statement and Quantum Choice
  • 3. Motivating Example: Recursive Quantum Walks
  • 4. Second Quantisation
  • 5. Semantics of Quantum Recursion
  • 7. Conclusion
slide-74
SLIDE 74

Second quantisation provides us with the necessary tool for defining the semantics of quantum recursion!

slide-75
SLIDE 75

Second quantisation provides us with the necessary tool for defining the semantics of quantum recursion! Example - (Unidirectional) Recursive Hadamard Walk

Semantics of the recursive Hadamard walk: X =  

i=0

 

i−1

  • j=0

|RdjR| ⊗ |LdiL|   ⊗ TLTi

R

  (H ⊗ I)

◮ An operator in

Fv(Hd) ⊗ Hp → F(Hd) ⊗ Hp.

◮ The sign v is + or −, depending on using bosons or fermions to

implement the “direction coins” d, d1, d2, ....

slide-76
SLIDE 76

Principal System Semantics

◮ Each state |Ψ in Fock space Fv(Hd) induces mapping:

X, Ψp : pure states → partial density operators in Hp X, Ψp(|ψ) = trF(Hd)(|ΦΦ|) where |Φ = X(|Ψ ⊗ |ψ)

slide-77
SLIDE 77

Principal System Semantics

◮ Each state |Ψ in Fock space Fv(Hd) induces mapping:

X, Ψp : pure states → partial density operators in Hp X, Ψp(|ψ) = trF(Hd)(|ΦΦ|) where |Φ = X(|Ψ ⊗ |ψ)

◮ Mapping X, Ψp is called the principal system semantics of X

with “coin” initialisation |Ψ.

slide-78
SLIDE 78

Bidirectional Recursive Quantum Walk

  • X ⇐ TL[p] ⊕H[d] (TR[p]; Y),

Y ⇐ (TL[p]; X) ⊕H[d] TR[p]

◮ Coherent state of bosons in the symmetric Fock space F+(H)

  • ver H:

|ψcoh = exp

  • −1

2ψ|ψ ∞

n=0

[a∗(ψ)]n n! |0

slide-79
SLIDE 79

Bidirectional Recursive Quantum Walk

  • X ⇐ TL[p] ⊕H[d] (TR[p]; Y),

Y ⇐ (TL[p]; X) ⊕H[d] TR[p]

◮ Coherent state of bosons in the symmetric Fock space F+(H)

  • ver H:

|ψcoh = exp

  • −1

2ψ|ψ ∞

n=0

[a∗(ψ)]n n! |0

◮ The walk starts from position 0 and the coins are initialised in

the coherent states of bosons corresponding to |L: X, Lcohp(|0) = 1 √e

k=0

1 22k+1 | − 1−1| +

k=0

1 22k+2 |22|

  • =

1 √e 2 3| − 1−1| + 1 3|22|

  • .
slide-80
SLIDE 80

Quantum while-loop

◮ Program X declared by the recursive equation

X ⇐ W[c, q]; qif[c] |0 → skip |1 → U[q]; X fiq where W a unitary operator in Hc ⊗ Hq — the interaction between the “coin” c and the principal system q.

slide-81
SLIDE 81

Quantum while-loop

◮ Program X declared by the recursive equation

X ⇐ W[c, q]; qif[c] |0 → skip |1 → U[q]; X fiq where W a unitary operator in Hc ⊗ Hq — the interaction between the “coin” c and the principal system q.

◮ Semantics of X:

X =

k=1 k−1

j=0

W[cj, q]  

k−2

  • j=0

|1cj1| ⊗ |0ck−10| ⊗ Uk−1[q]   from the space Fv(H2) ⊗ Hq into F(H2) ⊗ Hq.

slide-82
SLIDE 82

Outline

  • 1. Introduction
  • 2. Quantum Case Statement and Quantum Choice
  • 3. Motivating Example: Recursive Quantum Walks
  • 4. Second Quantisation
  • 5. Semantics of Quantum Recursion
  • 7. Conclusion
slide-83
SLIDE 83

Problems:

◮ What kind of problems can be solved more conveniently by

using quantum recursion? Sorting? [Høyer, Neerbek, Shi, ICALP’2001]

slide-84
SLIDE 84

Problems:

◮ What kind of problems can be solved more conveniently by

using quantum recursion? Sorting? [Høyer, Neerbek, Shi, ICALP’2001]

◮ Hoare logic for quantum while-loops defined using quantum

“coins”?

slide-85
SLIDE 85

Problems:

◮ What kind of problems can be solved more conveniently by

using quantum recursion? Sorting? [Høyer, Neerbek, Shi, ICALP’2001]

◮ Hoare logic for quantum while-loops defined using quantum

“coins”?

◮ Fock space can serve as a model of linear logic with exponential

types [Blute, Panangaden, Seely, MFPS’1994].

slide-86
SLIDE 86

Problems:

◮ What kind of problems can be solved more conveniently by

using quantum recursion? Sorting? [Høyer, Neerbek, Shi, ICALP’2001]

◮ Hoare logic for quantum while-loops defined using quantum

“coins”?

◮ Fock space can serve as a model of linear logic with exponential

types [Blute, Panangaden, Seely, MFPS’1994].

◮ Combine linear logic with Hoare logic for quantum programs

[Ying, TOPLAS’2011]?

slide-87
SLIDE 87

Problems:

◮ What kind of problems can be solved more conveniently by

using quantum recursion? Sorting? [Høyer, Neerbek, Shi, ICALP’2001]

◮ Hoare logic for quantum while-loops defined using quantum

“coins”?

◮ Fock space can serve as a model of linear logic with exponential

types [Blute, Panangaden, Seely, MFPS’1994].

◮ Combine linear logic with Hoare logic for quantum programs

[Ying, TOPLAS’2011]?

◮ What kind of physical systems can be used to implement

quantum recursion where new “coins” must be continuously created?

slide-88
SLIDE 88

Thank You!