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.

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,
Solving Hard Problems With Light Scott Aaronson (Assoc. Prof., EECS) Joint work with Alex Arkhipov vs.
University of Queensland
Efficient Discrete-Time Simulations of Continuous- Time Quantum Query Algorithms QIP 2009 January 14, 2009 Santa Fe, NM Rolando D. Somma Joint work with.
Quantum Computing MAS 725 Hartmut Klauck NTU
Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Lecture 11 (2005) Richard Cleve DC 3524
1 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 / RAC 2211 Lecture.
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
Phase in Quantum Computing. Main concepts of computing illustrated with simple examples.
Superdense coding. How much classical information in n qubits? Observe that 2 n  1 complex numbers apparently needed to describe an arbitrary n -qubit.
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
Dirac Notation and Spectral decomposition Michele Mosca.
Anuj Dawar.
Dirac Notation and Spectral decomposition
Introduction to Quantum logic (2) Yong-woo Choi.
Quantum Algorithms Preliminaria Artur Ekert. Computation INPUT OUTPUT Physics Inside (and outside) THIS IS WHAT OUR LECTURES WILL.
ROM-based computations: quantum versus classical B.C. Travaglione, M.A.Nielsen, H.M. Wiseman, and A. Ambainis.
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.
Quantum Computation for Dummies Dan Simon Microsoft Research UW students.
October 1 & 3, Introduction to Quantum Computing Lecture 2 of 2 Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum.
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.
Quantum Factoring Michele Mosca The Fifth Canadian Summer School on Quantum Information August 3, 2005.
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.
Quantum Computing MAS 725 Hartmut Klauck NTU
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 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
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.
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.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
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 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lectures
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.
Quantum Algorithms Oracles
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.
Introduction to Quantum Computing Lecture 1 of 2
For computer scientists
Quantum Computing: What’s It Good For?
A Ridiculously Brief Overview
Introduction to Quantum logic (2)
Quantum Computation and Information Chap 1 Intro and Overview: p 28-58
Richard Cleve DC 2117 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Lecture 18 (2009) Richard.
Quantum Computation – towards quantum circuits and algorithms
Closed Timelike Curves Make Quantum and Classical Computing Equivalent
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
Richard Cleve DC 3524 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Lecture.
Presentation transcript:

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 transpose of U ) U  0000  = the 1 st column of U U  0001  = the 2 nd column of U the columns of U : : : : : : are orthonormal U  1111  = the (2 n ) th column of U

2 Classical (boolean logic) gates NOT gate a  a a  a  a a Λ AND gate b a a Λ b a b “old” notation“new” notation Note: an OR gate can be simulated by one AND gate and three NOT gates (since a V b =  (  a Λ  b ) )

3 Models of computation Classical circuits: 00 11 11 00 11 Quantum circuits: 1 0 Λ Λ Λ    Λ Λ Λ Λ Λ Λ   Λ Λ  Λ 1 Λ data flow

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

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

6 Recap: states, unitary ops, measurements Classical computations as circuits Simulating classical circuits with quantum circuits Simulating quantum circuits with classical circuits Simple quantum algorithms in the query scenario

7 (Sometimes called a “controlled-controlled-NOT” gate)  ( a Λ b )  c  bb aaaa bb cc Toffoli gate Matrix representation: In the computational basis, it negates the third qubit iff the first two qubits are both  0 

8 Quantum simulation of classical Theorem: a classical circuit of size s can be simulated by a quantum circuit of size O( s ) Idea: using Toffoli gates, one can simulate: AND gates  a Λ b  bb aaaa bb 00 NOT gates aa 11 1111 11 aa garbage This garbage will have to be reckoned with later on …

9 Simulating probabilistic algorithms Since quantum gates can simulate AND and NOT, the outstanding issue is how to simulate randomness To simulate “coin flips”, one can use the circuit: It can also be done without intermediate measurements: 00 H random bit 00 00 use in place of coin flip isolate this qubit H Exercise: prove that this works

10 Recap: states, unitary ops, measurements Classical computations as circuits Simulating classical circuits with quantum circuits Simulating quantum circuits with classical circuits Simple quantum algorithms in the query scenario

11 Classical simulation of quantum Theorem: a quantum circuit of size s acting on n qubits can be simulated by a classical circuit of size O (sn 2 2 n ) = O ( 2 cn ) Idea: to simulate an n -qubit state, use an array of size 2 n containing values of all 2 n amplitudes within precision 2 − n  000  001  010  011 :  111 Can adjust this state vector whenever a unitary operation is performed at cost O (n 2 2 n ) From the final amplitudes, can determine how to set each output bit Exercise: show how to do the simulation using only a polynomial amount of space (memory)

12 Some complexity classes P (polynomial time): problems solved by O( n c ) -size classical circuits (decision problems and uniform circuit families) BPP (bounded error probabilistic polynomial time): problems solved by O( n c ) -size probabilistic circuits that err with probability  ¼ BQP (bounded error quantum polynomial time): problems solved by O( n c ) -size quantum circuits that err with probability  ¼ EXP (exponential time): problems solved by O ( 2 n c ) -size circuits.

13 Summary of basic containments P  BPP  BQP  PSPACE  EXP P BPP BQP PSPACE EXP This picture will be fleshed out more later on

14 Recap: states, unitary ops, measurements Classical computations as circuits Simulating classical circuits with quantum circuits Simulating quantum circuits with classical circuits Simple quantum algorithms in the query scenario

15 Query scenario Input: a function f, given as a black box (a.k.a. oracle) f xf (x)f (x) Goal: determine some information about f making as few queries to f (and other operations) as possible Example: polynomial interpolation Let: f (x) = c 0 + c 1 x + c 2 x c d x d Goal: determine c 0, c 1, c 2,..., c d Question: How many f -queries does one require for this? Answer: d + 1

16 Deutsch’s problem Let f : {0,1}  {0,1} f There are four possibilities: xf1(x)f1(x) xf2(x)f2(x) xf3(x)f3(x) xf4(x)f4(x) Goal: determine whether or not f ( 0 ) = f ( 1 ) (i.e. f ( 0 )  f ( 1 ) ) Any classical method requires two queries What about a quantum method?

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

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

19 Quantum algorithm (1) H f H H 11 00 1. Creates the state  0  –  1 , which is an eigenvector of 1 23 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0 – 1 xx (–1) f(x)x(–1) f(x)x 0 – 10 – 1

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

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

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

23 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 653 Lecture 3 (2005) Source of slides

24 Taught in 2007