Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current...

62
Quantum Computing The Why and How Jonathan Baker Argonne National Lab 7-29-2019

Transcript of Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current...

Page 1: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum ComputingThe Why and How

Jonathan BakerArgonne National Lab

7-29-2019

Page 2: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Outline for this Talk (Pt 1.)1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is this paradigm is ideal for?

2. What is different between quantum and classical information? What makes a quantum computer that much different than a classical one?

3. How can we use a quantum computer to solve concrete problems? Can we do better than classical computers at the same tasks?

Page 3: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Why Quantum Computing?● Fundamentally change what is computable (in a reasonable amount of time)

○ The only known means to potentially scale computation exponentially with the number of devices

○ We can do this by taking advantage of quantum mechanical phenomenon

● Solve currently intractable problems in chemistry, simulation, and optimization● Moore’s Law is ending - quantum computing can act as a replacement in

some scientific domains to help continue scaling applications● Insights in classical computing

○ Many classical algorithms are “quantum-inspired”, e.g. in chemistry physics or cryptography○ Challenges classical algorithms to compete with quantum algorithms

3

Page 4: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Current State of Quantum Computing: NISQ● Noisy-Intermediate Scale Quantum

○ 10s to 100s of qubits○ Moderate error rates○ Limited connectivity○ No error correction

IBM 50 Superconducting Qubits

Google72 superconducting qubits

Rigetti20 Superconducting Qubits

Page 5: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Algorithms to Machines Gap

Year

#Qub

its

Grover’s Algorithm (Database search)

Shor’s Algorithm (Integer Factorization)

# Qubits Needed

# Qubits Buildable

Page 6: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Algorithms to Machines Gap

Year

#Qub

its

GAP!

Grover’s Algorithm (Database search)

Shor’s Algorithm (Integer Factorization)

# Qubits Needed

# Qubits Buildable

Page 7: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Algorithms to Machines Gap

Year

#Qub

its

GAP!

Grover’s Algorithm (Database search)

Shor’s Algorithm (Integer Factorization)

# Qubits Needed

# Qubits Buildable

Q. Sim, Q Chem, QAOA

Page 8: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Closing the Gap: Software-Enabled Vertical Integration and Co-Design

Year

#Qub

its

GAP!

Grover’s Algorithm (Database search)

Shor’s Algorithm (Integer Factorization)

# Qubits Needed

# Qubits Buildable

Q. Sim, Q Chem, QAOA

Co-Design

Page 9: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Result: Crossover by 2023!

Year

#Qub

its

GAP!

Grover’s Algorithm (Database search)

Shor’s Algorithm (Integer Factorization)

# Qubits Needed

# Qubits Buildable

Q. Sim, Q Chem, QAOA

Develop co-designed algorithms, SW, and HW to close the gap between algorithms and devices by 100-1000X, accelerating QC by 10-20 years.

Page 10: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Space-Time Product LimitsError rates of quantum operations limit what we can accomplish

Page 11: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Space-Time Product LimitsError rates of quantum operations limit what we can accomplish

Page 12: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

“Good” Quantum Algorithms

● Compact problem representation○ Functions, small molecules, small graphs

● High complexity computation● Compact solution ● Easily-verifiable solution● Co-processing with classical supercomputers● Can exploit a small number of quantum kernels

Page 13: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Introduction to the Basics

Page 14: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

One Qubit

Page 15: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

One Qubit

Page 16: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

One Qubit

when we try to “see” the state, we can onlysee 0 or 1. 50% of the time we see 0.50% of the time we see 1.

Page 17: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

One QubitIdentically prepared qubits can still behave randomly!

This randomness is inherent in nature, and not a limitation of our observation.

Page 18: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Multiple Qubits

Page 19: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

Page 20: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

- The state of n qubits is described by 2n coefficients.

- Adding one qubit doubles the dimension.

- This is known as superposition.

Page 21: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

classical probabilistic

bit

Page 22: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

classical probabilistic

bit

Page 23: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

classical probabilistic

bit

Page 24: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

classical probabilistic

bit

Page 25: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

Quantum bit (qubit)

Page 26: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

Quantum bit (qubit)

Page 27: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

Quantum bit (qubit)

Page 28: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

Quantum bit (qubit)

Page 29: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

The Power of Quantum InformationWhy simulating quantum systems becomes intractable quickly

Quantum bit (qubit)

The state of an n-qubit system cannot (in general) be written as the state of its individual components. This is known as entanglement.

Page 30: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Information ProcessingUsing Vectors Matrices and Projections

Page 31: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Information ProcessingUsing Vectors Matrices and Projections

Page 32: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Information ProcessingUsing Vectors Matrices and Projections

Page 33: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Information ProcessingUsing Vectors Matrices and Projections

Page 34: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Information ProcessingUsing Vectors Matrices and Projections

Quantum Circuit Model

Page 35: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Information ProcessingUsing Vectors Matrices and Projections

Important Result:1-qubit & 2-qubit gates (i.e. local operations) are sufficient for universal computation[Barenco et al. 95].

Page 36: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Hadamard Gate

Page 37: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Hadamard Gate

H Creates Superposition!

Page 38: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Hadamard Gate

H Creates Superposition!

Page 39: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Hadamard Gate

Page 40: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Hadamard Gate

Page 41: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Hadamard Gate

Page 42: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Hadamard Gate

Page 43: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Controlled-NOT GateThe Quantum “If” (CNOT)

Page 44: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Example Quantum Gates: The Controlled-NOT GateThe Quantum “If” (CNOT)

A CNOT flips the target bit if the control bit is 1

Page 45: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-Vazirani

xn-1

… x

1 x

0

Page 46: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-Vazirani

xn-1

… x

1 x

0

THE ORACLE

(sn-1

… s

1 s

0)

Page 47: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-Vazirani

xn-1

… x

1 x

0

THE ORACLE

(sn-1

… s

1 s

0)

Page 48: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniClassically, we need n tries.

Optimal classical strategy:

X = 1 0 … 0 0 (2n-1)X = 0 1 … 0 0 (2n-2)..X = 0 0 … 1 0 (2)X = 0 0 … 0 1 (1)

n tries

Quantumly, we need 1 try.

Page 49: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniClassical Vs. Quantum Oracle

Classical Dot-Product

Oracle

The Oracle

Page 50: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniClassical Vs. Quantum Oracle

Classical Dot-Product

Oracle

The Oracle

QuantumDot-Product Oracle

Difference? Must be reversible!

The Oracle

Page 51: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniImplementing the Oracle

The control pattern for the oracle depends on the hidden bitstring.

Page 52: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniImplementing the Oracle

The control pattern for the oracle depends on the hidden bitstring.

S = 0101

Page 53: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniImplementing the Oracle

The control pattern for the oracle depends on the hidden bitstring.

S = 1111

Page 54: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniThe Key Trick - Phase Kickback

Page 55: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniThe Key Trick - Phase Kickback

Page 56: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniThe Key Trick - Phase Kickback

Phase kickback!

Page 57: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniThe Key Trick - Phase Kickback

Phase kickback!

Page 58: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniPutting it all together

Page 59: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniPutting it all together

Oracle

Page 60: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniPutting it all together

Oracle

1

0

1

1

Page 61: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniPutting it all together

Oracle

1

0

1

1

Wherever there’s CNOT, phase kickback puts that control qubit in state |1>.

Page 62: Quantum Computing · Outline for this Talk (Pt 1.) 1. Why Quantum Computing? What is the current state of quantum computing and what are current challenges? What are algorithms is

Quantum Algorithm: Bernstein-VaziraniWhy did it work?

1. Classical oracles can only be queried with a single number at a time. Quantum oracles can be queried in superposition.

2. We don’t just “try every answer simultaneously”. The problem had a structure that we could exploit using qubits: encode information in phases