2 Hello Quantum Developers World Yet Another Frontier for JavaScript - - PowerPoint PPT Presentation

2 hello quantum developers world
SMART_READER_LITE
LIVE PREVIEW

2 Hello Quantum Developers World Yet Another Frontier for JavaScript - - PowerPoint PPT Presentation

2 Hello Quantum Developers World Yet Another Frontier for JavaScript Hello Quantum Developers World QCon London 2020 Miguel Ramalho Quantum Spectrum Software Physicists Scientists Developers Engineers Engineers Theorise Empirically


slide-1
SLIDE 1
slide-2
SLIDE 2

2

slide-3
SLIDE 3

Hello Quantum Developers World

Yet Another Frontier for JavaScript

slide-4
SLIDE 4

Hello Quantum Developers World

QCon London 2020 Miguel Ramalho

slide-5
SLIDE 5

Quantum Spectrum

Physicists Theorise Software Engineers Connect Developers Work Hard... Scientists Empirically test Engineers Implement

5

slide-6
SLIDE 6

Goals

Physicists Demystify Software Engineers Hands dirty Developers Benefit Scientists Engineers

6

bit.ly/qcon-qjs

slide-7
SLIDE 7

Quantum Computing is...

leveraging natural phenomena happening at the atomic and subatomic scale to produce computations

7

bit.ly/qcon-qjs

slide-8
SLIDE 8

2 energy states (simplification) these are quantized: take only discrete (quantified) values.

Bit Quantum Qubit Bit

1 electron orbiting the nucleus Hydrogen atom

8

slide-9
SLIDE 9

Any two valid quantum states can be combined (superposed) into another valid state

9

Superposition

slide-10
SLIDE 10

Circuit Model

10

slide-11
SLIDE 11

Circuit Model (Components)

11

slide-12
SLIDE 12

Tools Tools

12

slide-13
SLIDE 13

Quantum JavaScript libraries

In this presentation

Quirk Qiskit Quantum Peep

For reference

Jsqubits Qiskit-js JsQuil IBM QX

13

slide-14
SLIDE 14

Quirk

Drag and drop web app to test Quantum Circuits

github.com/strilanc/quirk

14

slide-15
SLIDE 15

Circuit Model in Quirk

Bloch Sphere

15

slide-16
SLIDE 16

Qiskit

Framework for Quantum Computing Maintained by IBM

16

github.com/Qiskit/qiskit

slide-17
SLIDE 17

Quantum Peep

JS Tool to create and execute Quantum Circuits

const qp = require('quantum-peep'); const viz= require('quantum-circuit-viz');

17

github.com/mapmeld/quantum-peep

slide-18
SLIDE 18

Hello World Circuit

18

slide-19
SLIDE 19

Quantum Peep

Works with

19

github.com/mapmeld/quantum-peep

slide-20
SLIDE 20

Quantum Peep

20

github.com/mapmeld/quantum-peep

slide-21
SLIDE 21

Q Measurement

21

slide-22
SLIDE 22

Q Superposition Measurement

22

slide-23
SLIDE 23

Q Entanglement

23

slide-24
SLIDE 24

True Random Numbers

How would you do this?

24

slide-25
SLIDE 25

Classical Quantum

25

slide-26
SLIDE 26

Parallelism

26

slide-27
SLIDE 27

Given N Find primes p, q such that: N = p x q

27

slide-28
SLIDE 28

28

slide-29
SLIDE 29

Shor’s Algorithm

29

slide-30
SLIDE 30

15 = 3 x 5

30

slide-31
SLIDE 31

1099551473989 = 1048589 x 1048601

31

slide-32
SLIDE 32

High Level Quantum Computing

32

slide-33
SLIDE 33

Quantum Approximate Optimization Algorithm (QAOA)

Find approximate solutions for constraint satisfaction problems

  • Traveling salesperson
  • Scheduling
  • Graph Max-cut

33

slide-34
SLIDE 34

Quantum Tunnel??

34

slide-35
SLIDE 35

Solve optimization problems

35

slide-36
SLIDE 36

Quantum Supremacy

36

slide-37
SLIDE 37

37

slide-38
SLIDE 38

Quantum Supremacy

A moment in time, when quantum computers can perform more complex computations than classical computers can simulate

38

slide-39
SLIDE 39

Quantum Cloud

39

slide-40
SLIDE 40

Quantum Cloud Services

40

slide-41
SLIDE 41

Rigetti Computing

41

slide-42
SLIDE 42

QC Ware

42

slide-43
SLIDE 43

Qiskit Aqua (Algorithms for QUantum computing Applications)

43

slide-44
SLIDE 44

44

slide-45
SLIDE 45

45

slide-46
SLIDE 46

Takeaways for Quantum Developers

Today, you can

○ use JS to learn (visually and code) ○ invoke real quantum processors for free ○ Use AI and optimization techniques on small problems

46

slide-47
SLIDE 47

Takeaways for Quantum Developers

Tomorrow, you should (might want to)

○ Beware of traditional encryption ○ Understand how to map hard problems into Q-solvable ones

For now, we must wait for Quantum Supremacy

47

slide-48
SLIDE 48

Summary

Physicists Demystified Software Engineers Dirty Hands Developers Benefit Scientists Engineers

48

slide-49
SLIDE 49

Thank you Question Time

bit.ly/qcon-qjs

slide-50
SLIDE 50

Thank you Question Time

by Miguel Ramalho @msramalho bit.ly/qcon-qjs

slide-51
SLIDE 51

Additional Resources

  • Google’s Quantum-Computing-Playground
  • Google’s Cirq
  • Qutech @ TU Delft’s Quantum Inspire
  • QC Ware’s Forge

51