Quantum Computing MAS 725 Hartmut Klauck NTU 20.2.2012.

Slides:



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

Quantum Software Copy-Protection Scott Aaronson (MIT) |
The Future (and Past) of Quantum Lower Bounds by Polynomials Scott Aaronson UC Berkeley.
Quantum Computation and Quantum Information – Lecture 3
University of Queensland
Foundations of Cryptography Lecture 10 Lecturer: Moni Naor.
Quantum Computing MAS 725 Hartmut Klauck NTU
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 Packet Switching A. Yavuz Oruç Department of Electrical and Computer Engineering University of Maryland, College Park.
Quantum Computing MAS 725 Hartmut Klauck NTU
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.
On Uniform Amplification of Hardness in NP Luca Trevisan STOC 05 Paper Review Present by Hai Xu.
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.
Quantum Computation and Error Correction Ali Soleimani.
1 A Quantum self- Routing Packet Switching Manish Kumar Shukla, Rahul Ratan and A. Yavuz Oruc, Department of Electrical and Computer Engineering, University.
University of Queensland
Quantum Automata Formalism. These are general questions related to complexity of quantum algorithms, combinational and sequential.
Review of basic quantum and Deutsch-Jozsa. Can we generalize Deutsch-Jozsa algorithm? Marek Perkowski, Department of Electrical Engineering, Portland State.
CSEP 590tv: Quantum Computing
Quantum Computing Joseph Stelmach.
Anuj Dawar.
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.
New Approach to Quantum Calculation of Spectral Coefficients Marek Perkowski Department of Electrical Engineering, 2005.
Quantum computing Alex Karassev. Quantum Computer Quantum computer uses properties of elementary particle that are predicted by quantum mechanics Usual.
Quantum Algorithms for Neural Networks Daniel Shumow.
Alice and Bob’s Excellent Adventure
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.
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.
Small-Depth Quantum Circuits Frederic Green Department of Math/CS Clark University Worcester, MA.
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.
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
Quantum Computing MAS 725 Hartmut Klauck NTU
Short course on quantum computing Andris Ambainis University of Latvia.
Quantum Computing MAS 725 Hartmut Klauck NTU
Abstraction of Deutsch Algorithm and Its Implementation on QCL.
You Did Not Just Read This or did you?. Quantum Computing Dave Bacon Department of Computer Science & Engineering University of Washington Lecture 3:
Nothing Here. or How we learned to put our pants on two legs at a time. Fast Quantum Algorithms Dave Bacon Institute for Quantum Information California.
CSEP 590tv: Quantum Computing Dave Bacon July 20, 2005 Today’s Menu n Qubit registers Begin Quantum Algorithms Administrivia Superdense Coding Finish Teleportation.
Conditional Probability Mass Function. Introduction P[A|B] is the probability of an event A, giving that we know that some other event B has occurred.
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
Pseudo-random generators Talk for Amnon ’ s seminar.
An Introduction to Quantum Computation Sandy Irani Department of Computer Science University of California, Irvine.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
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
Intro to Quantum Algorithms SUNY Polytechnic Institute Chen-Fu Chiang Fall 2015.
Attendance Syllabus Textbook (hardcopy or electronics) Groups s First-time meeting.
Quantum Algorithms Oracles
P & NP.
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
Quantum Circuits and Algorithms
For computer scientists
Quantum Computing: What’s It Good For?
Quantum Computing Dorca Lee.
A Ridiculously Brief Overview
Quantum Computation and Information Chap 1 Intro and Overview: p 28-58
Quantum Computing Joseph Stelmach.
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 Computing MAS 725 Hartmut Klauck NTU

Quantum Computing Suppose we have a supply of qubits in some basis state We want to apply a unitary transformation Corresponding to a function we wish to compute So that measuring the resulting state gives us a desired output This unitary transformation must be the product of “few” simple, local, unitary transformations I.e., unitary transformation on 2 or 3 qubits This means to build a quantum circuit

What is the difference to probabilistic computations Randomized/probabilistic computations can be described similarly Keeping track of the probability distribution as a vector of probabilities Important difference: amplitudes can be negative, allowing for negative interference effects Undesirable computations can “cancel each other out”

“Parallel” Computing?

What can we do with the resulting state? Measuring now just yields the uniform distribution on x,f(x) We do (at least) get “really random” values of x To determine interesting properties of f we usually have to work harder and employ interference effects.

Time for the first algorithm Deutsch’s Algorithm Setup: Input is in a Black Box A function f:{0,1}  {0, 1} unknown to us (is the input) Access: We can read f(0) or read f(1) Either f(0)=f(1) or f(0)  f(1) Problem: decide which is the case

Deutsch’s Problem How many times do we have to query the Black Box? Any deterministic algorithm that must not err has to read f(0) and f(1). Any randomized algorithm with only 1 query has error probability ½ (i.e. is as good as tossing a coin for an answer....)

Quantum queries In a deterministic query algorithm the result of previous queries determines the next position to query Randomized queries: In our case there is a probability distribution on 0 and 1, that determines whether we query f(0) or f(1) Quantum queries can be in superposition instead We have to model a quantum query as a unitary operator

Quantum queries Definition of query operation: U f |i i |a i =|i i |a © f(i) i for all i,a 2 {0,1}; © is XOR operation: 0 © 0=0; 0 © 1=1; 1 © 1=0 Then U f is defined for all basis states and ) U f is defined

First Idea: “Parallel” computation

Deutsch’s Algorithm

Idea for the analysis: Effect of U f on |x i ­ 1/2 1/2 (|0 i - |1 i ): results in (-1) f(x) |x i ­ 1/2 1/2 (|0 i -|1 i ) Because: U f |0 i ­ 1/2 1/2 ( |0 i -|1 i ) = |0 i ­ 1/2 1/2 ( |f(0) i -|f(0) © 1 i ) = (-1) f(0) |0 i ­ 1/2 1/2 ( |0 i -|1 i )

Deutsch’s Algorithm U f |1 i ­ 1/2 1/2 ( |0 i -|1 i ) = |1 i ­ 1/2 1/2 ( |f(1) i -|f(1) © 1 i ) = (-1) f(1) |1 i ­ 1/2 1/2 ( |0 i -|1 i ) We can disregard the second qubit now

Deutsch’s Algorithm Now apply Hadamard transform (on the remaining qubit) State before the transformation: f(0) = f(1): § 1/2 1/2 (|0 i +|1 i ) f(0)  f(1): § 1/2 1/2 (|0 i -|1 i ) Case 1: f(0)=f(1): H § 1/2 1/2 (|0 i +|1 i ) = § |0 i Case 2: f(0)  F(1): H § 1/2 1/2 (|0 i -|1 i ) = § |1 i Measurement decides between both cases perfectly

Deutsch’s Algorithm H UfUf H |0 i |1 i Measurement H

Quantum Circuits We write algorithms as circuits on n qubits, unitary transformations are written as boxes Initial states of qubits are denoted on the left side

Deutsch-Josza Algorithm f:{0,1} n  {0,1} Is f balanced (50% 0, 50% 1) or constant? Promise: f is either balanced or constant, if not the output of the algorithm can be anything We show an algorithm with 1 query and no error Any deterministic algorithm needs : 2 n /2+1 queries! Why? We give an adversary argument: Fix f depending on the queries of the algorithm, f(x 1 )=0,...,f(x l )=0 Before l > 2 n /2 the algorithm cannot make a “safe” decision Algorithm can be forced to make an error (f might still be balanced or constant)

Deutsch Josza Algorithm H UfUf H ­ n |0 i n |1 i Measure H ­ n nnn

Reminder: Hadamard Transformation

U f Gate/Black Box U f |x i |a i =|x i |a © f(x) i for all x 2 {0,1} n,a 2 {0,1} f:{0,1} n ! {0,1} © ist XOR Operation: 0 © 0=0; 0 © 1=1; 1 © 1=0

Deutsch Josza Algorithm

Deutsch Josza Then Hadamard Amplitude of |0 n i : f constant ) § 1 f balanced ) 0

A remark The Deutsch Josza problem can be solved easily by a randomized algorithm that is allowed to err with some small probability We will soon see quantum algorithms that “do better”

Deutsch-Josza Algorithm Deterministic: 2 n /2+1 queries Quantum: 1 query, O(n) gates (local transformations), no error Randomized algorithms are also efficient, but they need to make errors