Introduction to Quantum Computing Lecture 1 of 2

Slides:



Advertisements
Similar presentations
Department of Computer Science & Engineering University of Washington
Advertisements

Quantum Computing: Whats It Good For? Scott Aaronson Computer Science Department, UC Berkeley January 10,
Quantum Computation and Quantum Information – Lecture 2
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum computing COMP308 Lecture notes based on:
Quantum Speedups DoRon Motter August 14, Introduction Two main approaches are known which produce fast Quantum Algorithms The first, and main approach.
Department of Computer Science & Engineering University of Washington
A Brief Introduction to Quantum Computation 1 Melanie Mitchell Portland State University 1 This talk is based on the following paper: E. Rieffel & W. Polak,
1 Quantum Computing: What’s It Good For? Scott Aaronson Computer Science Department, UC Berkeley January 10,  John.
Grover. Part 2. Components of Grover Loop The Oracle -- O The Hadamard Transforms -- H The Zero State Phase Shift -- Z O is an Oracle H is Hadamards H.
University of Queensland
Quantum Algorithms I Andrew Chi-Chih Yao Tsinghua University & Chinese U. of Hong Kong.
Dirac Notation and Spectral decomposition Michele Mosca.
CSEP 590tv: Quantum Computing
Quantum Computing Joseph Stelmach.
Anuj Dawar.
1 Recap (I) n -qubit quantum state: 2 n -dimensional unit vector Unitary op: 2 n  2 n linear operation U such that U † U = I (where U † denotes the conjugate.
Dirac Notation and Spectral decomposition
Quantum Computation and Quantum Information – Lecture 2 Part 1 of CS406 – Research Directions in Computing Dr. Rajagopal Nagarajan Assistant: Nick Papanikolaou.
Quantum Information Processing
Presented by: Erik Cox, Shannon Hintzman, Mike Miller, Jacquie Otto, Adam Serdar, Lacie Zimmerman.
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum Algorithms for Neural Networks Daniel Shumow.
Alice and Bob’s Excellent Adventure
1 Introduction to Quantum Information Processing QIC 710 / CS 678 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 / QNC 3129 Lectures.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 2117 Lecture.
October 1 & 3, Introduction to Quantum Computing Lecture 2 of 2 Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum.
Small-Depth Quantum Circuits Frederic Green Department of Math/CS Clark University Worcester, MA.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 653 Course.
Algorithms Artur Ekert. Our golden sequence H H Circuit complexity n QUBITS B A A B B B B A # of gates (n) = size of the circuit (n) # of parallel units.
October 1 & 3, Introduction to Quantum Computing Lecture 1 of 2 Introduction to Quantum Computing Lecture 1 of 2
Short course on quantum computing Andris Ambainis University of Latvia.
1 hardware of quantum computer 1. quantum registers 2. quantum gates.
You Did Not Just Read This or did you?. Quantum Computing Dave Bacon Department of Computer Science & Engineering University of Washington Lecture 3:
1 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lecture 20 (2009)
Nawaf M Albadia
CSEP 590tv: Quantum Computing Dave Bacon July 20, 2005 Today’s Menu n Qubit registers Begin Quantum Algorithms Administrivia Superdense Coding Finish Teleportation.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 653 Lecture.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
An Introduction to Quantum Computation Sandy Irani Department of Computer Science University of California, Irvine.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
Richard Cleve DC 2117 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Lecture (2011)
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 2117 Lecture.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
1 An Introduction to Quantum Computing Sabeen Faridi Ph 70 October 23, 2007.
Beginner’s Guide to Quantum Computing Graduate Seminar Presentation Oct. 5, 2007.
Intro to Quantum Algorithms SUNY Polytechnic Institute Chen-Fu Chiang Fall 2015.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
Attendance Syllabus Textbook (hardcopy or electronics) Groups s First-time meeting.
Richard Cleve DC 3524 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Lecture.
Richard Cleve DC 2117 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Lecture.
For computer scientists
Quantum Computing: What’s It Good For?
Lecture on Linear Algebra
Quantum Computing Dorca Lee.
A Ridiculously Brief Overview
OSU Quantum Information Seminar
Richard Cleve DC 2117 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Lecture 24 (2009) Richard.
Richard Cleve DC 2117 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Lecture 18 (2009) Richard.
Quantum Computing Joseph Stelmach.
Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Lecture 17 (2005) Richard Cleve DC 3524
Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Lecture 4 (2005) Richard Cleve DC 653
Presentation transcript:

Introduction to Quantum Computing Lecture 1 of 2 CS 497 Frontiers of Computer Science Introduction to Quantum Computing Lecture 1 of 2 Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum Computing University of Waterloo January 16 & 18, 2007

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

Moore’s Law Following trend … atomic scale in 15-20 years 1975 1980 1985 1990 1995 2000 2005 104 105 106 107 108 109 number of transistors year Following trend … atomic scale in 15-20 years Quantum mechanical effects occur at this scale: Measuring a state (e.g. position) disturbs it Quantum systems sometimes seem to behave as if they are in several states at once Different evolutions can interfere with each other

Quantum mechanical effects Additional nuisances to overcome? or New types of behavior to make use of? [Shor ’94]: polynomial-time algorithm for factoring integers on a quantum computer This could be used to break most of the existing public-key cryptosystems, including RSA, and elliptic curve crypto [Bennett, Brassard ’84]: provably secure codes with short keys

Also with quantum information: Faster algorithms for combinatorial search problems Fast algorithms for simulating quantum mechanics Communication savings in distributed systems More efficient notions of “proof systems” classical information theory quantum information Quantum information theory is a generalization of the classical information theory that we all know—which is based on probability theory

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

Classical and quantum systems Probabilistic states: Quantum states: Dirac notation: |000, |001, |010, …, |111 are basis vectors, so

Dirac bra/ket notation Ket: ψ always denotes a column vector, e.g. Convention: Bra: ψ always denotes a row vector that is the conjugate transpose of ψ, e.g. [ *1 *2  *d ] Bracket: φψ denotes φψ, the inner product of φ and ψ

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

Basic operations on qubits (I) Recall (0) Initialize qubit to |0 or to |1 (1) Apply a unitary operation U (formally U†U = I ) conjugate transpose Examples: Rotation by : NOT (bit flip): Maps |0  |1 |1  |0 Phase flip: Maps |0  |0 |1  |1

Basic operations on qubits (II) 1 More examples of unitary operations: (unitary  rotation) H0 H1 Reflection about this line Hadamard: 0

Basic operations on qubits (III) 1 ψ1 (3) Apply a “standard” measurement: 0 + 1 ψ0 ||2 0 ||2 … and the quantum state collapses to 0 or 1 () There exist other quantum operations, but they can all be “simulated” by the aforementioned types Example: measurement with respect to a different orthonormal basis {ψ0, ψ1}

Distinguishing between two states Let be in state or Question 1: can we distinguish between the two cases? Distinguishing procedure: apply H measure This works because H + = 0 and H − = 1 Question 2: can we distinguish between 0 and +? Since they’re not orthogonal, they cannot be perfectly distinguished … but statistical difference is detectable

Operations on n-qubit states Unitary operations: (U†U = I ) Measurements:    … and the quantum state collapses

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

Entanglement 2. ? ?? Suppose that two qubits are in states: The state of the combined system their tensor product: Question: what are the states of the individual qubits for 1. ? 2. ? Answers: 1. 2. ?? ... this is an entangled state

Structure among subsystems qubits: #2 #1 #4 #3 time V U W unitary operations measurements

Quantum circuits 0 1 1 Computation is “feasible” if circuit-size scales polynomially

Example of a one-qubit gate applied to a two-qubit system (do nothing) The resulting 4x4 matrix is 00  0U0 01  0U1 10  1U0 11  1U1 Maps basis states as: Question: what happens if U is applied to the first qubit?

Controlled-U gates U Resulting 4x4 matrix is controlled-U = Maps basis states as: 00  00 01  01 10  1U0 11  1U1

Controlled-NOT (CNOT) X a b ab ≡ Note: “control” qubit may change on some input states! 0 + 1 0 − 1 H 

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

Multiplication problem Input: two n-bit numbers (e.g. 101 and 111) Output: their product (e.g. 100011) “Grade school” algorithm takes O(n2) steps Best currently-known classical algorithm costs O(n log n loglog n) Best currently-known quantum method: same

Factoring problem Input: an n-bit number (e.g. 100011) Output: their product (e.g. 101, 111) Trial division costs  2n/2 Best currently-known classical algorithm costs O(2n⅓ log⅔ n ) Hardness of factoring is the basis of the security of many cryptosystems (e.g. RSA) Shor’s quantum algorithm costs  n2 [ O(n2 log n loglog n) ] Implementation would break RSA and other cryptosystems

How do quantum algorithms work? Given a polynomial-time classical algorithm for f :{0,1}n → T, it is straightforward to construct a quantum algorithm that creates the state: This is not performing “exponentially many computations at polynomial cost” The most straightforward way of extracting information from the state yields just (x, f (x)) for a random x{0,1}n But we can make some interesting tradeoffs: instead of learning about any (x, f (x)) point, one can learn something about a global property of f

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

Deutsch’s problem f f1(x) f2(x) f3(x) f4(x) Let f : {0,1} → {0,1} There are four possibilities: x f1(x) 1 x f2(x) 1 x f3(x) 1 x f4(x) 1 Goal: determine f(0)  f(1) Any classical method requires two queries What about a quantum method?

Reversible black box for f Uf f alternate notation: b b  f(a) A classical algorithm: (still requires 2 queries) f 1 f(0)  f(1) 2 queries + 1 auxiliary operation

Quantum algorithm for Deutsch 1 2 3 0 H f H f(0)  f(1) 1 H 1 query + 4 auxiliary operations How does this algorithm work? Each of the three H operations can be seen as playing a different role ...

Quantum algorithm (1) H f f 1 0 2 3 H f 1 0 1 1. Creates the state 0 – 1, which is an eigenvector of NOT with eigenvalue –1 I with eigenvalue +1 This causes f to induce a phase shift of (–1) f(x) to x f 0 – 1 x (–1) f(x)x

Quantum algorithm (2) H f f1(x) f2(x) f3(x) f4(x) 2. Causes f to be queried in superposition (at 0 + 1) f 0 – 1 0 (–1) f(0)0 + (–1) f(1)1 H x f1(x) 1 x f2(x) 1 x f3(x) 1 x f4(x) 1 (0 + 1) (0 – 1)

Quantum algorithm (3) 3. Distinguishes between (0 + 1) and (0 – 1) H (0 + 1) 0 (0 – 1) 1

Summary of Deutsch’s algorithm Makes only one query, whereas two are needed classically produces superpositions of inputs to f : 0 + 1 extracts phase differences from (–1) f(0)0 + (–1) f(1)1 H f 1 0 f(0)  f(1) 1 2 3 constructs eigenvector so f-queries induce phases: x  (–1) f(x)x

Contents of lecture 1 Preliminary remarks Quantum states Unitary operations & measurements Subsystem structure & quantum circuit diagrams Introductory remarks about quantum algorithms Deutsch’s parity algorithm One-out-of-four search algorithm

One-out-of-four search Let f : {0,1}2 → {0,1} have the property that there is exactly one x  {0,1}2 for which f (x) = 1 Four possibilities: x f00(x) 00 01 10 11 1 x f01(x) 00 01 10 11 1 x f10(x) 00 01 10 11 1 x f11(x) 00 01 10 11 1 Goal: find x  {0,1}2 for which f (x) = 1 What is the minimum number of queries classically? ____ Quantumly? ____

Quantum algorithm (I) f f Black box for 1-4 search: x1 x2 y y  f(x1,x2) Start by creating phases in superposition of all inputs to f: f H 1 0 Input state to query? (00 + 01 + 10 + 11)(0 – 1) Output state of query? ((–1) f(00)00 + (–1) f(01)01 + (–1) f(10)10 + (–1) f(11)11)(0 – 1)

Quantum algorithm (II)  Apply the U that maps  ψ00, ψ01, ψ10, ψ11 to  00, 01, 10, 11 (resp.) f H 1 0 U Output state of the first two qubits in the four cases: Case of f00? ψ00 = – 00 + 01 + 10 + 11 Case of f01? ψ01 = + 00 – 01 + 10 + 11 Case of f10? ψ10 = + 00 + 01 – 10 + 11 Case of f11? ψ11 = + 00 + 01 + 10 – 11 What noteworthy property do these states have? Orthogonal!

THE END