{
  "id": "2024/626",
  "url": "https://opencryptology.org/2024/626",
  "original_url": "https://eprint.iacr.org/2024/626",
  "title": "An Efficient Quantum Algorithm for the Traveling Salesman Problem",
  "authors": [
    "Anant Sharma",
    "Nupur Deshpande",
    "Sanchita Ghosh",
    "Sreetama Das",
    "Shibdas Roy"
  ],
  "affiliations": null,
  "abstract": "The traveling salesman problem is the problem of finding out the shortest route in a network of cities, that a salesman needs to travel to cover all the cities, without visiting the same city more than once. This problem is known to be $NP$-hard with a brute-force complexity of $O(N^N)$ or $O(N^{2N})$ for $N$ number of cities. This problem is equivalent to finding out the shortest Hamiltonian cycle in a given graph, if at least one Hamiltonian cycle exists in it. Quantum algorithms for this problem typically provide with a quadratic speedup only, using Grover's search, thereby having a complexity of $O(N^{N/2})$ or $O(N^N)$. We present a bounded-error quantum polynomial-time (BQP) algorithm for solving the problem, providing with an exponential speedup. The overall complexity of our algorithm is $O(N^3\\log(N)\\kappa/\\epsilon + 1/\\epsilon^3)$, where the errors $\\epsilon$ are $O(1/{\\rm poly}(N))$, and $\\kappa$ is the not-too-large condition number of the matrix encoding all Hamiltonian cycles.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“An Efficient Quantum Algorithm for the Traveling Salesman Problem” by Anant Sharma, Nupur Deshpande, Sanchita Ghosh, Sreetama Das, Shibdas Roy, Cryptology ePrint Archive, Paper 2024/626, https://eprint.iacr.org/2024/626. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-04-23T17:10:12Z",
    "updated": "2025-02-26T04:49:32Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/626.pdf",
    "sha256": "fec239009fd610410fd577f6779691ad2c7f4fcce3f75217374675c30fca2fda",
    "size": 459011,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/626/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/626.pdf",
      "size": 459011,
      "sha256": "fec239009fd610410fd577f6779691ad2c7f4fcce3f75217374675c30fca2fda",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/626/versions/20240522T095021Z.pdf",
      "captured_at": "2024-05-22T09:50:21Z",
      "label": "copy captured 2024-05-22",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240522095021id_/https://eprint.iacr.org/2024/626.pdf",
      "size": 341386,
      "sha256": "cfc361501a3c70de09926b487f27a2768236cb3bf8740e0decb3e645fbfc6645",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/626.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 459011
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240522095021id_/https://eprint.iacr.org/2024/626.pdf",
      "captured_at": "2024-05-22T09:50:21Z",
      "size": 328333
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/626,\n      author = {Anant Sharma and Nupur Deshpande and Sanchita Ghosh and Sreetama Das and Shibdas Roy},\n      title = {An Efficient Quantum Algorithm for the Traveling Salesman Problem},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/626},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/626}\n}"
}
