Quantum Modeler · Capacitated Vehicle Routing
Capacitated Vehicle Routing
Cover every customer exactly once using at most the supplied number of identical vehicles. Minimize total distance over the complete set of capacity-feasible depot tours.
Execute at most 8 total qubits using an ideal classical statevector simulator. Symbolic scaling does not execute or solve a larger instance.
Build your problem
Presets replace problem inputs. Your execution and projection settings stay as entered. Edit any input, then build to calculate new results.
Depot 0 has no demand. Each complete candidate tour consumes one decision qubit; fleet slack also counts toward 8. Routes return to depot 0. This model has no time windows, heterogeneous vehicles, or split deliveries.
Ready to validate a small instance.
Open the simulator to purchase more runs, then return here.
Results describe the last completed build.
Explain this model
Small-instance simulation
Independent classical reference
Encoded input resources
Sampled states
| Bits | Count | Probability | Penalized energy | Feasible objective | Penalty constraints | Assignment |
|---|
Full probability distribution
| Bits | Count | Probability | Penalized energy | Feasible objective | Penalty constraints | Assignment |
|---|
Circuit artifacts
x0 is the leftmost assignment bit. Measurements map xi → q[i] → c[i]; tools displaying c[N−1]…c[0] require register-order conversion.
Variable mapping
QUBO and Ising coefficients
Generated DSL
OpenQASM 2.0
Routing and scheduling models
TSP · Job Scheduling · Vehicle Routing. Tiny validated examples execute within eight total qubits; larger inputs use the Problem Compiler.
No quantum advantage, real-QPU performance, physical-qubit requirement, or production-scale solution quality is claimed.