Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 459 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 459 Bytes

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