Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum Computing University of Waterloo

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

Introduction to Quantum Information Processing

Lecture 3: Hilbert spaces, tensor products

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

. Here we are using the standard inner-product over C k to define orthogonality. Recall that the inner-product of two vectors φ = i α i.

Some Introductory Notes on Quantum Computing

Hilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding.

Introduction to Quantum Computing

Short Course in Quantum Information Lecture 2

QLang: Qubit Language

Quantum Information & Quantum Computation

Deutsch s Algorithm. Dimitrios I. Myrisiotis. MPLA CoReLab. April 26, / 70

Factoring on a Quantum Computer

CS257 Discrete Quantum Computation

Introduction to Quantum Information Processing

α x x 0 α x x f(x) α x x α x ( 1) f(x) x f(x) x f(x) α x = α x x 2

Quantum Computing Lecture 2. Review of Linear Algebra

CSCI 2570 Introduction to Nanocomputing. Discrete Quantum Computation

C/CS/Phys 191 Quantum Gates and Universality 9/22/05 Fall 2005 Lecture 8. a b b d. w. Therefore, U preserves norms and angles (up to sign).

Introduction into Quantum Computations Alexei Ashikhmin Bell Labs

Seminar 1. Introduction to Quantum Computing

Chapter 10. Quantum algorithms

1 Readings. 2 Unitary Operators. C/CS/Phys C191 Unitaries and Quantum Gates 9/22/09 Fall 2009 Lecture 8

Lecture 4: Elementary Quantum Algorithms

Quantum computing! quantum gates! Fisica dell Energia!

Quantum decoherence. Éric Oliver Paquette (U. Montréal) -Traces Worshop [Ottawa]- April 29 th, Quantum decoherence p. 1/2

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

QUANTUM COMPUTATION. Exercise sheet 1. Ashley Montanaro, University of Bristol H Z U = 1 2

Lecture 1: Overview of quantum information

Quantum Gates, Circuits & Teleportation

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

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

Chapter 2. Basic Principles of Quantum mechanics

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

C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9

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

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

C/CS/Phys C191 Grover s Quantum Search Algorithm 11/06/07 Fall 2007 Lecture 21

Basics on quantum information

Lecture 2: From Classical to Quantum Model of Computation

Linear Algebra and Dirac Notation, Pt. 1

Basics on quantum information

Principles of Quantum Mechanics Pt. 2

Quantum Circuits and Algorithms

1 Measurements, Tensor Products, and Entanglement

INTRODUCTORY NOTES ON QUANTUM COMPUTATION

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

Lecture 10: Eigenvalue Estimation

Introduction to Quantum Computing

Introduction to Quantum Computation

LECTURE NOTES ON QUANTUM COMPUTATION. Cornell University, Physics , CS 483; Spring, 2005 c 2006, N. David Mermin

Quantum Error Correcting Codes and Quantum Cryptography. Peter Shor M.I.T. Cambridge, MA 02139

The Future. Currently state of the art chips have gates of length 35 nanometers.

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

Quantum Computing. Richard Jozsa Centre for Quantum Information and Foundations DAMTP University of Cambridge

Introduction to Quantum Computing

Lecture 3: Constructing a Quantum Model

Introduction to Quantum Information, Quantum Computation, and Its Application to Cryptography. D. J. Guan

Quantum Information & Quantum Computation

Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681

Lecture 14: Quantum information revisited

1 Quantum Circuits. CS Quantum Complexity theory 1/31/07 Spring 2007 Lecture Class P - Polynomial Time

Quantum Computation. Alessandra Di Pierro Computational models (Circuits, QTM) Algorithms (QFT, Quantum search)

Teleportation of Quantum States (1993; Bennett, Brassard, Crepeau, Jozsa, Peres, Wootters)

A Study of Topological Quantum Error Correcting Codes Part I: From Classical to Quantum ECCs

Quantum Computing Lecture 6. Quantum Search

Quantum Information Processing

Quantum Computation. Michael A. Nielsen. University of Queensland

Ph 219b/CS 219b. Exercises Due: Wednesday 21 November 2018 H = 1 ( ) 1 1. in quantum circuit notation, we denote the Hadamard gate as

Vector spaces and operators

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

Quantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity

Quantum Communication

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

6.896 Quantum Complexity Theory September 9, Lecture 2

SUPERDENSE CODING AND QUANTUM TELEPORTATION

1 Algebra of State Vectors

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT

A Research Tool for the Automated Synthesis of Quantum Algorithms

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

The Weird World of Quantum Mechanics

Quantum Computing: Foundations to Frontier Fall Lecture 3

Lecture: Quantum Information

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

Ph 219b/CS 219b. Exercises Due: Wednesday 20 November 2013

Quantum Information & Quantum Computing

Ph 219b/CS 219b. Exercises Due: Wednesday 22 February 2006

Secrets of Quantum Information Science

Quantum cryptography. Quantum cryptography has a potential to be cryptography of 21 st century. Part XIII

Quantum Information Processing and Diagrams of States

Quantum Computing: Foundations to Frontier

Quantum Entanglement and the Bell Matrix

Implementing Competitive Learning in a Quantum System

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

Lecture 13: Lower Bounds using the Adversary Method. 2 The Super-Basic Adversary Method [Amb02]

Shor s Quantum Factorization Algorithm

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

Introduction to Quantum Computing

Cryptography in the Quantum Era. Tomas Rosa and Jiri Pavlu Cryptology and Biometrics Competence Centre, Raiffeisen BANK International

arxiv: v4 [cs.dm] 19 Nov 2018

Transcription:

CS 497 Frontiers of Computer Science Introduction to Quantum Computing Lecture of http://www.cs.uwaterloo.ca/~cleve/cs497-f7 Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum Computing University of Waterloo October & 3, 7

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm 3

Moore s Law 9 number of transistors 8 7 6 5 4 year 975 98 985 99 995 5 Following trend atomic scale in 5- 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 4

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 eisting public-key cryptosystems, including RSA, and elliptic curve crypto [Bennett, Brassard 84]: provably secure codes with short keys 5

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 Quantum information theory is a generalization of the classical information theory that we all know which is based on probability theory quantum information theory classical information theory 6

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm 7

Classical and quantum systems Probabilistic states:, p p = p p p p p p p p Quantum states:, α α = C α α α α α α α α Dirac notation:,,,, are basis vectors, so ψ = α 8

Dirac bra/ket notation Ket: ψ always denotes a column vector, e.g. Convention: = = α α M α d Bra: ψ always denotes a row vector that is the conjugate transpose of ψ, e.g. [ α * α * α * d ] Bracket: φ ψ denotes φ ψ, the inner product of φ and ψ 9

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm

Basic operations on qubits (I) () Initialize qubit to or to Recall = = () Apply a unitary operation U (formally U U = I ) Eamples: Rotation by θ: NOT (bit flip): σ cos θ sin θ = X = sin θ cos θ conjugate transpose Maps Phase flip: σ = Z = Maps z

Basic operations on qubits (II) More eamples of unitary operations: (unitary rotation) adamard: = Reflection about this line = ( + ) = + + = ( ) = +

Basic operations on qubits (III) ψ (3) Apply a standard measurement: α + β α a with prob with prob β α ψ β and the quantum state collapses to or ( ) There eist other quantum operations, but they can all be simulated by the aforementioned types Eample: measurement with respect to a different orthonormal basis { ψ, ψ } 3

Distinguishing between two states Let be in state + = ( + ) or = ( ) Question : can we distinguish between the two cases? Distinguishing procedure:. apply. measure This works because + = and = Question : can we distinguish between and +? Since they re not orthogonal, they cannot be perfectly distinguished but statistical difference is detectable 4

Operations on n-qubitqubit states Unitary operations: (U U = I ) α a U α Measurements: α α α M α a M with prob with prob M with prob α α M α and the quantum state collapses 5

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm 6

Entanglement 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. +?. +? Answers:. ( )( ) +??.... this is an entangled state 7

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

Quantum circuits Computation is feasible if circuit-size scales polynomially 9

Eample of a one-qubit gate applied to a two-qubit system (do nothing) U Maps basis states as: U U U U U u = u u u The resulting 44 matri is I U = u u u u u u u u Question: what happens if U is applied to the first qubit?

Controlled-U gates U Maps basis states as: U U U u = u u u Resulting 44 matri is controlled-u = u u u u

Controlled-NOT (CNOT) X a b a a b Note: control qubit may change on some input states! +

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm 3

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

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

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

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm 7

Deutsch s problem Let f : {,} {,} f There are four possibilities: f () f () f 3 () f 4 () Goal: determine f() f() Any classical method requires two queries What about a quantum method? 8

Reversible black bo for f a b U f a b f(a) alternate notation: f A classical algorithm: (still requires queries) f f f() f() queries + auiliary operation 9

Quantum algorithm for Deutsch 3 f f() f() query + 4 auiliary operations = ow does this algorithm work? Each of the three operations can be seen as playing a different role... 3

Quantum algorithm ()( 3 f. Creates the state, which is an eigenvector of NOT with eigenvalue I with eigenvalue + This causes f to induce a phase shift of ( ) f() to f ( ) f() 3

Quantum algorithm ()(. Causes f to be queried in superposition (at + ) f ( ) f() + ( ) f() f () f () f 3 () f 4 () ±( + ) ±( ) 3

Quantum algorithm (3)( 3. Distinguishes between ±( + ) and ±( ) ±( + ) ± ±( ) ± 33

Summary of Deutsch s algorithm Makes only one query, whereas two are needed classically produces superpositions of inputs to f : + etracts phase differences from ( ) f() + ( ) f() 3 f f() f() constructs eigenvector so f-queries induce phases: ( ) f() 34

Contents of lecture. Preliminary remarks. Quantum states 3. Unitary operations & measurements 4. Subsystem structure & quantum circuit diagrams 5. Introductory remarks about quantum algorithms 6. Deutsch s parity algorithm 7. One-out-of-four search algorithm 35

One-out out-of-four four search Let f : {,} {,} have the property that there is eactly one {,} for which f () = Four possibilities: f () f () f () f () Goal: find {,} for which f () = What is the minimum number of queries classically? Quantumly? 36

y Quantum algorithm (I) Black bo for -4 search: f y f(, ) Start by creating phases in superposition of all inputs to f: Output state of query? f Input state to query? ( + + + )( ) (( ) f() + ( ) f() + ( ) f() + ( ) f() )( ) 37

Quantum algorithm (II) f Output state of the first two qubits in the four cases: Case of f? ψ = + + + ψ =+ + + Case of f? Case of f? Case of f? U ψ =+ + + ψ =+ + + Apply the U that maps ψ, ψ, ψ, ψ to,,, (resp.) What noteworthy property do these states have? Orthogonal! 38

39