Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 914 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 914 Bytes

quantum-tsp

Made as part of my dissertation research.

This program allows you to benchmark and visualise the differences between 4 methods for solving the travelling salesman problem (TSP).

These methods are:

  • Classical bruteforce
  • Greedy convex hull insertion (heuristic)
  • Simulated quantum anneal
  • Quantum anneal

The quantum computation relies on using D-Wave Systems Quantum Annealers.

Install instructions (Linux)

  1. git clone https://github.com/Aurux/quantum-tsp.git
  2. cd quantum-tsp
  3. python3.11 -m venv ./venv
  4. source venv/bin/activate
  5. pip install -r requirements.txt
  6. export DWAVE_API_KEY="YOUR_API_KEY" You must get this from D-Wave systems in order to utilise their solvers.
  7. python main.py

If all goes well you should be greeted by a window like the one below.

image