Quantum Computing Algorithms for Artificial IntelligenceDr. Amit Ray explains the Quantum annealing, Quantum Monte Carlo Tree Search, Quantum algorithms for traveling salesman problems, and Quantum algorithms for gradient descent problems in depth. This tutorial is for the researchers, developers, students and the volunteers of the Quantum computing team of the Sri Amit Ray Compassionate AI Lab. Many of our researchers and students asked me to explain the Quantum computing algorithms in a very simplistic term. The purpose of this article is to explain that. Earlier we have discussed Spin-orbit Coupling Qubits for Quantum Computing and the foundations of Quantum computing and artificial Intelligence. This article is to explain the foundation Quantum computing algorithms in depth in a simplistic way . Here we explained the concepts of Quantum annealing, Quantum Monte Carlo Tree Search, Quantum algorithms for traveling salesman problem and Quantum algorithms for gradient descent problems. Quantum Computing Basics Rather than store information using bits represented by 0s or 1s as in classical digital computers do, Quantum computers use Quantum bits, or qubits, to encode information as 0s, 1s, or both at the same time. This superposition of states—along with the other Quantum mechanical phenomena of entanglement and tunneling—enables Quantum computers to manipulate enormous combinations of states at once. The measurement in a Quantum computer is performed by measuring the states of the qubits (charge, spin, angular momentum etc.). Mainly there are four types implementation of qubits: spin qubits, photon qubits, flux qubits and charge qubits. We in Computational AI Lab, focus on implementing Quantum computing with photonic qubits and solid state spin qubits in an integrated structure. Key Equations of Quantum Computing The foundation of Quantum computing is the three basic theories of Quantum mechanics: the Non-Relativistic Time-Independent Schrodinger Equation, Relativistic many-fermion systems (the many-body Dirac equation), and Gauge field theories (Quantum Yang-Mills theories). The Schrodinger equation is the basis for non-relativistic wave equation used in one version of Quantum computing to describe the behavior of a Quantum particle (electron, photon or ion) in a field of force. There is the time dependent equation used for describing progressive waves, applicable to the motion of free particles. And the time independent form of this equation used for describing standing waves. Components of Quantum ComputingQuantum computing has five key components: control and manipulation of the isolated Quantum particles, measurement of the parameters of the Quantum particles, error correction, Quantum algorithms and scaling up for large scale implementation. There are three approaches to Quantum computing: Quantum Annealing (QA), Adiabatic Quantum computation (AQC) and Gate-based Quantum computing (GQC). Here, we will focus mostly on Quantum annealing implementation of the algorithms. In the book Quantum Computing algorithms for Artificial Intelligence these approaches are discussed in details. Quantum Annealing: Quantum annealing is the set of meta-heuristic algorithms of Quantum computing based on the concepts of Quantum superposition, entanglement and tunneling. Quantum wave-functions and Quantum coherence are the key elements of Quantum annealing. The idea of Quantum Annealing is an offspring of the traditional thermal simulated annealing process, where the problem of minimizing a certain cost or energy function in a large space of configurations is solved, through a statistical mechanics analogy, by the introduction of an artificial temperature variable which is slowly reduced to zero in the course of a Monte Carlo simulation or Molecular Dynamics simulation. This device allows to explore the configuration space avoiding trapping into local minima, often providing a more effective and less biased search for the minimal “energy” than standard gradient-based minimization methods. D-Wave Systems Inc. manufactures Quantum annealing processor chips that exploit Quantum properties to realize QA computations in hardware. When supercooled to temperatures below 20mK (very near absolute zero), the chips are able to exploit Quantum properties to carry out their computations. Adiabatic Quantum Computation : Adiabatic Quantum computation (AQC) is an alternative to the Quantum gate model. It deeply involved with the Quantum complexity theory and the Bose- Eisenstein condensed matter of physics. The (AQC) system is slowly evolved from the ground state of a simple initial Hamiltonian to a final Hamiltonian that encodes a computational problem. The Hamiltonian is the sum of the kinetic energies of all the particles, plus the potential energy of the particles associated with the system. A key challenge in adiabatic Quantum computing is to construct a device that is capable of encoding Hamiltonians problem that are non-stoquastic. The entanglement between stationary spin qubits and propagating photon qubits are the main concept of implementing adiabatic Quantum computational models. Quantum Monte Carlo and Quantum Annealing Quantum Monte Carlo methods have been very prominent in computer simulation of various systems in physics, chemistry, biology, business, philosophy and materials science. In the process of Quantum Monte Carlo (QMC), the annealing take place in the fictitious “time” represented by the number of Monte Carlo steps. Here the Quantum particles like photons, electrons and ions are directly represented as particles, instead of as a fluid. Quantum Monte Carlo can provide properties of exact solutions to Schr€odinger’s equation for Bose ground states. There are two components in Monte Carlo simulation one is a constant directional movement derived from past data, and another is the random input. It rely on repeated random sampling to obtain numerical results. By generating an arbitrary number of simulations, one can assess the probability that the result will follow a given trajectory. A number of variations of QMC algorithms are available today. Reptation Quantum Monte Carlo (RQMC), Self-healing Diffusion Monte Carlo (SHDMC) and Fermion Monte Carlo (FMC) algorithms are most popular. Quantum Monte Carlo Tree Search for Artificial IntelligenceThe main engine behind the success of modern artificial Intelligence (e.g. AlphaGo etc.) is the algorithms that combines deep machine learning approaches with the technique called Monte Carlo tree search. In Quantum Monte Carlo Tree Search (QMCTS) the algorithm searches for possible solutions and records the results in a search tree. As more searches are performed, the tree grows larger with more accurate predictions. In QMCTS the policy and the value functions are evaluated through Quantum tunneling. In QMCTS, the Quantum adaptive multi-stage sampling simulation optimization algorithm are used for estimating value functions through finite-horizon Quantum Markov decision processes (QMDPs). In our models of QMCTS, we first use Quantum Upper Confidence Bounds (QUCBs) for Quantum Monte Carlo simulation-based solution of Quantum Markov decision processes. There are four main stages of our Quantum Monte Carlo Tree Search algorithm are: selection, expansion, simulation and backpropagation. Quantum selection and Quantum backpropgation are key algorithms of our QMCTS framework. Here, the Quantum annealing begins with the tree search simultaneously occupying many branches thanks to the Quantum phenomenon of superposition. The probability of being at any given branch smoothly evolves as annealing progresses, with the probability increasing around the branches of optimal value functions. Quantum tunneling allows the search to pass through many branches simultaneously—rather than be forced to climb one branch after another —reducing the chance of becoming trapped in branches that are not the global optimum. Travelling Salesman Problem and Quantum Annealing Quantum annealing is a set of meta-heuristic algorithms based on Quantum computing concepts of Quantum superposition, entanglement and tunneling. These are used for finding the global optimal solution of a given value function over a given set of candidate solutions, by a process using Quantum fluctuations. Travelling salesman problem (TSP) consists in finding the shortest route connecting them, visiting each city once and returning to the starting point. The literature on TSP is vast. Here, for the time being, you can think of a real life travelling salesman problem, where one the salesman tries to find out the shortest route when travelling between a number of cities. If we want to compute the best route with simple trial and error techniques on a classical computer it would take longer than the age of the universe by the time you were up to 30 cities, even the best algorithms for exactly solving it must take a super-polynomial amount of time. However, using Quantum annealing you can define the problem as an optimization task. Bounded error in polynomial time is one of the key obstacle of developing effective Quantum algorithm for travelling salesman problem. Here, all points on the landscape of total travel space are examined simultaneously to determine the minimum distance route. Essentially each result is sampled from a Boltzmann distribution space. Given N cities with set inter-city distances d ij , TSP consists in finding the shortest route connecting them, visiting each city once and returning to the starting point. Quantum tunneling allows the traveler to pass through many cities simultaneously—rather than be forced to move one city after another — reducing the chance of becoming trapped in the routes that are not the global optimum. The route that minimize the sum of the kinetic energies of all the Quantum particles, plus the potential energy of the Quantum particles associated with the system. Quantum Search Algorithms Algorithms such as Deutsch’s algorithm, Deutsch-Jozsa algorithm, Bernstein-Vazirani algorithm, Simon algorithm, Shor’s algorithm are the first algorithms which made use of Quantum superposition to perform a certain task sufficiently faster than classical computer. However, Peter Shor showed that it is possible for a Quantum algorithm to compute factorization in polynomial-time. L. K. Grover, on the other hand, showed that it is possible to search for a single target item in an unsorted database. The Grover search algorithm provides a powerful method for Quantum computers to perform searches. It is an optimal search algorithm for a Quantum computer. The Grover search algorithm has four stages: initialization, oracle, amplification, and measurement. The initialization stage creates an equal superposition of all states. The oracle stage marks the solution(s) by flipping the sign of that state ’s amplitude. The amplification stage performs a reflection about the mean, thus increasing the amplitude of the marked state. Finally, the algorithm output is measured. Quantum Computing Algorithms for Gradient Descent Suppose you are at the top of a mountain, and you have to reach a valley or lake which is at the lowest point of the mountain. Gradient Descent is an optimization algorithm used for finding the minimum value of a function. It moves along the function with steps proportional to the negative of the gradient. In artificial Intelligence, common algorithms such as regression, support vectors machines, and neural networks rely on optimization. Often in these cases the objective function to minimize is a least-squares loss or error function. In real life situation the objective functions are often non-convex with multiple minimum value. In classical framework the algorithms seek the lowest valley by placing the traveler at some point in the landscape and allowing the traveler to move based on local variations. While it is generally most efficient to move downhill and avoid climbing hills that are too high, such classical algorithms are prone to leading the traveler into nearby valleys and thereby settled at local minimum rather than the global minimum. To get the global minimum, numerous trials are typically required, with many travelers beginning their journeys from different points. However, in Quantum computing the Quantum algorithms begin with the traveler simultaneously occupying many coordinates by utilizing the properties of superposition. The probability of being at any given coordinate smoothly evolves as annealing progresses, with the probability increasing around the coordinates of deep valleys. Quantum tunneling allows the traveler to pass through hills—rather than be forced to climb them—reducing the chance of becoming trapped in valleys that are not the global minimum. Quantum entanglement further improves the outcome by allowing the traveler to discover correlations between the coordinates that lead to deep valleys. Our Quantum gradient decent algorithms uses vectors as Quantum states, which leads to exponential improvements in terms of the dimension. The Quantum processing unit considers all the possibilities simultaneously to determine the lowest energy required to form those relationships. The solutions are values that correspond to the optimal configurations of qubits found, or the lowest points in the energy landscape. These values are returned to the user program over the network. Conclusion: Here we explained the concepts of Quantum annealing, Quantum Monte Carlo Tree Search, Quantum algorithms for traveling salesman problem and Quantum algorithms for gradient descent problems. Regardless of the answer, Quantum computers are expected to have a significant advantage of finding optimal tours for TSPs quickly. In our subsequent articles we will explain the concepts of Quantum deep learning (QDL) and Quantum reinforcement learning (QRL) in depth. reference Books: Compassionate Super-Intelligence AI 5.0 By Dr. Amit Ray, two thousand and eighteen Quantum Computing Algorithms for Artificial Intelligence By Dr. Amit Ray, two thousand and eighteen Read More .. References: Synopsis: Traveling with a Quantum Salesman, Michael Schirber, Physical Review A, March 2017.
This free text article has been written automatically with the Text Generator Software https://www.artikelschreiber.com/en/ - Try it for yourself and tell your friends!