QSYS2022-09-EarlyQC-Slides
QSYS2022-09-EarlyQC-Slides
QUANTUM
COMPUTING
SARAH LI
What’s a Computer?
A computer is an
11011110 information processor
00110001
01101010
Input
Output
Black box 10000111
Obeys certain logical rules 00001010
00110101
What’s a Computer?
Output
Black box obeys different rules, 10000111
such as unitary evolution, 00001010
but can take advantage of 00110101
superposition and entanglement
Classical vs. Quantum Computing
• Uses bits as input and output • Uses bits as input and output
• Gives one answer per run • Gives one answer per run
• Can fake randomness • Is fundamentally uncertain
• Can observe the computation • Observing the computation partway disturbs
partway through ruins the process
• Can only measure the bits in one way • Can measure qubits in infinite ways
A Timeline of Quantum Computing
1996
DiVincenzo
1992 criteria
Deutsch-Josza
algorithm 1994
1981
Q. Computing Shor’s
enters the lexicon factoring
algorithm
1995 2001
Trapped-ion Linear optics
1984 CNOT for QC outlined
2007
Q. Key Distribution
1981 2001 Superconducting
is proposed 1997
Nonlocality of Cluster-state circuit CNOT
NMR-based
entanglement QC outlined QC proposed 2015
verified 2007 Loophole-free
1997 Q-secure entanglement
Topological QC elections verification
proposed in Geneva
Early Quantum Computing
• Oracle problems
• The Deutsch-Josza Problem
• The DiVincenzo Criteria
• Overview of Quantum Computing Implementations
𝑥𝑥?
𝒇𝒇(𝒙𝒙)
The Deutsch-Josza Problem
What is the minimum number of queries you’d need to ask the
oracle to learn if the function is constant or balanced?
Target Qubit
x f2(x)
0 1
1 0
Does nothing if 𝑓𝑓 𝑥𝑥 = 0
Flips |−⟩ to −|−⟩ if 𝑓𝑓 𝑥𝑥 = 1
The Deutsch-Josza Solution
What if both the control and target are in superposition?
Global Phase
Relative Phase
Measure the
Initialize Prepare the Implement
control in
both states “+” and “-” the DJ
the +/- basis
to “0” superpositions unitary
Deutsch-Josza with IBM Q
quantum-computing.ibm.com/ DJ Oracle for 𝑓𝑓(𝑥𝑥) = 1
Question Break
Lessons from Deutsch-Josza
• Preparing the target in superposition wasn’t enough!
• We needed to also measure in a superposition basis
Key to many
quantum algorithms
Lessons from Deutsch-Josza
We still don’t know what 𝑓𝑓(𝑥𝑥) is exactly
x f1(x) x f2(x) x f3(x) x f4(x)
0 0 0 1 0 0 0 1
1 0 1 0 1 1 1 1
Constant Balanced Balanced Constant
2 constant functions
2𝑛𝑛 2𝑛𝑛 ! We can design a quantum circuit
= 2𝑛𝑛−1 ! 2 balanced functions
2𝑛𝑛−1 which tells us in one query
Promise: It’s either constant or balanced if it’s constant or balanced
Need one measurement to know the “state” Need three measurements to know the “state”
Classical vs. Quantum
…
2𝑛𝑛 × 2𝑛𝑛 numbers to describe
But remember…
Search → Quadratic
Quantum computers
Many others → Nothing
don’t speed up everything
Many many others → Unknown
What’s it useful for?
Question Break
D.P. DiVincenzo,
Fortschritte der Physik 48, 771 (2000).
The DiVincenzo Criteria
1. A scalable system with well-characterized qubits
…
The DiVincenzo Criteria
1. A scalable system with well-characterized qubits
…
The DiVincenzo Criteria
1. A scalable system with well-characterized qubits
Controlled-Controlled-NOT
…
The DiVincenzo Criteria
1. A scalable system with well-characterized qubits
3μm
φ0
φ1
Pick Your Qubit