Great Ideas in Theoretical Computer Science. Lecture 28: A Gentle Introduction to Quantum Computation

Similar documents
Quantum Computing. Thorsten Altenkirch

Introduction to Quantum Computing

- Why aren t there more quantum algorithms? - Quantum Programming Languages. By : Amanda Cieslak and Ahmana Tarin

6.896 Quantum Complexity Theory September 9, Lecture 2

Complex numbers: a quick review. Chapter 10. Quantum algorithms. Definition: where i = 1. Polar form of z = a + b i is z = re iθ, where

Compute the Fourier transform on the first register to get x {0,1} n x 0.

Chapter 10. Quantum algorithms

Quantum computing and mathematical research. Chi-Kwong Li The College of William and Mary

Lecture 2: From Classical to Quantum Model of Computation

Quantum Complexity Theory and Adiabatic Computation

Shor s Algorithm. Polynomial-time Prime Factorization with Quantum Computing. Sourabh Kulkarni October 13th, 2017

6.080/6.089 GITCS May 6-8, Lecture 22/23. α 0 + β 1. α 2 + β 2 = 1

Lecture 22: Quantum computational complexity

Lecture 1: Introduction to Quantum Computing

Introduction to Quantum Computing

Lecture 1: Introduction to Quantum Computing

Quantum Computing. Part I. Thorsten Altenkirch

Quantum Computing 101. ( Everything you wanted to know about quantum computers but were afraid to ask. )

Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models. CS448J, Autumn 2015, Stanford University Dominik L.

Introduction to Quantum Information Processing

Quantum Computers. Peter Shor MIT

Universal quantum computers

Errata list, Nielsen & Chuang. rrata/errata.html

Semiconductors: Applications in spintronics and quantum computation. Tatiana G. Rappoport Advanced Summer School Cinvestav 2005

Algorithms, Logic and Complexity. Quantum computation. basic explanations! &! survey of progress

Lecture 1: Introduction to the Quantum Circuit Model

Basics on quantum information

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm

Simon s algorithm (1994)

Quantum theory has opened to us the microscopic world of particles, atoms and photons..and has given us the keys of modern technologies

QUANTUM COMPUTER SIMULATION

Universal quantum computers

Quantum Information & Quantum Computation

CS257 Discrete Quantum Computation

Lecture 3: Constructing a Quantum Model

Basics on quantum information

Chapter 2. Basic Principles of Quantum mechanics

Fourier Sampling & Simon s Algorithm

Lecture 2: Introduction to Quantum Mechanics

Quantum Computing. Quantum Computing. Sushain Cherivirala. Bits and Qubits

Quantum Computing. Vraj Parikh B.E.-G.H.Patel College of Engineering & Technology, Anand (Affiliated with GTU) Abstract HISTORY OF QUANTUM COMPUTING-

Quantum computing! quantum gates! Fisica dell Energia!

An Introduction to Quantum Computation and Quantum Information

Quantum Circuits and Algorithms

CS 126 Lecture T6: NP-Completeness

Quantum Algorithms. Andreas Klappenecker Texas A&M University. Lecture notes of a course given in Spring Preliminary draft.

1 Measurements, Tensor Products, and Entanglement

15 Skepticism of quantum computing

226 My God, He Plays Dice! Entanglement. Chapter This chapter on the web informationphilosopher.com/problems/entanglement

Unitary evolution: this axiom governs how the state of the quantum system evolves in time.

6.080/6.089 GITCS May 13, Lecture 24

Great Theoretical Ideas in Computer Science. Lecture 7: Introduction to Computational Complexity

Building a Computer Adder

Quantum Computation 650 Spring 2009 Lectures The World of Quantum Information. Quantum Information: fundamental principles

DEVELOPING A QUANTUM CIRCUIT SIMULATOR API

Discrete Quantum Theories

Quantum Information & Quantum Computation

228 My God - He Plays Dice! Schrödinger s Cat. Chapter 28. This chapter on the web informationphilosopher.com/problems/scrodingerscat

Chapter 1. Introduction

Quantum Information Processing with Liquid-State NMR

C/CS/Phy191 Problem Set 6 Solutions 3/23/05

CSCI 2570 Introduction to Nanocomputing. Discrete Quantum Computation

Quantum Computing. Separating the 'hope' from the 'hype' Suzanne Gildert (D-Wave Systems, Inc) 4th September :00am PST, Teleplace

The Relativistic Quantum World

Shor s Prime Factorization Algorithm

Nothing Here. Fast Quantum Algorithms

Introduction to Quantum Information Processing QIC 710 / CS 768 / PH 767 / CO 681 / AM 871

NP, polynomial-time mapping reductions, and NP-completeness

CSE 599d - Quantum Computing Fault-Tolerant Quantum Computation and the Threshold Theorem

Logical AND. Logical XOR

Introduction to Quantum Computing

6.896 Quantum Complexity Theory September 18, Lecture 5

Single qubit + CNOT gates

Reversible and Quantum computing. Fisica dell Energia - a.a. 2015/2016

Lecture 4: Elementary Quantum Algorithms

Double slit questions

Quantum Computing. Hans De Raedt Zernike Institute for Advanced Materials University of Groningen, NL

From Niels Bohr to Quantum Computing - from philosophical struggle to technological revolution

b) (5 points) Give a simple quantum circuit that transforms the state

If quantum mechanics hasn t profoundly shocked you, you haven t understood it.

6. Quantum error correcting codes

Quantum Computing: Foundations to Frontier Fall Lecture 3

1 Computational problems

Quantum Programming. Juliana K. Vizzotto 1 and Amr Sabry 2. 8 November Yale CS Colloquium Page 1. 1 Federal University of Rio Grande do Sul

Lecture 7: Quantum Fourier Transform over Z N

CS151 Complexity Theory. Lecture 1 April 3, 2017

Lecture 1: Overview of quantum information

about Quantum Physics Bill Poirier MVJS Mini-Conference Lawrence Hall of Science July 9, 2015

How to use the simulator

Quantum Effects. Juliana K. Vizzotto 1 Thorsten Altenkirch 2. Amr Sabry January Yale CS Colloquium Page 1

COMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE

A High Level Programming Language for Quantum Computing

Cosmology Lecture 2 Mr. Kiledjian

CSC 5170: Theory of Computational Complexity Lecture 5 The Chinese University of Hong Kong 8 February 2010

Tutorial on Quantum Computing. Vwani P. Roychowdhury. Lecture 1: Introduction

Complexity Theory Part I

The Reality of Quantum Computing

AN INTRODUCTION TO QUANTUM COMPUTING

)j > Riley Tipton Perry University of New South Wales, Australia. World Scientific CHENNAI

Basic Quantum Mechanics Prof. Ajoy Ghatak Department of Physics Indian Institute of Technology, Delhi

Transcription:

5-25 Great Ideas in Theoretical Computer Science Lecture 28: A Gentle Introduction to Quantum Computation May st, 208

Announcements Please fill out the Faculty Course Evaluations (FCEs). https://cmu.smartevals.com

Announcements You can vote to eliminte 2 topics from the final exam: Stable Matchings Boolean Circuits NP and Logic (Descriptive Complexity) Transducers Presburger Arithmetic

Announcements The Last Lecture on Thursday Daniel Sleator Mor Harchol-Balter Ariel Procaccia Rashmi Vinayak Anupam Gupta Ryan O Donnell

Announcements The Last Lecture on Thursday

Quantum Computation

The plan Classical computers and classical theory of computation Quantum physics (what the fuss is all about) Quantum computation (practical, scientific, and philosophical perspectives)

The plan Classical computers and classical theory of computation

What is computer/computation? A device that manipulates data (information) Usually Input Device Output

Theory of computation Mathematical model of a computer: Turing Machines ~ Boolean (uniform) Circuits

Theory of computation Turing Machines

Theory of computation Boolean Circuits 0 0 0 AND NOT OR AND OR AND OR AND OR OR 0 gates AND OR NOT

Theory of computation Boolean Circuits INPUT n bits 0 0 0 AND NOT OR AND OR AND OR AND OR OR OUTPUT 0 bit n bits Circuit bit (or m bits)

Physical Realization Circuits implement basic operations / instructions. Everything follows classical laws of physics!

(Physical) Church-Turing Thesis Turing Machines ~ (uniform) Boolean Circuits universally capture all of computation. Python Java, C, TMs All types of computation

(Physical) Church-Turing Thesis Turing Machines ~ (uniform) Boolean Circuits universally capture all of computation. (Physical) Church Turing Thesis Any computational problem that can be solved by a physical device, can be solved by a Turing Machine. Strong version Any computational problem that can be solved efficiently by a physical device, can be solved efficiently by a TM.

The plan Classical computers and classical theory of computation Quantum physics (what the fuss is all about) Quantum computation (practical, scientific, and philosophical perspectives)

The plan Quantum physics (what the fuss is all about)

One slide course on physics Classical Physics General Theory of Relativity Quantum Physics

One slide course on physics Classical Physics General Theory of Relativity String Theory (?) Quantum Physics

Video: Double slit experiment http://www.youtube.com/watch?v=dfpeprq7ogc Nature has no obligation to conform to your intuitions.

Video: Double slit experiment

2 interesting aspects of quantum physics. Having multiple states simultaneously e.g.: electrons can have states spin up or spin down : upi or downi In reality, they can be in a superposition of two states. 2. Measurement Quantum property is very sensitive/fragile! If you measure it (interfere with it), it collapses. So you either see upi or downi.

It must be just our ignorance - There is no such thing as superposition. - We don t know the state, so we say it is in a superposition. - In reality, it is always in one of the two states. - This is why when we measure/observe the state, we find it in one state. God does not play dice with the world. - Albert Einstein Einstein, don t tell God what to do. - Niels Bohr

How should we fix our intuitions to put it in line with experimental results?

Removing physics from quantum physics mathematics underlying quantum physics = generalization/extension of probability theory (allow negative probabilities )

Probabilistic states and evolution vs Quantum states and evolution

Probabilistic states Suppose an object can have n possible states: i, 2i,, ni At each time step, the state can change probabilistically. What happens if we start at state i and evolve? Initial state: i 2i 3i ni 2 3 0 0 6 7 4. 5 0 2 i 2i ni 2 4 3 4 3i

Probabilistic states Suppose an object can have n possible states: i, 2i,, ni At each time step, the state can change probabilistically. What happens if we start at state i and evolve? After one time step: 2 6 4 3 i 2i 3i ni 2 3 0 0 6 7 4. 5 0 Transition 7 Matrix 5 = 2 3 0 /2 0 6 7 4. 5 /2 2 i 2i ni 2 4 3 4 3i

2 6 4 3 Probabilistic states i 2i 3i ni 2 3 0 0 6 7 4. 5 0 Transition 7 Matrix 5 = 2 3 0 /2 0 6 7 4. 5 /2 the new state (probabilistic) A general probabilistic state: 2 3 p p 2 p i = the probability of being in state i 6 7 4. 5 p + p 2 + + p n = p n (` norm is )

Probabilistic states A general probabilistic state: 2 6 6 6 4 p p 2. p n 3 7 7 7 5 p i + p 2 2i + + p n ni = 2 6 6 6 4 0.. 0 3 7 7 7 5 2 6 6 6 4 0.. 0 3 7 7 7 5 2 6 6 6 4 0 0.. 3 7 7 7 5 2 6 6 6 6 6 4 0 0. 0 3 7 7 7 7 7 5 i 2i 3i ni 2 6 6 4 Transition Matrix 3 7 7 5 = 2 6 6 6 6 6 4 0 /2 0. /2 3 7 7 7 7 7 5 the new state (probabilistic)

Probabilistic states 2 Evolution of probabilistic states 3 6Transition 7 4 Matrix 5 Any matrix that maps probabilistic states to probabilistic states. We won t restrict ourselves to just one transition matrix. K 0! K! 2 K 2! 3

Quantum states 2 p 3 p 2 6 7 4. 5 p n p i s can be negative.

Quantum states 2 6 4 2 3 2 6 7 4. 5 n = Unitary Matrix i s can be negative. i + 2 2i + + n ni 2 + 2 2 + + 2 n = 3 7 5 2 6 4 2. n 3 7 5 2 = 6 4. 2 n 3 7 5 ( i s are called amplitudes.) (`2 norm is ) ( i can be a complex number) 2 + 2 2 + + 2 n = any matrix that preserves quantumness

Quantum states 2 Evolution of quantum states 3 6 4 Unitary Matrix 7 5 Any matrix that maps quantum states to quantum states. We won t restrict ourselves to just one unitary matrix. U 0! U! 2 U 2! 3

Quantum states 2 3 2 6 7 4. 5 n Measuring quantum states = i + 2 2i + + n ni 2 + 2 2 + + 2 n = When you measure the state, you see state i with probability i 2.

Probabilistic states vs Quantum states Suppose we have just 2 possible states: apple apple apple /2 /2 /2 = /2 /2 0 /2 apple apple apple /2 /2 0 /2 = /2 /2 /2 0i and i randomize a random state random state 0i! 2 0i + i 2 2 0i + 2 0i + 2 2 i 2 2 i 4 0i + 4 i + 4 0i + 4 i

Probabilistic states vs Quantum states Suppose we have just 2 possible states: apple / p 2 / p 2 apple 0 = 0i and i / p 2 / p 2 apple p p / 2 / 2 / p 2 / p 2 apple 0 = apple / p 2 / p 2 apple p / 2 / p 2 0i! p 0i + p i 2 2 p 2 p2 0i + p i 2 p2 0i + p p i 2 2 + 2 0i + 2 0i + 2 i 2 i = i

Probabilistic states vs Quantum states Classical Probability To find the probability of an event: add the probabilities of every possible way it can happen

Probabilistic states vs Quantum states Quantum To find the probability of an event: add the amplitudes of every possible way it can happen, then square the value to get the probability. one way has positive amplitude the other way has equal negative amplitude event never happens!

Probabilistic states vs Quantum states A final remark Quantum states are an upgrade to: 2-norm (Euclidean norm) and algebraically closed fields. Nature seems to be choosing the mathematically more elegant option.

The plan Classical computers and classical theory of computation Quantum physics (what the fuss is all about) Quantum computation (practical, scientific, and philosophical perspectives)

The plan Quantum computation (practical, scientific, and philosophical perspectives)

Two beautiful theories Theory of computation Quantum physics

Quantum Computation: Information processing using laws of quantum physics.

It would be super nice to be able to simulate quantum systems. With a classical computer this is extremely inefficient. n-state quantum system complexity exponential in n Richard Feynman (98-988) Why not view the quantum particles as a computer simulating themselves? Why not do computation using quantum particles/physics?

Representing data/information An electron can be in spin up or spin down state. upi or downi 0i or i ~ A quantum bit: (qubit) 0 0i + i, 2 0 + 2 = 0i i A superposition of and. When you measure: With probability 0 2 it is 0i. With probability 2 it is i.

upi Representing data/information An electron can be in spin up or spin down state. or downi 0i or i ~ A quantum bit: (qubit) 0 0i + i, 2 0 + 2 = 2 qubits: 00 00i + 0 0i + 0 0i + i 2 00 + 2 0 + 2 0 + 2 =

upi Representing data/information An electron can be in spin up or spin down state. or downi 0i or i ~ A quantum bit: (qubit) 0 0i + i, 2 0 + 2 = 3 qubits: 000 000i + 00 00i + 00 00i + 0 0i+ 00 00i + 0 0i + 0 0i + i 000 2 + 00 2 + 00 2 + 0 2 + 00 2 + 0 2 + 0 2 + 2 =

upi Representing data/information An electron can be in spin up or spin down state. or downi 0i or i ~ A quantum bit: (qubit) 0 0i + i, 2 0 + 2 = For n qubits, how many amplitudes are there?

Processing data What will be our model? In the classical setting, we had: - Turing Machines - Boolean circuits In the quantum setting, more convenient to use the circuit model.

Processing data: quantum gates One non-trivial classical gate for a single classical bit: 0 NOT NOT 0 There are many non-trivial quantum gates for a single qubit. One famous example: Hadamard gate 0i H i H p 0i + p i 2 2 p 2 0i p 2 i transition matrix: apple / p 2 / p 2 / p 2 / p 2

Processing data: quantum gates Examples of classical gates on 2 classical bits: AND OR A famous example of a quantum gate on 2 qubits: For x, y 2 {0, } controlled NOT xi yi xi x yi transition matrix: 2 3 0 0 0 60 0 0 7 40 0 0 5 0 0 0

Processing data: quantum circuits INPUT A classical circuit OUTPUT n bits bit n bits Classical Circuit bit (or m bits)

Processing data: quantum circuits INPUT A quantum circuit OUTPUT n qubits n qubits quantum gates (acts on qubit) (acts on 2 qubits)

Processing data: quantum circuits INPUT A quantum circuit OUTPUT n qubits n qubits n qubits Quantum Circuit n qubits

Processing data: quantum circuits INPUT A quantum circuit OUTPUT n qubits n qubits 000i Quantum Circuit

Processing data: quantum circuits INPUT A quantum circuit OUTPUT n qubits n qubits 000i Quantum Circuit 000000 000000i+ 00000 00000i+ 00000 00000i+ i

Processing data: quantum circuits INPUT A quantum circuit OUTPUT n qubits n qubits n qubits Quantum Circuit superposition of possible states. 2 n ( 2 n amplitudes)

Processing data: quantum circuits INPUT A quantum circuit OUTPUT n qubits n qubits How do we get classical information from the circuit? We measure the output qubit(s). e.g. we measure: 000000 000000i+ 00000 00000i+ + i

Processing data: quantum circuits INPUT A quantum circuit OUTPUT n qubits n qubits Complexity? number of gates ~ computation time

Physical Realization?

Practical, Scientific and Philosophical Perspectives

Practical perspective What useful things can we do with a quantum computer? We can factor large numbers efficiently! 203703597633448608626844568840937860546839366593625063640449354382997633367068339 844568840937860546839366593625063640449354382997633367068339928374928729099834 99283479747982982750348795478978952789024387943278904327367835537895078237858254987 So what? Can break RSA! Can we solve every problem efficiently? No!

Practical perspective What useful things can we do with a quantum computer? Can simulate quantum systems efficiently! Better understand behavior of atoms and moleculues. Applications: - nanotechnology - microbiology - pharmaceuticals - superconductors....

Scientific perspective To know the limits of efficient computation: Incorporate actual facts about physics.

Scientific perspective (Physical) Church Turing Thesis Any computational problem that can be solved by a physical device, can be solved by a Turing Machine. Strong version Any computational problem that can be solved efficiently by a physical device, can be solved efficiently by a TM. Strong version doesn t seem to be true!

Philosophical perspective Is the universe deterministic? How does nature keep track of all the numbers? 000 qubits! 2 000 amplitudes How should we interpret quantum measurement? (the measurement problem) Does quantum physics have anything to say about the human mind? Quantum AI?

Where are we at building quantum computers? When can I expect a quantum computer on my desk? After about 20 years and billion dollars of funding : Can factor 2 into 3 x 7. (with high probability) Challenge: Interference with the outside world. quantum decoherence

A whole new exciting world of computation. Potential to fundamentally change how we view computation.