Jaygambetta Webinarslides Compressed-1
Jaygambetta Webinarslides Compressed-1
Jay Gambetta
1
Exploring Quantum Possibilities
The image part with relationship ID rId2 was not found in the file.
•
???
Quantum software and architectures
http://vandersypenlab.tudelft
http://topocondmat.org/
w2_majorana/braiding.html
2
http://www.quantumoptics.at © 2017 IBM Corporation
Exploring Quantum Possibilities
The image part with relationship ID rId2 was not found in the file.
http://topocondmat.org/
w2_majorana/braiding.html
3
http://www.quantumoptics.at © 2017 IBM Corporation
The image part with relationship ID rId2 was not found in the file.
QISKit
Overview
• QISKit
Moore’s Law
Performance
Moore’s Law
Exponential scaling
The inventor of chess showed it to the emperor of India, and the emperor was so impressed
he said "Name your reward!"
The man responded. "Oh emperor, my wishes
are simple. I only wish for this. For the next 64
days I will come back and for the first day please
only give me one grain of rice for the first square
of the chessboard, on the second day two grains
for the next square, four for the next, eight for the
next and so on for all 64 squares, with each
square having double the number of grains as
the square before."
Photo: thepowerofimpossibility.com
After one week…127 grains of rice
Photo: wikimedia
After one month… 1,070,000,000 grains of rice
After 64 days … 535 billion metric tons of rice
Limitations of conventional computers
There are many intractable problems where the best known algorithm has
runtime that scales exponentially with input size
Hard Problems
NP(exponential)
“Hard” problems (exponential)
P
“Easy” Problems
(Polynomial) Linear
programming
Linear Programming
19
The image part with relationship ID rId2 was not found in the file.
two systems that are too far apart to influence each other can nevertheless behave in ways
that, though individually random, are somehow strongly correlated.
Runs 1024
Runs 1024
Doing it twice makes it certain again. Can not be a classical random mixture
Entanglement
Entanglement
Runs 4096
Runs 4096
Runs 4096
Linear transformations that conserve 1-norm of probability Linear transformations that conserve 2-norm of amplitude
vectors: Stochastic matrices vectors: Unitary matrices
There exists efficient ways to simulate this exponential There does not exist efficient ways to simulate this
exponential (negative sign)
A Quantum Algorithm
Quantum speedups
…Quantum computers are the only novel hardware which changes the
game
NP
Hard Problems (exponential)
Hard Problems
Problems (polynomial, P)
Quantum Easy P
Easy Problems Factoring
(Polynomial) Linear
programming
Quantum advantage
1 1,000 1,000,000
35
Circuit width (# of qubits) © 2017 IBM Corporation
The image part with relationship ID rId2 was not found in the file.
Qubits:
Single-junction transmon
Frequency ~ 5 GHz
Anharmonicity ~ 0.3 GHz
Resonators:
Co-planar waveguide
Frequency ~ 6 – 7 GHz
Roles:
Individual qubit readout
Qubit coupling (“bus”)
1 mm
0.5 cm
FIXED-FREQUENCY SUPERCONDUCTING
JOSEPSON JUNCTION QUBIT
Anharmonic oscillator (“transmon*” qubit) with ~ 5% anharmonicity
Using two lowest energy eigenstates as a qubit
*Transmon pioneered by Schoelkopf group, from Yale University. Koch et. al. PRA 76, 04319 (2007)
The image part with relationship ID rId2 was not found in the file.
Qubit
g1 g2
Bus
Z
|𝟎⟩
Good news: arbitrary Rz can be done instantaneously and exactly
– Just adjust phase of carrier to change reference frame
|−⟩
Bad news: can’t calibrate Ry(θ) to high fidelity for arbitrary θ |⟩ |⟩
– Solution: re-write arbitrary gates to use N frame changes plus
N - 1 well-calibrated gates with fixed axis and angle (N = 1, 2, or 3)
Y
|+⟩
|𝟏⟩
X
Yπ/2
FC = frame change
GD = Gaussian w/ DRAG
Xπ/2 X−π/2
Different Backends
Over a million
experiments… from all
seven continents!
Explanatory videos
The image part with relationship ID rId2 was not found in the file.
QISKIT API
• Quantum software and architectures
...
QISKit API: making a Bell state
Submit job with QASM for making Bell state
...
Retrieve results
QISKIT SDK
• Quantum software and architectures
SWIFT
JAVASCRIPT
QISKit SDK Quantum Program
Quantum and Classical Registers
Goal: enable research and further
development of applications for near-term
quantum backends
Quantum Circuits
Central components:
– Quantum Program class (see illustration)
– Quantum circuit transcompiler
– Quantum circuit backends
Now add two new circuits to our Quantum Program, each made by
combining the Bell state preparation circuit with one of the
measurement circuits:
Bell state with QISKit: inquiring about backends
ibmqx4
Wrong direction!
Transcompiler goals:
– Map a given circuit into one that can be run on target backend
– Optimize circuit performance by eliminating redundancies in instruction sequences
Nuts and bolts: basic circuit rewriting
The circuit rewriting methods (mapper module) execute a few simple
fixed passes
– 1. “unroll”: expands gate definitions to some level, expands loops
– 2. “swap_mapper”: selects a layout and inserts SWAP gates as needed
– 3. “cx_cancellation”: removes even runs of CNOT gates
– 4. “optimize_1q_gates”: simplifies runs of single qubit gates
Tutorials (github.com/QISKit/qiskit-
tutorial): Jupyter notebooks illustrating
concepts, usage, applications, etc.
– Currently 24 notebooks spanning 5 categories:
1. Introduction to the tools
2. Exploring quantum information concepts
3. Verification tools for quantum information science
4. Applications of short-depth quantum circuits
5. Quantum games
- Interface for experiments or simulations to enable research and applications pre-fault-tolerance
- Growing software stack, including higher-level tutorials and examples
- Interface to quantum devices: IBM QX and local devices
- Open source development
- New releases every few months
- Ongoing projects to improve circuit rewriting architecture, simulators, visualizers, backend interfaces
explore https://www.qiskit.org/
contribute https://github.com/QISKit