Formal Reasoning for Quantum Programs Yuxin Deng East China Normal - - PowerPoint PPT Presentation

formal reasoning for quantum programs
SMART_READER_LITE
LIVE PREVIEW

Formal Reasoning for Quantum Programs Yuxin Deng East China Normal - - PowerPoint PPT Presentation

Formal Reasoning for Quantum Programs Yuxin Deng East China Normal University Thanks to Yuan Feng and Mingsheng Ying Outline Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm


slide-1
SLIDE 1

Formal Reasoning for Quantum Programs

Yuxin Deng East China Normal University

Thanks to Yuan Feng and Mingsheng Ying

slide-2
SLIDE 2

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-3
SLIDE 3

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-4
SLIDE 4

Quantum communication

◮ In 1984, C. Bennett (IBM) and C. Brassard (Univ. of

Montreal) proposed the first protocol for quantum key distribution, the BB84 protocol. . . .

slide-5
SLIDE 5

Quantum communication

◮ In 1984, C. Bennett (IBM) and C. Brassard (Univ. of

Montreal) proposed the first protocol for quantum key distribution, the BB84 protocol. . . .

◮ On August 16, 2016, China launched the first satellite using

quantum technology to send communications back to earth.

slide-6
SLIDE 6

Quantum communication

◮ In 1984, C. Bennett (IBM) and C. Brassard (Univ. of

Montreal) proposed the first protocol for quantum key distribution, the BB84 protocol. . . .

◮ On August 16, 2016, China launched the first satellite using

quantum technology to send communications back to earth.

◮ A 2000-km quantum communication main network between

Beijing and Shanghai will be fully operational later this year.

slide-7
SLIDE 7

Quantum computation

◮ In 1982, R. Feynman proposed the idea to construct quantum

computers based on the theory of quantum mechanics. . . .

slide-8
SLIDE 8

Quantum computation

◮ In 1982, R. Feynman proposed the idea to construct quantum

computers based on the theory of quantum mechanics. . . .

◮ In 2011, the Canadian company D-Wave Systems claimed to

have created the first commercial 128-qubit quantum computer, D-wave One.

slide-9
SLIDE 9

Quantum computation

◮ In 1982, R. Feynman proposed the idea to construct quantum

computers based on the theory of quantum mechanics. . . .

◮ In 2011, the Canadian company D-Wave Systems claimed to

have created the first commercial 128-qubit quantum computer, D-wave One.

◮ In December 2015, Google announced that, in solving a

specific optimization problem, their 512-qubit D-Wave 2X is 100 million times faster than conventional single-core computers.

slide-10
SLIDE 10

Quantum programming

“the real challenge will be the software .... Programming this thing [D-Wave] is ridiculously hard; it can take months to work out how to phrase a problem so that the computer can understand it.” — G. Rose Founder and CTO at D-Wave Systems [N. Jones. The Quantum Company. Nature 498:286-288, 2013.]

slide-11
SLIDE 11

Quantum programming languages

◮ “Quantum data, classical control” [Selinger] ◮ Sequential languages

◮ Quipper [Dalhousie Univ.] ◮ LIQUi| > [Microsoft] ◮ Scaffold [Princeton] ◮ ...

slide-12
SLIDE 12

Quantum programming languages

◮ “Quantum data, classical control” [Selinger] ◮ Sequential languages

◮ Quipper [Dalhousie Univ.] ◮ LIQUi| > [Microsoft] ◮ Scaffold [Princeton] ◮ ...

◮ Concurrent languages (quantum process algebras) Aiming to

specify and verify quantum protocols.

◮ QPAlg [Jorrand and Lalire] ◮ CQP [Gay and Nagarajan] ◮ qCCS [Feng et al.]

slide-13
SLIDE 13

In this talk, we focus on

slide-14
SLIDE 14

In this talk, we focus on

◮ Coinduction for quantum processes

slide-15
SLIDE 15

In this talk, we focus on

◮ Coinduction for quantum processes ◮ Hoare logic for quantum programs

slide-16
SLIDE 16

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-17
SLIDE 17

Dirac-notation

Let H be a Hilbert space.

slide-18
SLIDE 18

Dirac-notation

Let H be a Hilbert space.

◮ ‘ket’ |ψ stands for a (normalized) vector in H.

slide-19
SLIDE 19

Dirac-notation

Let H be a Hilbert space.

◮ ‘ket’ |ψ stands for a (normalized) vector in H. ◮ ‘bra’ ψ| stands for the adjoint (dual vector) of |ψ.

slide-20
SLIDE 20

Dirac-notation

Let H be a Hilbert space.

◮ ‘ket’ |ψ stands for a (normalized) vector in H. ◮ ‘bra’ ψ| stands for the adjoint (dual vector) of |ψ. ◮ Generally, A† stands for the adjoint of A, such that

(A†|ψ, |φ) = (|ψ, A|φ). In particular, (|ψ)† = ψ|.

slide-21
SLIDE 21

Quantum states

◮ Associated to any quantum system is a Hilbert space known

as the state space.

slide-22
SLIDE 22

Quantum states

◮ Associated to any quantum system is a Hilbert space known

as the state space.

◮ The state of a closed quantum system is described by a unit

vector, say |ψ, in its state space.

slide-23
SLIDE 23

Quantum states(Cont’d)

◮ ρ = ∑k pk|ψkψk| : lies in the state |ψk with probability

pk, ∑k pk = 1.

◮ ρ is a positive operator ◮ tr(ρ) = 1

slide-24
SLIDE 24

Quantum states(Cont’d)

◮ ρ = ∑k pk|ψkψk| : lies in the state |ψk with probability

pk, ∑k pk = 1.

◮ ρ is a positive operator ◮ tr(ρ) = 1

◮ These two conditions characterize exactly the set of density

  • perators.
slide-25
SLIDE 25

Quantum dynamics

A super-operator E over Hilbert space H is a linear map on the space of linear operators on H.

slide-26
SLIDE 26

Quantum dynamics

A super-operator E over Hilbert space H is a linear map on the space of linear operators on H.

E is trace-preserving, if tr(E(A)) = tr(A) for any positive

  • perator A.
slide-27
SLIDE 27

Quantum dynamics

A super-operator E over Hilbert space H is a linear map on the space of linear operators on H.

E is trace-preserving, if tr(E(A)) = tr(A) for any positive

  • perator A.

E is completely positive, if for any auxiliary space H′ and any positive operator σ on the tensor Hilbert space H′ ⊗ H, (IH′ ⊗ E)(σ) is also a positive operator on H′ ⊗ H.

slide-28
SLIDE 28

Quantum dynamics

◮ The evolution of a quantum system is described by a

super-operator ρ′ = E(ρ)

slide-29
SLIDE 29

Quantum measurements

◮ An observable A is a Hermitian operator, A† = A. Let

A = ∑

k

λkPk, where Pk is the eigenspace associated with λk.

slide-30
SLIDE 30

Quantum measurements

◮ An observable A is a Hermitian operator, A† = A. Let

A = ∑

k

λkPk, where Pk is the eigenspace associated with λk.

◮ If we measure ρ by the observable A, then we obtain the

result k with probability pk = tr(Pkρ)

slide-31
SLIDE 31

Quantum measurements

◮ An observable A is a Hermitian operator, A† = A. Let

A = ∑

k

λkPk, where Pk is the eigenspace associated with λk.

◮ If we measure ρ by the observable A, then we obtain the

result k with probability pk = tr(Pkρ)

slide-32
SLIDE 32

Quantum measurements

◮ An observable A is a Hermitian operator, A† = A. Let

A = ∑

k

λkPk, where Pk is the eigenspace associated with λk.

◮ If we measure ρ by the observable A, then we obtain the

result k with probability pk = tr(Pkρ)

◮ The measurement disturbs the system, leaving it in a state

PkρPk/pk determined by the outcome.

slide-33
SLIDE 33

Syntax of qCCS

The syntax of qCCS:

nil | pref .P | P + Q | PQ | P\L | if b then P | A(˜ q; ˜ x) where pref ::= τ | c?x | c!e | c?q | c!q | E[ q] | M[ q; x]

slide-34
SLIDE 34

Further requirements

◮ c?x.d!x.d!x.0

⇒ c?r.d!r.d!r.0

◮ Quantum no-cloning theorem!

slide-35
SLIDE 35

Syntax of qCCS, cont’d

For a process to be legal, we require

  • 1. q ∈ qv(P) in the process c!q.P;
  • 2. qv(P) ∩ qv(Q) = ∅ in the process P || Q.
slide-36
SLIDE 36

Operational Semantics of qCCS

A pair of the form P, ρ is a configuration, where P is a closed quantum process and ρ is a density operator. The set of configurations is denoted by Con. We let C, D, . . . range over Con.

slide-37
SLIDE 37

Operational Semantics of qCCS

Let Act = {τ} ∪ {c?v, c!v | c classical channel, v real number} ∪ {c?r, c!r | c quantum channel, r quantum variable}, and D(Con) be the set of finite-support probability distributions

  • ver Con.

The semantics of qCCS is given by the probabilistic labeled transition system (Con, Act, →), where → ⊆ Con × Act × D(Con) is the smallest relation satisfying some rules.

slide-38
SLIDE 38

An example: Teleportation

Quantum teleportation [Bennett, Brassard, Crepeau, Jozsa, Peres, and Wootters, PRL 1993] makes use of a maximally entangled state to teleport an unknown quantum state by sending only classical information. It serves as a key ingredient in many other quantum communication protocols.

slide-39
SLIDE 39

An example: Teleportation

H ✒ ZM1 XM2 M1 M2 |ψ |ψ |Ψ ✒

Let Alice := CNot[q, q1].H[q].M[q, q1; x].c!x.nil Bob := c?x.Ux[q2].nil Telep := (AliceBob)\{c} Here M = ∑3

i=0 λi|˜

i˜ i|, and Ux[q2].nil := if x = λ0 then σ0[q2].nil + if x = λ1 then σ1[q2].nil + if x = λ2 then σ3[q2].nil + if x = λ3 then σ2[q2].nil.

slide-40
SLIDE 40

T elep, [(α|0 + β|1) ⊗

1 √ 2(|00 + |11)]

(c!λ0.nilBob)\{c}, [α|000 + β|001] τ (H[q].M[q, q1; x].c!x.nilBob)\{c}, [ 1

√ 2(α(|000 + |011) + β(|110 + |101))]

(M[q, q1; x].c!x.nilBob)\{c}, [ 1

2(α(|000 + |100 + |011 + |111) + β(|010 − |110 + |001 − |101))]

(c!λ1.nilBob)\{c}, [α|011 + β|010] (c!λ2.nilBob)\{c}, [α|100 − β|101] (c!λ3.nilBob)\{c}, [α|111 − β|110] ❄ τ ❄ τ ✾ ❂ s ③ ❄ τ ❄ τ (nilσ1[q2].nil)\{c}, [|01 ⊗ (α|1 + β|0)] (nilσ3[q2].nil)\{c}, [|10 ⊗ (α|0 − β|1)] (nilσ2[q2].nil)\{c}, [|11 ⊗ (α|1 − β|0)] (nilσ0[q2].nil)\{c}, [|00 ⊗ (α|0 + β|1)] ❄ τ 1/4 1/4 1/4 1/4 ❄ τ ❄ τ ❄ τ (nilnil)\{c}, [|01 ⊗ (α|0 + β|1)] (nilnil)\{c}, [|10 ⊗ (α|0 + β|1)] (nilnil)\{c}, [|11 ⊗ (α|0 + β|1)] (nilnil)\{c}, [|00 ⊗ (α|0 + β|1)] ❄ τ ❄ ❄ τ

slide-41
SLIDE 41

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-42
SLIDE 42

Lifted relation

Lift R ⊆ S × S to R◦ ⊆ Dist(S) × Dist(S) :

slide-43
SLIDE 43

Lifted relation

Lift R ⊆ S × S to R◦ ⊆ Dist(S) × Dist(S) :

  • 1. sRt implies s R◦ t;
slide-44
SLIDE 44

Lifted relation

Lift R ⊆ S × S to R◦ ⊆ Dist(S) × Dist(S) :

  • 1. sRt implies s R◦ t;
  • 2. ∆i R◦ Θi for all i ∈ I implies (∑i∈I pi · ∆i) R◦ (∑i∈I pi · Θi)

for any pi ∈ [0, 1] with ∑i∈I pi = 1, where I is a countable index set.

There are alternative formulations; related to the Kantorovich metric and the network flow problem. See e.g.

http://www.springer.com/978-3-662-45197-7

slide-45
SLIDE 45

Four criteria to judge equivalence

A relation R is

slide-46
SLIDE 46

Four criteria to judge equivalence

A relation R is

◮ barb-preserving if CRD implies that C ⇓≥p c

iff D ⇓≥p

c

for any p ∈ [0, 1] and any classical channel c, where C ⇓≥p

c

holds if C

ˆ τ

= ⇒ ∆ for some ∆ with

∑{∆(C′) | C′

c!v

− → for some v} ≥ p;

slide-47
SLIDE 47

Four criteria to judge equivalence

A relation R is

◮ barb-preserving if CRD implies that C ⇓≥p c

iff D ⇓≥p

c

for any p ∈ [0, 1] and any classical channel c, where C ⇓≥p

c

holds if C

ˆ τ

= ⇒ ∆ for some ∆ with

∑{∆(C′) | C′

c!v

− → for some v} ≥ p;

◮ reduction-closed if CRD implies

◮ whenever C

ˆ τ

= ⇒ ∆, there exists Θ such that D

ˆ τ

= ⇒ Θ and ∆ R◦ Θ,

◮ whenever D

ˆ τ

= ⇒ Θ, there exists ∆ such that C

ˆ τ

= ⇒ ∆ and ∆ R◦ Θ;

slide-48
SLIDE 48

Four criteria to judge equivalence, cont.

◮ compositional if CRD implies (C||R)R(D||R) for any

process R with qv(R) disjoint from qv(C) ∪ qv(D),

slide-49
SLIDE 49

Four criteria to judge equivalence, cont.

◮ compositional if CRD implies (C||R)R(D||R) for any

process R with qv(R) disjoint from qv(C) ∪ qv(D),

◮ closed under super-operator application, if CRD implies

E(C)RE(D) for any E ∈ SO(Hqv(C)).

slide-50
SLIDE 50

Reduction barbed congruence

Originated in [Honda & Tokoro 1995]. Let reduction barbed congruence, written ≈r, be the largest relation over configurations which is

◮ barb-preserving, ◮ reduction-closed, ◮ compositional,

slide-51
SLIDE 51

Reduction barbed congruence

Originated in [Honda & Tokoro 1995]. Let reduction barbed congruence, written ≈r, be the largest relation over configurations which is

◮ barb-preserving, ◮ reduction-closed, ◮ compositional, ◮ closed under super-operator application, ◮ and furthermore, if C ≈r D then qv(C) = qv(D) and

env(C) = env(D).

slide-52
SLIDE 52

Open bisimulation

Inspired by [Sangorigi 1996]. A relation R ⊆ Con × Con is an open simulation if CRD implies that

◮ qv(C) = qv(D), and env(C) = env(D), ◮ for any E ∈ SO(Hqv(C)), whenever E(C) α

− → ∆, there is some Θ with E(D)

ˆ α

= ⇒ Θ and ∆ R◦ Θ. A relation R is an open bisimulation if both R and R−1 are open

  • simulations. We let ≈o be the largest open bisimulation.
slide-53
SLIDE 53

Theorem : Congruence

slide-54
SLIDE 54

Theorem : Congruence

◮ The relation ≈o between processes is preserved by all the

constructors of qCCS except for summation.

slide-55
SLIDE 55

Theorem : Congruence

◮ The relation ≈o between processes is preserved by all the

constructors of qCCS except for summation.

◮ C ≈o D if and only if C ≈r D.

slide-56
SLIDE 56

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-57
SLIDE 57

An equivalence for super-operators

Let ⊑ be the L¨

  • wner preorder defined on operators: A ⊑ B if and
  • nly if B − A is positive semi-definite.

For two super-operators A, B on H, let A V B if for any ρ ∈ D(H), trV (A(ρ)) ⊑ trV (B(ρ)), where V is the complement set of V in qVar. Let V be V ∩ V and we abbreviate ∅ and ∅ to and , respectively.

slide-58
SLIDE 58

Super-operator valued distributions

A super-operator valued distribution ∆ over S is a function from S to SO(H) such that ∑s∈S ∆(s) IH. Let DistH(S) be the set of finite-support super-operator valued distributions over S.

slide-59
SLIDE 59

Symbolic semantics

Inspired by [Hennessy & Lin 1995] A pair of the form t, E, where t ∈ T and E ∈ SOt(H), is called a snapshot. The set of snapshots is denoted by SN. The symbolic semantics of qCCS is given by the qLTS (SN, BActs, →) on snapshots, where → ⊆ SN × BActs × DistH(SN) is the smallest relation satisfying a few rules.

slide-60
SLIDE 60

Symbolic semantics

E.g. where Aφi

  • r

: ρ → |φi

rφi|ρ|φi rφi|

(1) Setφi

  • r

: ρ → ∑

j∈I

|φi

rφj|ρ|φj rφi|.

(2)

slide-61
SLIDE 61

Symbolic semantics

Q, IH tt, τ tt, τ P, IH Set0

q

❄ nil, Set0

q

❄ Q0, Set0

q

Q1, Set1

q

✙ ❘ 0 = 0, τ 0 = 1, τ nil, Set0

q

✠ ❥ 1 = 0, τ 1 = 1, τ nil, Set1

q

Xq nil, Set1

q

Xq nil, Set0

q

A1 A0 ❄ I[q].nil, Set0

q

tt, τ

slide-62
SLIDE 62

Symbolic bisimulation

Definition Let S = {Sb : b ∈ BExp} be a family of equivalence relations on

  • SN. S is called a symbolic (strong open) bisimulation if for any

b ∈ BExp, t, ESbu, F implies that

  • 1. qv(t) = qv(u) and E qv(t) F, if b is satisfiable;
  • 2. for any G ∈ SOt(Hqv(t)), whenever t, GE

b1,γ

→ ∆ with bv(γ) ∩ fv(b, t, u) = ∅, there exists a collection of booleans B such that b ∧ b1 → B and ∀ b′ ∈ B, ∃b2, γ′ with b′ → b2, γ =b′ γ′, u, GF

b2,γ′

→ Ξ, and (GE • ∆)Sb′(GF • Ξ).

slide-63
SLIDE 63

Ground bisimulation

Definition A family of equivalence relations {Sb : b ∈ BExp} is called a symbolic ground bisimulation if for any b ∈ BExp, t, ESbu, F implies that

  • 1. qv(t) = qv(u) and E qv(t) F, if b is satisfiable,
  • 2. whenever t, E

b1,γ

→ ∆ with bv(γ) ∩ fv(b, t, u) = ∅, there exists a collection of booleans B such that b ∧ b1 → B and ∀ b′ ∈ B, ∃b2, γ′ with b′ → b2, γ =b′ γ′, u, F

b2,γ′

→ Ξ, and (E • ∆)Sb′(F • Ξ).

slide-64
SLIDE 64

Closure under super-operator application

Definition A relation S on SN is said to be closed under super-operator application if t, ESu, F implies t, GESu, GF for any G ∈ SOt(Hqv(t)). Theorem A family of equivalence relations {Sb : b ∈ BExp} is a symbolic bisimulation if and only if it is both a ground bisimulation and closed under super-operator application.

slide-65
SLIDE 65

Special case

Theorem If t and u are both free of quantum input, then t, E ∼b

s u, F if

and only if t, E ∼b

g u, F.

slide-66
SLIDE 66

Symbolic bisimilarity

Theorem

  • 1. For each b ∈ BExp, ∼b

s is an equivalence relation.

  • 2. The family {∼b

s : b ∈ BExp} is a symbolic bisimulation.

slide-67
SLIDE 67

Symbolic vs open bisimulation

Theorem

  • 1. t ∼b

s u if and only if for any evaluation ψ, ψ(b) = tt implies

tψ ∼o uψ.

  • 2. t ∼s u if and only if t ∼o u.
slide-68
SLIDE 68

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-69
SLIDE 69

The algorithm

Bisim(t, u) = Match(t, u, tt, ∅) Match(t, u, b, W ) = where t = t, E and u = u, F if (t, u) ∈ W then (θ, T) := (tt, ∅) else for γ ∈ Act(t, u) do (θγ, Tγ) := MatchAction(γ, t, u, b, W ) end (θ, T) := (

γ θγ, γ(Tγ ⊔ {(t, u) → (b ∧ γ θγ)}))

end return (θ ∧ (qv(t) = qv(u)) ∧ (E qv(t) F), T) MatchAction(γ, t, u, b, W ) = ... case τ for t

bi ,τ

− → ∆i and u

b′ j ,τ

− → Θj do (θij , Tij ) := MatchDistribution(∆i , Θj , b ∧ bi ∧ b′

j , {(t, u)} ∪ W )

end return (

i (bi → j (b′ j ∧ θij )) ∧ j (b′ j → i (bi ∧ θij )), ij Tij )

endsw ... MatchDistribution(∆, Θ, b, W )= for ti ∈ ⌈∆⌉ and uj ∈ ⌈Θ⌉ do (θij , Tij ) := Match(ti , uj , b, W ) end R := {(t, u) | b → (

ij Tij )(t, u)}∗

return (Check(∆, Θ, R),

ij Tij )

Check(∆, Θ, R) = θ := tt for S ∈ ⌈∆⌉ ∪ ⌈Θ⌉/R do θ := θ ∧ (∆(S) Θ(S)) end

slide-70
SLIDE 70

Correctness

Theorem For two snapshots t and u, the function Bisim(t, u) terminates. Moreover, if Bisim(t, u) = (θ, T) then T(t, u) = θ = mgb(t, u).

slide-71
SLIDE 71

Complexity

Assume the ability of real computation, the worst case time complexity of executing Bisim(t, u) is O(n5/ log n). To implement the algorithm, we have to approximate super-operators using matrices of algebraic or even rational numbers, thus increase the complexity.

slide-72
SLIDE 72

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-73
SLIDE 73

Quantum while-language [Ying 2011]

slide-74
SLIDE 74

Quantum programs

slide-75
SLIDE 75

Notations

slide-76
SLIDE 76

Operational semantics (selected rules)

slide-77
SLIDE 77

Semantic function

slide-78
SLIDE 78
slide-79
SLIDE 79
slide-80
SLIDE 80
slide-81
SLIDE 81

Hoare logic for partial correctness (selected rules)

slide-82
SLIDE 82
slide-83
SLIDE 83

Theorem prover for quantum programs

◮ A theorem prover for quantum Hoare logic based on

Isabelle/HOL has been implemented by Liu et al.

slide-84
SLIDE 84

Theorem prover for quantum programs

◮ A theorem prover for quantum Hoare logic based on

Isabelle/HOL has been implemented by Liu et al.

◮ https://arxiv.org/pdf/1601.03835.pdf

slide-85
SLIDE 85

Outline

Background Preliminaries on quantum mechanics Equivalences for quantum processes Symbolic semantics An algorithm for ground bisimulation Hoare logic Summary

slide-86
SLIDE 86

Summary

◮ A natural extensional behavioural equivalence between

quantum processes.

slide-87
SLIDE 87

Summary

◮ A natural extensional behavioural equivalence between

quantum processes.

◮ An open bisimulation to provide a sound and complete proof

methodology.

slide-88
SLIDE 88

Summary

◮ A natural extensional behavioural equivalence between

quantum processes.

◮ An open bisimulation to provide a sound and complete proof

methodology.

◮ Symbolic semantics

slide-89
SLIDE 89

Summary

◮ A natural extensional behavioural equivalence between

quantum processes.

◮ An open bisimulation to provide a sound and complete proof

methodology.

◮ Symbolic semantics ◮ An algorithm for ground bisimulation

slide-90
SLIDE 90

Summary

◮ A natural extensional behavioural equivalence between

quantum processes.

◮ An open bisimulation to provide a sound and complete proof

methodology.

◮ Symbolic semantics ◮ An algorithm for ground bisimulation ◮ Hoare logic for quantum programs

slide-91
SLIDE 91

Future work

slide-92
SLIDE 92

Future work

◮ Symbolic weak bisimulation?

slide-93
SLIDE 93

Future work

◮ Symbolic weak bisimulation? ◮ Apply the open bisimulation to analyze quantum

cryptographic protocols, e.g. BB84 quantum key distribution protocol

slide-94
SLIDE 94

Future work

◮ Symbolic weak bisimulation? ◮ Apply the open bisimulation to analyze quantum

cryptographic protocols, e.g. BB84 quantum key distribution protocol

◮ Model checking for quantum protocols

slide-95
SLIDE 95

Future work

◮ Symbolic weak bisimulation? ◮ Apply the open bisimulation to analyze quantum

cryptographic protocols, e.g. BB84 quantum key distribution protocol

◮ Model checking for quantum protocols ◮ Termination analysis

slide-96
SLIDE 96

Future work

◮ Symbolic weak bisimulation? ◮ Apply the open bisimulation to analyze quantum

cryptographic protocols, e.g. BB84 quantum key distribution protocol

◮ Model checking for quantum protocols ◮ Termination analysis ◮ Invariant generation

slide-97
SLIDE 97

Future work

◮ Symbolic weak bisimulation? ◮ Apply the open bisimulation to analyze quantum

cryptographic protocols, e.g. BB84 quantum key distribution protocol

◮ Model checking for quantum protocols ◮ Termination analysis ◮ Invariant generation ◮ Fully abstract denotational semantics

slide-98
SLIDE 98

(Incomplete) references

  • 1. M. S. Ying, Foundations of Quantum Programming, Elsevier - Morgan

Kaufmann, 2016.

  • 2. A. S. Green, P. L. Lumsdaine, N. J. Ross, P. Selinger and B. Valiron,

Quipper: A scalable quantum programming language, Proc. PLDI 2013,

  • pp. 333-342.
  • 3. D. Wecker and K. M. Svore, LIQUi| >: A software design architecture

and domain-specific language for quantum computing, http://research.microsoft.com/pubs/209634/1402.4467.pdf.

  • 4. A. J. Abhari, A. Faruque, M. Dousti, L. Svec, O. Catu, A. Chakrabati,

C.-F. Chiang, S. Vanderwilt, J. Black, F. Chong, M. Martonosi, M. Suchara, K. Brown, M. Pedram and T.Brun, Scaffold: Quantum Programming Language, Technical Report TR-934-12, Dept. of Computer Science, Princeton University, 2012.

  • 5. M. Pagani, P. Selinger and B. Valiron, Applying quantitative semantics to

higher-order quantum computing, Proc. POPL 2014, pp. 647-658.

  • 6. E. D’Hondt and P. Panangaden, Quantum weakest preconditions,

Mathematical Structures in Computer Science, 16(2006)429-451.

slide-99
SLIDE 99
  • 7. P. Jorrand and M. Lalire, Toward a quantum process algebra, Proceedings
  • f the 1st ACM Conference on Computing Frontier, 2004, pp. 111-119.
  • 8. S. J. Gay and R. Nagarajan, Communicating Quantum Processes, Proc.

POPL 2005, pp. 145-157.

  • 9. Y. Feng, R. Y. Duan and M. S. Ying, Bisimulation for quantum

processes, Proc. POPL 2011, pp. 523-534.

  • 10. Y. Deng and Y. Feng. Open Bisimulation for Quantum Processes. In
  • Proc. IFIP TCS 2012. LNCS 7604, pp. 119-133. Springer, 2012.
  • 11. Y. Feng, Y. Deng, and M. Ying. Symbolic bisimulation for quantum
  • processes. ACM Transactions on Computational Logic, Vol. 15, No. 2,

Article 14, April 2014.

slide-100
SLIDE 100

Thank you!