D-Wave Systems: From Curiosity to Workhorse

29
D-Wave Systems: From Curiosity to Workhorse Steve Reinhardt

Transcript of D-Wave Systems: From Curiosity to Workhorse

Page 1: D-Wave Systems: From Curiosity to Workhorse

D-Wave Systems:From Curiosity to WorkhorseSteve Reinhardt

Page 2: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 2

The stunning potential compute power of D-Wave’s quantum computer will likely become

mission relevant in the next 5 years. Early adopters will play a central role in

delivering its first compelling advantage.

Page 3: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 3

• Relevance and basics• Today’s performance challenges• A tools-based path forward• Application / system co-evolution

Agenda

Page 4: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 4

• Simplistically, an N-qubit quantum computer can probabilistically explore a 2N sample space in fixed time • D-Wave 2X™ system has ~1000 qubits• 21000 ~= 10300

• Classical comparison• Tianhe-2 (#1 in Top500) has 3.1 x 106 cores.• Examining one possibility per 1GHz (109/s) clock,

it can examine O(1015) possibilities/s

• 1015 << 10300

Potential Value

Page 5: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 5

D-Wave 2X: Current Hardware Sweet SpotEn

ergi

es o

f Sam

ples

Ret

urne

d

ClassicalFat Tree #1

ClassicalFat Tree #2

Classical Selby

ClassicalSA #1

ClassicalSA #2

Smal

ler

is b

ette

r

D-Wave 2X

Page 6: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 6

Conclusions

Quantum cotunneling involving at least 8-qubits plays a computational role.

Finite range tunneling is a useful computational resource for hard optimization problems with a rugged energy landscape.

For higher order optimization problems rugged energy landscapes become typical. Such problems are ubiquitous in practical applications.

For a carefully crafted proof-of-concept problem demonstrated 108 speedup relative to Simulated Annealing and Quantum Monte Carlo.

Slide from presentation by Hartmut Neven, Google Quantum AI Lab, Dec 8, 2015. Emphasis added.

Page 7: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 7

D-Wave Quantum Computer

Quantum Processor

• Operates in an extreme environment• Exploits quantum mechanical effects• Superconducting via semiconductor fab• Chip consumes negligible power• Quantum annealer

Page 8: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 8

D-Wave’s Value is for Hard Problems

Landscape

Hard Landscape

Easy

Classical (thermal)annealing

Quantum annealing

Page 9: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 9

Application: Binary Classifier for Low-power Context

• Traditional algorithm recognized car about 84% of the time

• Quantum classifier was more accurate (94%)

• Google/D-Wave Qboostalgorithm discerned that cars have big shadows

• Ported quantum classifier back to classical computer; more accurate and fewer CPU cycles (i.e., less power)

Page 10: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 10

• Time to best credible answer still the focus, but …

• Instructions/s is only one measure (O(104) for D-Wave 2X)

• Depending on the application,lowest energy and/or diversity of sample of solutions will be most important• Fraction of results that are valid is an important metric

“Performance” for a Quantum Annealer

Ener

gy

Time

• Best results may use a hybrid method: QA quickly finds a low-energy initial guess that seeds a classical algorithm

Smal

ler

is b

ette

r

Page 11: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 11

Quantum Machine Instruction (QMI)

Inputs: weights strengths

Find the set of qi that minimize the objective function

• QMI results are samples from the solutions that minimize the objective• Known as Ising model or quadratic unconstrained binary

optimization (QUBO) problem

Page 12: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 12

• Relevance and basics• Today’s performance challenges• A tools-based path forward• Application / system co-evolution

Agenda

Page 13: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 13

• Once your problem has been mapped to QUBO (!)• And sized to fit on hardware after following steps (!)• Map from virtual to physical connectivity• Scale to limited numerical range• Avoid hardware skew• Correct for quantum errors

Using the QMI

Page 14: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 14

Map to Physical Connectivity• A problem variable is

represented by a chainof physical qubits

• Best chain structure is balance of connectivity and robustness

• Heavily dependent on physical topology, which may change

Page 15: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 15

• Once your problem has been mapped to QUBO (!)• And sized to fit on hardware after following steps (!)• Map from virtual to physical connectivity• Scale to limited numerical range• Avoid hardware skew• Correct for quantum errors

Using the QMI

Page 16: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 16

Correct for Quantum Errors

Page 17: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 17

Correct for Quantum Errors• Within a chain, the result

values of the physical qubits may not agree

• How to avoid?

0 1

Page 18: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 18

Correct for Quantum Errors (cont.)• One approach, due to

Pudenz et al.• Repeat the problem, with

penalty qubits to favor robustness

Page 19: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 19

• Once your problem has been mapped to QUBO (!)• And sized to fit on hardware after following steps (!)• Map from virtual to physical connectivity• Scale to limited numerical range• Avoid hardware skew• Correct for quantum errors

Using the QMI

The complexity and rapid change of the above steps motivate the need for QA-specific high-level tools.

Page 20: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 20

• Relevance and basics• Today’s performance challenges• A tools-based path forward• Application / system co-evolution

Agenda

Page 21: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 21

• One approach: Yes, at least for the first few apps, while we learn the art of QA success• Another approach: No, there’s too much aggregate

complexity• Define abstraction(s) capturing the QMI• Lower-level tools optimize execution of abstraction• Higher-level tools map apps to the abstraction

Using the Quantum Annealer Effectively

Must all app developers for the quantum annealer keep current on all these issues to use the machine effectively?

Page 22: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 22

One Approach to Using the Quantum Annealer

Quantum MachineInstruction

TargetQuantum Processor

QMI

AbstractionVirtual QUBOqbsolv

“Translators”qsage

OptimizationConstraint

Satisfaction

ToQtoq

C, C++, MATLAB, Python

hero

Sampling, SAT, ML

vCNF, …

https://pixabay.com/en/superhero-human-hero-woman-female-152840/

Page 23: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 23

• Relevance and basics• Today’s performance challenges• A tools-based path forward• Application / system co-evolution

Agenda

Page 24: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 24

• Automobile controls

• Cray-1 vectorizing compilers

Co-evolution of Technology and Interface

http://www.fordmodelt.net/images/ford-model-t-controls_small.jpg

Page 25: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 25

“Perfect is the enemy of good enough.”

Good enough

Perfect

http://www.slideshare.net/wright4/double-scurve-model-of-growth

Page 26: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 26

While (sufficient added benefit)[app developers]

• identify important unoptimized constructs• morph such constructs to optimized constructs,

as practical• feed back about remaining unoptimized constructs

[system developers] • identify common unoptimized constructs• implement optimizations• publicize optimizations

Co-evolution

Page 27: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 27

• We have 70 years’ experience and research in developing human-computer interfaces• We have a promising initial hardware model, and

ideas of how it might evolve• We have intuition about the difficulty of various

mapping steps• D-Wave system evolution will vitally depend on

the rapid feedback we get on the strengths and weaknesses of early systems, tools, and methods

Co-evolution Redux

Page 28: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 28

• Better-quality qubits, interconnect, control, etc.• O(10K) qubits• Better insight into exploiting quantum annealing• Effective tools for established abstractions• Better understanding of early apps

“Likely Mission Relevance in 5 Years”

Page 29: D-Wave Systems: From Curiosity to Workhorse

© 2016 D-Wave Systems Inc. All Rights Reserved | 29

The stunning potential compute power of D-Wave’s quantum computer will likely become

mission relevant in the next 5 years. Early adopters will play a central role in

delivering its first compelling advantage.