Quantum Machine Learning Adam Brown, HEP-AI Quantum Computing - - PowerPoint PPT Presentation

quantum machine learning adam brown hep ai quantum
SMART_READER_LITE
LIVE PREVIEW

Quantum Machine Learning Adam Brown, HEP-AI Quantum Computing - - PowerPoint PPT Presentation

Quantum Machine Learning Adam Brown, HEP-AI Quantum Computing Machine Learning Quantum Computing Machine Learning Quantum Computing Machine Learning so hot so so hot Quantum Computing Machine Learning Quantum Computing Machine Learning


slide-1
SLIDE 1

Quantum Machine Learning Adam Brown, HEP-AI

slide-2
SLIDE 2

Quantum Computing Machine Learning

slide-3
SLIDE 3

Quantum Computing Machine Learning

slide-4
SLIDE 4

Quantum Computing Machine Learning

so so hot so hot

slide-5
SLIDE 5

Quantum Computing Machine Learning

slide-6
SLIDE 6

Quantum Computing Machine Learning

“I would predict that in 10 years there’s nothing but quantum machine learning.” [famous QML researcher in 2015]

slide-7
SLIDE 7

Classical Dataset Quantum Dataset Use Classical Computer Use Quantum Computer Classical Machine Learning

slide-8
SLIDE 8

The Power of Quantum Computers (in theory)

slide-9
SLIDE 9

The Power of Quantum Computers (in theory)

easy on classical computer “P"

slide-10
SLIDE 10

The Power of Quantum Computers (in theory)

  • multiplication

easy on classical computer “P"

slide-11
SLIDE 11

The Power of Quantum Computers (in theory)

  • multiplication

easy on classical computer “P" easy on quantum computer “BQP"

slide-12
SLIDE 12

The Power of Quantum Computers (in theory)

  • multiplication

easy on classical computer “P" easy on quantum computer “BQP"

(i) BQP contains P

a quantum computer can (quickly) do everything a classical computer can (quickly) do

slide-13
SLIDE 13

The Power of Quantum Computers (in theory)

  • factoring
  • quantum simulation
  • multiplication

easy on classical computer “P" easy on quantum computer “BQP"

(i) BQP contains P (ii) P does not contain BQP

a quantum computer can (quickly) do everything a classical computer can (quickly) do a quantum computer can do some things quickly that a classical computer cannot do quickly

ENCOURAGING

slide-14
SLIDE 14

The Power of Quantum Computers (in theory)

  • factoring
  • quantum simulation
  • multiplication

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

(i) BQP contains P (ii) P does not contain BQP (iii) EXP contains BQP

a quantum computer can (quickly) do everything a classical computer can (quickly) do a quantum computer can do some things quickly that a classical computer cannot do quickly a classical computer can eventually do everything a quantum computer can do

ENCOURAGING

slide-15
SLIDE 15

The Power of Quantum Computers (in theory)

  • factoring
  • quantum simulation
  • multiplication
  • traveling salesman
  • solving GO on NxN board

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

(i) BQP contains P (ii) P does not contain BQP (iii) EXP contains BQP (iv) BQP does not contain EXP

a quantum computer can (quickly) do everything a classical computer can (quickly) do a quantum computer can do some things quickly that a classical computer cannot do quickly a classical computer can eventually do everything a quantum computer can do a quantum computer does not give generic exponential speed-up

ENCOURAGING

slide-16
SLIDE 16

The Power of Quantum Computers (in theory)

  • factoring
  • quantum simulation
  • multiplication
  • traveling salesman
  • solving GO on NxN board

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

(i) BQP contains P (ii) P does not contain BQP (iii) EXP contains BQP (iv) BQP does not contain EXP

a quantum computer can (quickly) do everything a classical computer can (quickly) do a quantum computer can do some things quickly that a classical computer cannot do quickly a classical computer can eventually do everything a quantum computer can do a quantum computer does not give generic exponential speed-up

ENCOURAGING DISCOURAGING

slide-17
SLIDE 17

The Power of Quantum Computers (in theory)

  • factoring
  • quantum simulation
  • multiplication
  • traveling salesman
  • solving GO on NxN board

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

(i) BQP contains P (ii) P does not contain BQP (iii) EXP contains BQP (iv) BQP does not contain EXP

a quantum computer can (quickly) do everything a classical computer can (quickly) do a quantum computer can do some things quickly that a classical computer cannot do quickly a classical computer can eventually do everything a quantum computer can do a quantum computer does not give generic exponential speed-up

ENCOURAGING “NO FREE LUNCH”

slide-18
SLIDE 18
  • factoring
  • quantum simulation
  • multiplication
  • traveling salesman
  • solving GO on NxN board

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

ENCOURAGING to describe state of N qubits takes 2 real numbers

. . . + α2N |11111111i α1|00000000i + . . .

quantum superpower: EXPONENTIATION “HILBERT SPACE IS HUGE” The Power of Quantum Computers (in theory) (iii) EXP contains BQP (iv) BQP does not contain EXP

a classical computer can eventually do everything a quantum computer can do a quantum computer does not give generic exponential speed-up

“NO FREE LUNCH”

N

slide-19
SLIDE 19
  • factoring
  • quantum simulation
  • multiplication
  • traveling salesman
  • solving GO on NxN board

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

ENCOURAGING to describe state of N qubits takes 2 real numbers

. . . + α2N |11111111i α1|00000000i + . . .

quantum superpower: EXPONENTIATION “HILBERT SPACE IS HUGE” quantum superweakness: LINEARITY cannot directly see wave function The Power of Quantum Computers (in theory) “NO FREE LUNCH”

N

slide-20
SLIDE 20

you are here you want to be here Encouraging Fact #1

slide-21
SLIDE 21

you are here you want to be here

∼ e−height/T

Encouraging Fact #1 thermally fluctuate

slide-22
SLIDE 22

you are here you want to be here thermally fluctuate ∼ e−height/T quantum tunnel ∼ e−√height×width/~ Encouraging Fact #1

slide-23
SLIDE 23

you are here you want to be here

∼ e−height/T ∼ e−√height×width/~

quantum beats classical for tall, thin barriers Encouraging Fact #1 thermally fluctuate quantum tunnel

slide-24
SLIDE 24

Encouraging Fact #2

H T H H T H T H

there are short quantum circuits whose

  • utput is hard to classically sample

(follows directly from BQP not in P)

slide-25
SLIDE 25

Encouraging Fact #2

H T H H T H T H

there are functions that can be expressed with a polynomial size quantum neural network that would require an exponentially large classical neural network there are short quantum circuits whose

  • utput is hard to classically sample

(follows directly from BQP not in P)

slide-26
SLIDE 26

Encouraging Fact #3 Harrow, Hassidim, Lloyd algorithm (2008)

slide-27
SLIDE 27

Encouraging Fact #3 Harrow, Hassidim, Lloyd algorithm (2008) given N x N matrix H and given vector b “find” the vector x such that

H x = b

slide-28
SLIDE 28

Encouraging Fact #3 Harrow, Hassidim, Lloyd algorithm (2008) takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

c

slide-29
SLIDE 29

Encouraging Fact #3 Harrow, Hassidim, Lloyd algorithm (2008) takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2 c

slide-30
SLIDE 30

Encouraging Fact #3 Harrow, Hassidim, Lloyd algorithm (2008) takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2

subroutine in classical supervised learning is minimize best fit is x function ansatz gives H datapoints are b

( H x - b )2

c

slide-31
SLIDE 31

The Power of Quantum Computers (in theory)

  • factoring
  • quantum simulation
  • multiplication
  • traveling salesman
  • solving GO on NxN board

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

(i) BQP contains P (ii) P does not contain BQP (iii) EXP contains BQP (iv) BQP does not contain EXP

a quantum computer can (quickly) do everything a classical computer can (quickly) do a quantum computer can do some things quickly that a classical computer cannot do quickly a classical computer can eventually do everything a quantum computer can do a quantum computer does not give generic exponential speed-up

ENCOURAGING DISCOURAGING

slide-32
SLIDE 32

The Power of Quantum Computers (in practice)

  • factoring
  • quantum simulation
  • multiplication
  • traveling salesman
  • solving GO on NxN board

easy on classical computer “P" easy on quantum computer “BQP" exponential time on classical computer “EXP”

(i) BQP contains P (ii) P does not contain BQP (iii) EXP contains BQP (iv) BQP does not contain EXP

a quantum computer can (quickly) do everything a classical computer can (quickly) do a quantum computer can do some things quickly that a classical computer cannot do quickly a classical computer can eventually do everything a quantum computer can do a quantum computer does not give generic exponential speed-up

ENCOURAGING DISCOURAGING

slide-33
SLIDE 33

The Power of Quantum Computers (in practice)

  • if “you” ever measure, coherence is destroyed
  • no cloning principle makes error correction hard
  • classical = 10 errors per gate, quantum = 10 errors per gate
  • 24
  • 2
slide-34
SLIDE 34

The Power of Quantum Computers (in practice)

QUANTUM CLASSICAL

  • if “you” ever measure, coherence is destroyed
  • no cloning principle makes error correction hard
  • classical = 10 errors per gate, quantum = 10 errors per gate
  • 24
  • 2
slide-35
SLIDE 35

The Power of Quantum Computers (in practice)

QUANTUM CLASSICAL

  • if “you” ever measure, coherence is destroyed
  • no cloning principle makes error correction hard
  • classical = 10 errors per gate, quantum = 10 errors per gate
  • 24
  • 2

15 = 3 x 5

slide-36
SLIDE 36

The Power of Quantum Computers (in practice)

QUANTUM CLASSICAL

  • if “you” ever measure, coherence is destroyed
  • no cloning principle makes error correction hard
  • classical = 10 errors per gate, quantum = 10 errors per gate
  • 24
  • 2

15 = 3 x 5 143 = 11 x 13

slide-37
SLIDE 37

The Power of Quantum Computers (in practice)

QUANTUM “quantum supremacy” 2018?? CLASSICAL

  • if “you” ever measure, coherence is destroyed
  • no cloning principle makes error correction hard
  • classical = 10 errors per gate, quantum = 10 errors per gate
  • 24
  • 2

15 = 3 x 5 143 = 11 x 13

slide-38
SLIDE 38

H T H H T H T H

The Power of Quantum Computers (in practice)

“quantum supremacy” 2018??

input random state into ~50 qubit random quantum circuit check on classical supercomputer that you got something consistent with statistical predictions of quantum mechanics

slide-39
SLIDE 39

H T H H T H T H

The Power of Quantum Computers (in practice)

“quantum supremacy” 2018??

99% noise (error), 1% signal input random state into ~50 qubit random quantum circuit check on classical supercomputer that you got something consistent with statistical predictions of quantum mechanics

slide-40
SLIDE 40

H T H H T H T H

The Power of Quantum Computers (in practice)

“quantum supremacy” 2018??

we’re a long way from cracking RSA! 99% noise (error), 1% signal input random state into ~50 qubit random quantum circuit check on classical supercomputer that you got something consistent with statistical predictions of quantum mechanics

slide-41
SLIDE 41

HHL algorithm takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2 c

Example #1:

slide-42
SLIDE 42

HHL algorithm takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2 c

Quantum algorithm for solving linear systems of equations

Aram W. Harrow, Avinatan Hassidim, Seth Lloyd

https://arxiv.org/abs/0811.3171 Quantum Machine Learning

Jacob Biamonte, Peter Wittek, Nicola Pancotti, Patrick Rebentrost, Nathan Wiebe, Seth Lloyd

https://arxiv.org/abs/1611.09347 https://scottaaronson.com/papers/qml.pdf Quantum Machine Learning Algorithms: Read the Fine Print

Scott Aaronson

Example #1:

slide-43
SLIDE 43

HHL algorithm takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2 c

|bi = X

i

bi|ii |xi = X

i

xi|ii bi use |xi

Example #1:

slide-44
SLIDE 44

HHL algorithm takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2 c

|bi = X

i

bi|ii |xi = X

i

xi|ii bi use |xi

store N bits in log[N] qubits “QRAM” Example #1:

slide-45
SLIDE 45

HHL algorithm takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2 c

|bi = X

i

bi|ii |xi = X

i

xi|ii bi use |xi

store N bits in log[N] qubits “QRAM” returns quantum state (not vector x )

|xi

i

Example #1:

slide-46
SLIDE 46

HHL algorithm takes O(N ) classically given N x N matrix H and given vector b “find” the vector x such that

H x = b

HHL: with quantum takes (log N) !

2 c

|bi = X

i

bi|ii |xi = X

i

xi|ii bi use |xi

store N bits in log[N] qubits “QRAM” returns quantum state (not vector x )

|xi

i

H must be sparse & “well conditioned” harder than factoring Example #1:

slide-47
SLIDE 47

H T H H T H T H

Quantum Neural Networks https://arxiv.org/abs/1802.06002 Classification with Quantum Neural Networks on Near Term Processors

Edward Farhi, Hartmut Neven

Barren plateaus in quantum neural network training landscapes

Jarrod R. McClean, Sergio Boixo, Vadim N. Smelyanskiy, Ryan Babbush, Hartmut Neven

https://arxiv.org/abs/1803.11173 Example #2:

slide-48
SLIDE 48

H T H H T H T H

Quantum Neural Networks can definitely represent some functions that are classically hard

  • 1. do we care about those functions?
  • 2. can we train it?

Example #2:

slide-49
SLIDE 49

H T H H T H T H

Quantum Neural Networks can definitely represent some functions that are classically hard

  • 1. do we care about those functions?
  • 2. can we train it?

add tunable parameters in gates Training Examples Measure Output Example #2:

slide-50
SLIDE 50

you are here you want to be here

∼ e−height/T ∼ e−√height×width/~

quantum beats classical for tall, thin barriers thermally fluctuate quantum tunnel Example #3

slide-51
SLIDE 51

Classical Dataset Quantum Dataset Use Classical Computer Use Quantum Computer Classical Machine Learning look here