Abstract
Benchmarking quantum optimization algorithms against classical counterparts often suffers from systemic biases, including formulation mismatch and unequal optimization effort. This paper proposes a standardized framework for fair benchmarking, emphasizing optimal problem representation, realistic datasets, holistic metrics like Time-to-Solution (TTS), and equitable hyperparameter tuning. Through evaluations on Max-Cut and Traveling Salesperson Problems (TSP), we demonstrate how these guidelines reveal the true performance landscape of quantum versus classical solvers, moving beyond "toy" benchmarks toward a realistic assessment of quantum utility.
Introduction
The current state of quantum benchmarking is often described as a "Wild West." Researchers frequently compare highly-tuned quantum methods against "out-of-the-box" classical baselines or utilize randomly generated datasets that fail to reflect the complexity of industrial applications. A primary hurdle is formulation bias: quantum solvers typically require problems to be formatted as Quadratic Unconstrained Binary Optimization (QUBO) models, while classical Branch-and-Cut (BNC) solvers perform best with Mixed-Integer Linear Programming (MILP). Forcing a classical solver to use a QUBO format—a representation for which it was not designed—often results in a "straw man" comparison. This paper addresses these inconsistencies by proposing a standardized, robust benchmarking process.
Methodology: The Four Pillars of Fair Play
To ensure a rigorous comparison between quantum and classical optimization, we outline four essential pillars:
- Algorithm & Formulation Selection: Solvers must be evaluated using their respective optimal mathematical representations. A classical solver should not be handicapped by a quantum-native formulation like QUBO if a more efficient MILP representation exists.
- Dataset Selection: Benchmarks should prioritize real-world-inspired instances and identify "hard" regions, such as phase transitions, rather than relying solely on easy, random graphs.
- Holistic Metrics: Evaluation must move beyond simple accuracy. We advocate for Time-to-Solution (TTS), which accounts for both the probability of finding the optimal solution and the time taken per sample, or Best Solution Found (BSF) within a fixed time limit.
- Equitable Hyperparameter Tuning: To eliminate "effort bias," both classical and quantum solvers must receive an equivalent level of tuning effort.
For the Quantum Approximate Optimization Algorithm (QAOA), we introduce a "generating function" approach using low-degree polynomials to regularize parameters. This prevents the optimizer from overfitting to specific small instances and ensures more generalizable results.
Experimental Setup
The proposed guidelines were tested across three distinct scenarios:
- Max-Cut (Small-Scale): 1,200 instances (10–20 nodes) including 3-Regular and Erdős-Rényi graphs.
- Max-Cut (Large-Scale): 371 instances (99–298 nodes) from the MQLib dataset, featuring VLSI (circuit design) and random problems.
- Traveling Salesperson Problem (TSP): Small instances (up to 7 nodes) generated using a parameterized model to mimic phase transitions from "easy" to "complex" problem regimes.
Key Insights and Analysis
The QAOA "U-Shape"
Our analysis of QAOA revealed a critical trade-off regarding circuit depth ($p$). While increasing depth generally improves solution quality, the exponential increase in execution time eventually causes the total Time-to-Solution (TTS) to degrade. This creates a "U-shaped" performance curve, identifying a specific sweet spot for optimal efficiency.
The Formidability of Classical Heuristics
On small, random Max-Cut instances, simple Simulated Annealing (SA) outperformed all other methods, including commercial solvers like Gurobi and quantum hardware like D-Wave. Furthermore, while commercial BNC solvers excel on sparse, structured graphs, their performance declines sharply as graph density increases. In these high-density "hard" regions, heuristics and Quantum Annealing (D-Wave) remain more competitive.
The Role of Formulation in TSP
For the Traveling Salesperson Problem, the choice of "mixer" in QAOA (e.g., the $XY$-mixer) significantly impacts performance. By restricting the search space to only valid permutations, the $XY$-mixer reduces the need for penalty terms that often confuse the solver. While the Grover-mixer yielded the highest solution quality, it did so at a significantly higher computational cost compared to the $XY$-mixer's superior TTS at low circuit depths.
Results Summary
- Max-Cut: Simulated Annealing achieved the lowest TTS for small instances. In large-scale tests, Gurobi and CPLEX dominated most instances with relative errors below $10^{-4}$. However, on the most densely connected graphs, SA and D-Wave found superior solutions within the 10-second time limit.
- TSP: The $XY$-mixer approach provided the best overall TTS at low circuit depths, while the Grover-mixer proved most effective for raw solution quality.
Limitations and Future Outlook
While these guidelines provide a path forward, several challenges remain. Due to the constraints of classical simulation, QAOA and TSP benchmarks were restricted to small qubit counts. True "quantum utility" can only be demonstrated at scales where classical solvers fail. Additionally, these results utilize idealized simulations; real-world Noisy Intermediate-Scale Quantum (NISQ) hardware would likely introduce errors that degrade performance. Future work will focus on extending these benchmarks to larger scales and incorporating hardware noise models to better reflect the current state of quantum computing.
Summary updated