2 Hello Quantum Developers World Yet Another Frontier for JavaScript - - PowerPoint PPT Presentation
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
2
Hello Quantum Developers World
Yet Another Frontier for JavaScript
Hello Quantum Developers World
QCon London 2020 Miguel Ramalho
Quantum Spectrum
Physicists Theorise Software Engineers Connect Developers Work Hard... Scientists Empirically test Engineers Implement
5
Goals
Physicists Demystify Software Engineers Hands dirty Developers Benefit Scientists Engineers
6
bit.ly/qcon-qjs
Quantum Computing is...
leveraging natural phenomena happening at the atomic and subatomic scale to produce computations
7
bit.ly/qcon-qjs
2 energy states (simplification) these are quantized: take only discrete (quantified) values.
Bit Quantum Qubit Bit
1 electron orbiting the nucleus Hydrogen atom
8
Any two valid quantum states can be combined (superposed) into another valid state
9
Superposition
Circuit Model
10
Circuit Model (Components)
11
Tools Tools
12
Quantum JavaScript libraries
In this presentation
Quirk Qiskit Quantum Peep
For reference
Jsqubits Qiskit-js JsQuil IBM QX
13
Quirk
Drag and drop web app to test Quantum Circuits
github.com/strilanc/quirk
14
Circuit Model in Quirk
Bloch Sphere
15
Qiskit
Framework for Quantum Computing Maintained by IBM
16
github.com/Qiskit/qiskit
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
Hello World Circuit
18
Quantum Peep
Works with
19
github.com/mapmeld/quantum-peep
Quantum Peep
20
github.com/mapmeld/quantum-peep
Q Measurement
21
Q Superposition Measurement
22
Q Entanglement
23
True Random Numbers
How would you do this?
24
Classical Quantum
25
Parallelism
26
Given N Find primes p, q such that: N = p x q
27
28
Shor’s Algorithm
29
15 = 3 x 5
30
1099551473989 = 1048589 x 1048601
31
High Level Quantum Computing
32
Quantum Approximate Optimization Algorithm (QAOA)
Find approximate solutions for constraint satisfaction problems
- Traveling salesperson
- Scheduling
- Graph Max-cut
33
Quantum Tunnel??
34
Solve optimization problems
35
Quantum Supremacy
36
37
Quantum Supremacy
A moment in time, when quantum computers can perform more complex computations than classical computers can simulate
38
Quantum Cloud
39
Quantum Cloud Services
40
Rigetti Computing
41
QC Ware
42
Qiskit Aqua (Algorithms for QUantum computing Applications)
43
44
45
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
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
Summary
Physicists Demystified Software Engineers Dirty Hands Developers Benefit Scientists Engineers
48
Thank you Question Time
bit.ly/qcon-qjs
Thank you Question Time
by Miguel Ramalho @msramalho bit.ly/qcon-qjs
Additional Resources
- Google’s Quantum-Computing-Playground
- Google’s Cirq
- Qutech @ TU Delft’s Quantum Inspire
- QC Ware’s Forge
51