Solving the Travelling Salesman Problem Using Quantum Computing

Size: px
Start display at page:

Download "Solving the Travelling Salesman Problem Using Quantum Computing"

Transcription

1 Solving the Travelling Salesman Problem Using Quantum Computing Sebastian Feld, Christoph Roch, Thomas Gabor Ludwig-Maximilians-Universität München OpenMunich , Munich

2 Agenda I. Quantum Computing and Quantum Annealing II. TSP and Ising Model III. qbsolv IV. Conclusion 2

3 Source: D-Wave I. QUANTUM COMPUTING AND QUANTUM ANNEALING

4 WHAT CAN I USE QUANTUM COMPUTING FOR? 4

5 Source: Neukart et al., 2017 Traffic Flow Optimization Find (near) optimal solution from possibilities in several 20μs 5

6 HOW DOES QUANTUM COMPUTING WORK? 6

7 Source: Wikipedia; Elena Natasha Liston Wave-particle duality Quantum Physics Non-determinism Influence by observation A B C 7

8 Quantum Computing Quantum Gate Model Quantum Annealing 8

9 Quantum Bits 0 1 9

10 Superposition 01 10

11 Entanglement

12 Quality of solution Quantum Annealing Best solution All possible solutions 12

13 Portfolio Optimization?????? Spend budget, minimize risk, maximize outcome 13

14 Portfolio Optimization Buy Buy Buy Spend budget, minimize risk, maximize outcome 14

15 Qubits represent stocks 15

16 Initialize qubits in superposition???????????????? 16

17 Formulate constraints???????????????? 17

18 Anneal to optimal solution Y Y Y Y Y N N Y Y Y N Y N Y Y N 18

19 Quality of solution Quantum Annealing Best solution All possible solutions 19

20 ARE THERE REAL-WORLD APPLICATIONS FOR QUANTUM COMPUTING? 20

21 Source: Neukart et al., 2017 Traffic Flow Optimization Intelligent Mobility Self-driving cars 21

22 Source: Christine Mumford Vehicle Routing Problem Logistic Problems E-Mobility 22

23 Source: Robert R. McCormick School of Engineering and Applied Science Multi-Criteria Optimization Financial Risk Opt Portfolio Mgmt 23

24 Source: Chao-Yang Lu, Xin-Dong Cai Probabilistic Sampling Artificial Intelligence Machine Learning 24

25 Source: Eric.Ray; University of Warwick, Department of Computer Science Search unsorted database in O n Search Engines Social Media Lov Grover 25

26 Source: Universität Innsbruck, Instiut für Experimentalphysik; MIT, Department of Mathematics Prime Factorization in polynomial time RSA Cryptography Peter Shor 26

27 Source: D-Wave II. TSP AND ISING MODEL

28 Source: Wikipedia Travelling Salesman Problem Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city? 28

29 The Good, the Bad and the Ugly D E C F B G A H 29

30 The Good, the Bad and the Ugly D E C F B G A H 30

31 The Good, the Bad and the Ugly D E C F B G A H 31

32 Combinatorial Optimization n cities n 1! combinations ,

33 Quality of solution Quantum Annealing (QA) All possible solutions 33

34 QA using Ising Model H s = i h i s i + J ij s i s j i<j Mathematical model for studying properties of physical systems that evolve in time 34

35 Source: McGeoch QA using Ising Model H s = i h i s i + i<j J ij s i s j Particles can be in state +1 or 1 35

36 Source: McGeoch QA using Ising Model H s = i h i s i + i<j J ij s i s j External forces on individual particles 36

37 Source: McGeoch QA using Ising Model H s = i h i s i + i<j J ij s i s j Interaction forces between neighbors 37

38 Source: McGeoch QA using Ising Model H s = i h i s i + i<j J ij s i s j Energy of spin configuration 38

39 Source: TSP as Ising Formulation n N 2 n N 2 N H = α 1 x v,j + α 1 x v,j + β W uv x u,j x v,j+1 v=1 j=1 j=1 v=1 uv E j=1 D E C F B G A H Given graph G = V, E with edge weights W uv, find hamiltonian cycle with minimum sum of edge weights 39

40 TSP as Ising Formulation n N 2 n N 2 N H = α 1 x v,j + α 1 x v,j + β W uv x u,j x v,j+1 v=1 j=1 j=1 v=1 uv E j=1 D E A1 A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 C B F G A2 A3 A4 B1 B2 A H B3 B4 40

41 TSP as Ising Formulation n N 2 n N 2 N H = α 1 x v,j + α 1 x v,j + β W uv x u,j x v,j+1 v=1 j=1 j=1 v=1 uv E j=1 A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 A1 α α α A2 α α A3 α A4 B1 α α α B2 α α B3 α B4 Every vertex can only appear once in a circle 41

42 TSP as Ising Formulation n N 2 n N 2 N H = α 1 x v,j + α 1 x v,j + β W uv x u,j x v,j+1 v=1 j=1 j=1 v=1 uv E j=1 A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 A1 α α α α α A2 α α α α A3 α α α A4 α α B1 α α α α B2 α α α B3 α α B4 α There must be a j th node in the cycle for each j 42

43 TSP as Ising Formulation n N 2 n N 2 N H = α 1 x v,j + α 1 x v,j + β W uv x u,j x v,j+1 v=1 j=1 j=1 v=1 uv E j=1 A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 A1 α α α α (ab) (ab) α (ac) (ac) A2 α α (ab) α (ab) (ac) α (ac) A3 α (ab) α (ab) (ac) α (ac) A4 (ab) (ab) α (ac) (ac) α B1 α α α α (bc) (bc) B2 α α (bc) α (bc) B3 α (bc) α (bc) B4 (bc) (bc) α If the edge is part of the cycle, apply the edge weight 43

44 TSP as Ising Formulation n N 2 n N 2 N H = α 1 x v,j + α 1 x v,j + β W uv x u,j x v,j+1 v=1 j=1 j=1 v=1 uv E j=1 Every vertex can only appear once in a circle There must be a j th node in the cycle for each j If the edge is part of the cycle, apply the edge weight 44

45 Source: D-Wave III. QBSOLV

46 Source: qbsolv on github 46

47 Preprocessing # Import nodes with x/y-coordinates file_parser = FileParser("./datasets/TSP_Testdata.xml") # Get list of nodes (index, x, y) nodelist = file_parser.parse_file_tsp() # Get list of undirected edges (index1, index2, length) edges = file_parser.generate_edge_list(nodelist) 47

48 Preprocessing # Import nodes with x/y-coordinates file_parser = FileParser("./datasets/TSP_Testdata.xml") # Get list of nodes (index, x, y) nodelist = file_parser.parse_file_tsp() # Get list of undirected edges (index1, index2, length) edges = file_parser.generate_edge_list(nodelist) 48

49 Preprocessing # Import nodes with x/y-coordinates file_parser = FileParser("./datasets/TSP_Testdata.xml") # Get list of nodes (index, x, y) nodelist = file_parser.parse_file_tsp() # Get list of undirected edges (index1, index2, length) edges = file_parser.generate_edge_list(nodelist) 49

50 Preprocessing # Import nodes with x/y-coordinates file_parser = FileParser("./datasets/TSP_Testdata.xml") # Get list of nodes (index, x, y) nodelist = file_parser.parse_file_tsp() # Get list of undirected edges (index1, index2, length) edges = file_parser.generate_edge_list(nodelist) 50

51 Main Logic # Create QUBO Q = tsp_solver.generate_tsp_qubo(len(nodelist), edges) # Solve QUBO with qbsolv answer = QBSolv().sample_qubo(Q, 50) # Returns the result distance, used_edges = tsp_solver.get_distance_and_edges_of_tour_qbsolv(adj_ matrix, response, edges, len(nodelist)) # Plot dataset and result plot_drawer = PlotDrawer() plot_drawer.plot_tsp(used_edges, nodelist, node_annotation) 51

52 Main Logic # Create QUBO Q = tsp_solver.generate_tsp_qubo(len(nodelist), edges) # Solve QUBO with qbsolv answer = QBSolv().sample_qubo(Q, 50) # Returns the result distance, used_edges = tsp_solver.get_distance_and_edges_of_tour_qbsolv(adj_ matrix, response, edges, len(nodelist)) # Plot dataset and result plot_drawer = PlotDrawer() plot_drawer.plot_tsp(used_edges, nodelist, node_annotation) 52

53 Main Logic # Create QUBO Q = tsp_solver.generate_tsp_qubo(len(nodelist), edges) # Solve QUBO with qbsolv answer = QBSolv().sample_qubo(Q, 50) # Returns the result distance, used_edges = tsp_solver.get_distance_and_edges_of_tour_qbsolv(adj_ matrix, response, edges, len(nodelist)) # Plot dataset and result plot_drawer = PlotDrawer() plot_drawer.plot_tsp(used_edges, nodelist, node_annotation) 53

54 Main Logic # Create QUBO Q = tsp_solver.generate_tsp_qubo(len(nodelist), edges) # Solve QUBO with qbsolv answer = QBSolv().sample_qubo(Q, 50) # Returns the result distance, used_edges = tsp_solver.get_distance_and_edges_of_tour_qbsolv(adj_ matrix, response, edges, len(nodelist)) # Plot dataset and result plot_drawer = PlotDrawer() plot_drawer.plot_tsp(used_edges, nodelist, node_annotation) C B D E F G A H 54

55 Main Logic # Create QUBO Q = tsp_solver.generate_tsp_qubo(len(nodelist), edges) # Solve QUBO with qbsolv answer = QBSolv().sample_qubo(Q, 50) # Returns the result distance, used_edges = tsp_solver.get_distance_and_edges_of_tour_qbsolv(adj_ matrix, response, edges, len(nodelist)) # Plot dataset and result plot_drawer = PlotDrawer() plot_drawer.plot_tsp(used_edges, nodelist, node_annotation) C B D E F G A H 55

56 Main Logic # Create QUBO Q = tsp_solver.generate_tsp_qubo(len(nodelist), edges) # Solve QUBO with qbsolv answer = QBSolv().sample_qubo(Q, 50) # Returns the result distance, used_edges = tsp_solver.get_distance_and_edges_of_tour_qbsolv(adj_ matrix, response, edges, len(nodelist)) # Plot dataset and result plot_drawer = PlotDrawer() plot_drawer.plot_tsp(used_edges, nodelist, node_annotation) 56

57 Source: D-Wave IV. CONCLUSION

58 Source: MCMBUZZ Complex production and usage, but completely new possibilities 58

59 Source: Gartner Bring talents together and try it now! 59

60 Solving the Travelling Salesman Problem Using Quantum Computing Sebastian Feld, Christoph Roch, Thomas Gabor Ludwig-Maximilians-Universität München OpenMunich , Munich

HETEROGENEOUS QUANTUM COMPUTING FOR SATELLITE OPTIMIZATION

HETEROGENEOUS QUANTUM COMPUTING FOR SATELLITE OPTIMIZATION HETEROGENEOUS QUANTUM COMPUTING FOR SATELLITE OPTIMIZATION GIDEON BASS BOOZ ALLEN HAMILTON September 2017 COLLABORATORS AND PARTNERS Special thanks to: Brad Lackey (UMD/QuICS) for advice and suggestions

More information

Traffic Flow Optimisation using the D-Wave Quantum Annealer. Qubits Europe, Munich Dr. Christian Seidel

Traffic Flow Optimisation using the D-Wave Quantum Annealer. Qubits Europe, Munich Dr. Christian Seidel Traffic Flow Optimisation using the D-Wave Quantum Annealer Qubits Europe, Munich Dr. Christian Seidel Christian Seidel Lead Quantum Computer Scientist, Volkswagen Data:Lab Joined the Volkswagen Data:Lab

More information

Introduction The Search Algorithm Grovers Algorithm References. Grovers Algorithm. Quantum Parallelism. Joseph Spring.

Introduction The Search Algorithm Grovers Algorithm References. Grovers Algorithm. Quantum Parallelism. Joseph Spring. Quantum Parallelism Applications Outline 1 2 One or Two Points 3 4 Quantum Parallelism We have discussed the concept of quantum parallelism and now consider a range of applications. These will include:

More information

Algorithms, Logic and Complexity. Quantum computation. basic explanations! &! survey of progress

Algorithms, Logic and Complexity. Quantum computation. basic explanations! &! survey of progress Algorithms, Logic and Complexity Quantum computation basic explanations! &! survey of progress Index Why Quantum Computation?! Quantum mechanics! D-wave! Quantum programming «If you think you understand

More information

Quantum Computing at Volkswagen: Traffic Flow Optimization using the D-Wave Quantum Annealer

Quantum Computing at Volkswagen: Traffic Flow Optimization using the D-Wave Quantum Annealer Quantum Computing at Volkswagen: Traffic Flow Optimization using the D-Wave Quantum Annealer D-Wave Users Group Meeting - National Harbour, MD 27.09.2017 Dr. Gabriele Compostella The Volkswagen Data:Lab

More information

Display Advertising Optimization by Quantum Annealing Processor

Display Advertising Optimization by Quantum Annealing Processor Display Advertising Optimization by Quantum Annealing Processor Shinichi Takayanagi*, Kotaro Tanahashi*, Shu Tanaka *Recruit Communications Co., Ltd. Waseda University, JST PRESTO Overview 1. Introduction

More information

IBM Q: building the first universal quantum computers for business and science. Federico Mattei Banking and Insurance Technical Leader, IBM Italy

IBM Q: building the first universal quantum computers for business and science. Federico Mattei Banking and Insurance Technical Leader, IBM Italy IBM Q: building the first universal quantum computers for business and science Federico Mattei Banking and Insurance Technical Leader, IBM Italy Agenda Which problems can not be solved with classical computers?

More information

Quantum Computing. Separating the 'hope' from the 'hype' Suzanne Gildert (D-Wave Systems, Inc) 4th September :00am PST, Teleplace

Quantum Computing. Separating the 'hope' from the 'hype' Suzanne Gildert (D-Wave Systems, Inc) 4th September :00am PST, Teleplace Quantum Computing Separating the 'hope' from the 'hype' Suzanne Gildert (D-Wave Systems, Inc) 4th September 2010 10:00am PST, Teleplace The Hope All computing is constrained by the laws of Physics and

More information

CS257 Discrete Quantum Computation

CS257 Discrete Quantum Computation CS57 Discrete Quantum Computation John E Savage April 30, 007 Lect 11 Quantum Computing c John E Savage Classical Computation State is a vector of reals; e.g. Booleans, positions, velocities, or momenta.

More information

Further information: Basic principles of quantum computing Information on development areas of Volkswagen Group IT

Further information: Basic principles of quantum computing Information on development areas of Volkswagen Group IT Media information Further information: Basic principles of quantum computing Information on development areas of Volkswagen Group IT Basic principles of quantum computing Development areas of Volkswagen

More information

Hamiltonian Graphs Graphs

Hamiltonian Graphs Graphs COMP2121 Discrete Mathematics Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5) [O1 Abstract Concepts] [O2 Proof Techniques] [O3 Basic Analysis Techniques] 1 Hamiltonian Paths and Circuits [O1] A Hamiltonian

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURES 30-31 NP-completeness Definition NP-completeness proof for CIRCUIT-SAT Adam Smith 11/3/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova,

More information

Quantum computing with superconducting qubits Towards useful applications

Quantum computing with superconducting qubits Towards useful applications Quantum computing with superconducting qubits Towards useful applications Stefan Filipp IBM Research Zurich Switzerland Forum Teratec 2018 June 20, 2018 Palaiseau, France Why Quantum Computing? Why now?

More information

Data Structures in Java

Data Structures in Java Data Structures in Java Lecture 21: Introduction to NP-Completeness 12/9/2015 Daniel Bauer Algorithms and Problem Solving Purpose of algorithms: find solutions to problems. Data Structures provide ways

More information

Quantum Annealing for Prime Factorization

Quantum Annealing for Prime Factorization Quantum Annealing for Prime Factorization Shuxian Jiang, Sabre Kais Department of Chemistry and Computer Science, Purdue University Keith A. Britt, Alexander J. McCaskey, Travis S. Humble Quantum Computing

More information

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502) Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik Combinatorial Optimization (MA 4502) Dr. Michael Ritter Problem Sheet 1 Homework Problems Exercise

More information

Limits and Future of Computing Where do we go from here?

Limits and Future of Computing Where do we go from here? Limits and Future of Computing Where do we go from here? Notes for CSC 100 - The Beauty and Joy of Computing The University of North Carolina at Greensboro Back to Algorithms... Recall that algorithms

More information

A brief survey on quantum computing

A brief survey on quantum computing A brief survey on quantum computing Edward Poon University of Ottawa Edward Poon (Ottawa) A brief survey on quantum computing March 19, 2018 1 / 7 Outline Goal: Provide a high-level overview of what quantum

More information

Quantum Effect or HPC without FLOPS. Lugano March 23, 2016

Quantum Effect or HPC without FLOPS. Lugano March 23, 2016 Quantum Effect or HPC without FLOPS Lugano March 23, 2016 Electronics April 19, 1965 2016 D-Wave Systems Inc. All Rights Reserved 2 Moore s Law 2016 D-Wave Systems Inc. All Rights Reserved 3 www.economist.com/technology-quarterly/2016-03-12/aftermoores-law

More information

4/22/12. NP and NP completeness. Efficient Certification. Decision Problems. Definition of P

4/22/12. NP and NP completeness. Efficient Certification. Decision Problems. Definition of P Efficient Certification and completeness There is a big difference between FINDING a solution and CHECKING a solution Independent set problem: in graph G, is there an independent set S of size at least

More information

P, NP, NP-Complete. Ruth Anderson

P, NP, NP-Complete. Ruth Anderson P, NP, NP-Complete Ruth Anderson A Few Problems: Euler Circuits Hamiltonian Circuits Intractability: P and NP NP-Complete What now? Today s Agenda 2 Try it! Which of these can you draw (trace all edges)

More information

NP-Complete Problems and Approximation Algorithms

NP-Complete Problems and Approximation Algorithms NP-Complete Problems and Approximation Algorithms Efficiency of Algorithms Algorithms that have time efficiency of O(n k ), that is polynomial of the input size, are considered to be tractable or easy

More information

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1 CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Goal: Evaluate the computational requirements (this course s focus: time) to solve

More information

Introduction to quantum algorithms

Introduction to quantum algorithms Introduction to quantum algorithms Gabriel Semanišin Institute of Computer Science P.J. Šafárik University, Faculty of Science Košice, Slovakia e-mail: gabriel.semanisin@upjs.sk eduqute 2018 Motto Michelangelo

More information

Gates for Adiabatic Quantum Computing

Gates for Adiabatic Quantum Computing Gates for Adiabatic Quantum Computing Richard H. Warren Abstract. The goal of this paper is to introduce building blocks for adiabatic quantum algorithms. Adiabatic quantum computing uses the principle

More information

Warm-up Find the shortest trip (total distance) starting and ending in Chicago and visiting each other city once.

Warm-up Find the shortest trip (total distance) starting and ending in Chicago and visiting each other city once. Warm-up Find the shortest trip (total distance) starting and ending in Chicago and visiting each other city once. Minimum-cost Hamiltonian Circuits Practice Homework time Minneapolis Cleveland 779 354

More information

Traffic flow optimization using a quantum annealer

Traffic flow optimization using a quantum annealer Traffic flow optimization using a quantum annealer Florian Neukart 1, David Von Dollen 1, Gabriele Compostella 2, Christian Seidel 2, Sheir Yarkoni 3, and Bob Parney 3 1 Volkswagen Group of America, San

More information

Canary Foundation at Stanford. D-Wave Systems Murray Thom February 27 th, 2017

Canary Foundation at Stanford. D-Wave Systems Murray Thom February 27 th, 2017 Canary Foundation at Stanford D-Wave Systems Murray Thom February 27 th, 2017 Introduction to Quantum Computing Copyright D-Wave Systems Inc. 3 Richard Feynman 1960 1970 1980 1990 2000 2010 2020 Copyright

More information

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

The Future. Currently state of the art chips have gates of length 35 nanometers. Quantum Computing Moore s Law The Future Currently state of the art chips have gates of length 35 nanometers. The Future Currently state of the art chips have gates of length 35 nanometers. When gate lengths

More information

7.1 Basis for Boltzmann machine. 7. Boltzmann machines

7.1 Basis for Boltzmann machine. 7. Boltzmann machines 7. Boltzmann machines this section we will become acquainted with classical Boltzmann machines which can be seen obsolete being rarely applied in neurocomputing. It is interesting, after all, because is

More information

Intro to Contemporary Math

Intro to Contemporary Math Intro to Contemporary Math Hamiltonian Circuits and Nearest Neighbor Algorithm Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Hamiltonian Circuits and the Traveling Salesman

More information

Quantum Computing. Part I. Thorsten Altenkirch

Quantum Computing. Part I. Thorsten Altenkirch Quantum Computing Part I Thorsten Altenkirch Is Computation universal? Alonzo Church - calculus Alan Turing Turing machines computable functions The Church-Turing thesis All computational formalisms define

More information

Genetic Algorithm approach to Solve Shortest Path and Travelling Salesman Problem

Genetic Algorithm approach to Solve Shortest Path and Travelling Salesman Problem Network Design Using Genetic Algorithm CHAPTER 7 Genetic Algorithm approach to Solve Shortest Path and Travelling Salesman Problem Shortest Path, Traveling Salesman and Hamiltonian Cycle are the other

More information

QUANTUM VOLKSWAGEN. Dr. Florian Neukart

QUANTUM VOLKSWAGEN. Dr. Florian Neukart QUANTUM COMPUTING @ VOLKSWAGEN Dr. Florian Neukart Quantum computing/ annealing QUANTUM THEORY (1) BOMBS POWER MEDICAL USES EVOLUTION OF THE UNIVERSE MATERIALS AND TECHNOLOGY SUBATOMIC PARTICLES NUCLEAR

More information

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch] NP-Completeness Andreas Klappenecker [based on slides by Prof. Welch] 1 Prelude: Informal Discussion (Incidentally, we will never get very formal in this course) 2 Polynomial Time Algorithms Most of the

More information

Quantum Computing. Thorsten Altenkirch

Quantum Computing. Thorsten Altenkirch Quantum Computing Thorsten Altenkirch Is Computation universal? Alonzo Church - calculus Alan Turing Turing machines computable functions The Church-Turing thesis All computational formalisms define the

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 31 P and NP Self-reducibility NP-completeness Adam Smith 12/1/2008 S. Raskhodnikova; based on slides by K. Wayne Central ideas we ll cover Poly-time as feasible most

More information

Scheduling and Optimization Course (MPRI)

Scheduling and Optimization Course (MPRI) MPRI Scheduling and optimization: lecture p. /6 Scheduling and Optimization Course (MPRI) Leo Liberti LIX, École Polytechnique, France MPRI Scheduling and optimization: lecture p. /6 Teachers Christoph

More information

CMOS Ising Computer to Help Optimize Social Infrastructure Systems

CMOS Ising Computer to Help Optimize Social Infrastructure Systems FEATURED ARTICLES Taking on Future Social Issues through Open Innovation Information Science for Greater Industrial Efficiency CMOS Ising Computer to Help Optimize Social Infrastructure Systems As the

More information

8.3 Hamiltonian Paths and Circuits

8.3 Hamiltonian Paths and Circuits 8.3 Hamiltonian Paths and Circuits 8.3 Hamiltonian Paths and Circuits A Hamiltonian path is a path that contains each vertex exactly once A Hamiltonian circuit is a Hamiltonian path that is also a circuit

More information

Implementation of Travelling Salesman Problem Using ant Colony Optimization

Implementation of Travelling Salesman Problem Using ant Colony Optimization RESEARCH ARTICLE OPEN ACCESS Implementation of Travelling Salesman Problem Using ant Colony Optimization Gaurav Singh, Rashi Mehta, Sonigoswami, Sapna Katiyar* ABES Institute of Technology, NH-24, Vay

More information

Financial Portfolio Management using D-Wave s Quantum Optimizer: The Case of Abu Dhabi Securities Exchange

Financial Portfolio Management using D-Wave s Quantum Optimizer: The Case of Abu Dhabi Securities Exchange Financial Portfolio Management using D-Wave s Quantum Optimizer: The Case of Abu Dhabi Securities Exchange Nada Elsokkary and Faisal Shah Khan Quantum Computing Research Group Department of Applied Mathematics

More information

arxiv: v1 [quant-ph] 16 Aug 2017

arxiv: v1 [quant-ph] 16 Aug 2017 Noname manuscript No. (will be inserted by the editor) Combinatorial Optimization on Gate Model Quantum Computers: A Survey Ehsan Zahedinejad Arman Zaribafiyan arxiv:1708.05294v1 [quant-ph] 16 Aug 2017

More information

NP-Complete Problems. More reductions

NP-Complete Problems. More reductions NP-Complete Problems More reductions Definitions P: problems that can be solved in polynomial time (typically in n, size of input) on a deterministic Turing machine Any normal computer simulates a DTM

More information

Travelling Salesman Problem

Travelling Salesman Problem Travelling Salesman Problem Fabio Furini November 10th, 2014 Travelling Salesman Problem 1 Outline 1 Traveling Salesman Problem Separation Travelling Salesman Problem 2 (Asymmetric) Traveling Salesman

More information

4/19/11. NP and NP completeness. Decision Problems. Definition of P. Certifiers and Certificates: COMPOSITES

4/19/11. NP and NP completeness. Decision Problems. Definition of P. Certifiers and Certificates: COMPOSITES Decision Problems NP and NP completeness Identify a decision problem with a set of binary strings X Instance: string s. Algorithm A solves problem X: As) = yes iff s X. Polynomial time. Algorithm A runs

More information

Logic gates. Quantum logic gates. α β 0 1 X = 1 0. Quantum NOT gate (X gate) Classical NOT gate NOT A. Matrix form representation

Logic gates. Quantum logic gates. α β 0 1 X = 1 0. Quantum NOT gate (X gate) Classical NOT gate NOT A. Matrix form representation Quantum logic gates Logic gates Classical NOT gate Quantum NOT gate (X gate) A NOT A α 0 + β 1 X α 1 + β 0 A N O T A 0 1 1 0 Matrix form representation 0 1 X = 1 0 The only non-trivial single bit gate

More information

Ant Colony Optimization: an introduction. Daniel Chivilikhin

Ant Colony Optimization: an introduction. Daniel Chivilikhin Ant Colony Optimization: an introduction Daniel Chivilikhin 03.04.2013 Outline 1. Biological inspiration of ACO 2. Solving NP-hard combinatorial problems 3. The ACO metaheuristic 4. ACO for the Traveling

More information

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1 NP CS 320, Fall 2017 Dr. Geri Georg, Instructor georg@colostate.edu 320 NP 1 NP Complete A class of problems where: No polynomial time algorithm has been discovered No proof that one doesn t exist 320

More information

NP-completeness. Chapter 34. Sergey Bereg

NP-completeness. Chapter 34. Sergey Bereg NP-completeness Chapter 34 Sergey Bereg Oct 2017 Examples Some problems admit polynomial time algorithms, i.e. O(n k ) running time where n is the input size. We will study a class of NP-complete problems

More information

7.8: Intractability. Overview. Exponential Growth. Properties of Algorithms. What is an algorithm? Turing machine.

7.8: Intractability. Overview. Exponential Growth. Properties of Algorithms. What is an algorithm? Turing machine. Overview 7.8: Intractability What is an algorithm? Turing machine. Which problems can be solved on a computer? Computability. Which ALGORITHMS will be useful in practice? Analysis of algorithms. Which

More information

TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW)

TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW) TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW) Aakash Anuj 10CS30043 Surya Prakash Verma 10AE30026 Yetesh Chaudhary 10CS30044 Supervisor: Prof. Jitesh Thakkar TSP Given a list of cities and the distances

More information

Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem

Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur Lecture - 20 Travelling Salesman Problem Today we are going to discuss the travelling salesman problem.

More information

Turbulence Simulations

Turbulence Simulations Innovatives Supercomputing in Deutschland Innovative HPC in Germany Vol. 14 No. 2 Autumn 2016 Turbulence Simulations The world s largest terrestrial & astrophysical applications Vice World Champion HLRS

More information

What is the computational cost of automating brilliance or serendipity? (P vs NP question and related musings) COS 116: 4/12/2006 Adam Finkelstein

What is the computational cost of automating brilliance or serendipity? (P vs NP question and related musings) COS 116: 4/12/2006 Adam Finkelstein What is the computational cost of automating brilliance or serendipity? (P vs NP question and related musings) COS 116: 4/12/2006 Adam Finkelstein Combination lock Why is it secure? (Assume it cannot be

More information

Chapter 34: NP-Completeness

Chapter 34: NP-Completeness Graph Algorithms - Spring 2011 Set 17. Lecturer: Huilan Chang Reference: Cormen, Leiserson, Rivest, and Stein, Introduction to Algorithms, 2nd Edition, The MIT Press. Chapter 34: NP-Completeness 2. Polynomial-time

More information

Introduction of Recruit

Introduction of Recruit Apr. 11, 2018 Introduction of Recruit We provide various kinds of online services from job search to hotel reservations across the world. Housing Beauty Travel Life & Local O2O Education Automobile Bridal

More information

Limits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam

Limits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam Limits to Approximability: When Algorithms Won't Help You Note: Contents of today s lecture won t be on the exam Outline Limits to Approximability: basic results Detour: Provers, verifiers, and NP Graph

More information

IBM Systems for Cognitive Solutions

IBM Systems for Cognitive Solutions IBM Q Quantum Computing IBM Systems for Cognitive Solutions Ehningen 12 th of July 2017 Albert Frisch, PhD - albert.frisch@de.ibm.com 2017 IBM 1 st wave of Quantum Revolution lasers atomic clocks GPS sensors

More information

Secrets of Quantum Information Science

Secrets of Quantum Information Science Secrets of Quantum Information Science Todd A. Brun Communication Sciences Institute USC Quantum computers are in the news Quantum computers represent a new paradigm for computing devices: computers whose

More information

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal?

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? The conjecture that P is different from NP made its way on to several lists of the most important unsolved problems in Mathematics (never

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part II Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 13, 2011 Overview Outline Grover s Algorithm Quantum search A worked example Simon s algorithm

More information

arxiv: v1 [quant-ph] 18 Nov 2018

arxiv: v1 [quant-ph] 18 Nov 2018 A Hybrid Solution Method for the Capacitated Vehicle Routing Problem Using a Quantum Annealer arxiv:1811.07403v1 [quant-ph] 18 Nov 018 Sebastian Feld LMU Munich Mobile and Distributed Systems Group Munich,

More information

Data Structures and Algorithms (CSCI 340)

Data Structures and Algorithms (CSCI 340) University of Wisconsin Parkside Fall Semester 2008 Department of Computer Science Prof. Dr. F. Seutter Data Structures and Algorithms (CSCI 340) Homework Assignments The numbering of the problems refers

More information

1 Heuristics for the Traveling Salesman Problem

1 Heuristics for the Traveling Salesman Problem Praktikum Algorithmen-Entwurf (Teil 9) 09.12.2013 1 1 Heuristics for the Traveling Salesman Problem We consider the following problem. We want to visit all the nodes of a graph as fast as possible, visiting

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Announcements Problem Set 9 due right now. Final exam this Monday, Hewlett 200 from 12:15PM- 3:15PM Please let us know immediately after lecture if you want to take the final at

More information

Introduction to Adiabatic Quantum Computation

Introduction to Adiabatic Quantum Computation Introduction to Adiabatic Quantum Computation Vicky Choi Department of Computer Science Virginia Tech April 6, 2 Outline Motivation: Maximum Independent Set(MIS) Problem vs Ising Problem 2 Basics: Quantum

More information

phys4.20 Page 1 - the ac Josephson effect relates the voltage V across a Junction to the temporal change of the phase difference

phys4.20 Page 1 - the ac Josephson effect relates the voltage V across a Junction to the temporal change of the phase difference Josephson Effect - the Josephson effect describes tunneling of Cooper pairs through a barrier - a Josephson junction is a contact between two superconductors separated from each other by a thin (< 2 nm)

More information

Quantum computing. Jan Černý, FIT, Czech Technical University in Prague. České vysoké učení technické v Praze. Fakulta informačních technologií

Quantum computing. Jan Černý, FIT, Czech Technical University in Prague. České vysoké učení technické v Praze. Fakulta informačních technologií České vysoké učení technické v Praze Fakulta informačních technologií Katedra teoretické informatiky Evropský sociální fond Praha & EU: Investujeme do vaší budoucnosti MI-MVI Methods of Computational Intelligence(2010/2011)

More information

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

Tutorial on Quantum Computing. Vwani P. Roychowdhury. Lecture 1: Introduction Tutorial on Quantum Computing Vwani P. Roychowdhury Lecture 1: Introduction 1 & ) &! # Fundamentals Qubits A single qubit is a two state system, such as a two level atom we denote two orthogonal states

More information

Algorithm Design Strategies V

Algorithm Design Strategies V Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin

More information

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

Semiconductors: Applications in spintronics and quantum computation. Tatiana G. Rappoport Advanced Summer School Cinvestav 2005 Semiconductors: Applications in spintronics and quantum computation Advanced Summer School 1 I. Background II. Spintronics Spin generation (magnetic semiconductors) Spin detection III. Spintronics - electron

More information

Computational Complexity

Computational Complexity p. 1/24 Computational Complexity The most sharp distinction in the theory of computation is between computable and noncomputable functions; that is, between possible and impossible. From the example of

More information

The P = NP Problem Bristol Teachers Circle, June P.D.Welch, University of Bristol

The P = NP Problem Bristol Teachers Circle, June P.D.Welch, University of Bristol The P = NP Problem Bristol Teachers Circle, June 26 2013 P.D.Welch, University of Bristol The Königsberg Bridge Problem - Euler = A graph version = As Euler observed: there can be no path crossing each

More information

Complexity of the quantum adiabatic algorithm

Complexity of the quantum adiabatic algorithm Complexity of the quantum adiabatic algorithm Peter Young e-mail:peter@physics.ucsc.edu Collaborators: S. Knysh and V. N. Smelyanskiy Colloquium at Princeton, September 24, 2009 p.1 Introduction What is

More information

Quantum Computers. Todd A. Brun Communication Sciences Institute USC

Quantum Computers. Todd A. Brun Communication Sciences Institute USC Quantum Computers Todd A. Brun Communication Sciences Institute USC Quantum computers are in the news Quantum computers represent a new paradigm for computing devices: computers whose components are individual

More information

Quantum Computation 650 Spring 2009 Lectures The World of Quantum Information. Quantum Information: fundamental principles

Quantum Computation 650 Spring 2009 Lectures The World of Quantum Information. Quantum Information: fundamental principles Quantum Computation 650 Spring 2009 Lectures 1-21 The World of Quantum Information Marianna Safronova Department of Physics and Astronomy February 10, 2009 Outline Quantum Information: fundamental principles

More information

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

Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models. CS448J, Autumn 2015, Stanford University Dominik L. Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models CS448J, Autumn 2015, Stanford University Dominik L. Michels Advanced Computation Models There is a variety of advanced

More information

Experimental Realization of Shor s Quantum Factoring Algorithm

Experimental Realization of Shor s Quantum Factoring Algorithm Experimental Realization of Shor s Quantum Factoring Algorithm M. Steffen1,2,3, L.M.K. Vandersypen1,2, G. Breyta1, C.S. Yannoni1, M. Sherwood1, I.L.Chuang1,3 1 IBM Almaden Research Center, San Jose, CA

More information

Simulated Annealing. Local Search. Cost function. Solution space

Simulated Annealing. Local Search. Cost function. Solution space Simulated Annealing Hill climbing Simulated Annealing Local Search Cost function? Solution space Annealing Annealing is a thermal process for obtaining low energy states of a solid in a heat bath. The

More information

Mind the gap Solving optimization problems with a quantum computer

Mind the gap Solving optimization problems with a quantum computer Mind the gap Solving optimization problems with a quantum computer A.P. Young http://physics.ucsc.edu/~peter Work supported by Talk at Saarbrücken University, November 5, 2012 Collaborators: I. Hen, E.

More information

The P versus NP Problem. Ker-I Ko. Stony Brook, New York

The P versus NP Problem. Ker-I Ko. Stony Brook, New York The P versus NP Problem Ker-I Ko Stony Brook, New York ? P = NP One of the seven Millenium Problems The youngest one A folklore question? Has hundreds of equivalent forms Informal Definitions P : Computational

More information

Traveling Salesman Problem

Traveling Salesman Problem Traveling Salesman Problem Zdeněk Hanzálek hanzalek@fel.cvut.cz CTU in Prague April 17, 2017 Z. Hanzálek (CTU) Traveling Salesman Problem April 17, 2017 1 / 33 1 Content 2 Solved TSP instances in pictures

More information

10.3: Intractability. Overview. Exponential Growth. Properties of Algorithms. What is an algorithm? Turing machine.

10.3: Intractability. Overview. Exponential Growth. Properties of Algorithms. What is an algorithm? Turing machine. Overview 10.3: Intractability What is an algorithm? Turing machine. What problems can be solved on a computer? Computability. What ALGORITHMS will be useful in practice? Analysis of algorithms. Which PROBLEMS

More information

Principles of Quantum Mechanics Pt. 2

Principles of Quantum Mechanics Pt. 2 Principles of Quantum Mechanics Pt. 2 PHYS 500 - Southern Illinois University February 9, 2017 PHYS 500 - Southern Illinois University Principles of Quantum Mechanics Pt. 2 February 9, 2017 1 / 13 The

More information

Challenges in Quantum Information Science. Umesh V. Vazirani U. C. Berkeley

Challenges in Quantum Information Science. Umesh V. Vazirani U. C. Berkeley Challenges in Quantum Information Science Umesh V. Vazirani U. C. Berkeley 1 st quantum revolution - Understanding physical world: periodic table, chemical reactions electronic wavefunctions underlying

More information

Quantum Neural Network

Quantum Neural Network Quantum Neural Network - Optical Neural Networks operating at the Quantum Limit - Preface We describe the basic concepts, operational principles and expected performance of a novel computing machine, quantum

More information

The International Quantum Race

The International Quantum Race The International Quantum Race René Copeland President D-Wave Government Inc. October 17, 2017 D-Wave Background Company Background Founded in 1999; Vancouver, BC World s first quantum computing company

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part I Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 12, 2011 Overview Outline What is quantum computing? Background Caveats Fundamental differences

More information

A NOTE ON A SINGLE VEHICLE AND ONE DESTINATION ROUTING PROBLEM AND ITS GAME-THEORETIC MODELS

A NOTE ON A SINGLE VEHICLE AND ONE DESTINATION ROUTING PROBLEM AND ITS GAME-THEORETIC MODELS ALS Advanced Logistic Systems A NOTE ON A SINGLE VEHICLE AND ONE DESTINATION ROUTING PROBLEM AND ITS GAME-THEORETIC MODELS Andrzej Grzybowski Czestochowa University of Technology, Poland Abstract: In the

More information

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg MVE165/MMG630, Integer linear programming: models and applications; complexity Ann-Brith Strömberg 2011 04 01 Modelling with integer variables (Ch. 13.1) Variables Linear programming (LP) uses continuous

More information

Shor s Prime Factorization Algorithm

Shor s Prime Factorization Algorithm Shor s Prime Factorization Algorithm Bay Area Quantum Computing Meetup - 08/17/2017 Harley Patton Outline Why is factorization important? Shor s Algorithm Reduction to Order Finding Order Finding Algorithm

More information

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

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm Part I: Quantum Gates and Simon s Algorithm Martin Rötteler NEC Laboratories America, Inc. 4 Independence Way, Suite 00 Princeton, NJ 08540, U.S.A. International Summer School on Quantum Information, Max-Planck-Institut

More information

Ising formulations of many NP problems

Ising formulations of many NP problems Ising formulations of many NP problems arxiv:130.5843v3 [cond-mat.stat-mech] 4 Jan 014 Andrew Lucas Department of Physics, Harvard University, Cambridge, MA, USA 0138 We provide Ising formulations for

More information

NP and Computational Intractability

NP and Computational Intractability NP and Computational Intractability 1 Polynomial-Time Reduction Desiderata'. Suppose we could solve X in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Reduction.

More information

Lecture 6 January 21, 2013

Lecture 6 January 21, 2013 UBC CPSC 536N: Sparse Approximations Winter 03 Prof. Nick Harvey Lecture 6 January, 03 Scribe: Zachary Drudi In the previous lecture, we discussed max flow problems. Today, we consider the Travelling Salesman

More information

Quantum Algorithms for Graph Traversals and Related Problems

Quantum Algorithms for Graph Traversals and Related Problems Quantum Algorithms for Graph Traversals and Related Problems Sebastian Dörn Institut für Theoretische Informatik, Universität Ulm, 89069 Ulm, Germany sebastian.doern@uni-ulm.de Abstract. We study the complexity

More information

What is the computational cost of automating brilliance or serendipity? (Computational complexity & P vs NP) COS 116, Spring 2010 Adam Finkelstein

What is the computational cost of automating brilliance or serendipity? (Computational complexity & P vs NP) COS 116, Spring 2010 Adam Finkelstein What is the computational cost of automating brilliance or serendipity? (Computational complexity & P vs NP) COS 116, Spring 2010 Adam Finkelstein Combination lock Why is it secure? (Assume it cannot be

More information

)j > Riley Tipton Perry University of New South Wales, Australia. World Scientific CHENNAI

)j > Riley Tipton Perry University of New South Wales, Australia. World Scientific CHENNAI Riley Tipton Perry University of New South Wales, Australia )j > World Scientific NEW JERSEY LONDON. SINGAPORE BEIJING SHANSHAI HONG K0N6 TAIPEI» CHENNAI Contents Acknowledgments xi 1. Introduction 1 1.1

More information

Lecture 4: NP and computational intractability

Lecture 4: NP and computational intractability Chapter 4 Lecture 4: NP and computational intractability Listen to: Find the longest path, Daniel Barret What do we do today: polynomial time reduction NP, co-np and NP complete problems some examples

More information