Optimization by Quantum Computers

Slides:



Advertisements
Similar presentations
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
Advertisements

Applications of combinatorial optimisation Prabhas Chongstitvatana Faculty of Engineering Chulalongkorn University.
CS6800 Advanced Theory of Computation
Embedded Algorithm in Hardware: A Scalable Compact Genetic Algorithm Prabhas Chongstitvatana Chulalongkorn University.
Applied Evolutionary Optimization Prabhas Chongstitvatana Chulalongkorn University.
Introduction to Genetic Algorithms Yonatan Shichel.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Genetic Algorithms: A Tutorial
Genetic Algorithm.
Genetic Algorithms and Ant Colony Optimisation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Research in Computing: from curiosity to new theory and applications Prabhas Chongstitvatana Faculty of Engineering Chulalongkorn University.
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
1/27 Discrete and Genetic Algorithms in Bioinformatics 許聞廉 中央研究院資訊所.
Computational Complexity Jang, HaYoung BioIntelligence Lab.
1 “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions.
How to apply Genetic Algorithms Successfully Prabhas Chongstitvatana Chulalongkorn University 4 February 2013.
Introduction to Evolutionary Computation Prabhas Chongstitvatana Chulalongkorn University WUNCA, Mahidol, 25 January 2011.
1 Genetic Algorithms and Ant Colony Optimisation.
Chapter 9 Genetic Algorithms.  Based upon biological evolution  Generate successor hypothesis based upon repeated mutations  Acts as a randomized parallel.
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Genetic Algorithms Genetic algorithms provide an approach to learning that is based loosely on simulated evolution. Hypotheses are often described by bit.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Current Practice in Evolutionary Computation Prabhas Chongstitvatana Faculty of Engineering Chulalongkorn University 15 June 2010.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Algorithms. Solution Search in Problem Space.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Introduction to genetic algorithm
Prabhas Chongstitvatana Chulalongkorn University
Chapter 14 Genetic Algorithms.
Genetic Algorithm in TDR System
Genetic Algorithms.
Quantum Computing and Artificial Intelligence
Evolutionary Algorithms Jim Whitehead
Quantum Computing: an introduction
Programming Quantum Computers
School of Computer Science & Engineering
Promises of Artificial Intelligence
Programming Quantum Computers
Genetic Algorithms, Search Algorithms
Quantum Computing: from theory to practice
Basics of Genetic Algorithms (MidTerm – only in RED material)
Building Quantum Computers
Recent Advances in Quantum Computing
Quantum Computing: an introduction
Genetic Algorithms: A Tutorial
Evolutionist approach
Genetic Algorithms CSCI-2300 Introduction to Algorithms
OSU Quantum Information Seminar
Basics of Genetic Algorithms
EE368 Soft Computing Genetic Algorithms.
Boltzmann Machine (BM) (§6.4)
Quantum Computing Prabhas Chongstitvatana Faculty of Engineering
Searching for solutions: Genetic Algorithms
Artificial Intelligence CIS 342
학습목표 공진화의 개념을 이해하고, sorting network에의 응용가능성을 점검한다
Traveling Salesman Problem by Genetic Algorithm
Genetic Algorithms: A Tutorial
Presentation transcript:

Optimization by Quantum Computers Prabhas Chongstitvatana Chulalongkorn University

What is a quantum computer? a computer that relies on special memory, "quantum bit", to perform massively parallel computing.

What is a quantum bit? a basic unit of memory that uses superposition of "quantum" effect (entanglement) to store information. a "qubit" stores the probability of information. It represents both "1" and "0" at the same time.

What is the advantage? it is very very fast compared to conventional computers.

How to make a quantum bit? "quantum effect" photon entanglement cold atom electron spin

Components Quantum circuit Quantum gates components of quantum computers that manipulate state of quantum bits.

Quantum Gates

Quantum circuits

Quantum circuits

Quantum algorithms computer programs that work on quantum computers

Famous algorithms Shor's integer factorization Given an integer N, find its prime factors

Quantum Algorithms Peter Shor a quantum algorithm for integer factorization formulated .

Shor’s algorithm The factorization also needs huge amount of quantum gates. It increases with N as (log N)3. Thus factoring of a 4096-bit number requires 4,947,802,324,992 quantum gates.

Example of quantum computers ibm 5 qubits D-wave two, quantum annealing

IBM 5 qubits processor

Google Nasa, D-Wave 2x machine

Quantum bit in D-wave machine

Optimization

Evolutionary Computation Survival of the fittest. The objective function depends on the problem. EC is not a random search.

Genetic Algorithm Pseudo Code initialise population P while not terminate evaluate P by fitness function P’ = selection.recombination.mutation of P P = P’ terminating conditions: found satisfactory solutions waiting too long

Simple Genetic Algorithm Represent a solution by a binary string {0,1}* Selection: chance to be selected is proportional to its fitness Recombination: single point crossover Mutation: single bit flip

Recombination Select a cut point, cut two parents, exchange parts AAAAAA 111111 cut at bit 2 AA AAAA 11 1111 exchange parts AA1111 11AAAA

Mutation single bit flip 111111 --> 111011 flip at bit 4

Estimation of Distribution Algorithms GA + Machine learning current population -> selection -> model-building -> next generation replace crossover + mutation with learning and sampling probabilistic model

x = 11100 f(x) = 28 x = 11011 f(x) = 27 x = 10111 f(x) = 23 x = 10100 f(x) = 20 --------------------------- x = 01011 f(x) = 11 x = 01010 f(x) = 10 x = 00111 f(x) = 7 x = 00000 f(x) = 0 Induction 1 * * * * (Building Block)

x = 11111 f(x) = 31 x = 11110 f(x) = 30 x = 11101 f(x) = 29 x = 10110 f(x) = 22 --------------------------- x = 10101 f(x) = 21 x = 10100 f(x) = 20 x = 10010 f(x) = 18 x = 01101 f(x) = 13 Reproduction 1 * * * * (Building Block)

Combinatorial optimisation The domains of feasible solutions are discrete. Examples Traveling salesman problem Minimum spanning tree problem Set-covering problem Knapsack problem

Model in COIN A joint probability matrix, H. Markov Chain. An entry in Hxy is a probability of transition from a state x to a state y. xy a coincidence of the event x and event y.

Coincidence Algorithm steps X1 X2 X3 X4 X5 0.25 Initialize the Generator Generate the Population Evaluate the Population The Generator Our algorithm use the Markov chain matrix of order 1 in order to construct a generator This generator represent the joint probability of all the possible search space. For example the probabilities of the incidence in which x1 can be followed by x2 x3 x4 and x5 Since x1 can not be followed by it self due to the encoding represent the permutation of numbers Selection Update the Generator

Steps of the algorithm Initialise H to a uniform distribution. Sample a population from H. Evaluate the population. Select two groups of candidates: better, and worse. Use these two groups to update H. Repeate the steps 2-3-4-5 until satisfactory solutions are found.

Updating of H k denotes the step size, n the length of a candidate, rxy the number of occurrence of xy in the better-group candidates, pxy the number of occurrence of xy in the worse-group candidates. Hxx are always zero.

Computational Cost and Space Generating the population requires time O(mn2) and space O(mn) Sorting the population requires time O(m log m) The generator require space O(n2) Updating the joint probability matrix requires time O(mn2)

Multi-objective TSP The population clouds in a random 100-city 2-obj TSP

More Information COIN homepage http://www.cp.eng.chula.ac.th/faculty/pjw/project/coin/index-coin.htm My homepage http://www.cp.eng.chula.ac.th/faculty/pjw

Recent work google quantum lab's paper claim of 100,000,000x speed up

My own example of quantum computation compact genetic algorithm by quantum computers exponential speedup

Example of Quantum Algorithm Yingchareonthawornchai, S., Aporntewan, C., and Chongstitvatana, P., "An Implementation of Compact Genetic Algorithm on a Quantum Computer," Int. Joint Conf. on Computer Science and Software Engineering (JCSSE), 30 May - 1 June 2012, pp.131-135.   http://www.cp.eng.chula.ac.th/~piak/paper/2012/jcsse-quantum-cga.pdf

Normal 1) initialze qureg x 2) generate two individuals from qureg 3) let them compete 4) update qureg x with the winner 5) repeat step 2..4 for k times 6) generate the final result

quantum speedup 1) initialze qureg x 2) generate the first individual from qureg x 3) generate the second individual with condition that fitness is greater than the first 4) let them compete 5) update qureg x with the winner 6) repeat step 2..5 for k times 7) generate the final result

output

output

Recent advance in hardware

Future qubits quantum annealing computers scaling up

Predicting future uncertain of success special purpose quantum computers quantum style will motivate a new class of computation

More Information Search “Prabhas Chongstitvatana” Get to me homepage