Member-only story

This 90 Year Old Math Problem Shows Why We Need Quantum Computers

To find the optimal route between many different locations, we need the power of quantum computers.

Ethan Siegel
Starts With A Bang!
8 min readJun 4, 2020

It’s time to run your errands, and you’ve got multiple stops to make. From your house, you have to hit the supermarket, the gas station, and the hardware store, all before returning home. Assuming you know that you begin and end at your home, there are six possible routes you can take, as you can either hit:

  • first the supermarket, next the gas station, and then the hardware store,
  • first the supermarket, next the hardware store, and then the gas station,
  • first the gas station, next the supermarket, and then the hardware store,
  • first the gas station, next the hardware store, and then the supermarket,
  • first the hardware store, next the supermarket, and then the gas station, or
  • first the hardware store, next the gas station, and then the supermarket.

But which one of these routes will be the most efficient path? This is known, in the field of mathematics, as the travelling salesman problem. To solve it for more than a handful of “stops,” it will almost certainly require a quantum computer. Here’s why.

If you have any number of destinations that you have to visit, there will be one travel route that’s more efficient than all the rest: that wastes the least amount of time and distance travelling between them. The above example — about your home, the supermarket, the gas station, and the hardware store — had a total of four destinations, but only six possible paths. As it turns out, only three of those paths are unique, because each option (e.g., home ⇨ supermarket ⇨ gas station ⇨ hardware store ⇨ home) is one of the other options in reverse (e.g., home ⇨ hardware store ⇨ gas station ⇨ supermarket ⇨ home).

This is pretty straightforward for only a few stops, but the number of possible paths grows extremely rapidly: like a mathematical factorial. For 5 destinations…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Starts With A Bang!
Starts With A Bang!

Published in Starts With A Bang!

The Universe is out there, waiting for you to discover it.

Ethan Siegel
Ethan Siegel

Written by Ethan Siegel

The Universe is: Expanding, cooling, and dark. It starts with a bang! #Cosmology Science writer, astrophysicist, science communicator & NASA columnist.

Responses (9)

Write a response