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

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

An Introduction to Quantum Computation and Quantum Information

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

Chapter 10. Quantum algorithms

Quantum Computing 1. Multi-Qubit System. Goutam Biswas. Lect 2

Introduction to Quantum Computing

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

Simulation of quantum computers with probabilistic models

Short Course in Quantum Information Lecture 2

Quantum Computing Lecture 2. Review of Linear Algebra

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

1 Measurements, Tensor Products, and Entanglement

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

Lecture 2: From Classical to Quantum Model of Computation

6.896 Quantum Complexity Theory September 9, Lecture 2

{0,1} = B versus a 0 +b 1 C 2

Quantum Computing Lecture 3. Principles of Quantum Mechanics. Anuj Dawar

Lecture 1: Overview of quantum information

Introduction to Quantum Computing

Boolean State Transformation

Lecture 3: Hilbert spaces, tensor products

Lecture 1: Introduction to Quantum Computing

QLang: Qubit Language

. An introduction to Quantum Complexity. Peli Teloni

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

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

Quantum Algorithms for Computing the Boolean Function AND and Verifying Repetition Code

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

Linear Algebra and Dirac Notation, Pt. 1

Lecture 14: Quantum information revisited

Introduction to Quantum Computing

Quantum Information & Quantum Computation

Lecture 3: Constructing a Quantum Model

Quantum computing! quantum gates! Fisica dell Energia!

Qubits vs. bits: a naive account A bit: admits two values 0 and 1, admits arbitrary transformations. is freely readable,

6.896 Quantum Complexity Theory September 18, Lecture 5

2. Introduction to quantum mechanics

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

Introduction to Quantum Computing

CS257 Discrete Quantum Computation

arxiv: v1 [quant-ph] 6 Feb 2013

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

Introduction to Quantum Computation

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

Decay of the Singlet Conversion Probability in One Dimensional Quantum Networks

Lecture 4: Elementary Quantum Algorithms

Some Introductory Notes on Quantum Computing

Factoring on a Quantum Computer

The quantum state as a vector

Lecture 1: Introduction to Quantum Computing

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

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

A Gentle Introduction to Quantum Computing

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

Nothing Here. Fast Quantum Algorithms

The Weird World of Quantum Mechanics

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

Quantum Computing Lecture 6. Quantum Search

Introduction to Quantum Information Processing

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

Polynomials, quantum query complexity, and Grothendieck s inequality

Seminar 1. Introduction to Quantum Computing

CS286.2 Lecture 15: Tsirelson s characterization of XOR games

arxiv: v4 [cs.dm] 19 Nov 2018

1 Dirac Notation for Vector Spaces

Quantum Computation CMU BB, Fall Week 6 work: Oct. 11 Oct hour week Obligatory problems are marked with [ ]

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

Quantum Computation, NP-Completeness and physical reality [1] [2] [3]

Chapter III. Quantum Computation. Mathematical preliminaries. A.1 Complex numbers. A.2 Linear algebra review

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

Introduction into Quantum Computations Alexei Ashikhmin Bell Labs

Formalism of Quantum Mechanics

Quantum Query Algorithm Constructions for Computing AND, OR and MAJORITY Boolean Functions

Quantum Circuits and Algorithms

Ph 219/CS 219. Exercises Due: Friday 20 October 2006

Quantum Communication Complexity

Quantum Computation. Michael A. Nielsen. University of Queensland

Lecture 13B: Supplementary Notes on Advanced Topics. 1 Inner Products and Outer Products for Single Particle States

Lecture 6: Vector Spaces II - Matrix Representations

The query register and working memory together form the accessible memory, denoted H A. Thus the state of the algorithm is described by a vector

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

Lecture 4: Postulates of quantum mechanics

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

Classical behavior of magnetic dipole vector. P. J. Grandinetti

CSCI 2570 Introduction to Nanocomputing. Discrete Quantum Computation

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

Simon s algorithm (1994)

Chapter 11 Evolution by Permutation

INTRODUCTION TO QUANTUM ALGORITHMS, POROTOCOLS AND COMPUTING

Introduction to Quantum Branching Programs

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

report: RMT and boson computers

1 Algebra of State Vectors

Lecture 20: Bell inequalities and nonlocality

Quantum Mechanics- I Prof. Dr. S. Lakshmi Bala Department of Physics Indian Institute of Technology, Madras

Quantum Communication

10 Quantum Complexity Theory I

6.896 Quantum Complexity Theory October 2, Lecture 9

An Introduction to Quantum Information and Applications

Hamiltonian simulation with nearly optimal dependence on all parameters

Transcription:

Deutsch s Algorithm Dimitrios I. Myrisiotis MPLA CoReLab April 6, 017 1 / 70

Contents Introduction Preliminaries The Algorithm Misc. / 70

Introduction 3 / 70

Introduction Figure : David Deutsch (1953 ). 4 / 70

Introduction Deutsch s Problem. Input : A black-box U f for f : {0, 1} {0, 1}. Output : The value of XOR (f (0), f (1)) = f (1) f (0). 5 / 70

Introduction Deutsch s Problem. Input : A black-box U f for f : {0, 1} {0, 1}. Output : The value of XOR (f (0), f (1)) = f (1) f (0). Classically, we need two queries to U f. Quantumly, one query to U f suffices! 5 / 70

Preliminaries 6 / 70

Preliminaries }{{} 16 : {0, 1} Figure : Our 16-bit computer, with 16 configurations. 7 / 70

Preliminaries p 1 p... p 16 i { 1,,..., 16} : p i {0, 1} p i = 1!k : p k = 1 16 i=1 Figure : Communicating a configuration of a deterministic computer. 8 / 70

Preliminaries p 1 p... p 16 i { 1,,..., 16} : p i [0, 1] p i = 1 16 i=1 Figure : Communicating a configuration of a probabilistic computer. 9 / 70

Preliminaries c 1 c... c 16 i { 1,,..., 16} : c i C c i = 1 (*) 16 i=1 Figure : Communicating a configuration of a quantum computer. 10 / 70

Preliminaries Quantum States 11 / 70

Preliminaries: Quantum States B = {v i } 16 i=1 v 1 = 0... 000 v = 0... 001. v 16 = 1... 111 }{{} 16 1 / 70

Preliminaries: Quantum States B = {v i } 16 i=1 v 1 = } 0..{{. 000} = 16. v 16 = } 1..{{. 111} = 16 1 0. 0 0 0. 1 16 16 13 / 70

Preliminaries: Quantum States B = {v i } 16 i=1 16 H = span (B, C) = c i v i i : c i C and v i B = C16 H = i=1 { } q C 16 q = 1 C 16 14 / 70

Preliminaries: Quantum States H = { } q C 16 q = 1 = where 16-register quantum computers live C 16 15 / 70

Preliminaries: Quantum States H = { q C n q = 1 } = where n-register quantum computers live C n 16 / 70

Preliminaries: Quantum States H = { q C n q = 1 } 16 n q = c i v i H q = 1 c i = 1 (*) i=1 i=1 17 / 70

Preliminaries: Quantum States ψ 18 / 70

Preliminaries: Quantum States ψ H C n 19 / 70

Preliminaries: Quantum States ψ = a ket = a column vector in H ψ = a bra = a row vector in H = the dual of ψ = ψ = ( ψ ) T = ( ψ ) T 0 / 70

Preliminaries: Quantum States B = {v i } 16 i=1 v 1 = 0... 000 v = 0... 001. v 16 = 1... 111 1 / 70

Preliminaries: Quantum States B = { v i } 16 i=1 v 1 = 0... 000 v = 0... 001. v 16 = 1... 111 / 70

Preliminaries: Quantum States B = { v i } 16 i=1 v 1 = 0... 000 = 1 v = 0... 001 =.. v 16 = 1... 111 = 16 3 / 70

Preliminaries: Quantum States I ( ψ, φ ) = inner product = ψ φ = ψ φ C O ( ψ, φ ) = outer product = ψ φ = ψ φ C n n 4 / 70

Preliminaries Unitary Evolution 5 / 70

Preliminaries: Unitary Evolution U q old = q new U 1 = U = (U ) T = (U ) T 6 / 70

Preliminaries: Unitary Evolution q initial H 7 / 70

Preliminaries: Unitary Evolution U 1 q initial H 8 / 70

Preliminaries: Unitary Evolution U U 1 q initial H 9 / 70

Preliminaries: Unitary Evolution m N U m U U 1 q initial H 30 / 70

Preliminaries: Unitary Evolution m N q final = U m U U 1 q initial H 31 / 70

Preliminaries: Unitary Evolution m N q final = U m U U 1 q initial H Figure : Our first quantum algorithm. 3 / 70

Preliminaries Measurements 33 / 70

Preliminaries: Measurements ψ = c i v i H n i=1 c i = 1 (*) n i=1 34 / 70

Preliminaries: Measurements ψ = c i v i Measurement j : ψ = v j n i=1 Pr [The outcome is j.] = c j 35 / 70

Preliminaries: Measurements ψ = c i v i Measurement j : ψ = v j n i=1 Measurement ψ = v j Pr [The outcome is j.] = 1 = 1 36 / 70

Preliminaries: Measurements 37 / 70

Preliminaries Composition 38 / 70

Preliminaries: Composition H 1 H H 1 H 39 / 70

Preliminaries: Composition H qubit H qubit H qubit H qubit 40 / 70

Preliminaries: Composition C C C C 41 / 70

Preliminaries: Composition C C C 4 / 70

Preliminaries: Composition C C C 4 43 / 70

Preliminaries: Composition C C C 4 = H two qubits 44 / 70

Preliminaries: Composition A useful property: (U 1 U ) ( x y ) = U }{{} 1 x U y. U 45 / 70

Preliminaries A Comparison 46 / 70

Preliminaries: A Comparison Table : Quantum mechanics and probability theory. Probability Theory Real numbers in [0, 1] Real numbers that sum to 1 Quantum Mechanics Complex numbers Complex numbers that the squares of their magnitudes sum to 1 The sum is equal to 1 The Euclidean norm is equal to 1 The sum is preserved The L 1 -norm is preserved Use of stochastic matrices The Euclidean norm is preserved The L -norm is preserved Use of unitary matrices 47 / 70

The Algorithm 48 / 70

The Algorithm Deutsch s Problem. Input : A black-box U f for f : {0, 1} {0, 1}. Output : The value of XOR (f (0), f (1)) = f (1) f (0). Classically, we need two queries to U f. Quantumly, one query to U f suffices! 49 / 70

The Algorithm two qubits qubit 1 H U f qubit I I H two qubits = qubit 1 qubit 50 / 70

The Algorithm 0 H U f 1 0 + 1 1 I I H 51 / 70

The Algorithm 0 H U f 1 0 1 1 I I H 5 / 70

The Algorithm 0 H U f 1 0 1 1 I I ( 1 ψ 0 = 0 0 1 ) 1 ψ 1 = U 1 ψ 0 = (H I ) ψ 0 ψ = U ψ 1 = U f ψ 1 ψ 3 = U 3 ψ = (H I ) ψ ψ 4 = the state after we measure the first qubit of ψ 3 H 53 / 70

The Algorithm 0 H U f 1 0 1 1 I I H H 0 = 1 0 + 1 1 U f x y = x y f (x) H 1 = 1 0 1 1 H 1 = H I x = x 54 / 70

The Algorithm 1 0 1 1 0 H U f H H 0 = 1 0 + 1 1 U f x y = x y f (x) H 1 = 1 0 1 1 H 1 = H I x = x 55 / 70

The Algorithm 1 0 1 1 0 H U f H ( 1 ψ 0 = 0 0 1 ) 1 ( 1 ψ 1 = (H I ) ψ 0 = 0 + 1 1 = 1 ( 0 0 0 1 + 1 0 1 1 ) ) ( 1 0 1 ) 1 ψ = U f ψ 1 = 1 ( 0 0 f (0) 0 1 f (0) +... ) ( ) ( ) (0) f (1) 1 ( 1)f ( 1) f (0) (0) ( 1)f = 0 + 1 0 1 56 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 + ) ( ) (0) f (1) ( 1)f ( 1) f (0) (0) ( 1)f 1 0 1 57 / 70

The Algorithm 1 0 1 1 0 H U f H ( ) 1 ψ = 0 + ( 1)1 1 ( ) ( 1) f (0) (0) ( 1)f 0 1 58 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 1 ) ( ) ( 1) f (0) (0) ( 1)f 1 0 1 59 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 1 ) ( ) ( 1) f (0) (0) ( 1)f 1 0 1 ψ 3 = (H I ) ψ = 1 ( ) ( 1) f (0) (0) ( 1)f 0 1 60 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 1 ) ( ) ( 1) f (0) (0) ( 1)f 1 0 1 ψ 3 = (H I ) ψ = 1 = f (0) f (1) ( ) ( 1) f (0) (0) ( 1)f 0 1 ( ) ( 1) f (0) (0) ( 1)f 0 1 61 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 + ) ( ) (0) f (1) ( 1)f ( 1) f (0) (0) ( 1)f 1 0 1 6 / 70

The Algorithm 1 0 1 1 0 H U f H ( ) 1 ψ = 0 + ( 1)0 1 ( ) ( 1) f (0) (0) ( 1)f 0 1 63 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 + 1 ) ( ) ( 1) f (0) (0) ( 1)f 1 0 1 64 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 + 1 ) ( ) ( 1) f (0) (0) ( 1)f 1 0 1 ψ 3 = (H I ) ψ = 0 ( ) ( 1) f (0) (0) ( 1)f 0 1 65 / 70

The Algorithm 1 0 1 1 0 H U f H ψ = ( 1 0 + 1 ) ( ) ( 1) f (0) (0) ( 1)f 1 0 1 ψ 3 = (H I ) ψ = 0 = f (0) f (1) ( ) ( 1) f (0) (0) ( 1)f 0 1 ( ) ( 1) f (0) (0) ( 1)f 0 1 66 / 70

The Algorithm :D 67 / 70

Misc. 68 / 70

Misc.: Where to start?/references An Introduction to Quantum Computing (009), by Kaye, Laflamme, and Mosca. Quantum Computing Since Democritus (013), by Aaronson. 69 / 70

Thank you! 70 / 70