Q UANTUM G ROUP Introduction Quantum circuits Spiders - - PowerPoint PPT Presentation

q uantum g roup introduction quantum circuits spiders zx
SMART_READER_LITE
LIVE PREVIEW

Q UANTUM G ROUP Introduction Quantum circuits Spiders - - PowerPoint PPT Presentation

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey Diagrammatic Reasoning and Quantum Computation Aleks Kissinger ACA, Kalamata November 4, 2015 Q UANTUM G ROUP Introduction Quantum circuits Spiders ZX-calculus MBQC


slide-1
SLIDE 1

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Diagrammatic Reasoning and Quantum Computation

Aleks Kissinger

ACA, Kalamata

November 4, 2015

QUANTUM GROUP

slide-2
SLIDE 2

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Picturing Quantum Processes

A first course in quantum theory and diagrammatic reasoning Bob Coecke & Aleks Kissinger CUP 2015

slide-3
SLIDE 3

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • An algebraic theory consists of a set of operations and constants, satisfying

certain equations

slide-4
SLIDE 4

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • An algebraic theory consists of a set of operations and constants, satisfying

certain equations

  • e.g. a monoid consists of a binary operation and constant e such that:

(a · b) · c = a · (b · c) and a · e = a = e · a

slide-5
SLIDE 5

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • An algebraic theory consists of a set of operations and constants, satisfying

certain equations

  • e.g. a monoid consists of a binary operation and constant e such that:

(a · b) · c = a · (b · c) and a · e = a = e · a

  • We can apply an equation as a term rewrite rule
slide-6
SLIDE 6

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • An algebraic theory consists of a set of operations and constants, satisfying

certain equations

  • e.g. a monoid consists of a binary operation and constant e such that:

(a · b) · c = a · (b · c) and a · e = a = e · a

  • We can apply an equation as a term rewrite rule
  • Instantiate free variables:

(a · b) · c = a · (b · c)

    a := x b := (y · e) c := z

slide-7
SLIDE 7

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • An algebraic theory consists of a set of operations and constants, satisfying

certain equations

  • e.g. a monoid consists of a binary operation and constant e such that:

(a · b) · c = a · (b · c) and a · e = a = e · a

  • We can apply an equation as a term rewrite rule
  • Instantiate free variables:

(a · b) · c = a · (b · c)

    a := x b := (y · e) c := z then replace a sub-term: w · ((x · (y · e)) · z)

  • w · (x · ((y · e) · z))
slide-8
SLIDE 8

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • Alternatively, we could write these equations as trees:

= a b c b c a = = a a a

slide-9
SLIDE 9

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • Alternatively, we could write these equations as trees:

= a b c b c a = = a a a

  • In which case:

w · ((x · (y · e)) · z)

  • w · (x · ((y · e) · z))
slide-10
SLIDE 10

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and rewriting

  • Alternatively, we could write these equations as trees:

= a b c b c a = = a a a

  • In which case:

w · ((x · (y · e)) · z)

  • w · (x · ((y · e) · z))

becomes: w x y z x z w y

  • z

w x y

slide-11
SLIDE 11

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Diagram substitution

  • Note we can drop the free variables:

= a b c b c a

  • =
slide-12
SLIDE 12

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Diagram substitution

  • Note we can drop the free variables:

= a b c b c a

  • =
  • The role of variables is replaced by the fact that the LHS and RHS have a

shared boundary:

slide-13
SLIDE 13

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Diagram substitution

  • Note we can drop the free variables:

= a b c b c a

  • =
  • The role of variables is replaced by the fact that the LHS and RHS have a

shared boundary:

  • This treats inputs and outputs symmetrically
slide-14
SLIDE 14

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and coalgebra

  • We can consider structures with many outputs as well as inputs.
slide-15
SLIDE 15

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and coalgebra

  • We can consider structures with many outputs as well as inputs.
  • Coalgebraic structures: algebraic structures “upside-down”
slide-16
SLIDE 16

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and coalgebra

  • We can consider structures with many outputs as well as inputs.
  • Coalgebraic structures: algebraic structures “upside-down”
  • e.g. a comonoid satisfies:

= = =

slide-17
SLIDE 17

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebra and coalgebra

  • We can consider structures with many outputs as well as inputs.
  • Coalgebraic structures: algebraic structures “upside-down”
  • e.g. a comonoid satisfies:

= = =

  • The most interesting structures consist of algebras interacting with

coalgebras: = = =

slide-18
SLIDE 18

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Equational reasoning with diagram substitution

  • Again, we use equations to perform substitutions, but on graphs rather than

just trees =

slide-19
SLIDE 19

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Equational reasoning with diagram substitution

  • Again, we use equations to perform substitutions, but on graphs rather than

just trees =

  • For example:
slide-20
SLIDE 20

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Example: Quantum circuit rewriting

= ⊕

H H

H H

slide-21
SLIDE 21

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Example: Quantum circuit rewriting

= ⊕

H H

H H H

⊕ ⊕

⊕ ⊕

Zα H

H H H H H

⊕ ⊕ ⊕ ⊕

slide-22
SLIDE 22

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Example: Quantum circuit rewriting

= ⊕

H H

H H H

⊕ ⊕

⊕ ⊕

Zα H

H H H H H

⊕ ⊕ ⊕ ⊕ So, we can define an equational theory for quantum circuits, using rewriting.

slide-23
SLIDE 23

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Why an equational theory for quantum circuits?

slide-24
SLIDE 24

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Why an equational theory for quantum circuits?

  • circuit optimization:

H

⊕ ⊕ = ⊕

Zα H

H H H H

⊕ ⊕ ⊕ ⊕

H H

=

H

=

H

H Zα

H H H

slide-25
SLIDE 25

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Why an equational theory for quantum circuits?

  • circuit optimization:

H

⊕ ⊕ = ⊕

Zα H

H H H H

⊕ ⊕ ⊕ ⊕

H H

=

H

=

H

H Zα

H H H

  • verify equivalence (e.g. when adding error-correction)

encode decode

Z Z H H H H H H H

=

Z H

  • (automated) translation to other gate sets and paradigms
  • exploit algebraic invariants to prove properties about computations
slide-26
SLIDE 26

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

A complete set of gate identities

  • These equations are complete for Clifford circuits:

(Selinger 2013)

slide-27
SLIDE 27

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
slide-28
SLIDE 28

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

slide-29
SLIDE 29

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

  • unique normal forms
slide-30
SLIDE 30

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

  • unique normal forms
  • relatively compact (3 generators, 15 rules)
slide-31
SLIDE 31

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

  • unique normal forms
  • relatively compact (3 generators, 15 rules)
  • The bad:
slide-32
SLIDE 32

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

  • unique normal forms
  • relatively compact (3 generators, 15 rules)
  • The bad:
  • rules are large, and don’t carry any intuition or algebraic structure
slide-33
SLIDE 33

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

  • unique normal forms
  • relatively compact (3 generators, 15 rules)
  • The bad:
  • rules are large, and don’t carry any intuition or algebraic structure
  • rewrite strategy is complicated (17 derived gates, 100 derived rules)
slide-34
SLIDE 34

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

  • unique normal forms
  • relatively compact (3 generators, 15 rules)
  • The bad:
  • rules are large, and don’t carry any intuition or algebraic structure
  • rewrite strategy is complicated (17 derived gates, 100 derived rules)
  • The ugly:
slide-35
SLIDE 35

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

As an equational theory

  • The good:
  • complete for Clifford circuits:

C1 = C2 = ⇒ C1 =E C2

  • unique normal forms
  • relatively compact (3 generators, 15 rules)
  • The bad:
  • rules are large, and don’t carry any intuition or algebraic structure
  • rewrite strategy is complicated (17 derived gates, 100 derived rules)
  • The ugly:
  • proof of completeness is extremely complicated (> 100 pages long! though

mostly machine-generated)

slide-36
SLIDE 36

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Can we do better?

  • Yes!
slide-37
SLIDE 37

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Can we do better?

  • Yes!
  • We can capture underlying algebraic structure by decomposing gates into

smaller pieces

H H H

⊕ ⊕ ⊕ ⊕

H Zα

slide-38
SLIDE 38

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Can we do better?

  • Yes!
  • We can capture underlying algebraic structure by decomposing gates into

smaller pieces

H H H

⊕ ⊕ ⊕ ⊕

H Zα

slide-39
SLIDE 39

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Decomposing CNOT

slide-40
SLIDE 40

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Decomposing CNOT

slide-41
SLIDE 41

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Decomposing CNOT

|i |j

slide-42
SLIDE 42

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Decomposing CNOT

copy |i |i |i |j

slide-43
SLIDE 43

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Decomposing CNOT

copy xor |i |i |j |i ⊕ j

slide-44
SLIDE 44

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11 ⊕            |00 → |0 |01 → |1 |10 → |1 |11 → |0

slide-45
SLIDE 45

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11 ⊕

  • |++ → |+

|−− → |−

slide-46
SLIDE 46

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11 ⊕

  • |+ → |++

|− → |−−

slide-47
SLIDE 47

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11

  • |+ → |++

|− → |−−

slide-48
SLIDE 48

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11

slide-49
SLIDE 49

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11

  • |0 → 1

|1 → 1

slide-50
SLIDE 50

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11

  • 0| + 1|
slide-51
SLIDE 51

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

‘Copy’ maps

  • |0 → |00

|1 → |11

  • 0| + 1|
  • |00 → |0

|11 → |1

  • |0 + |1
slide-52
SLIDE 52

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Algebraic identities...

These satisfy 8 identities: = = = = = = = ...making them a commutative Frobenius algebra.

slide-53
SLIDE 53

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

But luckily...

...you don’t need to remember all that! The only thing to remember is, for: ... ... :=

  • |0..0 → |0...0

|1..1 → |1...1

slide-54
SLIDE 54

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

But luckily...

...you don’t need to remember all that! The only thing to remember is, for: ... ... :=

  • |0..0 → |0...0

|1..1 → |1...1 we have: ... ... ... ...

...

= ... ...

slide-55
SLIDE 55

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

But luckily...

...you don’t need to remember all that! The only thing to remember is, for: ... ... :=

  • |0..0 → |0...0

|1..1 → |1...1 we have: ... ... ... ...

...

= ... ...

  • r equivalently:

=

slide-56
SLIDE 56

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

But luckily...

...you don’t need to remember all that! The only thing to remember is, for: ... ... :=

  • |+..+ → |+...+

|−..− → |−...− we have: ... ... ... ...

...

= ... ...

  • r equivalently:

=

slide-57
SLIDE 57

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

What about 2-colour diagrams?

Direction of edges doesn’t matter: = =:

slide-58
SLIDE 58

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

What about 2-colour diagrams?

Direction of edges doesn’t matter: = =: ...in fact, only topology matters: = =

slide-59
SLIDE 59

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Interaction: Hopf algebra

Red + green spiders also satisfy: = = =

slide-60
SLIDE 60

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Interaction: Hopf algebra

Red + green spiders also satisfy: = = = ...from which we can derive: = make the overall structure into a Hopf algebra

slide-61
SLIDE 61

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Circuit calculation

= ⊕ ⊕ ⊕

slide-62
SLIDE 62

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Circuit calculation

=

slide-63
SLIDE 63

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Circuit calculation

=

slide-64
SLIDE 64

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Making spiders universal

... ... :=

  • |0..0 → |0...0

|1..1 → |1...1 ... ... :=

  • |+..+ → |+...+

|−..− → |−...−

slide-65
SLIDE 65

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Making spiders universal

α

... ... :=

  • |0..0 → |0...0

|1..1 → eiα |1...1

α

... ... :=

  • |+..+ → |+...+

|−..− → eiα |−...−

slide-66
SLIDE 66

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Making spiders universal

α

... ... :=

  • |0..0 → |0...0

|1..1 → eiα |1...1 ...

α + β

... ... ...

α β ...

= ... ...

α

... ... :=

  • |+..+ → |+...+

|−..− → eiα |−...− ...

α + β

... ... ...

α β ...

= ... ...

slide-67
SLIDE 67

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Making spiders universal

Theorem

Phased spiders are universal for qubit quantum computation.

Proof.

Let: ⊕ :=

U

:=

γ β α

slide-68
SLIDE 68

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

The ZX-calculus

The ZX-calculus consists of the two spider-fusion rules:

...

α + β

... ... ...

α β ...

= ... ... ...

α + β

... ... ...

α β ...

= ... ...

slide-69
SLIDE 69

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

The ZX-calculus

The ZX-calculus consists of the two spider-fusion rules:

...

α + β

... ... ...

α β ...

= ... ... ...

α + β

... ... ...

α β ...

= ... ...

four Interaction rules:

= = =

π π π π α π

=

  • α
slide-70
SLIDE 70

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

The ZX-calculus

The ZX-calculus consists of the two spider-fusion rules:

...

α + β

... ... ...

α β ...

= ... ... ...

α + β

... ... ...

α β ...

= ... ...

four Interaction rules:

= = =

π π π π α π

=

  • α

and the Colour Change rule:

α

· · ·

α

· · · · · · · · = · · · · ·

slide-71
SLIDE 71

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

The ZX-calculus

The ZX-calculus consists of the two spider-fusion rules:

...

α + β

... ... ...

α β ...

= ... ... ...

α + β

... ... ...

α β ...

= ... ...

four Interaction rules:

= = =

π π π π α π

=

  • α

and the Colour Change rule:

α

· · ·

α

· · · · · · · · = · · · · ·

where

π 2 π 2 π 2

:=

slide-72
SLIDE 72

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Completeness

Theorem (Backens 2013)

The ZX-calculus is complete for Clifford ZX-diagrams: D1 = D2 = ⇒ D1 =zx D2 D1 :=

. . . . . .

· · · · · ·

π 2

· · · · · ·

π 2

D2 :=

. . . . . .

· · · · · ·

π 2

· · · · · ·

π 2

slide-73
SLIDE 73

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

slide-74
SLIDE 74

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

slide-75
SLIDE 75

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-76
SLIDE 76

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-77
SLIDE 77

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-78
SLIDE 78

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-79
SLIDE 79

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-80
SLIDE 80

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-81
SLIDE 81

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-82
SLIDE 82

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-83
SLIDE 83

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-84
SLIDE 84

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

slide-85
SLIDE 85

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurement-based quantum computing

  • Measurement-based quantum computing is an alternative (and

equivalent) paradigm to the circuit model

  • Rather than repeatedly applying operations to a small number of systems,

start with a big entangled state called a graph state and do many local measurements in different bases: ... ... ... ... ... ...

  • But crucially, the choices of measurements can depend on past

measurement outcomes. This is called feed-forward, and it’s where all the magic happens.

slide-86
SLIDE 86

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Graph states and cluster states

  • Graph states are prepared by starting with many qubits in the |+ state and

creating entanglement with controlled-Z operations:

=

slide-87
SLIDE 87

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Graph states and cluster states

  • Graph states are prepared by starting with many qubits in the |+ state and

creating entanglement with controlled-Z operations:

=

  • Since controlled-Z’s commute, the only relevant part is the graph:

... ... ... ... ... ... ← →

... ... ... ... ... ... ... ... ...

slide-88
SLIDE 88

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurements and feed-forward

  • Compute with single qubit ONB measurements of this form:

π

,

  • α

α + π

,

slide-89
SLIDE 89

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurements and feed-forward

  • Compute with single qubit ONB measurements of this form:

π

,

  • α

α + π

,

  • We want to get the first outcome and treat the second outcome as an error:

... α π error

slide-90
SLIDE 90

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurements and feed-forward

  • We can propagate the error out using the ZX-rules:

... α π = ... π α ... π α = π π ... α π = = π α ... π

slide-91
SLIDE 91

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurements and feed-forward

  • We can propagate the error out using the ZX-rules:

... α π = ... π α ... π α = π π ... α π = = π α ... π

  • If we know an error occurred, we can modify our later measurement choices

to account for it: π α π ... −β γ + π = ... α β γ

slide-92
SLIDE 92

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Measurements and feed-forward

  • We can propagate the error out using the ZX-rules:

... α π = ... π α ... π α = π π ... α π = = π α ... π

  • If we know an error occurred, we can modify our later measurement choices

to account for it: π α π ... −β γ + π = ... α β γ

slide-93
SLIDE 93

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Notable results

slide-94
SLIDE 94

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Notable results: MBQC

  • Duncan & Perdrix used the ZX-calculus to offer a new technique for

transforming MBQC patterns to circuits, which has some advantages over

  • ther known methods, e.g. not requiring ancillas.1
  • For more details, Ducan has written a self-contained introduction to MBQC

from the diagrammatic/ZX point of view, which is available on the arXiv.2

1Rewriting measurement-based quantum computations with generalised flow. R. Duncan,

  • S. Perdrix, ICALP 2010.

personal.strath.ac.uk/ross.duncan/papers/gflow.pdf

2A graphical approach to measurement-based quantum computing. R. Duncan.

arXiv:1203.6242

slide-95
SLIDE 95

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Notable results: quantum algorithms

  • Vicary gave graphical characterisations of standard quantum algorithms3
  • ...a framework since used by Vicary & Zeng to develop new algorithms as

generalisations4

3The Topology of Quantum Algorithms. LICS 2013, J. Vicary. arXiv:1209.3917 4Abstract structure of unitary oracles for quantum algorithms. J.Vicary, W. Zeng.

arXiv:1406.1278

slide-96
SLIDE 96

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Notable results: quantum protocols

  • Coecke, along with 3 Wangs and a Zhang give graphical proof of QKD5
  • Hillebrand gave rewriting proofs of many (∼ 25) quantum protocols.6
  • Zamdzhiev used ZX-calculus to verify 3 kinds of quantum secret sharing.7

5Graphical Calculus for Quantum Key Distribution. B. Coecke, Q. Wang, B. Wang,

  • Y. Wang, and Q. Zhang. QPL 2011.

6Quantum Protocols involving Multiparticle Entanglement and their Representations in the

zx-calculus. A. Hillebrand. Masters thesis, Oxford 2011. www.cs.ox.ac.uk/people/bob.coecke/Anne.pdf

7An Abstract Approach towards Quantum Secret Sharing. Masters thesis, Oxford 2012.

www.cs.ox.ac.uk/people/bob.coecke/VladimirZamdzhievThesis.pdf

slide-97
SLIDE 97

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Notable results: quantum non-locality

  • AK, Coecke, Duncan, and Wang gave diagrammatic presentation of

GHZ/Mermin non-locality argument8

αi

=

αi αi

=

α3 α2 α1

=

  • ...which has since been generalised to arbitrary dimensions and

quantum-like theories9

8Strong Complementarity and Non-locality in Categorical Quantum Mechanics. B. Coecke,

  • R. Duncan, A. Kissinger, Q. Wang. LICS 2012.

9Mermin Non-Locality in Abstract Process Theories. QPL 2015

slide-98
SLIDE 98

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Where do we go from here?

  • Completeness (Clifford + T, full)
slide-99
SLIDE 99

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Where do we go from here?

  • Completeness (Clifford + T, full)
  • Automation: implementation of Clifford decision procedure, theory synthesis
slide-100
SLIDE 100

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Where do we go from here?

  • Completeness (Clifford + T, full)
  • Automation: implementation of Clifford decision procedure, theory synthesis
  • Bigger algorithms, more sophisticated protocols, and generally more

expressiveness of the diagrammatic language

slide-101
SLIDE 101

Introduction Quantum circuits Spiders ZX-calculus MBQC Survey

Thanks!

  • Quantomatic is joint work with Lucas Dixon, Alex Merry, Ross Duncan,

Vladimir Zamdzhiev, and David Quick

  • See: quantomatic.github.io