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 cleve@cs.uwaterloo.ca.

Slides:



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

Quantum Versus Classical Proofs and Advice Scott Aaronson Waterloo MIT Greg Kuperberg UC Davis | x {0,1} n ?
Quantum Software Copy-Protection Scott Aaronson (MIT) |
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 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 / RAC 2211 Lecture.
Department of Computer Science & Engineering University of Washington
Superdense coding. How much classical information in n qubits? Observe that 2 n  1 complex numbers apparently needed to describe an arbitrary n -qubit.
CSEP 590tv: Quantum Computing
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.
Quantum Algorithms II Andrew C. Yao Tsinghua University & Chinese U. of Hong Kong.
1 Introduction to Quantum Information Processing QIC 710 / CS 768 / PH 767 / CO 681 / AM 871 Richard Cleve QNC 3129 Lecture 18 (2014)
1 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lecture 14 (2009)
1 Introduction to Quantum Information Processing QIC 710 / CS 678 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 / QNC 3129 Lectures.
Generalized Deutsch Algorithms IPQI 5 Jan Background Basic aim : Efficient determination of properties of functions. Efficiency: No complete evaluation.
1 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lecture 16 (2011)
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 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lecture 19 (2009)
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
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
1 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lecture 20 (2009)
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.
Quantum Computing MAS 725 Hartmut Klauck NTU
Forrelation: A Problem that Optimally Separates Quantum from Classical Computing.
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.
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.
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 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lectures
Intro to Quantum Algorithms SUNY Polytechnic Institute Chen-Fu Chiang Fall 2015.
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.
Random Access Codes and a Hypercontractive Inequality for
P & NP.
Algorithms for Big Data: Streaming and Sublinear Time Algorithms
Richard Cleve DC 2117 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 667 / PH 767 / CO 681 / AM 871 Lecture 16 (2009) Richard.
Richard Cleve DC 2117 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Lecture 15 (2009) Richard.
Introduction to Quantum Computing Lecture 1 of 2
Introduction to Algorithms 6.046J/18.401J
Randomized Algorithms
Outline Device & setup Initialization and read out
Four approaches to Shor
Randomized Algorithms CS648
Randomized Algorithms
Quantum Computing Dorca Lee.
A Ridiculously Brief Overview
Cryptography Lecture 12 Arpita Patra © Arpita Patra.
Chap 4 Quantum Circuits: p
Quantum Computation and Information Chap 1 Intro and Overview: p 28-58
Richard Cleve DC 2117 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Lecture 15 (2011)
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.
Richard Cleve DC 2117 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Lecture 16 (2009) Richard.
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
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:

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 cleve@cs.uwaterloo.ca Course web site at: http://www.cs.uwaterloo.ca/~cleve

Query algorithms Last time: quantum algorithm for computing f (0)f (1) making just 1 query to f, whereas any classical algorithm requires 2 queries f This time: other, stronger quantum vs. classical separations

One-out-of-four search

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? 3 Quantumly? 1

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! Challenge Exercise: simulate the above U in terms of H, Toffoli, and NOT gates

one-out-of-N search? Natural question: what about search problems in spaces larger than four (and without uniqueness conditions)? For spaces of size eight (say), the previous method breaks down—the state vectors will not be orthogonal Later on, we’ll see how to search a space of size N with O(N ) queries ...

Constant vs. balanced

Constant vs. balanced balanced means x f (x) = 2n−1 Let f : {0,1}n  {0,1} be either constant or balanced, where constant means f (x) = 0 for all x, or f (x) = 1 for all x balanced means x f (x) = 2n−1 Goal: determine whether f is constant or balanced How many queries are there needed classically? ½ 2n + 1 Example: if f (0000) = f (0001) = f (0010) = ... = f (0111) = 0 then it still could be either Quantumly? 1 [Deutsch & Jozsa, 1992]

Quantum algorithm f f H 1 0 H 1 0 ψ Constant case: ψ =  x x Why? Balanced case: ψ is orthogonal to  x x Why? How to distinguish between the cases? What is Hnψ? Constant case: Hnψ =  00...0 Balanced case: Hn ψ is orthogonal to 0...00 Last step of the algorithm: if the measured result is 000 then output “constant”, otherwise output “balanced”

Probabilistic classical algorithm solving constant vs balanced But here’s a classical procedure that makes only 2 queries and performs fairly well probabilistically: pick x1, x2 {0,1}n randomly if f(x1) ≠ f(x2) then output balanced else output constant What happens if f is constant? The algorithm always succeeds What happens if f is balanced? Succeeds with probability ½ By repeating the above procedure k times: 2k queries and one-sided error probability (½)k Therefore, for large n,  2n queries are likely sufficient

HH ... H

About HH ... H = H n Theorem: for x  {0,1}n, where x · y = x1 y1  ...  xn yn Example: Pf: For all x  {0,1}n, H x = 0 + (–1) x1 = y (–1)xyy Thus, H nx1 ... xn = (y1 (–1)x1y1y1) ... (yn (–1)xnynyn) = y (–1) x1y1  ...  xnyny1 ... yn █

Simon’s problem

Quantum vs. classical separations black-box problem quantum classical constant vs. balanced 1 (query) 2 (queries) 1-out-of-4 search 1 3 ½ 2n + 1 Simon’s problem O(n) (2n/2 ) (only for exact) (probabilistic)

Simon’s problem Let f : {0,1}n  {0,1}n have the property that there exists an r  {0,1}n such that f (x) = f (y) iff xy = r or x = y Example: x f (x) 000 001 010 011 100 101 110 111 What is r in this case? Answer: r = 101

A classical algorithm for Simon Search for a collision, an x ≠ y such that f (x) = f (y) 1. Choose x1, x2 ,..., xk  {0,1}n randomly (independently) 2. For all i ≠ j, if f (xi) = f (xj) then output xixj and halt A hard case is where r is chosen randomly from {0,1}n– {0n} and then the “table” for f is filled out randomly subject to the structure implied by r How big does k have to be for the probability of a collision to be a constant, such as ¾? Answer: order 2n/2 (each (xi , xj) collides with prob. O(2 – n))

Classical lower bound Theorem: any classical algorithm solving Simon’s problem must make Ω(2n/2) queries Proof is omitted here—note that the performance analysis of the previous algorithm does not imply the theorem … how can we know that there isn’t a different algorithm that performs better?

A quantum algorithm for Simon I x2 xn x1 f y2 yn y1  y  f (x) Queries: Not clear what eigenvector of target registers is ... Proposed start of quantum algorithm: query all values of f in superposition f H 0 ? What is the output state of this circuit? To be continued …

THE END