Abstract
The vehicle routing problem with time windows (VRPTW) is a common optimization problem faced within the logistics industry. In this work, we explore the use of a previously-introduced qubit encoding scheme to reduce the number of binary variables, to evaluate the effectiveness of NISQ devices when applied to industry relevant optimization problems. We apply a quantum variational approach to a testbed of multiple VRPTW instances ranging from 11 to 3964 routes. These intances were formulated as quadratic unconstrained binary optimization (QUBO) problems based on realistic shipping scenarios. We compare our results with standard binary-to-qubit mappings after executing on simulators as well as various quantum hardware platforms, including IBMQ, AWS (Rigetti), and IonQ. These results are benchmarked against the classical solver, Gurobi. Our approach can find approximate solutions to the VRPTW comparable to those obtained from quantum algorithms using the full encoding, despite the reduction in qubits required. These results suggest that using the encoding scheme to fit larger problem sizes into fewer qubits is a promising step in using NISQ devices to find approximate solutions for industry-based optimization problems, although additional resources are still required to eke out the performance from larger problem sizes.
Introduction: The Qubit Bottleneck in Logistics
The Vehicle Routing Problem with Time Windows (VRPTW) is a critical challenge in logistics, involving the optimization of delivery routes for a fleet of vehicles under strict temporal constraints. As an NP-hard problem, classical solvers like Gurobi face exponential complexity as the number of locations and constraints increases. While quantum computing offers a potential advantage through Quadratic Unconstrained Binary Optimization (QUBO), current Noisy Intermediate-Scale Quantum (NISQ) hardware is severely limited by qubit counts. Standard quantum approaches typically require a 1:1 mapping between classical binary variables and qubits, making industrial-scale problems with thousands of routes inaccessible for today's hardware.
Methodology: From Routes to Qubits
To address this "qubit bottleneck," this research evaluates a Variational Quantum Algorithm (VQA) approach using two distinct encoding schemes. The standard Full Encoding maintains the traditional 1:1 mapping. In contrast, the Minimal Encoding scheme utilizes qubits as binary "addresses" to represent subgroups of variables. This allows $n_c$ classical variables to be represented by only $1 + \log_2(n_c)$ qubits—a logarithmic scaling that significantly reduces hardware requirements.
The optimization process employs a Hardware Efficient Ansatz (HEA) and the ADAM optimizer. The cost function is estimated through repeated circuit executions ("shots") on various quantum backends, including superconducting processors from IBMQ and Rigetti, and trapped-ion systems from IonQ. The problem instances, ranging from 11 to 3,964 routes, were generated using a greedy heuristic to reflect realistic shipping scenarios.
Key Results and Hardware Benchmarking
The study demonstrates that minimal encoding can achieve performance comparable to full encoding at small scales while using significantly fewer resources. For an 11-route problem, the minimal encoding required only 5 qubits compared to the 11 qubits needed for full encoding.
As shown in Figure 6, both encoding schemes converge toward optimal solutions over approximately 200 iterations. However, the minimal encoding (c) exhibits higher variance in its cost landscape compared to the smoother convergence of full encoding (a). Hardware benchmarking (b, d) revealed that IBMQ devices generally outperformed Rigetti and IonQ backends in finding high-quality approximate solutions, likely due to superior gate fidelities and connectivity.
The most significant achievement was the successful execution of a 3,964-route instance using just 13 qubits. While the global optimum was not reached—a common limitation in the NISQ era—the algorithm produced approximate solutions that significantly outperformed random baselines, proving the viability of the logarithmic encoding for large-scale problems.
Discussion: The Correlation Trade-off
While minimal encoding solves the "width" problem of qubit count, it introduces a "no free lunch" trade-off regarding variable correlations. Because the mapping is highly compressed, the quantum state struggles to capture complex classical correlations between variables. This makes it harder for the optimizer to produce a "sharply peaked" probability distribution around the single best solution.
Furthermore, sampling overhead remains a primary hurdle. As problem size grows, the number of "shots" required to accurately estimate the cost function increases. For the largest instances, 10,000 shots were insufficient to fully resolve all coefficients, highlighting a shift in the bottleneck from hardware size to measurement time.
Conclusion
This work demonstrates a promising strategy for applying NISQ devices to industry-relevant optimization. By utilizing qubit-efficient encodings, researchers can explore problem sizes that were previously considered too "wide" for current hardware. Future improvements in error mitigation, advanced intermediate encodings, and hybrid classical-quantum post-processing will be essential to translate these approximate solutions into competitive industrial tools.
Summary updated