Random Walks and Quantum Walks

Similar documents
20.1 2SAT. CS125 Lecture 20 Fall 2016

RANDOM WALKS IN ONE DIMENSION

What is a random variable

Entanglement and Decoherence in Coined Quantum Walks

CS 361: Probability & Statistics

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

*Karle Laska s Sections: There is no class tomorrow and Friday! Have a good weekend! Scores will be posted in Compass early Friday morning

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

Random Walk and Other Lattice Models

Week 3 Sept. 17 Sept. 21

33 The Gambler's Ruin 1

Bipartite Perfect Matching

1 Normal Distribution.

Single qubit + CNOT gates

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

By allowing randomization in the verification process, we obtain a class known as MA.

Markov Chains. Chapter 16. Markov Chains - 1

MAS275 Probability Modelling Exercises

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

Ph.D. Qualifying Exam Monday Tuesday, January 4 5, 2016

Expected Value 7/7/2006

Recurrences and Full-revivals in Quantum Walks

Classical Verification of Quantum Computations

Great Theoretical Ideas in Computer Science

Discrete Distributions

Markov Chains CK eqns Classes Hitting times Rec./trans. Strong Markov Stat. distr. Reversibility * Markov Chains

CS120, Quantum Cryptography, Fall 2016

Senior Math Circles November 19, 2008 Probability II

Introduction to Stochastic Processes

Implementing Quantum walks

SIMPLE RANDOM WALKS: IMPROBABILITY OF PROFITABLE STOPPING

How To Test If a Polynomial Is Identically Zero?

MATH 19B FINAL EXAM PROBABILITY REVIEW PROBLEMS SPRING, 2010

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

S n = x + X 1 + X X n.

Exam III #1 Solutions

Quantum Communication Complexity

arxiv:quant-ph/ v1 15 Apr 2005

Chapter 10. Quantum algorithms

Expected Value II. 1 The Expected Number of Events that Happen

STAT 201 Chapter 5. Probability

X = X X n, + X 2

Discrete quantum random walks

Chapter 11 Advanced Topic Stochastic Processes

ERRATA. Standard Probability and Statistics Tables and Formulae by Daniel Zwillinger and Stephen Kokoska

CS 125 Section #12 (More) Probability and Randomized Algorithms 11/24/14. For random numbers X which only take on nonnegative integer values, E(X) =

Recurrences in Quantum Walks

General Boundary Problem: System of Equations Solution

Random walks, Markov chains, and how to analyse them

NP-Completeness. Until now we have been designing algorithms for specific problems

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

REVIEW: Waves on a String

Lecture 24: Randomized Complexity, Course Summary

Optimizing the discrete time quantum walk using a SU(2) coin

!"#$%"&'(#)*+',$'-,+./0%0'#$1' 23$4$"3"+'5,&0'

Random Processes. DS GA 1002 Probability and Statistics for Data Science.

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

Introduction to Quantum Computing

MAT Mathematics in Today's World

Lecture 2: From Classical to Quantum Model of Computation

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Quantum Information Theory and Cryptography

Introduction to Quantum Computing

1 Randomized reduction: a first start

Probability, Random Processes and Inference

The topics in this section concern with the first course objective.

Chapter 8: An Introduction to Probability and Statistics

Entanglement and Quantum Teleportation

Individual Round CHMMC November 20, 2016

Lectures on Markov Chains

Turing Machines and Time Complexity

1 Gambler s Ruin Problem

Random walks. Marc R. Roussel Department of Chemistry and Biochemistry University of Lethbridge. March 18, 2009

Lecture 5. 1 Review (Pairwise Independence and Derandomization)

6.896 Quantum Complexity Theory November 4th, Lecture 18

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 20

Exponential algorithmic speedup by quantum walk

Quantum NP - Cont. Classical and Quantum Computation A.Yu Kitaev, A. Shen, M. N. Vyalyi 2002

Math 456: Mathematical Modeling. Tuesday, March 6th, 2018

Martingale Theory for Finance

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

TRIPARTITE MATCHING, KNAPSACK, Pseudopolinomial Algorithms, Strong NP-completeness

1 Basic Game Modelling

4 Branching Processes

CSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010

6.080/6.089 GITCS May 6-8, Lecture 22/23. α 0 + β 1. α 2 + β 2 = 1

Lecture 18: PCP Theorem and Hardness of Approximation I

Lecture #13 Tuesday, October 4, 2016 Textbook: Sections 7.3, 7.4, 8.1, 8.2, 8.3

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Topics in Complexity

CS/COE

arxiv:quant-ph/ v1 13 Mar 2003

Lecture Notes CS:5360 Randomized Algorithms Lecture 20 and 21: Nov 6th and 8th, 2018 Scribe: Qianhang Sun

1 Gambler s Ruin Problem

(A) Incorrect! A parameter is a number that describes the population. (C) Incorrect! In a Random Sample, not just a sample.

6.841/18.405J: Advanced Complexity Wednesday, April 2, Lecture Lecture 14

Inference for Stochastic Processes

CSCI3390-Second Test with Solutions

Lecture 2 Binomial and Poisson Probability Distributions

Transcription:

Random Walks and Quantum Walks Stephen Bartlett, Department of Physics and Centre for Advanced Computing Algorithms and Cryptography, Macquarie University

Random Walks and Quantum Walks Classical random walks have been applied to many theoretical and practical problems: diffusion Wiener processes assessing randomized algorithms Quantum physics introduces new perspectives: quantum diffusion quantum stochastics quantum walks BIG QUESTION: what do quantum walks have to say about quantum information processing? S D Bartlett, Macquarie University 2

(Classical) Random Walks Simplest case: walk on a 1-D lattice 1. Let the particle start at position k=0 at time t=0 2. For a particle at position k at time t: With a 50% probability, the particle moves to position k+1 at time t+1, otherwise, the particle moves to position k-1 at time t+1. We can think of a coin toss at every time step. If the toss gives heads, we move the particle to the right; otherwise, we move the particle to the left. S D Bartlett, Macquarie University 3

Questions for random walks Considering many random walks, where on average will the particle be? k=0 (No drift for fair coin) What is the variance? Var(k) = σ 2 t (Variance grows linearly with time) Is there a limiting distribution for the average of many random walks as t? Normal distribution Consider an absorbing boundary at some k 0. What is the probability that the particle will hit this boundary after t steps? Interesting... S D Bartlett, Macquarie University 4

The Gambler's Ruin Consider a betting game with a 50/50 chance: If you win, you get back twice your bet. If you lose, you get back nothing. A gambler bets $1 each round of a game random walk However, he starts with X amount of money, whereas the bank/casino has unlimited funds: There is no upper bound to his winnings, but, If he hits $0, he must stop playing. This problem is a random walk with an absorbing boundary Can also have one absorbing boundary and one reflecting boundary: Gambler's ruin against the sheriff (?!?!?) S D Bartlett, Macquarie University 5

Results from the gambler's ruin Let P N (n) denote the probability that, starting with n dollars, the gambler becomes broke before winning N > n dollars. Solving P N (n) = (1/2)[ P N (n-1) + P N (n+1) ] Boundary conditions: P N (0) = 1, P N (N) = 0. Solution: P N (n) = 1 n/n. Gambler's ruin against the sheriff: If n=n, then the gambler always loses that round (reflecting boundary). Let x(n) be the expected number of bets before the gambler is broke, given that he has n dollars. Solving x(n) = (1/2)[ x(n+1) + x(n-1) ] + 1 Boundary conditions: x(n) = x(n-1) + 1, x(0) = 0. Solution: x(n) = 2nN n 2. Gambler will always become broke eventually, in O(n 2 ) rounds S D Bartlett, Macquarie University 6

Satisfiability Consider n variables (literals) {x i }, which can each take the value TRUE or FALSE A clause with k literals has the form, e.g., x a (x b ) (x c ) x d... (x y ) x z with k literals and is TRUE if any of its individual elements is TRUE Now consider a formula with a lot of clauses (clause 1 ) (clause 2 )... (clause N ) Each clause must be TRUE in order for the whole expression to be TRUE. Might not be possible with any assignment Satisfiability (SAT): Is there an assignment of the literals {x i } that will give a TRUE expression? ksat: special case where all clauses have exactly k literals. S D Bartlett, Macquarie University 7

SAT, ksat and 2SAT We know that SAT is NP-complete (Cook's Theorem) 3SAT is NP-complete (or any ksat for k 3) However, 2SAT is in P. There is a randomized algorithm for 2SAT that is O(n 2 ), where n is the number of literals 2SAT Randomized Algorithm (C. Papadimitriou, Computational Complexity, 1994): Start with any assignment of the n literals {x i }, and repeat: If there is no unsatisfied clause: then HALT. Formula is satisfiable. Otherwise: Take any unsatisfied clause, and randomly change one of its literals After r repetitions, HALT. Formula is probably not satisfiable. We find that r = O(n 2 ) to get probability of answer very high. S D Bartlett, Macquarie University 8

2SAT alg. realizes a random walk In 2SAT, an unsatisfied clause has two literals, e.g., (x i x j ) or (x i x j ) or (x i x j ) For a correct assignment, one of them has to change. We have at least a 50/50 chance of improving things by flipping one at random. (Maybe better... maybe both are wrong!) Let t(i) be the expected number of repetitions of the flipping step before we get a particular satisfying answer, where i is the number of incorrect assignments in our current guess. We have the inequality t(i) (1/2)[ t(i-1) + t(i+1)] + 1 We also have t(0) = 0 and t(n) t(n-1) + 1. S D Bartlett, Macquarie University 9

2SAT realizes a random walk A bound can be found by considering equality. x(i) = (1/2)[x(i-1) + x(i+1)] + 1 Same boundary conditions: x(0) = 0, x(n) = x(n-1) + 1. Then x(i) t(i) for all i. Gambler's ruin against the sheriff! Equation for a 1-D random walk with a reflecting boundary (i=n) and an absorbing boundary (i=0). Worse case scenario: start with i=n. Solve: x(n) = n 2. The expected number of repetitions t(i) satisfies: t(i) x(i) x(n) = n 2 Random walk provides a bound that allows us to determine the complexity of the 2SAT problem. S D Bartlett, Macquarie University 10

Quantizing the random walk Can we create a quantum version of the random walk? YES Basic idea: eliminate randomness by using a quantum coin, which can exist in a superposition of heads and tails Different "Feynman paths" can interfere in the quantum case: Classical case: probabilities add Quantum case: probability amplitudes add and interfere Must be careful when we consider absorbing boundaries: Does a measurement occur? What type of measurement? Quantum walks exhibit drastically different behaviour than their classical counterparts. Can we use it? S D Bartlett, Macquarie University 11

Quantum coin toss Replace the coin with a quantum two-level system Quantum coin toss: Hadamard transformation creates a superposition No randomness: unitary, reversible operation S D Bartlett, Macquarie University 12

Quantum walk Heads goes left, tails goes right S D Bartlett, Macquarie University 13

Quantum walk Coin Hilbert space is one qubit: H c = span{ +, } Spatial Hilbert space is n qubits: H s = span{ i, i Z d }, where d=2 n. Note that our lattice "wraps around": quantum walk on a circle Quantum walk consists of two alternating unitary transformations: Hadamard H performs the quantum coin toss Controlled displacement: Apply (FH) t to an initial state + 0 S D Bartlett, Macquarie University 14

Quantum walk distribution Quantum walk does not lead to normal distribution Variance grows quadratically in the number of steps faster spread than random walk!""!# S D Bartlett, Macquarie University 15

Random Walks on a Hypercube Hypercube: in d dimensions, has 2 n vertices 00 01 d=1 d=3 000 100 0 1 001 011 010 101 111 110 d=2 d=4? 10 11 Salvador Dali: Corpus Hypercubicus S D Bartlett, Macquarie University 16

Random Walks on a Hypercube The vertices of a hypercube in d-dimensions are labelled by a d bit string (b 1 b 2 b 3...b d ) b i {0,1} For example, (000...0) is one corner, and (111...1) is the "opposite" corner Random walk on a hypercube: 1. Start with some vertex, labelled (000...0). 2. At each step, randomly choose s{1,...,d}. 3. Flip the s th bit. The walk "travels" only on the edges Hitting time: expected number of steps to reach the opposite corner on a d-dimensional hypercube: 2 d-1 S D Bartlett, Macquarie University 17

Quantum Walks on a Hypercube Use a d-sided coin: H c = span{ s, s Z d } Spatial states are represented by state of d qubits: H s = span{ b 1 b 2 b 3...b d, b i Z 2 } Generalized coin flip (discrete Fourier transform): Generalized controlled displacement: Alternate C and F on initial state 0 000...0 Quantum superpositions make the resulting behaviour different from the classical walk S D Bartlett, Macquarie University 18

Hitting times... what does that mean? What does it mean to say that a quantum walk has "reached" a particular point? Checking requires a measurement Can't measure the position of the quantum walk at each step, or we recover the (classical) random walk Some possibilities: One-shot measurements: after some fixed time T, measure the position of the quantum walk Concurrent measurements: for some fixed position x, apply at each step the projection xx, I- xx. Such a measurement leaves the superpositions in the orthogonal space intact. Results: for either type of measurements, quantum walks on a hypercube can hit exponentially faster (quant-ph/0205083) S D Bartlett, Macquarie University 19

Conclusions (?) Random walks are useful, e.g., in assessing the complexity of some randomized (classical) algorithms Quantum walks have distinct behaviour from their classical counterparts No randomness: all evolution is unitary Variance increases quadratically faster Hitting times may be exponentially faster Quantum walks may have many uses in quantum information processing, but we don't know enough about them or their power (yet!) S D Bartlett, Macquarie University 20