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.
git clone https://github.com/Aurux/quantum-tsp.git
cd quantum-tsp
python3.11 -m venv ./venv
source venv/bin/activate
pip install -r requirements.txt
export DWAVE_API_KEY="YOUR_API_KEY"
You must get this from D-Wave systems in order to utilise their solvers.python main.py
If all goes well you should be greeted by a window like the one below.