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.gitcd quantum-tsppython3.11 -m venv ./venvsource venv/bin/activatepip install -r requirements.txtexport 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.
