Picture a city at 8 a.m. Thousands of cars pour onto the same handful of arteries, each driver choosing a route that looks fastest to them, and the collective result is gridlock. Now imagine assigning every vehicle a path so that the roads stay balanced and nobody piles onto the same bottleneck. That is a brutally hard problem, and it is exactly the kind of puzzle that researchers have handed to quantum computers as a proving ground.
Why traffic looks like a quantum problem
Routing is a member of a family that mathematicians call combinatorial optimization. The number of possible route assignments explodes as you add vehicles and roads. Ten cars with a few route choices each already produce thousands of combinations; scale that to a fleet and the possibilities outnumber the atoms in a room. Classical computers cannot check every option, so they rely on clever heuristics that find good-enough answers.
Quantum machines promise a different style of search. Problems like traffic routing can be rewritten as an energy landscape, where the best solution sits at the lowest valley. Encode the cost of congestion into that landscape, and finding the minimum becomes the whole game. This is the native language of a quantum annealer, the kind of machine built by D-Wave, which uses thousands of superconducting loops to settle into low-energy states. It is also something gate-based processors can tackle through algorithms like QAOA, the Quantum Approximate Optimization Algorithm.
The Lisbon experiment
The most cited real-world test came from Volkswagen, which ran a traffic-routing pilot during a conference in Lisbon. The team took data from a fleet of buses, mapped the problem onto a D-Wave annealer, and computed routes designed to spread vehicles across the street grid rather than funnel them through the same choke points. Buses received route suggestions updated from the quantum calculation. It was a genuine demonstration that a live optimization problem could be formatted for quantum hardware and solved end to end.
What the pilot did not prove was that the quantum machine beat a good classical solver. The fleet was small, the road network simplified, and a laptop running a well-tuned heuristic could likely have matched or bettered the result. That caveat sits at the heart of nearly every quantum optimization story: the demonstration works, the pipeline runs, but the elusive quantum advantage, where the machine genuinely outperforms the best classical alternative, has not clearly arrived.
Turning streets into qubits
Getting a traffic problem onto a quantum computer is itself a craft. Engineers must express congestion as a cost function in a form called QUBO, Quadratic Unconstrained Binary Optimization. Every decision becomes a binary variable: does this car take route A or not. Penalties discourage two cars from overloading the same segment. The resulting mathematical object then has to be embedded onto the physical chip, matching logical variables to the specific connectivity of the hardware. On an annealer with limited links between qubits, a single logical variable may need several physical qubits chained together, which eats into the machine's capacity fast.
That embedding tax is one reason the demonstrations stay small. A real city has millions of vehicles and constantly shifting conditions. Current machines handle toy versions, and even those often get carved into pieces that classical computers stitch back together.
Why companies keep trying anyway
If classical computers still win, why bother? Three reasons keep the work alive.
- Logistics is a trillion-dollar prize. Shaving a few percent off delivery mileage or warehouse routing translates into enormous savings, so even a modest edge would pay for itself.
- The problems are a convenient benchmark. Routing and scheduling are concrete, measurable, and easy to compare against classical baselines, which makes them ideal for stress-testing new hardware.
- Building the pipeline now means being ready later. Companies from automakers to shipping giants are learning how to translate operations into quantum-ready formats so that when hardware matures, they can move quickly.
Airlines have explored gate assignment, ports have modeled container shuffling, and delivery firms have studied last-mile routing on both annealers and gate machines. Each project follows the Lisbon pattern: a real problem, a working demonstration, and an honest footnote about advantage.
The road ahead
The honest position is that traffic optimization is a rehearsal, not a victory. The hardware needs more qubits, richer connectivity, and lower error rates before a quantum solver can outrun a finely tuned classical algorithm on a city-scale network. But rehearsals matter. The teams writing QUBO formulations today are building the muscle memory that a future fault-tolerant machine will need. When the hardware catches up, the rush-hour qubit may finally earn its keep.