logging in or signing up yair wiener Barbara Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 273 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: January 07, 2008 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript The Quest for Quantum Ants: The Quest for Quantum Ants QIP Seminar, July 2007 Yair WienerAgenda: Agenda Classical Ants Ants Turn Quantum Search by Quantum Robots Search by Quantum Random Walk Classical Ants: Classical Ants “Go to the ant, thou sluggard; consider her ways, and be wise”Biological Ants: Biological Ants Ants (initially) wander randomly, and upon finding food return to their colony while laying down pheromone trails If other ants find such a path, they are likely to follow the trail, returning and reinforcing it if they eventually find food Ant Inspired Algorithms *: Ant Inspired Algorithms * Ant Colony Optimization (ACO) Edge Ant Walk (EAW) Vertex Ant Walk (VAW) (*) Partial list Typical Problems: Typical Problems Searching a graph (static targets) Hunters (dynamic targets) Combinatorial optimization (e.g traveling salesman problem) Finding shortest path And much more … Ant Colony Optimization (ACO) *: Ant Colony Optimization (ACO) * a probabilistic technique for solving computational problems which can be reduced to finding good paths through graphs (*) Introduced by Marco Dorigo in his PhD thesis (1992) ACO framework (quick overview): ACO framework (quick overview) The pheromone model induce probability distribution over solution space Multiple solutions (ants) are sampled and, optionally, locally optimized Pheromone model is updated according to solutions (“good” solutions increase local probability) Repeat sampling solution space and update pheromone model Searching a Graph: Searching a Graph Consider memoryless agent that searches a graph G(V,E) for food Each agent (ant) has the ability to leave pheromone traces on vertices and sense the smell Pheromone traces dissipate over time Formalism: Formalism A vertex v at time t is marked by the pair : where is the number of marks left on v, and is the time of the most recent mark left Vertex Ant Walk (VAW) *: Vertex Ant Walk (VAW) * v := u’s neighbor with minimal value of go to v (*) “Efficiently Searching a Graph by a Smell-Oriented Vertex Process”, A. Wagner et al, Annals of Mathematics and Artificial Intelligence 24 (1998) pp. 211-223 Some VAW Results: Some VAW Results Theorem 1: Denote by d the diameter of G, and by n the number of vertices. Then after at most nd steps the graph G is covered. Searching graph G is O(nd)Comparison to random walk: Comparison to random walk Random Walk: O(n2) VAW: O(n ) n fully connected graphComparison to random walk: Comparison to random walk See example graph G4 Complexity of reaching rightmost node: Random Walk: O(2n) VAW: O(n2n ) (*) The graph is from “An example of the difference between quantum and classical random walks”, A.Childs et al, Quantum Information Processing, 1:35, 2002.Summary: Summary Ant inspired algorithms can find approximations to NP-hard problems VAW can search any unknown graph in complexity O(nd) The introduction of pheromones can improve search performance over random walk Ants Turn Quantum: Ants Turn QuantumHow Can We Turn Ants Quantum ?: How Can We Turn Ants Quantum ? Leave pheromones in quantum states (exploit quantum communication between ants) Put each ant in superposition (travel different directions at the same time) Schrödinger's Ant : Schrödinger's Ant We will pursue with the second direction. Relevant work include quantum robots and quantum random walk. Quantum Robots: Quantum RobotsQuantum Robot : Quantum Robot (*) “Quantum Robots Plus Environments”, Paul Benioff, Phys. Rev. A 58, 1998Quantum Robot : Quantum Robot Quantum Robot model is a generalization of previous work on quantum computers with interactions with the environment (noise effects, data base searching and quantum oracle computing) Quantum Robot Model: Quantum Robot Model Quantum Robot consist of On board quantum computer Memory system (m) Output system (o) Control qubit (c) Task Dynamics Alternating computation and action phases Quantum Robot Model: Quantum Robot Model Space Search with Quantum Robot * : Space Search with Quantum Robot * (*) “Space Searches with a Quantum Robot”, Paul Benioff, AMS Contemporary Math Series, Vol 305, 2002 N NGrover algorithm (reminder): Function f takes the value 0 on all elements except one, w m iterations of Q corresponds to a rotation by mθ in the 2 dimensional Hilbert space spanned by the orthogonal vectors |α> and |w>. Grover algorithm (reminder)Can we use Grover algorithm ? : Can we use Grover algorithm ? Can we directly use Grover algorithms to solve the grid search problem in O(N) ? The problem is that for efficient implementation of the algorithm it is required to determine, in small number of steps if x = w In the grid search problem we don’t have access to the phase oracle ( )Using Quantum Robot : Initial state: Copy m state onto L: Computation Phase: If X > 0: Else if Y > 0: Else test presence of s at the robot location and “record” it by changing memory state phase. Go back to the origin following the same path and change output state to |dn> upon arrival. Using Quantum Robot Using Quantum Robot : Action phase The quantum robot moves one lattice site according to the output state direction Upon arrival back to origin transfers motion to some ballast system Using Quantum Robot Using Quantum Robot : Using Quantum Robot We start with a quantum robot with the initial state: After the quantum robot returns to the origin the state is: The complexity of getting isUsing Quantum Robot : Using Quantum Robot Using quantum robot for evaluation of the phase oracle in Grover search algorithm results in overall complexity of The advantage of quantum, over classical searching is lost for 2 dimensional regions What about d dimensional regions ?Have we missed anything ? : Have we missed anything ? Our discussion ignored the entanglement problem Entanglement occurs because the unitary dynamics is reversible and the number of steps needed to complete the search task is different for different component states of Grover algorithm requires the removal of this entanglement Benioff claimed that it is improbable that Grover algorithm will be used to speed up spatial 2D searchIs it the end of the road ? : Scott Aaronson and Andris Ambainis have shown in 2003 that Benioff’s claim is mistaken * Searching 2-dimensional graph can be done in And searching d-dimensional graph (d > 3) can be done in Is it the end of the road ? (*) “Quantum search of spatial regions”, S. Aaronson and A. Ambainis, In Proc. 44th Annual IEEE Symp. On Foundations of Computer Science (FOCS), pages 200-209, 2003Divide-and-conquer algorithm : Divide-and-conquer algorithm Divide-and-conquer algorithm: Partition the region into squares Travel from start vertex to any setsquare C: Search C classically and return to start vertex: Applying Grover algorithm on C’s results: Overall search complexity: Divide-and-conquer algorithmDivide-and-conquer algorithm: Now we can partition the region into squares Travel from start vertex to any setsquare C: Search C using previous technique: Applying Grover algorithm on C’s results: Overall search complexity: Applying this technique recursively we get: Divide-and-conquer algorithmDivide-and-conquer algorithm: The problem is that, with each additional layer of recursion, the robot needs to repeat the search more often to upper bound the error probability Amplitude amplification approach is used to overcome this issue and achieve the improved bounds Divide-and-conquer algorithmSummary: Summary The introduction of physical constrains to quantum computations yields interesting results Quantum robot: dynamic quantum system with alternating computation and action phases Grover algorithm can indeed speed up spatial search 2D grid can be searched in using Grover algorithm and quantum robots Quantum Random Walk: Quantum Random WalkDiscrete Quantum Random Walk : Discrete Quantum Random Walk We will start with one dimensional quantum walk Let be the Hilbert space spanned by the position of the particle Let be the ‘coin’-space spanned by two basis states States of the total system are in the spaceDiscrete Quantum Random Walk : Discrete Quantum Random Walk The conditional translation of the system can be described by the following operator The unitary transformation C is very arbitrary An example of coin is Hadamard coin H Measuring the coin state after each iteration of removes the correlation between positions and we obtain the classical random walk Discrete Quantum Random Walk : Discrete Quantum Random Walk We will not measure the coin state between iterations The interference causes radically different behavior than classical random walk Discrete Quantum Random Walk : Discrete Quantum Random Walk The asymmetry (bias to the left) comes from the Hadamard coin A symmetric coin * (*) “Quantum walks and their algorithmic applications”, A. Ambainis, Int. J. Quantum Inf. 1, 507–518, 2003 Discrete Quantum Random Walk : Discrete Quantum Random Walk Why do we need a coin state ? : Lets look on quantum random walk on a single line David Meyer have shown (*) that the transformation U defined by the above equation is unitary only if Why do we need a coin state ? (*) “From quantum cellular automata to quantum lattice gases ”, D. Meyer, J. Stat. Phys. 85 (1996) 551-574 The Model : The Model Given undirected graph Each vertex v stores a variable At one step an algorithm can examine the current vertex or move to a neighboring vertex The algorithm is a sequence of unitary transformations on a Hilbert spaceThe Model : The Model Query transformation consists of two transformations is applied to all for which and is applied to all for which Z-local transformation * (*) “Quantum search of spatial regions”, S. Aaronson and A. Ambainis, In Proc. 44th Annual IEEE Symp. On Foundations of Computer Science (FOCS), pages 200-209, 2003The Model cont : The algorithm starts in a fixed starting state and applies The result is Then we measure the final state The Model cont Search by Quantum Random Walk *: Search by Quantum Random Walk * Unperturbed “coin-flip” transformation Perturbed “coin-flip” transformation Final “coin-flip” transformation (*) “Coins Make Quantum Walks Faster”, A. Ambainis, J. Kempe and A. Rivosh, Proc. 16th ACM-SIAM SODA, p. 1099-1108 (2005) Search by Quantum Random Walk : Search by Quantum Random Walk S is a shift controlled by the coin register Where is a permutation of the d basis states of the coin space The “marked walk” operatorQuantum Walk Search Algorithm: Quantum Walk Search Algorithm Grover as a Quantum Walk : Grover as a Quantum Walk Grover search algorithm can be viewed as a random walk search algorithm on a complete graph Lets defineGrover as a Quantum Walk : Grover as a Quantum Walk Now the random walk based algorithm is The random walk gives exactly Grovers algorithm on both coin space and the vertex space (at the expense of factor 2 in the number of applications)Searching a 2D grid : Searching a 2D grid The choice of the coin transformation (or permutation ) is crucial for the performance of the random walk Lets define two shift operators Searching a 2D grid : The quantum walk can search N x N grid in steps The quantum walk can search N x N grid in at least steps Searching a 2D grid Summary: Summary Quantum random walk exhibit substantially different behavior than classical random walk The performance of quantum random walk as search algorithm highly depends on the coin transformation 2D grid can be searched in using quantum random walk Conclusion: ConclusionConclusion : Conclusion You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
yair wiener Barbara Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 273 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: January 07, 2008 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript The Quest for Quantum Ants: The Quest for Quantum Ants QIP Seminar, July 2007 Yair WienerAgenda: Agenda Classical Ants Ants Turn Quantum Search by Quantum Robots Search by Quantum Random Walk Classical Ants: Classical Ants “Go to the ant, thou sluggard; consider her ways, and be wise”Biological Ants: Biological Ants Ants (initially) wander randomly, and upon finding food return to their colony while laying down pheromone trails If other ants find such a path, they are likely to follow the trail, returning and reinforcing it if they eventually find food Ant Inspired Algorithms *: Ant Inspired Algorithms * Ant Colony Optimization (ACO) Edge Ant Walk (EAW) Vertex Ant Walk (VAW) (*) Partial list Typical Problems: Typical Problems Searching a graph (static targets) Hunters (dynamic targets) Combinatorial optimization (e.g traveling salesman problem) Finding shortest path And much more … Ant Colony Optimization (ACO) *: Ant Colony Optimization (ACO) * a probabilistic technique for solving computational problems which can be reduced to finding good paths through graphs (*) Introduced by Marco Dorigo in his PhD thesis (1992) ACO framework (quick overview): ACO framework (quick overview) The pheromone model induce probability distribution over solution space Multiple solutions (ants) are sampled and, optionally, locally optimized Pheromone model is updated according to solutions (“good” solutions increase local probability) Repeat sampling solution space and update pheromone model Searching a Graph: Searching a Graph Consider memoryless agent that searches a graph G(V,E) for food Each agent (ant) has the ability to leave pheromone traces on vertices and sense the smell Pheromone traces dissipate over time Formalism: Formalism A vertex v at time t is marked by the pair : where is the number of marks left on v, and is the time of the most recent mark left Vertex Ant Walk (VAW) *: Vertex Ant Walk (VAW) * v := u’s neighbor with minimal value of go to v (*) “Efficiently Searching a Graph by a Smell-Oriented Vertex Process”, A. Wagner et al, Annals of Mathematics and Artificial Intelligence 24 (1998) pp. 211-223 Some VAW Results: Some VAW Results Theorem 1: Denote by d the diameter of G, and by n the number of vertices. Then after at most nd steps the graph G is covered. Searching graph G is O(nd)Comparison to random walk: Comparison to random walk Random Walk: O(n2) VAW: O(n ) n fully connected graphComparison to random walk: Comparison to random walk See example graph G4 Complexity of reaching rightmost node: Random Walk: O(2n) VAW: O(n2n ) (*) The graph is from “An example of the difference between quantum and classical random walks”, A.Childs et al, Quantum Information Processing, 1:35, 2002.Summary: Summary Ant inspired algorithms can find approximations to NP-hard problems VAW can search any unknown graph in complexity O(nd) The introduction of pheromones can improve search performance over random walk Ants Turn Quantum: Ants Turn QuantumHow Can We Turn Ants Quantum ?: How Can We Turn Ants Quantum ? Leave pheromones in quantum states (exploit quantum communication between ants) Put each ant in superposition (travel different directions at the same time) Schrödinger's Ant : Schrödinger's Ant We will pursue with the second direction. Relevant work include quantum robots and quantum random walk. Quantum Robots: Quantum RobotsQuantum Robot : Quantum Robot (*) “Quantum Robots Plus Environments”, Paul Benioff, Phys. Rev. A 58, 1998Quantum Robot : Quantum Robot Quantum Robot model is a generalization of previous work on quantum computers with interactions with the environment (noise effects, data base searching and quantum oracle computing) Quantum Robot Model: Quantum Robot Model Quantum Robot consist of On board quantum computer Memory system (m) Output system (o) Control qubit (c) Task Dynamics Alternating computation and action phases Quantum Robot Model: Quantum Robot Model Space Search with Quantum Robot * : Space Search with Quantum Robot * (*) “Space Searches with a Quantum Robot”, Paul Benioff, AMS Contemporary Math Series, Vol 305, 2002 N NGrover algorithm (reminder): Function f takes the value 0 on all elements except one, w m iterations of Q corresponds to a rotation by mθ in the 2 dimensional Hilbert space spanned by the orthogonal vectors |α> and |w>. Grover algorithm (reminder)Can we use Grover algorithm ? : Can we use Grover algorithm ? Can we directly use Grover algorithms to solve the grid search problem in O(N) ? The problem is that for efficient implementation of the algorithm it is required to determine, in small number of steps if x = w In the grid search problem we don’t have access to the phase oracle ( )Using Quantum Robot : Initial state: Copy m state onto L: Computation Phase: If X > 0: Else if Y > 0: Else test presence of s at the robot location and “record” it by changing memory state phase. Go back to the origin following the same path and change output state to |dn> upon arrival. Using Quantum Robot Using Quantum Robot : Action phase The quantum robot moves one lattice site according to the output state direction Upon arrival back to origin transfers motion to some ballast system Using Quantum Robot Using Quantum Robot : Using Quantum Robot We start with a quantum robot with the initial state: After the quantum robot returns to the origin the state is: The complexity of getting isUsing Quantum Robot : Using Quantum Robot Using quantum robot for evaluation of the phase oracle in Grover search algorithm results in overall complexity of The advantage of quantum, over classical searching is lost for 2 dimensional regions What about d dimensional regions ?Have we missed anything ? : Have we missed anything ? Our discussion ignored the entanglement problem Entanglement occurs because the unitary dynamics is reversible and the number of steps needed to complete the search task is different for different component states of Grover algorithm requires the removal of this entanglement Benioff claimed that it is improbable that Grover algorithm will be used to speed up spatial 2D searchIs it the end of the road ? : Scott Aaronson and Andris Ambainis have shown in 2003 that Benioff’s claim is mistaken * Searching 2-dimensional graph can be done in And searching d-dimensional graph (d > 3) can be done in Is it the end of the road ? (*) “Quantum search of spatial regions”, S. Aaronson and A. Ambainis, In Proc. 44th Annual IEEE Symp. On Foundations of Computer Science (FOCS), pages 200-209, 2003Divide-and-conquer algorithm : Divide-and-conquer algorithm Divide-and-conquer algorithm: Partition the region into squares Travel from start vertex to any setsquare C: Search C classically and return to start vertex: Applying Grover algorithm on C’s results: Overall search complexity: Divide-and-conquer algorithmDivide-and-conquer algorithm: Now we can partition the region into squares Travel from start vertex to any setsquare C: Search C using previous technique: Applying Grover algorithm on C’s results: Overall search complexity: Applying this technique recursively we get: Divide-and-conquer algorithmDivide-and-conquer algorithm: The problem is that, with each additional layer of recursion, the robot needs to repeat the search more often to upper bound the error probability Amplitude amplification approach is used to overcome this issue and achieve the improved bounds Divide-and-conquer algorithmSummary: Summary The introduction of physical constrains to quantum computations yields interesting results Quantum robot: dynamic quantum system with alternating computation and action phases Grover algorithm can indeed speed up spatial search 2D grid can be searched in using Grover algorithm and quantum robots Quantum Random Walk: Quantum Random WalkDiscrete Quantum Random Walk : Discrete Quantum Random Walk We will start with one dimensional quantum walk Let be the Hilbert space spanned by the position of the particle Let be the ‘coin’-space spanned by two basis states States of the total system are in the spaceDiscrete Quantum Random Walk : Discrete Quantum Random Walk The conditional translation of the system can be described by the following operator The unitary transformation C is very arbitrary An example of coin is Hadamard coin H Measuring the coin state after each iteration of removes the correlation between positions and we obtain the classical random walk Discrete Quantum Random Walk : Discrete Quantum Random Walk We will not measure the coin state between iterations The interference causes radically different behavior than classical random walk Discrete Quantum Random Walk : Discrete Quantum Random Walk The asymmetry (bias to the left) comes from the Hadamard coin A symmetric coin * (*) “Quantum walks and their algorithmic applications”, A. Ambainis, Int. J. Quantum Inf. 1, 507–518, 2003 Discrete Quantum Random Walk : Discrete Quantum Random Walk Why do we need a coin state ? : Lets look on quantum random walk on a single line David Meyer have shown (*) that the transformation U defined by the above equation is unitary only if Why do we need a coin state ? (*) “From quantum cellular automata to quantum lattice gases ”, D. Meyer, J. Stat. Phys. 85 (1996) 551-574 The Model : The Model Given undirected graph Each vertex v stores a variable At one step an algorithm can examine the current vertex or move to a neighboring vertex The algorithm is a sequence of unitary transformations on a Hilbert spaceThe Model : The Model Query transformation consists of two transformations is applied to all for which and is applied to all for which Z-local transformation * (*) “Quantum search of spatial regions”, S. Aaronson and A. Ambainis, In Proc. 44th Annual IEEE Symp. On Foundations of Computer Science (FOCS), pages 200-209, 2003The Model cont : The algorithm starts in a fixed starting state and applies The result is Then we measure the final state The Model cont Search by Quantum Random Walk *: Search by Quantum Random Walk * Unperturbed “coin-flip” transformation Perturbed “coin-flip” transformation Final “coin-flip” transformation (*) “Coins Make Quantum Walks Faster”, A. Ambainis, J. Kempe and A. Rivosh, Proc. 16th ACM-SIAM SODA, p. 1099-1108 (2005) Search by Quantum Random Walk : Search by Quantum Random Walk S is a shift controlled by the coin register Where is a permutation of the d basis states of the coin space The “marked walk” operatorQuantum Walk Search Algorithm: Quantum Walk Search Algorithm Grover as a Quantum Walk : Grover as a Quantum Walk Grover search algorithm can be viewed as a random walk search algorithm on a complete graph Lets defineGrover as a Quantum Walk : Grover as a Quantum Walk Now the random walk based algorithm is The random walk gives exactly Grovers algorithm on both coin space and the vertex space (at the expense of factor 2 in the number of applications)Searching a 2D grid : Searching a 2D grid The choice of the coin transformation (or permutation ) is crucial for the performance of the random walk Lets define two shift operators Searching a 2D grid : The quantum walk can search N x N grid in steps The quantum walk can search N x N grid in at least steps Searching a 2D grid Summary: Summary Quantum random walk exhibit substantially different behavior than classical random walk The performance of quantum random walk as search algorithm highly depends on the coin transformation 2D grid can be searched in using quantum random walk Conclusion: ConclusionConclusion : Conclusion