Quantum Algorithms Oracles

Slides:



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

Quantum Lower Bounds You probably Havent Seen Before (which doesnt imply that you dont know OF them) Scott Aaronson, UC Berkeley 9/24/2002.
How to Solve Longstanding Open Problems In Quantum Computing Using Only Fourier Analysis Scott Aaronson (MIT) For those who hate quantum: The open problems.
Quantum Computation and Quantum Information – Lecture 3
Growth-rate Functions
Algorithms Algorithm: what is it ?. Algorithms Algorithm: what is it ? Some representative problems : - Interval Scheduling.
Quantum Computing MAS 725 Hartmut Klauck NTU
HST 952 Computing for Biomedical Scientists Lecture 10.
Computational Complexity 1. Time Complexity 2. Space Complexity.
Department of Computer Science & Engineering University of Washington
Superposition, Entanglement, and Quantum Computation Aditya Prasad 3/31/02.
CSEP 590tv: Quantum Computing
Quantum Computing Joseph Stelmach.
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.
CSEP 590tv: Quantum Computing Dave Bacon Aug 3, 2005 Today’s Menu Public Key Cryptography Shor’s Algorithm Grover’s Algorithm Administrivia Quantum Mysteries:
Quantum Algorithms Preliminaria Artur Ekert. Computation INPUT OUTPUT Physics Inside (and outside) THIS IS WHAT OUR LECTURES WILL.
1 Complexity Lecture Ref. Handout p
Quantum Computers Algorithms and applications. Simulating classical operations 2/41 Dušan Gajević.
(C) 2010 Pearson Education, Inc. All rights reserved. Java How to Program, 8/e.
Chapter 19 Searching, Sorting and Big O
October 1 & 3, Introduction to Quantum Computing Lecture 2 of 2 Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum.
Quantum Computing MAS 725 Hartmut Klauck NTU TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A.
Analysis of Algorithms
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.
Lecture note 8: Quantum Algorithms
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.
© 2011 Pearson Addison-Wesley. All rights reserved 10 A-1 Chapter 10 Algorithm Efficiency and Sorting.
An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003.
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum Computing MAS 725 Hartmut Klauck NTU
1 Database Searching in Quantum and Natural Computing Michael Heather & Nick Rossiter, Northumbria University, England
You Did Not Just Read This or did you?. Quantum Computing Dave Bacon Department of Computer Science & Engineering University of Washington Lecture 3:
CSEP 590tv: Quantum Computing Dave Bacon July 20, 2005 Today’s Menu n Qubit registers Begin Quantum Algorithms Administrivia Superdense Coding Finish Teleportation.
1/22 Quantum Algorithms Deutsch-Josza Algorithm: quantum computers are more powerful than classical ones. b f(b) b f(b) b f(b) 0 1 b f(b) 0.
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
Quantum Computing Charles Bloomquist CS147 Fall 2009.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
A new algorithm for directed quantum search Tathagat Tulsi, Lov Grover, Apoorva Patel Vassilina NIKOULINA, M2R III.
Quantum Circuits and Algorithms l Modular Arithmetic, XOR l Reversible Computation revisited l Quantum Gates revisited l A taste of quantum algorithms:
1 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lectures
Beginner’s Guide to Quantum Computing Graduate Seminar Presentation Oct. 5, 2007.
Intro to Quantum Algorithms SUNY Polytechnic Institute Chen-Fu Chiang Fall 2015.
Richard Cleve DC 2117 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Lecture.
Complexity-Theoretic Foundations of Quantum Supremacy Experiments
Dana Ron Tel Aviv University
Introduction to complexity
Introduction to Quantum Computing Lecture 1 of 2
A low cost quantum factoring algorithm
Quantum Circuits and Algorithms
Cryptographic Hash Functions Part I
Background: Lattices and the Learning-with-Errors problem
For computer scientists
Algorithm design and Analysis
Quantum Computing: What’s It Good For?
Prabhas Chongstitvatana
Algorithm An algorithm is a finite set of steps required to solve a problem. An algorithm must have following properties: Input: An algorithm must have.
Algorithms Analysis Section 3.3 of Rosen Spring 2017
Quantum Computing Dorca Lee.
A Ridiculously Brief Overview
MSIS 655 Advanced Business Applications Programming
Searching, Sorting, and Asymptotic Complexity
Introduction to Data Structures
Cryptography Lecture 5.
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.
Algorithms Analysis Section 3.3 of Rosen Spring 2013
Algorithms Analysis Section 3.3 of Rosen Spring 2018
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:

Quantum Algorithms Oracles Artur Ekert

Query Scenario f BLACK BOX, ORACLE An ORACLE is very precious, you are charged some fixed amount of money each time you use it Typical scenario: Given an ORACLE that computes f your goal is to determine some properties of f making as few queries to the ORACLE as possible, i.e. you want to minimize your expenditure. f You are not allowed to look inside the ORACLE, but you can embed it into any Boolean network composed of any logic gates of your choice, we assume you are not charged for extra logic gates

Asymptotic notation for comparisons

Three Query Scenarios Deutsch’s problem (1985) Grover’s search (1996) We analyse three scenarios in which we gain if we use quantum rather then classical oracles. Deutsch’s problem (1985) quantum oracles outperform classical oracles Grover’s search (1996) quadratic separation Simon’s problem (1994) exponential separation

? Deutsch’s Problem f Given is f constant or balanced David Deutsch four possible oracles f CONSTANT BALANCED

Deutsch’s Problem f f H H H f Classical 2 queries + 1 auxiliary operation f f Quantum CONSTANT H H 1 query + 3 auxiliary operations BALANCED H f

Deutsch’s Problem revisited CLASSICAL COMPLEXITY: INPUT: queries PROMISE: either constant or balanced OUTPUT: determine whether constant or balanced H H 00000 CONSTANT H H H H any other output BALANCED H H H H f

Deutsch’s Problem revisited f

Fair comparison? classical deterministic: classical probabilistic with error prob. : quantum : 1 FAIR COMPARISON Query in k places, if the queries had at least one 0 and one 1 then the function is balanced, otherwise assume it is constant. Probability that it is balanced when declared constant is

Bernstein-Vazirani Problem INPUT: PROMISE: is of the form OUTPUT: binary string H H H H H H H H H H f

Bernstein-Vazirani Problem H H f

Search Problem binary string INPUT: PROMISE: OUTPUT: Classical Complexity: PROMISE: OUTPUT: binary string Searching large and unsorted database containing 2n items Example of a sorted database: a phone book if you are given a name and looking for a telephone number n lookups suffice Example of an unsorted database: a phone book if you are given a number and looking for a name you need to check 2n items before you succeed with probability P=1 you need to check 2n-1 items before you succeed with probability P=0.5

Grover’s algorithm binary string H H H H H H H H H H H H H H H H H H H INPUT: Quantum Complexity: PROMISE: OUTPUT: binary string ITERATION 1 ITERATION 2 … H H H H H H H H H H H H H H H H H H H H f f0 f f0

Grover’s algorithm H H H H H H H H f f0 ITERATION When we add a C-gate, which can stand for the interaction with an external system (environment, rest of the universe, measuring device), the interference is no longer perfect... (a|0>+b|1>)m0 -> a|0> m0 +b|1>m1 , m1<->U(m0) < m0 |m1><->0 (perfect measurement)

Grover’s algorithm H H H H H H H H f f0 ITERATION When we add a C-gate, which can stand for the interaction with an external system (environment, rest of the universe, measuring device), the interference is no longer perfect... (a|0>+b|1>)m0 -> a|0> m0 +b|1>m1 , m1<->U(m0) < m0 |m1><->0 (perfect measurement)

Grover’s algorithm H H H H H H H H f f0 reflection about hyperplane orthogonal to reflection about hyperplane orthogonal to H H H H f f0 When we add a C-gate, which can stand for the interaction with an external system (environment, rest of the universe, measuring device), the interference is no longer perfect... (a|0>+b|1>)m0 -> a|0> m0 +b|1>m1 , m1<->U(m0) < m0 |m1><->0 (perfect measurement)

Grover’s algorithm H H H H H H H H reflection about reflection about hyperplane orthogonal to reflection about hyperplane orthogonal to H H H H H H

Grover’s algorithm two reflections about the planes at angle rotate the vector by

Grover’s algorithm H H H H H H H H

Grover’s algorithm H H H H H H H H H H H H H H H H H H H H f f0 f f0 ITERATION 1 ITERATION 2 … H H H H H H H H H H H H H H H H H H H H f f0 f f0

Grover’s algorithm After r iteration the state is rotated by from the hyperplane for large n We iterate until

Query complexity classical probabilistic: quantum : Quadratic speedup compared to classical search algorithms Cryptanalysis: Attack on classical cryptographic schemes such as DES (the Data Encryption Standard) essentially requires a search among 256=7 £ 1016 possible keys. If these can be checked at a rate of, say, one million keys per second, a classical computer would need over a thousand years to discover the correct key while a quantum computer using Grover's algorithm would do it in less than four minutes.

Simon’s Problem period INPUT: PROMISE: OUTPUT: Example: Classical Complexity: PROMISE: OUTPUT: period Example: s=110 is the period (in the group) 000 001 010 011 100 101 110 111 111 010 100 110

Simon’s algorithm H H n qubits n qubits

Simon’s algorithm H H n qubits n qubits Solve the system of linear equations Probability of failure of generating linearly independent vectors y is less than 0.75 Needs roughly n queries. Quantum complexity

Classical Complexity Analysis Classical approach: Randomly choose: Evaluate: Search for collisions: Average number of collisions: Probability of at least one collision: Number of queries in a classical probabilistic approach : CLASSICAL

Quantum Complexity Analysis 1

Quantum Complexity Analysis 2

Summary H f H H H H f0 f0 f f H H f Deutsch (1985), Deutsch and Jozsa (92): The first indication that quantum computers can perform better H f Grover: Polynomial separation H H H H f0 f0 f f classical quantum Simon: Exponential separation H H f classical quantum