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

Size: px
Start display at page:

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

Transcription

1 C/CS/Phys C191 Grover s Quantum Search Algorithm 11/06/07 Fall 2007 Lecture 21 1 Readings Benenti et al, Ch 310 Stolze and Suter, Quantum Computing, Ch 84 ielsen and Chuang, Quantum Computation and Quantum Information, Ch 6 Literature: Grover, quant-ph/ , quant-ph/ ; diffusion transform and other motivations from physics, quant-ph/ Introduction The problem is to search for an item in an unstructured database For eample, suppose you are given a telephone number in LA and need to find out who it belongs to You will have to go through all the phone numbers and check the names of the registered owners in each case Searching an item in an unsorted database with size costs a classical computer O() running time, since on average /2 entries need to be checked Can a quantum computer search for a needle in a haystack much more efficiently than its classical counterpart? Grover, in 1996, affirmatively answered this question by proposing a search algorithm that consults the database only O( ) times In contrast to algorithms based on the quantum Fourier transform, with eponential speedups, the search algorithm only provides a quadratic improvement However, the algorithm is quite important because it has broad applications, and because the same technique can in principle be used to improve solutions of P-complete problems One might think of having better improvements over the search algorithm However, it turns out that Grover s search algorithm is optimal At least Ω( ) queries are needed to solve the problem Grover s algorithm uses parallelism and amplitude amplification We will discuss the amplitude amplification aspect in detail in the net lecture In the current lecture we will present a geometrical analysis of the quantum search algorithm 21 The quantum oracle Here s the search problem: You are given a boolean function f : {1,, } {0, 1}, and are promised that for eactly one a {1,,}, f(a) = 1 Think of this as a table of size, where eactly one element has value 1, and all the others are 0 f is effectively an oracle that can check/recognize the solution when this is given it as input So f acts like a detector of the target solution In the current analysis we shall assume that there is only 1 solution, but the arguments can be generalized to a finite number of solutions We construct a two register state, with the database register first and the oracle register second Then our oracle acts as follows (cf the Deutsch-Jozsa algorithm) O q = q f(), where we assume f can be computed classically in polynomial time Then we can also apply the oracle with C/CS/Phys C191, Fall 2007, Lecture 21 1

2 1 the database register in superposition: and α 0 α f() 2 with the oracle register in superposition: ( ) 0 α 1 2 ( ) f() f() α 2 ( ) = α f() f() 2 = α ( 1) f() ( ) Here f() means the binary complement of f(), ie, if f() = 1, then f() = 0 ote that we have used the same phase kick-back as in Deutsch-Jozsa to go from lines 2 to 3 (Check: if f() = 0 the oracle qubit is 0 1 = ( 1) f(0) ( ) 0 1, while if f() = 1 the oracle qubit is 1 0 = ( 1) f(1) ( ) 0 1 ) So the oracle marks the solutions to the search problem by a minus sign, ie, by a phase (note, no measurement) While it is quite sloppy, we will follow many authors and summarize the action of the oracle on an arbitrary state ν = α as O ν ( 1) f() α, where we have omitted the oracle register on both sides of the equation because it is in the same state But don t forget that the oracle register is essential for this action of O on the database register to be realized! 22 Geometric analysis of search Grover s algorithm finds a in O( ) steps Consider the two dimensional subspace that consists of two states: a and the uniform superposition ψ 0 = 1 Let θ be the angle between ψ 0 and e, where e is the vector that is orthogonal to a (in the direction of ψ 0 ) in this subspace See Figure 1 a is the target and we can regard ψ 0 as the least biased initial state So we want to increase θ to go from ψ 0 to a How do we accomplish this? One way to rotate a vector is to make two reflections In particular, we can rotate a vector v by 2θ to the new vector v1 by first reflecting about e and then reflecting about ψ 0 This transformation is also illustrated in Figure 1 The first reflection transforms an arbitrary vector v to v2 and the second reflection transforms v2 to v1 C/CS/Phys C191, Fall 2007, Lecture 21 2

3 Figure 1: To rotate v by 2θ to v1, we reflect around e, reaching v2, and then reflect around ψ 0 Each step of our algorithm is thus a rotation by 2θ (we discuss the implementation of the two rotations involved in a step below) This means that we need at most π/2 2θ iterations for the algorithm to complete ow, what is θ? ψ 0 a = cos(π/2 θ) = sin(θ) but ψ 0 a = 1 a 1 = δ a = 1 Then since sin θ θ, we know that θ 1 Thus, we need O( )=O( ) iterations for the algorithm 2/ () to complete In the end, we get very close to a, and then with high probability, a measurement of the state in the computational basis (all qubits) yields a ote that one must not iterate beyond this point Subsequent iterations will rotate the vector v away from a again For large, we need to iterate r = π /4 times and the corresponding probability of error is O(1 cos 2 θ) = O(sin 2 θ) = O( 1 ) How do we implement the two reflections? 1 Reflection about e is easy e is the vector orthogonal to a so all we need to do is flip the phase of the component of the database wavefunction in the direction of a, ie, we send any component π/2 C/CS/Phys C191, Fall 2007, Lecture 21 3

4 a to a and leave all other components as is To accomplish this, we just act with the oracle: O v = ( 1) f() α α αa a = a = α 2αa a Ô a = Î 2 a a = R e The notation R e means a reflection about the vector e 2 What about the reflection about ψ 0? This uniform superposition state is just the zero vector from the computational basis transformed to the Hadamard basisso we first apply H 2 n, which maps ψ 0 000, then reflect around 00 0, and finally, apply H2 n to return to the original basis The reflection about the zero vector in the computation basis can easily be seen to be given by O 0 = I using similar analysis to that above for reflection about e The overall reflection about ψ 0 is then given by the product of the three transformations: D = (H n ) [ I ]H n = I + 2 ψ 0 ψ0 = R ψ0 where we have used the fact that H is self-adjoint (H = H ) and that ψ 0 = H n 0 This operator is referred to as the diffusion operator for reasons that will be eplained below To make one iteration step we combine the two reflections, yielding the Grover operator G = DO a = R ψ0 R a We apply this Grover operator O( ) times to rotate from ψ 0 to a otice the difference between the two reflections which arises from the fact that we have written one in terms of the vector about which we reflect (R ψ0 ) and the other in terms of the vector perpendicular to the vector about which we reflect (R a ) What about efficiency of implementation? Observe that D is epressed as the product of three unitary matrices: two Hadamard matrices separated by a conditional phase shift matri (minus one times a diagonal matri with values everywhere one ecept for the uniform superposition state when the value gains a relative phase shift e iπ ) Therefore, D is also unitary Regarding the implementation, both the Hadamard and the conditional phase shift transforms can be efficiently realized within O(n) gates 3 Amplitude amplification in Grover search The Diffusion operator D has two properties: C/CS/Phys C191, Fall 2007, Lecture 21 4

5 1 It is unitary and can be efficiently realized 2 It can be seen as an inversion about the mean We discussed the first property above We now analyze the second property For = 2 n, we can eplicitly evaluate D = I + 2 ψ 0 ψ0 = (H n ) [ I ]H n as: D = H H = H + I H = H H I / 2/ 2/ 2/ 2/ 2/ = I 2/ 2/ 2/ +2/ 1 +2/ +2/ +2/ +2/ 1 +2/ = +2/ +2/ +2/ 1 The indeing here is such that the first state (top left hand corner of the matrices) is the uniform superposition state ψ 0 Recall that the central matri in D is a conditional phase shift matri, ie, it puts a phase shift in front of all states ecept the target ow for large, the matri D has diagonal elements appro equal to (1 2/) and very small, positive and constant off-diagonal elements (2/) So in each step the amplitude of every basis state contributes by a small amount to all other basis states This is a generalization of the phenomenon of diffusion on a lattice Consider the action of D on a vector α to generate another vector β : C/CS/Phys C191, Fall 2007, Lecture 21 5

6 Figure 2: Inversion of amplitudes α i about their mean value µ D α 1 α i α = β 1 β i β Define µ = i α i / as the mean amplitude Then β i = 2 j α j α i = 2(µ α i ) = µ +(µ α i ) which corresponds to a reflection of α i about the mean value µ This is illustrated in Figure 1 below (note that if we start from the uniform superposition, the non-target states will have equal amplitude, we have just illustrated the principle for a general state here) Thus, the amplitude of β i = 2 j α j α i = 2µ α i can be considered an inversion about the mean with respect to α i ow if we first change the sign of the amplitude of the target state, by applying the oracle as in the previous lecture, the target state is now significantly further away from the mean The inversion about the mean further amplifies this, as shown in Figure 2 below This shows how quantum search algorithm iteratively improves the probability of measuring a solution by increasing the component of the target state at each iteration The overall procedure is summarized as follows 1 Start state is ψ 0 = 1 2 Invert the phase of a using f 3 Then invert about the mean using D C/CS/Phys C191, Fall 2007, Lecture 21 6

7 Figure 3: Application of oracle to invert sign of target state followed by Inversion of amplitudes α i about their mean value µ gives rise to amplification of the target component C/CS/Phys C191, Fall 2007, Lecture 21 7

8 Figure 4: The first three steps of Grover s algorithm We start with a uniform superposition of all basis vectors in the top panel In the middle panel we have used the function f to invert the phase of α k After running the diffusion operator D in the bottom panel, we have amplified α k while decreasing all other amplitudes C/CS/Phys C191, Fall 2007, Lecture 21 8

9 4 Repeat steps 2 and 3 O( ) times, so in each iteration α a increases by 2 Suppose we just want to find a with probability 1 2 Until this point, the rest of the basis vectors will have 1 amplitude at least 2 2 In each iteration of the algorithm, α a increases by at least 2 2 = Eventually, α a = 1 2 The number of iterations to get to this α a is C/CS/Phys C191, Fall 2007, Lecture 21 9

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

α x x 0 α x x f(x) α x x α x ( 1) f(x) x f(x) x f(x) α x = α x x 2 Quadratic speedup for unstructured search - Grover s Al- CS 94- gorithm /8/07 Spring 007 Lecture 11 01 Unstructured Search Here s the problem: You are given an efficient boolean function f : {1,,} {0,1},

More information

Quantum Computing Lecture 6. Quantum Search

Quantum Computing Lecture 6. Quantum Search Quantum Computing Lecture 6 Quantum Search Maris Ozols Grover s search problem One of the two most important algorithms in quantum computing is Grover s search algorithm (invented by Lov Grover in 1996)

More information

C/CS/Phys C191 Amplitude Amplification, Quantum Zeno, Vaidman s bomb 11/10/09 Fall 2009 Lecture 22

C/CS/Phys C191 Amplitude Amplification, Quantum Zeno, Vaidman s bomb 11/10/09 Fall 2009 Lecture 22 C/CS/Phys C191 Amplitude Amplification, Quantum Zeno, Vaidman s bomb 11/10/09 Fall 2009 Lecture 22 1 Readings Kaye et al, Ch 83 Nielsen and Chuang: Ch 63-65 Grover s algorithm and amplitude amplification:

More information

6.896 Quantum Complexity Theory October 2, Lecture 9

6.896 Quantum Complexity Theory October 2, Lecture 9 6896 Quantum Complexity heory October, 008 Lecturer: Scott Aaronson Lecture 9 In this class we discuss Grover s search algorithm as well as the BBBV proof that it is optimal 1 Grover s Algorithm 11 Setup

More information

Quantum Searching. Robert-Jan Slager and Thomas Beuman. 24 november 2009

Quantum Searching. Robert-Jan Slager and Thomas Beuman. 24 november 2009 Quantum Searching Robert-Jan Slager and Thomas Beuman 24 november 2009 1 Introduction Quantum computers promise a significant speed-up over classical computers, since calculations can be done simultaneously.

More information

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

LECTURE NOTES ON QUANTUM COMPUTATION. Cornell University, Physics , CS 483; Spring, 2005 c 2006, N. David Mermin LECTURE NOTES ON QUANTUM COMPUTATION Cornell University, Physics 481-681, CS 483; Spring, 2005 c 2006, N. David Mermin IV. Searching with a Quantum Computer Last revised 3/30/06 Suppose you know that eactly

More information

Ph 219b/CS 219b. Exercises Due: Wednesday 4 December 2013

Ph 219b/CS 219b. Exercises Due: Wednesday 4 December 2013 1 Ph 219b/CS 219b Exercises Due: Wednesday 4 December 2013 4.1 The peak in the Fourier transform In the period finding algorithm we prepared the periodic state A 1 1 x 0 + jr, (1) A j=0 where A is the

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part II Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 13, 2011 Overview Outline Grover s Algorithm Quantum search A worked example Simon s algorithm

More information

Introduction The Search Algorithm Grovers Algorithm References. Grovers Algorithm. Quantum Parallelism. Joseph Spring.

Introduction The Search Algorithm Grovers Algorithm References. Grovers Algorithm. Quantum Parallelism. Joseph Spring. Quantum Parallelism Applications Outline 1 2 One or Two Points 3 4 Quantum Parallelism We have discussed the concept of quantum parallelism and now consider a range of applications. These will include:

More information

Quantum Information Processing and Diagrams of States

Quantum Information Processing and Diagrams of States Quantum Information and Diagrams of States September 17th 2009, AFSecurity Sara Felloni sara@unik.no / sara.felloni@iet.ntnu.no Quantum Hacking Group: http://www.iet.ntnu.no/groups/optics/qcr/ UNIK University

More information

Quantum Circuits and Algorithms

Quantum Circuits and Algorithms Quantum Circuits and Algorithms Modular Arithmetic, XOR Reversible Computation revisited Quantum Gates revisited A taste of quantum algorithms: Deutsch algorithm Other algorithms, general overviews Measurements

More information

Chapter 10. Quantum algorithms

Chapter 10. Quantum algorithms Chapter 10. Quantum algorithms Complex numbers: a quick review Definition: C = { a + b i : a, b R } where i = 1. Polar form of z = a + b i is z = re iθ, where r = z = a 2 + b 2 and θ = tan 1 y x Alternatively,

More information

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

Compute the Fourier transform on the first register to get x {0,1} n x 0. CS 94 Recursive Fourier Sampling, Simon s Algorithm /5/009 Spring 009 Lecture 3 1 Review Recall that we can write any classical circuit x f(x) as a reversible circuit R f. We can view R f as a unitary

More information

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).

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). C/CS/Phys 191 Quantum Gates and Universality 9//05 Fall 005 Lecture 8 1 Readings Benenti, Casati, and Strini: Classical circuits and computation Ch.1.,.6 Quantum Gates Ch. 3.-3.4 Universality Ch. 3.5-3.6

More information

Quantum algorithms (CO 781/CS 867/QIC 823, Winter 2013) Andrew Childs, University of Waterloo LECTURE 13: Query complexity and the polynomial method

Quantum algorithms (CO 781/CS 867/QIC 823, Winter 2013) Andrew Childs, University of Waterloo LECTURE 13: Query complexity and the polynomial method Quantum algorithms (CO 781/CS 867/QIC 823, Winter 2013) Andrew Childs, University of Waterloo LECTURE 13: Query complexity and the polynomial method So far, we have discussed several different kinds of

More information

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

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 Chapter 0 Quantum algorithms Complex numbers: a quick review / 4 / 4 Definition: C = { a + b i : a, b R } where i = Polar form of z = a + b i is z = re iθ, where r = z = a + b and θ = tan y x Alternatively,

More information

Bounds for Error Reduction with Few Quantum Queries

Bounds for Error Reduction with Few Quantum Queries Bounds for Error Reduction with Few Quantum Queries Sourav Chakraborty, Jaikumar Radhakrishnan 2,3, and andakumar Raghunathan Department of Computer Science, University of Chicago, Chicago, IL 60637, USA

More information

Lecture 4: Elementary Quantum Algorithms

Lecture 4: Elementary Quantum Algorithms CS 880: Quantum Information Processing 9/13/010 Lecture 4: Elementary Quantum Algorithms Instructor: Dieter van Melkebeek Scribe: Kenneth Rudinger This lecture introduces several simple quantum algorithms.

More information

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

Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum Computing University of Waterloo 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

More information

Quantum algorithms. Andrew Childs. Institute for Quantum Computing University of Waterloo

Quantum algorithms. Andrew Childs. Institute for Quantum Computing University of Waterloo Quantum algorithms Andrew Childs Institute for Quantum Computing University of Waterloo 11th Canadian Summer School on Quantum Information 8 9 June 2011 Based in part on slides prepared with Pawel Wocjan

More information

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

1 Readings. 2 Unitary Operators. C/CS/Phys C191 Unitaries and Quantum Gates 9/22/09 Fall 2009 Lecture 8 C/CS/Phys C191 Unitaries and Quantum Gates 9//09 Fall 009 Lecture 8 1 Readings Benenti, Casati, and Strini: Classical circuits and computation Ch.1.,.6 Quantum Gates Ch. 3.-3.4 Kaye et al: Ch. 1.1-1.5,

More information

QUANTUM COMPUTATION. Lecture notes. Ashley Montanaro, University of Bristol 1 Introduction 2

QUANTUM COMPUTATION. Lecture notes. Ashley Montanaro, University of Bristol 1 Introduction 2 School of Mathematics Spring 018 Contents QUANTUM COMPUTATION Lecture notes Ashley Montanaro, University of Bristol ashley.montanaro@bristol.ac.uk 1 Introduction Classical and quantum computational complexity

More information

Lecture 12: Grover s Algorithm

Lecture 12: Grover s Algorithm CPSC 519/619: Quantum Computation John Watrous, University of Calgary Lecture 12: Grover s Algorithm March 7, 2006 We have completed our study of Shor s factoring algorithm. The asic technique ehind Shor

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Petros Wallden Lecture 7: Complexity & Algorithms I 13th October 016 School of Informatics, University of Edinburgh Complexity - Computational Complexity: Classification

More information

Quantum Permanent Compromise Attack to Blum-Micali Pseudorandom Generator

Quantum Permanent Compromise Attack to Blum-Micali Pseudorandom Generator Quantum Permanent Compromise Attack to Blum-Micali Pseudorandom Generator Elloá B Guedes, Francisco M de Assis, Bernardo Lula Jr IQuanta Institute for Studies in Quantum Computation and Quantum Information

More information

Quantum algorithms for testing Boolean functions

Quantum algorithms for testing Boolean functions Quantum algorithms for testing Boolean functions Dominik F. Floess Erika Andersson SUPA, School of Engineering and Physical Sciences Heriot-Watt University, Edinburgh EH4 4AS, United Kingdom dominikfloess@gmx.de

More information

Short introduction to Quantum Computing

Short introduction to Quantum Computing November 7, 2017 Short introduction to Quantum Computing Joris Kattemölle QuSoft, CWI, Science Park 123, Amsterdam, The Netherlands Institute for Theoretical Physics, University of Amsterdam, Science Park

More information

Grover s algorithm. We want to find aa. Search in an unordered database. QC oracle (as usual) Usual trick

Grover s algorithm. We want to find aa. Search in an unordered database. QC oracle (as usual) Usual trick Grover s algorithm Search in an unordered database Example: phonebook, need to find a person from a phone number Actually, something else, like hard (e.g., NP-complete) problem 0, xx aa Black box ff xx

More information

C/CS/Phys 191 Shor s order (period) finding algorithm and factoring 11/01/05 Fall 2005 Lecture 19

C/CS/Phys 191 Shor s order (period) finding algorithm and factoring 11/01/05 Fall 2005 Lecture 19 C/CS/Phys 9 Shor s order (period) finding algorithm and factoring /0/05 Fall 2005 Lecture 9 Readings Benenti et al., Ch. 3.2-3.4 Stolze and Suter, uantum Computing, Ch. 8.3 Nielsen and Chuang, uantum Computation

More information

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

QUANTUM COMPUTATION. Exercise sheet 1. Ashley Montanaro, University of Bristol H Z U = 1 2 School of Mathematics Spring 017 QUANTUM COMPUTATION Exercise sheet 1 Ashley Montanaro, University of Bristol ashley.montanaro@bristol.ac.uk 1. The quantum circuit model. (a) Consider the following quantum

More information

Lecture 3: Constructing a Quantum Model

Lecture 3: Constructing a Quantum Model CS 880: Quantum Information Processing 9/9/010 Lecture 3: Constructing a Quantum Model Instructor: Dieter van Melkebeek Scribe: Brian Nixon This lecture focuses on quantum computation by contrasting it

More information

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

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm Part I: Quantum Gates and Simon s Algorithm Martin Rötteler NEC Laboratories America, Inc. 4 Independence Way, Suite 00 Princeton, NJ 08540, U.S.A. International Summer School on Quantum Information, Max-Planck-Institut

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part I Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 12, 2011 Overview Outline What is quantum computing? Background Caveats Fundamental differences

More information

Lecture 10: Eigenvalue Estimation

Lecture 10: Eigenvalue Estimation CS 880: Quantum Information Processing 9/7/010 Lecture 10: Eigenvalue Estimation Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený Last time we discussed the quantum Fourier transform, and introduced

More information

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

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT Quantum algorithms (CO 78, Winter 008) Prof. Andrew Childs, University of Waterloo LECTURE : Quantum circuits and the abelian QFT This is a course on quantum algorithms. It is intended for graduate students

More information

Quantum Algorithms Lecture #2. Stephen Jordan

Quantum Algorithms Lecture #2. Stephen Jordan Quantum Algorithms Lecture #2 Stephen Jordan Last Time Defined quantum circuit model. Argued it captures all of quantum computation. Developed some building blocks: Gate universality Controlled-unitaries

More information

Quantum Computation. Michael A. Nielsen. University of Queensland

Quantum Computation. Michael A. Nielsen. University of Queensland Quantum Computation Michael A. Nielsen University of Queensland Goals: 1. To eplain the quantum circuit model of computation. 2. To eplain Deutsch s algorithm. 3. To eplain an alternate model of quantum

More information

Simulation of quantum computers with probabilistic models

Simulation of quantum computers with probabilistic models Simulation of quantum computers with probabilistic models Vlad Gheorghiu Department of Physics Carnegie Mellon University Pittsburgh, PA 15213, U.S.A. April 6, 2010 Vlad Gheorghiu (CMU) Simulation of quantum

More information

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

Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models. CS448J, Autumn 2015, Stanford University Dominik L. Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models CS448J, Autumn 2015, Stanford University Dominik L. Michels Advanced Computation Models There is a variety of advanced

More information

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk We now turn to a second major topic in quantum algorithms, the concept

More information

arxiv:quant-ph/ Sep 2001

arxiv:quant-ph/ Sep 2001 From Schrödinger s Equation to the Quantum Search Algorithm Lov K. Grover (lkgrover@bell-labs.com) Abstract arxiv:quant-ph/0096 Sep 00 The quantum search algorithm is a technique for searching possibilities

More information

Deleting a marked state in quantum database in a duality computing mode

Deleting a marked state in quantum database in a duality computing mode Article Quantum Information August 013 Vol. 58 o. 4: 97 931 doi: 10.1007/s11434-013-595-9 Deleting a marked state in quantum database in a duality computing mode LIU Yang 1, 1 School of uclear Science

More information

Introduction to Quantum Information Processing

Introduction to Quantum Information Processing Introduction to Quantum Information Processing Lecture 6 Richard Cleve Overview of Lecture 6 Continuation of teleportation Computation and some basic complexity classes Simple quantum algorithms in the

More information

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

Quantum Algorithms. Andreas Klappenecker Texas A&M University. Lecture notes of a course given in Spring Preliminary draft. Quantum Algorithms Andreas Klappenecker Texas A&M University Lecture notes of a course given in Spring 003. Preliminary draft. c 003 by Andreas Klappenecker. All rights reserved. Preface Quantum computing

More information

arxiv:quant-ph/ v1 15 Mar 2006

arxiv:quant-ph/ v1 15 Mar 2006 Quantum algorithms with fixed points: The case of database search arxiv:quant-ph/0603132v1 15 Mar 2006 Lov K. Grover Bell Laboratories, Lucent Technologies, Murray Hill, NJ 07974, USA Apoorva Patel Centre

More information

Database Manipulation Operations on Quantum Systems

Database Manipulation Operations on Quantum Systems Quant Inf Rev, No, 9-7 (203) 9 Quantum Information Review An International Journal http://dxdoiorg/02785/qir/0002 Database Manipulation Operations on Quantum Systems Ahmed Younes Department of Mathematics

More information

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

C/CS/Phy191 Problem Set 6 Solutions 3/23/05 C/CS/Phy191 Problem Set 6 Solutions 3/3/05 1. Using the standard basis (i.e. 0 and 1, eigenstates of Ŝ z, calculate the eigenvalues and eigenvectors associated with measuring the component of spin along

More information

ADVANCED QUANTUM INFORMATION THEORY

ADVANCED QUANTUM INFORMATION THEORY CDT in Quantum Engineering Spring 016 Contents ADVANCED QUANTUM INFORMATION THEORY Lecture notes Ashley Montanaro, University of Bristol ashley.montanaro@bristol.ac.uk 1 Introduction Classical and quantum

More information

Quantum computers can search arbitrarily large databases by a single query

Quantum computers can search arbitrarily large databases by a single query Quantum computers can search arbitrarily large databases by a single query Lov K. Grover, 3C-404A Bell Labs, 600 Mountain Avenue, Murray Hill J 07974 (lkgrover@bell-labs.com) Summary This paper shows that

More information

Lecture note 8: Quantum Algorithms

Lecture note 8: Quantum Algorithms Lecture note 8: Quantum Algorithms Jian-Wei Pan Physikalisches Institut der Universität Heidelberg Philosophenweg 12, 69120 Heidelberg, Germany Outline Quantum Parallelism Shor s quantum factoring algorithm

More information

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

C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9 C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9 1 Readings Benenti, Casati, and Strini: Quantum Gates Ch. 3.2-3.4 Universality Ch. 3.5-3.6 2 Quantum Gates Continuing

More information

Lecture 2: From Classical to Quantum Model of Computation

Lecture 2: From Classical to Quantum Model of Computation CS 880: Quantum Information Processing 9/7/10 Lecture : From Classical to Quantum Model of Computation Instructor: Dieter van Melkebeek Scribe: Tyson Williams Last class we introduced two models for deterministic

More information

An Introduction to Quantum Information and Applications

An Introduction to Quantum Information and Applications An Introduction to Quantum Information and Applications Iordanis Kerenidis CNRS LIAFA-Univ Paris-Diderot Quantum information and computation Quantum information and computation How is information encoded

More information

6.896 Quantum Complexity Theory September 18, Lecture 5

6.896 Quantum Complexity Theory September 18, Lecture 5 6.896 Quantum Complexity Theory September 18, 008 Lecturer: Scott Aaronson Lecture 5 Last time we looked at what s known about quantum computation as it relates to classical complexity classes. Today we

More information

An Improved Phase Error Tolerance in a Quantum Search Algorithm

An Improved Phase Error Tolerance in a Quantum Search Algorithm CHINESE JOURNAL OF PHYSICS VOL. 42, NO. 5 OCTOBER 2004 An Improved Phase Error Tolerance in a Quantum Search Algorithm Jin-Yuan Hsieh, 1 Che-Ming Li, 2 and Der-San Chuu 2 1 Department of Mechanical Engineering,

More information

Fourier Sampling & Simon s Algorithm

Fourier Sampling & Simon s Algorithm Chapter 4 Fourier Sampling & Simon s Algorithm 4.1 Reversible Computation A quantum circuit acting on n qubits is described by an n n unitary operator U. Since U is unitary, UU = U U = I. This implies

More information

A High Level Programming Language for Quantum Computing

A High Level Programming Language for Quantum Computing QUARK QUantum Analysis and Realization Kit A High Level Programming Language for Quantum Computing Team In lexicographical order: Name UNI Role Daria Jung djj2115 Verification and Validation Jamis Johnson

More information

arxiv:quant-ph/ v1 16 Jan 2003

arxiv:quant-ph/ v1 16 Jan 2003 Grover s Algorithm: Quantum Database Search arxiv:quant-ph/3179v1 16 Jan 3 C. Lavor Instituto de Matemática e Estatística Universidade do Estado do Rio de Janeiro - UERJ Rua São Francisco Xavier, 54, 6

More information

Quantum walk algorithms

Quantum walk algorithms Quantum walk algorithms Andrew Childs Institute for Quantum Computing University of Waterloo 28 September 2011 Randomized algorithms Randomness is an important tool in computer science Black-box problems

More information

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

Lecture 13: Lower Bounds using the Adversary Method. 2 The Super-Basic Adversary Method [Amb02] Quantum Computation (CMU 18-859BB, Fall 015) Lecture 13: Lower Bounds using the Adversary Method October 1, 015 Lecturer: Ryan O Donnell Scribe: Kumail Jaffer 1 Introduction There are a number of known

More information

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

Hilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding. CS 94- Bell States Bell Inequalities 9//04 Fall 004 Lecture Hilbert Space Entanglement Quantum Gates Bell States Superdense Coding 1 One qubit: Recall that the state of a single qubit can be written as

More information

Quantum Computing: Foundations to Frontier Fall Lecture 3

Quantum Computing: Foundations to Frontier Fall Lecture 3 Quantum Computing: Foundations to Frontier Fall 018 Lecturer: Henry Yuen Lecture 3 Scribes: Seyed Sajjad Nezhadi, Angad Kalra Nora Hahn, David Wandler 1 Overview In Lecture 3, we started off talking about

More information

Quantum Search on Strongly Regular Graphs

Quantum Search on Strongly Regular Graphs Quantum Search on Strongly Regular Graphs Degree Project in Engineering Physics, Second Level by Jonatan Janmark at Department of Theoretical Physics Royal Institute of Technology (KTH) & Department of

More information

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

Tutorial on Quantum Computing. Vwani P. Roychowdhury. Lecture 1: Introduction Tutorial on Quantum Computing Vwani P. Roychowdhury Lecture 1: Introduction 1 & ) &! # Fundamentals Qubits A single qubit is a two state system, such as a two level atom we denote two orthogonal states

More information

Quantum parity algorithms as oracle calls, and application in Grover Database search

Quantum parity algorithms as oracle calls, and application in Grover Database search Abstract Quantum parity algorithms as oracle calls, and application in Grover Database search M. Z. Rashad Faculty of Computers and Information sciences, Mansoura University, Egypt Magdi_z2011@yahoo.com

More information

Quadratic speedup for unstructured search - Grover s Al-

Quadratic speedup for unstructured search - Grover s Al- Quadratc speedup for unstructured search - Grover s Al- CS 94- gorthm /8/07 Sprng 007 Lecture 11 001 Unstructured Search Here s the problem: You are gven a boolean functon f : {1,,} {0,1}, and are promsed

More information

arxiv:quant-ph/ v1 23 May 1996

arxiv:quant-ph/ v1 23 May 1996 arxiv:quant-ph/9605034v 3 May 996 PhysComp96 Full paper Draft, 0 May 996 Introduction Tight bounds on quantum searching Michel Boyer Université de Montréal Gilles Brassard, frsc Université de Montréal

More information

An improved phase error tolerance in quantum search algorithm

An improved phase error tolerance in quantum search algorithm arxiv:quant-ph/009073v4 8 Nov 00 An improved phase error tolerance in quantum search algorithm Che-Ming Li 1, Jin-Yuan Hsieh, and Der-San Chuu 1 1 Institute and Department of Electrophysics, National Chiao

More information

A Glimpse of Quantum Computation

A Glimpse of Quantum Computation A Glimpse of Quantum Computation Zhengfeng Ji (UTS:QSI) QCSS 2018, UTS 1. 1 Introduction What is quantum computation? Where does the power come from? Superposition Incompatible states can coexist Transformation

More information

arxiv: v1 [quant-ph] 16 Aug 2017

arxiv: v1 [quant-ph] 16 Aug 2017 Noname manuscript No. (will be inserted by the editor) Combinatorial Optimization on Gate Model Quantum Computers: A Survey Ehsan Zahedinejad Arman Zaribafiyan arxiv:1708.05294v1 [quant-ph] 16 Aug 2017

More information

A fast quantum mechanical algorithm for estimating the median

A fast quantum mechanical algorithm for estimating the median A fast quantum mechanical algorithm for estimating the median Lov K Grover 3C-404A Bell Labs 600 Mountain Avenue Murray Hill J 07974 lkg@mhcnetattcom Summary Consider the problem of estimating the median

More information

Lecture 1: Overview of quantum information

Lecture 1: Overview of quantum information CPSC 59/69: Quantum Computation John Watrous, University of Calgary References Lecture : Overview of quantum information January 0, 006 Most of the material in these lecture notes is discussed in greater

More information

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

Quantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity Quantum Computing 1. Quantum States and Quantum Gates 2. Multiple Qubits and Entangled States 3. Quantum Gate Arrays 4. Quantum Parallelism 5. Examples of Quantum Algorithms 1. Grover s Unstructured Search

More information

Is Quantum Search Practical?

Is Quantum Search Practical? DARPA Is Quantum Search Practical? George F. Viamontes Igor L. Markov John P. Hayes University of Michigan, EECS Outline Motivation Background Quantum search Practical Requirements Quantum search versus

More information

THE GENERALIZED QUANTUM DATABASE SEARCH ALGORITHM

THE GENERALIZED QUANTUM DATABASE SEARCH ALGORITHM THE GEERALIZED QUATUM DATABASE SEARCH ALGORITHM Abstract In this paper we present a generalized description of the Grover operator, employed in a quantum database search algorithm We will discuss the relation

More information

Quantum Communication Complexity

Quantum Communication Complexity Quantum Communication Complexity Ronald de Wolf Communication complexity has been studied extensively in the area of theoretical computer science and has deep connections with seemingly unrelated areas,

More information

Introduction to Quantum Logic. Chris Heunen

Introduction to Quantum Logic. Chris Heunen Introduction to Quantum Logic Chris Heunen 1 / 28 Overview Boolean algebra Superposition Quantum logic Entanglement Quantum computation 2 / 28 Boolean algebra 3 / 28 Boolean algebra A Boolean algebra is

More information

Discrete quantum random walks

Discrete quantum random walks Quantum Information and Computation: Report Edin Husić edin.husic@ens-lyon.fr Discrete quantum random walks Abstract In this report, we present the ideas behind the notion of quantum random walks. We further

More information

Factoring on a Quantum Computer

Factoring on a Quantum Computer Factoring on a Quantum Computer The Essence Shor s Algorithm Wolfgang Polak wp@pocs.com Thanks to: Eleanor Rieffel Fuji Xerox Palo Alto Laboratory Wolfgang Polak San Jose State University, 4-14-010 - p.

More information

Ph 219b/CS 219b. Exercises Due: Wednesday 11 February 2009

Ph 219b/CS 219b. Exercises Due: Wednesday 11 February 2009 1 Ph 219b/CS 219b Exercises Due: Wednesday 11 February 2009 5.1 The peak in the Fourier transform In the period finding algorithm we prepared the periodic state A 1 1 x 0 + jr, (1) A j=0 where A is the

More information

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

Ph 219b/CS 219b. Exercises Due: Wednesday 20 November 2013 1 h 219b/CS 219b Exercises Due: Wednesday 20 November 2013 3.1 Universal quantum gates I In this exercise and the two that follow, we will establish that several simple sets of gates are universal for

More information

*WILEY- Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co.

*WILEY- Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co. Joachim Stolze and Dieter Suter Quantum Computing A Short Course from Theory to Experiment Second, Updated and Enlarged Edition *WILEY- VCH WILEY-VCH Verlag GmbH & Co. KGaA Contents Preface XIII 1 Introduction

More information

Quantum Counting. 1 Introduction. Gilles Brassard 1, Peter Høyer 2, and Alain Tapp 1

Quantum Counting. 1 Introduction. Gilles Brassard 1, Peter Høyer 2, and Alain Tapp 1 Quantum Counting Gilles Brassard 1, Peter Høyer 2, and Alain Tapp 1 1 Université de Montréal, {brassard,tappa}@iro.umontreal.ca 2 Odense University, u2pi@imada.ou.dk arxiv:quant-ph/9805082v1 27 May 1998

More information

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants David Rosenbaum, Marek Perkowski Portland State University, Department of Computer Science Portland State University, Department

More information

arxiv: v1 [quant-ph] 15 Nov 2018

arxiv: v1 [quant-ph] 15 Nov 2018 Lackadaisical quantum walk for spatial search Pulak Ranjan Giri International Institute of Physics, Universidade Federal do Rio Grande do orte, Campus Universitario, Lagoa ova, atal-r 59078-970, Brazil

More information

Hypothesis elimination on a quantum computer

Hypothesis elimination on a quantum computer Hypothesis elimination on a quantum computer arxiv:quant-ph/042025v 3 Dec 2004 Andrei N. Soklakov and Rüdiger Schack Department of athematics, Royal Holloway, University of London Egham, Surrey, TW20 0EX,

More information

Unitary Dynamics and Quantum Circuits

Unitary Dynamics and Quantum Circuits qitd323 Unitary Dynamics and Quantum Circuits Robert B. Griffiths Version of 20 January 2014 Contents 1 Unitary Dynamics 1 1.1 Time development operator T.................................... 1 1.2 Particular

More information

A New Lower Bound Technique for Quantum Circuits without Ancillæ

A New Lower Bound Technique for Quantum Circuits without Ancillæ A New Lower Bound Technique for Quantum Circuits without Ancillæ Debajyoti Bera Abstract We present a technique to derive depth lower bounds for quantum circuits. The technique is based on the observation

More information

Quantum Computation and Communication

Quantum Computation and Communication Tom Lake tswsl1989@sucs.org 16/02/2012 quan tum me chan ics: The branch of mechanics that deals with the mathematical description of the motion and interaction of subatomic particles - OED quan tum me

More information

Quantum Computing Lecture 2. Review of Linear Algebra

Quantum Computing Lecture 2. Review of Linear Algebra Quantum Computing Lecture 2 Review of Linear Algebra Maris Ozols Linear algebra States of a quantum system form a vector space and their transformations are described by linear operators Vector spaces

More information

Quantum search in a four-complex-dimensional subspace

Quantum search in a four-complex-dimensional subspace Quantum search in a four-complex-dimensional subspace Wenliang Jin July 24, 2013 Abstract For there to be M > 1 target items to be searched in an unsorted database of size N, with M/N 1 for a sufficiently

More information

A Quantum Associative Memory Based on Grover s Algorithm

A Quantum Associative Memory Based on Grover s Algorithm A Quantum Associative Memory Based on Grover s Algorithm Dan Ventura and Tony Martinez Neural Networks and Machine Learning Laboratory (http://axon.cs.byu.edu) Department of Computer Science Brigham Young

More information

The Bloch Sphere. Ian Glendinning. February 16, QIA Meeting, TechGate 1 Ian Glendinning / February 16, 2005

The Bloch Sphere. Ian Glendinning. February 16, QIA Meeting, TechGate 1 Ian Glendinning / February 16, 2005 The Bloch Sphere Ian Glendinning February 16, 2005 QIA Meeting, TechGate 1 Ian Glendinning / February 16, 2005 Outline Introduction Definition of the Bloch sphere Derivation of the Bloch sphere Properties

More information

Geometric Modeling Summer Semester 2010 Mathematical Tools (1)

Geometric Modeling Summer Semester 2010 Mathematical Tools (1) Geometric Modeling Summer Semester 2010 Mathematical Tools (1) Recap: Linear Algebra Today... Topics: Mathematical Background Linear algebra Analysis & differential geometry Numerical techniques Geometric

More information

ROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL

ROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL arxiv:quant-ph/0109016v2 2 Jul 2002 ROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL B. C. Travaglione, M. A. Nielsen Centre for Quantum Computer Technology, University of Queensland St Lucia, Queensland,

More information

Chapter 2. Basic Principles of Quantum mechanics

Chapter 2. Basic Principles of Quantum mechanics Chapter 2. Basic Principles of Quantum mechanics In this chapter we introduce basic principles of the quantum mechanics. Quantum computers are based on the principles of the quantum mechanics. In the classical

More information

A better lower bound for quantum algorithms searching an ordered list

A better lower bound for quantum algorithms searching an ordered list A better lower bound for quantum algorithms searching an ordered list Andris Ambainis Computer Science Division University of California Berkeley, CA 94720, e-mail: ambainis@cs.berkeley.edu Abstract We

More information

Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co. KGaA

Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co. KGaA Joachim Stolze and Dieter Suter Quantum Computing A Short Course from Theory to Experiment Second, Updated and Enlarged Edition WILEY- VCH WILEY-VCH Verlag GmbH & Co. KGaA Preface XIII 1 Introduction and

More information

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

b) (5 points) Give a simple quantum circuit that transforms the state C/CS/Phy191 Midterm Quiz Solutions October 0, 009 1 (5 points) Short answer questions: a) (5 points) Let f be a function from n bits to 1 bit You have a quantum circuit U f for computing f If you wish

More information

18.303: Introduction to Green s functions and operator inverses

18.303: Introduction to Green s functions and operator inverses 8.33: Introduction to Green s functions and operator inverses S. G. Johnson October 9, 2 Abstract In analogy with the inverse A of a matri A, we try to construct an analogous inverse  of differential

More information