Skip to content

botcheddevil/qcqml4-12-tsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to run

1 . Create env

$ conda create -n qiskit-new python=3.9

  1. Install Dependencies

$ pip install -r requirements.txt

  1. Three approaches to solve the TSP

    • Brute Force

      • $ python brute.py
    • Djikstras Algorithm

      • $ python djikstras.py
    • QAQO with qasm_simulator

      • $ python qaoa.py for 3 nodes
      • $ python qaoa-4nodes.py for 4 nodes
      • $ python qaoa-5nodes.py for 5 nodes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •