The traveling salesperson problem (TSP) asks for the shortest route that visits a set of cities exactly once. Solving it classically requires huge computational power because the number of possible routes grows exponentially. In a recent paper, researchers propose a way to encode the TSP on a quantum computer using amplitude encoding. In practice, the information about all cities is stored in a quantum state with a number of qubits that grows only logarithmically with the number of cities, so a small qubit count can represent a huge problem.
To evaluate the route length, instead of summing expectation values of several quantum operators (the usual method), the authors apply a nonlinear function to those expectation values. This yields the cost function directly from the quantum computer’s probability distribution. They tested the approach with a variational quantum eigensolver (VQE), which mixes a parametrized quantum circuit with a classical optimizer. The VQE successfully found the shortest route on various graphs, showing that the method works across a wide range of optimization hyper‑parameters. In short, the study hints that future quantum computers could tackle complex optimization tasks with far fewer resources than classical machines.
