WorksPhysics and Astronomy
Comparing classical and quantum QUBO solvers: optimality, trajectory diagnostics, and limits of solver selection
Abstract
Comparing solvers for quadratic unconstrained binary optimization (QUBO) requires distinguishing solution quality from optimality certification. We compare classical, tensor-network, and fixed-schedule quantum approaches on 180 benchmark instances from ten families with 14-48 variables, supplemented by harder synthetic instances with known optimal solutions, extending to 128 variables. On the main benchmark, a general-purpose branch-and-cut solver matches all reference energies and certifies 176 instances within a 600,s cap. When the known optima are moved to randomly chosen bitstrings, the search comparison changes: at n = 48 the branch-and-cut solver finds only four of ten optima and certifies none, whereas parallel tempering reaches every optimum in every tested run at a 60,s budget. Structural and trajectory diagnostics explain aspects of tensor-network performance. A treewidth bound ranks trajectory bond-dimension demand at Spearman in sample and out of sample, but provides only a coarse runtime estimate. Controlled experiments identify excited-state trapping during warm-started density-matrix renormalization group (DMRG) sweeps and demonstrate mitigation by restarting the variational search. These diagnostics do not yield a validated solver-selection rule. The tested linear-ramp quantum approximate optimization algorithm (LR-QAOA) runs offer no solution-quality improvement over the classical comparators. In the separate Wishart scaling study, on the harder setting, none of the classical methods tested reaches the optimum at the sampled sizes from n = 72 onward within the tested budgets. While this does not provide evidence for quantum advantage, it identifies a domain for further investigation.
Introduction
Quadratic unconstrained binary optimization (QUBO) provides a common formulation for comparing classical, tensor-network, and quantum approaches to combinatorial optimisation [30, 14]. For a practitioner, choosing a method requires specifying the desired outcome: a low-energy solution, an optimum, or a certificate that no better solution exists. These objectives need not favour the same solver. A meaningful comparison must therefore distinguish solution quality from optimality certification and relate both to the computational budget. These considerations connect to algorithm selection [12], which has been investigated for classical QUBO portfolios [1]. Here, we focus on comparing solution quality, optimality certification, and computational cost across solver approaches, and on understanding how instance structure and trajectory diagnostics relate to their performance.
Problem instance structure offers a possible basis for making this choice. Properties of the interaction graph can constrain the cost of exact methods and may indicate the resources required by tensor-network algorithms [19, 7]. Quantum-information diagnostics offer a complementary perspective, but their interpretation requires care. Alongside entanglement, we measure non-stabilizerness, often called magic: a quantum resource that characterises departures from stabilizer states, which admit efficient classical simulation [26, 27, 28]. Magic concerns the resources needed for stabilizer-based simulation but high magic alone (e.g., with low entanglement) does not rule out efficient classical simulation by methods that do not rely on a stabilizer representation. Every QUBO optimum can be represented by a computational-basis state with neither entanglement nor magic. The relevant resources consequently arise in the intermediate states explored by an algorithm, rather than in the optimal bitstring itself [15, 16, 17]. We study these resources along a transverse-field interpolation connecting a simple initial Hamiltonian to the QUBO Hamiltonian [9, 10].
This paper investigates how much structural and trajectory information can explain solver performance, and whether it supports useful choices between methods. We compare a general-purpose branch-and-cut solver (Gurobi) [31], simulated annealing (SA) [3], a density-matrix renormalization group (DMRG) based tensor-network (TN) anneal [6, 7], and fixed-schedule linear-ramp quantum approximate optimization (LR-QAOA) [8, 11], with parallel tempering (PT) [4, 5] providing an additional classical comparison. Each serves a specific role: branch-and-cut supplies a baseline capable of certification, SA supplies a simple thermal-search baseline and PT tests whether SA’s failures persist under a stronger thermal method. The DMRG anneal probes variational optimisation of matrix-product states (MPS), while LR-QAOA probes a quantum-circuit approach with prescribed parameters. The shared Hamiltonian interpolation connects these last two methods, although their computational procedures and intermediate states remain distinct.
Our main benchmark (Campaign A) comprises 180 instances from ten problem families with – variables. It includes 90 small calibration instances with exhaustively verified optima and 90 larger instances used to assess extrapolation; the latter also receive an exact-solver cross-check (§ 2.3). The robustness controls (Campaign B) and scaling study (Campaign E) also use the Wishart-planted family [13]: synthetic problems constructed from random Gaussian vectors so that a chosen solution is guaranteed to be optimal, with a parameter controlling problem difficulty. These known optima provide reference targets beyond the range of exhaustive enumeration. To avoid giving solvers an easily guessed target, we randomly complement selected binary variables () and transform the objective accordingly. This relabelling, called gauge randomisation, moves the planted optimum from the all-zero bitstring to a random bitstring while preserving the energy landscape. It controls for the advantage a solver may gain from the original placement of the solution [35]. These experiments examine the robustness of the comparison and extend the study to (§ 3.3 and § 6).
The results distinguish three aspects of solver performance. First, branch-and-cut provides a strong baseline in Campaign A, matching every reference energy and certifying nearly all instances. Its advantage nevertheless depends on whether the task is search or certification: on the harder gauge-randomised instances, PT can find optima that branch-and-cut misses within its allotted budget (§ 3.3 and § 6).
Second, a cheap treewidth bound of the QUBO interaction graph ranks the bond-dimension demand of the tensor-network trajectories, but supplies only a coarse runtime estimate. The evaluated structural features and cost models do not produce a useful solver-selection rule (§ 4.3). Controlled experiments further identify excited-state trapping during warm-started DMRG sweeps as a failure mechanism that can be mitigated by restarting the variational search (§ 4). Entanglement and magic are only moderately correlated in the measured trajectories and provide distinct diagnostic information.
Third, the tested LR-QAOA runs provide no solution-quality improvement over the classical comparators (§ 5). The larger Wishart experiments identify instances on which the tested classical methods struggle, offering a concrete setting for further quantum–classical comparisons. Together, these findings establish a classical baseline, clarify what trajectory diagnostics can explain, and identify the additional evidence needed for meaningful solver selection across computational approaches.
§ 2 defines the shared framework and summarises Campaigns A–E. § 3 presents the main benchmark and robustness controls (A and B). § 4 brings together the benchmark diagnostics and targeted TN mechanism tests (C). § 5 reports the LR-QAOA comparison and supplementary quantum studies (D), followed by the Wishart scaling study (E) in § 6. Supporting experiments and exploratory resource projections are collected in App. app:supporting.
Problem formulation and experimental framework
This section defines the optimisation problem, the benchmark instances, and the common evaluation framework. We distinguish solution quality, optimality certification, and computational cost. The main benchmark provides the basis for the solver comparison and predictive analyses; additional campaigns examine robustness, tensor-network failure mechanisms, LR-QAOA protocols, and scaling to harder instances. § 2.6 summarises their questions and coverage.
QUBO formulation and Hamiltonian interpolation
We consider QUBO instances defined by a real symmetric matrix , with the objective
Introducing classical spin variables through gives the Ising form
where , , and for this symmetric-matrix convention [14]. The additive constant preserves the objective value but does not affect which bitstrings minimise it.
Replacing each spin variable by the Pauli- operator gives the diagonal cost Hamiltonian
where is the identity operator. We retain the constant here so that the eigenvalue associated with equals . Every optimal bitstring defines a computational-basis ground state of , with zero entanglement and zero magic. A degenerate ground space may also contain superpositions with nonzero quantum resources. Thus the resources of an optimal bitstring alone do not distinguish instance difficulty; we instead examine the intermediate states produced by specified computational procedures [15, 16, 17].
The Hamiltonian interpolation used in this study is
where is the Pauli- operator on spin . At , the ground state is the product state , with ; at , the Hamiltonian is .
This interpolation provides a common Hamiltonian framework for the methods considered here. Quantum annealing evolves under a time-dependent Hamiltonian along this path. LR-QAOA uses alternating mixer and cost unitaries related to a discretisation of that evolution, with the coefficient normalisation and schedule specified in App. app:solvers. The DMRG anneal instead performs successive variational optimisations at selected values of . These procedures need not produce the same intermediate states. In particular, the entanglement measured along a DMRG sweep does not by itself bound the entanglement of the corresponding LR-QAOA circuit.
The interpolation thus connects the computational approaches without identifying their intermediate states. We next specify the instances on which they are compared and the reference energies used to evaluate their outputs.
Instance families and benchmark selection
The ten families in Table 1 cover graph sparsity, frustration, penalty encodings, ground-state degeneracy, and planted solutions. Sherrington–Kirkpatrick (SK) instances provide a dense random spin-glass ensemble. Wishart-planted instances [13] have known optima by construction and a difficulty parameter , where is the number of Gaussian sample vectors. The main benchmark uses , so is the nominal aspect ratio; § 6 varies this parameter. The ferromagnetic chain provides a control with treewidth one and an analytic optimum. The Max-Cut random graphs are unweighted. Maximum independent set (MIS) uses edge probability and penalty weight . Exact cover uses sets over a universe of elements, including a hidden partition. SK couplings have standard deviation and zero fields. The random-frustrated generator uses coupling density , equally likely signs with half-normal magnitudes, and Gaussian fields of standard deviation . The ferromagnetic chain has unit coupling strength.
| family | structure | probes |
| ferro chain | chain, , unfrustrated | control; analytic optimum |
| grid | Max-Cut, planar, bipartite | low treewidth; analytic optimum |
| 3-regular | Max-Cut, sparse, degree 3 | high ground-state degeneracy |
| sparse ER | Max-Cut, | moderate treewidth |
| dense ER | Max-Cut, | treewidth |
| MIS | ER, dense penalties | penalty-encoding overhead |
| exact cover | dense penalties | penalty encoding, planted solution |
| SK | dense random spin glass | random frustrated couplings |
| random frustrated | dense, tunable signs | frustration, no planted optimum |
| Wishart | dense, broad coupling magnitudes | planted optimum, tunable hardness |
Table 1. Benchmark families and the regime each is included to probe. The first column is the short handle used for the family throughout this paper, including the benchmark and control comparisons; MIS = maximum independent set, ER = Erdős–Rényi random graph with edge probability (written with a subscript because denotes the QAOA depth throughout, § 2.4). Requested generator sizes are (calibration) and (out of sample), with seed indices . Actual sizes differ only for the grid family in this benchmark (§ 2.2.1).
Calibration and out-of-sample evaluation
The main benchmark comprises 180 benchmark instances, indexed by problem family, requested size, and instance-generation seed. This count follows the benchmark’s family–size–seed combinations; it does not imply 180 distinct problem matrices. We use distinct instances when matrix uniqueness matters and runs for solver executions. The benchmark is split into two sets by instance size:
The calibration set contains 90 instances at requested sizes . The grid family has actual sizes ; all other families retain the requested sizes, giving an overall range –. All reference optima are verified by exhaustive enumeration. This set is used to fit the runtime models in App. app:costmodels.
The out-of-sample set contains 90 instances at requested sizes . The grid family has actual sizes ; all other families retain the requested sizes. Their reference energies are known by construction or analytically, or certified by the exact-solver cross-check, except for one SK instance whose reference remains best-known (§ 2.3).
For a requested size , the grid generator uses rows and columns, giving variables. This is a generator convention, not a restriction on permissible grids. The 3-regular generator increases odd requested sizes by one, but all requested sizes in this benchmark are even.
The grid and ferromagnetic-chain families have no random parameters, so their generators do not depend on the seed. For these families, the three benchmark instances at each size share the same matrix. Solving them therefore repeats the computation on that matrix rather than sampling three independently generated problems. Each split thus contains 78 distinct matrices, 156 in total. Rank correlations between instance features are reported over the distinct matrices, since the repeated matrices would otherwise enter them three times.
This split tests for size extrapolation rather than interpolation within a randomly partitioned size range. The reported out-of-sample runtime errors use models fitted on the calibration set. Exploratory analyses using all instances, including success-probability weighting, are identified separately in App. app:costmodels.
Wishart extensions and optimum placement
The additional Wishart studies use known planted optima to evaluate search beyond the range of exhaustive enumeration. The aspect ratio controls the ensemble, with the main benchmark using and the scaling study also considering (§ 6).
The original construction of these instances places an optimum at the all-zero bitstring. To test sensitivity to this special placement, we use gauge-transformed variants: selected binary variables are complemented and the objective and reference energy are transformed accordingly. This moves the planted optimum to a generic bitstring while preserving the landscape up to relabelling and an accounted-for additive energy shift. Original and gauged variants form a paired comparison, not independent instance samples. The control subsets and repetitions are specified in § 3.3; the larger scaling study has its own instance set and budgets.
Reference energies and optimality status
We denote as the true global minimum and additionally denote the benchmark target by . This reference energy is the objective value against which a solver’s returned solution is scored. When it is established by exhaustive enumeration, solver certification, an analytic argument, or a planted construction, . Otherwise it is the best-known feasible value, so . A hit of a solver means matching within the tolerance defined in § 2.5.4; it implies reaching the optimum only when the reference is known to be optimal. Solver-certified references use the numerical optimality convention specified in § 2.4. The reference construction and its optimality status depend on size and family.
For all instance families at , exhaustive enumeration returns the exact optimum with a proof. All 90 calibration instances are of this kind.
For Wishart, grid, exact cover, and ferro-chain instances at all sizes, the optimum is planted or known analytically, independently of any solver: the Wishart ensemble is generated around a chosen ground-state configuration [13]; a bipartite grid Max-Cut has , where is the number of edges (every edge can be cut); the exact-cover instances are built around a hidden exact partition; and the ferromagnetic chain is minimised by the aligned configuration. These constructions provide for 36 of the 90 out-of-sample instances, without requiring exhaustive enumeration.
Of the remaining 54 out-of-sample instances (dense and sparse ER, 3-regular, MIS, random frustrated, and SK), 53 have reference energies certified as optimal by branch-and-cut. The sole exception is one SK instance at . For this instance, is the best-known feasible energy, reached by both an extended SA run and branch-and-cut, but not certified within the exact solver’s time limit. The extended SA budget is specified in § 2.4.
Thus is established for 179 of the 180 main benchmark instances: 90 by enumeration, 36 larger instances by construction or analytic arguments, and the remaining 53 by the exact-solver check. Equality remains unverified only for the SK instance identified above. In the additional Wishart experiments, including the larger scaling study, the references remain known optima by construction, independently of solver success.
Solver approaches and main-benchmark configurations
We compare an exact optimisation baseline with thermal-search and tensor-network heuristics, and a quantum-circuit heuristic. Table tab:budgets summarises their computational budgets. The descriptions below explain the choices needed to interpret the comparison; numerical settings and implementation checks are collected in App. app:solvers.
Exact solver.
Branch-and-cut searches restricted subproblems and uses bounds, strengthened by additional constraints, to discard regions that cannot improve the best solution found and ultimately certify optimality. We use Gurobi [30, 31], which minimises the binary quadratic objective, using either a linearised or a native quadratic formulation, with a s time limit. Finding the reference energy and certifying optimality are distinct outcomes: the reported certificate flag denotes the solver’s optimal status under its numerical tolerances (§ 2.3). Exhaustive enumeration provides an independent cross-check at small sizes. This general-purpose baseline does not establish the limits of exact optimisation: specialised branch-and-cut [2] or methods exploiting low treewidth may perform better.
Simulated annealing.
SA [3] explores bitstrings through single-variable flips, accepting some energy increases to escape local minima. Metropolis acceptance becomes less permissive as the temperature falls. We use a geometric cooling schedule. Each run comprises four restarts of 2000 sweeps, where a sweep proposes one update per variable. The best state from each restart is refined by single-flip local search, and the lowest energy is returned. The extended runs used to establish reference energies receive four times this update budget.
Parallel tempering.
Similar to SA, PT [4, 5] runs several searches at different temperatures and exchanges configurations between them, allowing low-temperature searches to benefit from exploration at higher temperatures. As a second thermal-search baseline, we use 16 replicas with exchange attempts after every sweep. It uses a wall-clock budget and receives no final local-search polish. It is reported alongside SA but is not included in the retrospective heuristic winner labels or assigned a fitted runtime model. The main and control budgets are summarised in Table tab:budgets and § 3.3.
Tensor-network anneal.
The TN anneal approximately minimises the interpolating Hamiltonian within a compact MPS representation, using each state as the starting point for the next interpolation step. We use two-site DMRG [6, 7], with bond dimension capped at . The bond dimension controls the size of the MPS representation and limits the entanglement it can represent. Cold-start checks mitigate excited-state trapping (§ 4). Several candidate bitstrings are extracted from the final MPS, each is refined by single-flip local search, and the lowest energy is returned. Separate runs at assess sensitivity to the bond cap. These optimisation runs all enable reset checks. The trajectory diagnostics use separate, reset-free sweeps (§ 2.5.2).
LR-QAOA.
LR-QAOA prepares a quantum state by alternating operations determined by the objective with operations that mix computational-basis states, then samples bitstrings as candidate solutions. It uses fixed linear parameter schedules on a coefficient-normalised Hamiltonian [11]. Here, a quantum circuit is the sequence of quantum gates that prepares the state before sampling. All LR-QAOA results reported in this paper are obtained by classical simulation of such circuits, none are quantum-hardware executions. The number of LR-QAOA layers is denoted by , and sets the amplitude of the linear parameter schedules. With nonzero pairwise couplings, the LR-QAOA circuit uses logical two-qubit cost gates. The layer count differs from the gate-level circuit depth , which also accounts for how gates within a layer are scheduled (App. app:quantumexploration). Campaign A uses exact statevector simulation for and approximate MPS simulation for , subject to a limit of 3000 logical two-qubit cost gates. Table tab:budgets gives the depths and sampling budgets. Runs replaced by SA because of these limits are excluded from quantum comparisons. The lowest-energy sampled bitstring is selected and then polished once by single-flip local search. Unlike TN, this does not polish every candidate. The separate depth-scaling and adaptive-depth studies are discussed in § 5.
Agreement between the statevector and MPS simulators at small size checks implementation conventions, but does not establish convergence of the larger MPS simulations. Nor do the DMRG trajectory diagnostics bound entanglement in the LR-QAOA states (§ 2.1). The MPS results must therefore be interpreted as approximate simulations of LR-QAOA.
Timings and interpretation.
All timings were measured on the same machine. Details about hardware and software are documented in App. Figure 8. Wall-clock comparisons reflect both algorithmic performance and implementation choices, including threading and compiled numerical routines. LR-QAOA simulation times measure classical computational cost, not quantum hardware runtime. Circuit depth is reported separately as a resource estimate rather than a complete time-to-solution measure.
| solver | budget per run | applicability | repetitions |
| exact branch-and-cut | up tos; stops earlier at solver optimal status | all instances | |
| simulated annealing | restartssweeps (proposals) | all instances | |
| parallel tempering | fixeds;replicas | all instances | |
| DMRG anneal (TN) | ;interpolation points, ending at | all instances | |
| LR-QAOA, statevector | ,;samples total (per setting) | ||
| LR-QAOA, MPS proxy | ,,;samples | andlogical two-qubit cost gates |
Diagnostic quantities and evaluation measures
The diagnostics are organised in three tiers — structural, trajectory, and spectral — ordered by what they cost and therefore by how far up in they remain available.
Tier 0 is read off and its interaction graph alone, costs – and does not require a quantum-state representation (§ 2.5.1). This tier is intended for inexpensive pre-solve assessment; the question of what the expensive tiers buy recurs in § 4.3.
Tier 1 requires a matrix-product-state sweep along the trajectory of Eq. (2) and is affordable to (§ 2.5.2).
Tier 2 is exact diagonalisation, limited to (§ 2.5.3). It is used to validate and interpret the other diagnostics, rather than as an input to the cost models or the exploratory indicator of instances for further quantum testing (Eq. eq:flag, App. app:quantumexploration).
Table tab:measures collects the measured quantities, both the instance diagnostics and the outcome metrics, in one place: what each one captures, what it costs, and where in the paper it is used, with definitions given below.
| measure | what it captures | how obtained (cost) | where it is used |
| Tier 0 --- structure and landscape of; any, cost--(Sec. ) | |||
| distance from a tree; bounds the exponent of exact TN contraction | min-degree/min-fill elimination bound (, the one costly Tier-0 feature) | TN cost law, Eq. ; exactness rule R3 (App. ) | |
| edge density | from the interaction graph | quantum indicator, Eq. | |
| distance from a one-dimensional chain | bandwidth after reverse Cuthill--McKee (RCM) reordering | secondary correlate of(Sec. ) | |
| coexisting energy scales, Eq. | quantum indicator | ||
| balance, planarity, | three cheap graph predicates: frustration exact and graded, and polynomial exactness | parity 2-colouring ; planarity test ; sampled triangles | exactness rules R2, R4 (App. ) |
| ruggedness: multi-start local-minimum hit rate | fraction offirst-improvement descents reaching their best value | quantum indicator | |
| Tier 1 --- barriers along the trajectory, Eq. ;(Sec. ) | |||
| entanglement barrier: peak von Neumann entropy over all cuts and all | warm-started DMRG sweep at() | classical-hardness axis; Page scale | |
| maximum number of Schmidt components retainingweight | same sweep | law (Sec. ); Eq. | |
| magic barrier: peak non-stabilizerness, Eq. | four-replica MPS contraction at(); truncated estimate | complementary hardness indicator; quantum indicator | |
| Tier 2 --- exact spectra;; validation and interpretation (Sec. ) | |||
| , using the final ground-state degeneracy | sparse diagonalisation ofover allstates | stack validation; trapping analysis (Sec. ); TN readout design (App. ) | |
| Outcome metrics --- measured per solver run (Sec. ) | |||
| hit | reached the reference energy | Eq. ,(mixed absolute/relative) | main benchmark and repeat controls; scaling exceptions below |
| proved | optimality certificate, subject to numerical tolerances | solver optimal status within the stated cap | Secs. , |
| wall-clock seconds to the returned solution | per run; circuit depth reported separately | cost-model fits, Eqs. -- | |
| ex-post best solver, the choice made knowing all outcomes | lowest, ties broken by smaller, Eq. | retrospective heuristic-label analysis | |
| how far a run ends from the nearest optimum | Hamming distance to the enumerated optimal set | trapping diagnostic (Sec. ) |
Structural features (Tier 0; cost –, any )
These features use the instance data and a small local-search probe, without a quantum-state simulation.
The interaction graph has one vertex per binary variable and an edge wherever . Its edge count is .
Treewidth bound . The treewidth of the interaction graph measures how far the graph is from a tree: a tree decomposition of width groups the vertices into overlapping “bags” of size arranged in a tree, such that every edge lies inside some bag and the bags containing any given vertex form a connected subtree. Its operational meaning here is that both exact dynamic programming over such a decomposition and exact tensor-network contraction cost [19, 20]: the treewidth is the size of the “interface” a contraction must carry along, and hence directly the exponent of the tensor-network cost. Computing exactly is NP-hard, so we use the standard min-degree/min-fill elimination heuristics and take the smaller bound, . The two are kept apart throughout: is the exact treewidth, in which all cost statements and the structural descriptions of the instance families are phrased, while is the computed bound, the quantity the pipeline actually reads. A chain has and a fully connected graph on vertices has .
Two distinct tensor-network computations appear in this paper and should not be conflated. The first is the exact contraction just described, equivalently dynamic programming over a tree decomposition, which returns the optimum together with a proof of optimality at a cost . It is what gives its operational meaning, and it is the method behind the bounded-treewidth rule R3 of App. app:costmodels: once is small enough for this contraction to be affordable, the instance can be settled exactly and no heuristic cost has to be estimated. The second is our solver (§ 2.4): a variational matrix-product-state anneal, a heuristic with no optimality guarantee, whose cost is polynomial in a bond dimension that is not fixed by a priori. That larger nevertheless means larger realised is a measured result of this work (§ 4), not a definition, and it is what licenses putting into the solver’s runtime model, Eq. eq:ttn.
The coupling dynamic range is the ratio of the strongest to the weakest coupling, using from Eq. (1):
A large ratio indicates separated coupling scales, which can make single-spin thermal exploration difficult: temperatures that resolve weak couplings may suppress rearrangements involving strong couplings. In Campaign A this does not separate SA successes from failures (§ 3.1). The Wishart scaling study instead varies the construction parameter (§ 6). The implementation includes only couplings with and sets the ratio to one if none remain.
Four cheap graph quantities and one landscape probe complete Tier 0. Density is . The graph bandwidth is taken after a reverse Cuthill–McKee reordering [21], which clusters the adjacency matrix’s nonzeros around the diagonal. The resulting bandwidth measures how far the interaction graph is from a one-dimensional chain, and hence how well a matrix-product state, intrinsically 1-D once a site ordering is fixed, can cover the couplings. Frustration enters twice, as exact signed-graph balance [22] and as the sampled fraction of frustrated triangles [23]. A cycle is frustrated when no spin assignment satisfies all its bonds. Planarity is tested because it admits a polynomial exact algorithm for field-free Max-Cut [24]. The landscape probe is the multi-start local-minimum hit rate : 50 descents from random bitstrings use seeds , . The rate is the fraction reaching the best energy among these 50 descents, using the same mixed tolerance as the hit criterion in Eq. (5). The triangle probe checks all triangles if there are at most 20,000, or randomly samples 20,000 without replacement. A frustrated cycle has negative product of ; graph balance tests the corresponding bond constraints.
Trajectory diagnostics (Tier 1; )
At each interpolation point in Eq. (2), two-site DMRG [6, 7] seeks a low-energy MPS approximation, initialised from the preceding point. The resulting sequence defines the diagnostic trajectory. It is not guaranteed to follow the instantaneous ground state: warm starting can retain an excited branch, as investigated in § 4. The measured resources refer to these variational states, with their specified site ordering and bond-dimension caps.
The entanglement probe uses and the magic probe uses , in separate DMRG sweeps on the nine-point uniform grid . Neither probe enables the branch-reset mechanism used by the optimisation solver. Magic is computed on the states retained from the sweep, while and come from the dedicated sweep. The diagnostic and solver trajectories thus differ in grid and reset configuration.
The entanglement barrier is measured by cutting the chain at bond and Schmidt decomposing, which gives probabilities . The von Neumann entropy measures how much quantum correlation crosses that cut, and is the number of Schmidt components needed to retain of the weight across that cut of the computed state. We record maxima over the sampled interpolation points and all cuts, and . The largest recorded is 13 in each split. Being below the bond-dimension cap does not alone establish convergence. The reset-enabled solver trajectories (§ 2.4) record values up to 20 and exceed the diagnostic value on 64 of 90 calibration and 77 of 90 out-of-sample instances; the two agree in rank at Spearman and . The diagnostic is therefore a ranking proxy for the representation demand of the solver’s trajectory, not a measurement of it. For comparison, a Haar-random -qubit pure state has half-cut entropy approximately bits [25], with bond-dimension requirements growing exponentially in . The measured trajectories can be compared with this reference scale without assuming that low entanglement ensures successful optimisation.
Entanglement alone does not decide classical simulability. Stabilizer states, those preparable by Clifford circuits, can be maximally entangled yet are simulable in polynomial time by the Gottesman–Knill theorem [26, 27]. What obstructs such stabilizer-based simulation is non-stabilizerness, or “magic”: the departure of a state from the stabilizer class. We quantify it with the stabilizer 2-Rényi entropy [28]
the sum running over all Pauli strings. exactly for stabilizer states (their Pauli spectrum is flat on the stabilizer group) and grows with magic. It is computable exactly on an MPS by a four-replica transfer contraction [29], which is what makes it usable here. The contraction is exact for the supplied MPS but the state itself is an approximation. At the probe cap, is therefore a truncated estimate. It is used in rank correlations and in the 8-bit threshold of Eq. eq:flag, not as a converged value for the exact state. That threshold has no independent motivation: it was set on the Campaign A data themselves (App. app:quantumexploration).
The initial state has zero magic. A final computational-basis state also has zero magic, but this need not hold for every superposition in a degenerate ground space. Figure 1 illustrates the measured profiles on one instance. Magic and entanglement probe different aspects of state representation. Neither a small measured magic value nor a large one, on its own, establishes the cost of all classical simulation methods.
Figure 1. Trajectory diagnostics on an example instance (Erdős–Rényi Max-Cut, , ): entanglement barrier (left axis) and magic barrier (right axis) along , Eq. (2), computed with the Tier-1 protocol ( entanglement sweep, magic sweep, nine-point grid). Both vanish at the endpoints of this example. The two barriers peak at different points: bits at , bits at ().
Spectral diagnostics (Tier 2; )
For small instances (), sparse diagonalisation of provides an independent comparison with the DMRG energies and resolves the levels used in the trapping analysis (Figure 5). This check applies only at the sizes where the spectrum is computed. The campaign-specific grids and eigensolver settings are given in App. app:tnsupport.
Let be the ordered eigenvalues, and let denote the ground-state degeneracy of the final cost Hamiltonian . At , the first levels share the optimal energy, so vanishes whenever , independently of solver difficulty. We record to avoid this endpoint degeneracy in the reported diagnostic. At it is the gap above the optimal manifold. At intermediate , the first levels need not be degenerate, so this definition should not be identified automatically with the instantaneous ground-state excitation gap.
The ceiling is the wall: the calculation lives in the full Hilbert space ( dimensions at ), is repeated at every point of the -grid, and must resolve the entire -fold manifold plus one level above it, so degeneracy multiplies the eigenvalue count. Omitting it above costs nothing operationally: no Tier-0 feature, no cost model of Eqs. eq:tsa–eq:ttn, and no term of the quantum indicator Eq. eq:flag reads a spectral quantity, so the cost predictions are identical whether or not spectra were computed.
Solver outcome and prediction metrics
For a solver returning energy in wall time we record whether it reached the reference,
a mixed absolute/relative tolerance: for the typical instance with the criterion is relative (, so that large energies are not penalised for floating-point noise), while the provides an absolute floor that keeps the test well defined when is small or zero, where a purely relative tolerance would demand unattainable precision. The indicator is when its condition is true and otherwise. Campaign E retains different reach tolerances across its run batches: its exact-solver endpoint test and first-hit callback use a mixed tolerance, while its initial single-run SA test uses an absolute tolerance. Later SA repeats and PT use Eq. (5). These conventions are retained when describing stored results and first-hit times. Re-scoring all 67 stored Campaign E SA records under each of the three tolerances changes no outcome: the closest miss lies above the reference. Beyond reaching , the exact solver additionally reports whether it proved optimality (solver optimal status within the time cap, under the numerical tolerances described in § 2.4), a stronger outcome than a hit and one no other solver here provides.
The per-instance ex-post best solver (within the evaluated heuristic portfolio), i.e., the choice one would have made knowing all outcomes, is
with energy primary and time used only to break ties. This descriptive label does not reward certification and is not a universal cross-paradigm ranking. The retrospective heuristic analysis in § 4.3 uses the Campaign A portfolio \{\mathrm{SA},\mathrm{TN},\mathrm{LR\mbox{-}QAOA}\} while PT is reported separately. Any recorded LR-QAOA simulation time describes that implementation, not quantum hardware performance. We therefore report reference hits, certificates, and computational resources separately rather than infer a hardware advantage from . The Campaign A label-generation code excludes failed runs and explicit SA fallbacks in place of LR-QAOA runs. Energies less than above the lowest observed energy are treated as ties, broken by elapsed solver-call time, including LR-QAOA simulation and polishing. These labels compare software executions, not classical runtime with quantum hardware runtime.
Association between a feature and an outcome is measured by the tie-aware Spearman rank correlation . For binary outcomes we use the area under the receiver operating characteristic (ROC) curve, abbreviated AUC. Let and denote the positive and negative instances for the outcome being evaluated, respectively, and let be the candidate predictor’s score for instance , with larger scores indicating greater predicted likelihood of the positive outcome. and are the numbers of instances in the two sets. Then
the probability that a randomly chosen positive instance scores above a randomly chosen negative instance under the candidate predictor : is perfect separation, is chance. We report it only when at least three successes and three failures are present. Finally, a predicted cost is scored against the measured time by the symmetric fold error (§ 4.3).
We report correlations descriptively, without -values. The hypothesis thresholds and their outcomes are stated alongside the corresponding analyses.
Overview of the experimental campaigns
The experiments are organised into five campaigns, summarised in Table tab:campaigns. Each campaign addresses a specific question through a defined choice of problem instances, solver configurations, and repetitions. The overview distinguishes these experimental settings and identifies where campaigns share instances.
A problem instance is a QUBO matrix generated for a given family, size, and seed. In Campaign A, the seed-independent grid and ferro-chain families give the same matrix for all three seeds (§ 2.2.1). Within a campaign, a solver may be applied to the same instance several times. Each execution with a specified configuration and, where applicable, random seed is called a run.
Some campaigns also compare an instance with a gauge-transformed variant, which relabels its variables while preserving the optimisation problem up to the corresponding energy shift. Repeated runs and gauge-transformed variants therefore do not constitute independently generated instances.
Campaign A provides the main benchmark and the calibration/evaluation split used for runtime modelling and solver-selection assessment. Campaigns B–E examine robustness, TN failure mechanisms, supplementary LR-QAOA protocols, and Wishart scaling, respectively.
| question | instance set | solvers and computations | |
| A | Main comparison; diagnostic relationships and runtime prediction | 180 benchmark instances, ten families; requested sizesfor calibration andfor evaluation | Gurobi, SA, TN, and 105 simulated LR-QAOA runs; additional PT baseline; structural and separate reset-free trajectory diagnostics (Secs. --) |
| B | Sensitivity to stochastic variation and optimum placement | SA repeats on all 180 benchmark instances; nine paired Wishart instances at; enlarged gauged set of ten per size at | SA repetitions; Gurobi, SA, and PT controls; TN gauge rechecks on the Campaign Asubset and repeatability check on three ungaugedinstances (Secs. and ) |
| C | TN capacity limits, trapping, and mitigation | Main benchmark for bond-cap sensitivity; selected 3-regular and ferromagnetic instances for mechanism studies | TN bond-cap variants, spectral diagnostics, and comparisons of multi-seeding and reset strategies (Secs. and ) |
| D | LR-QAOA coverage, probability scaling, and simulation convergence | 27 benchmark instances at; ten families at--; six gauged Wishart instances at | Adaptive-depth MPS LR-QAOA; exact statevector probability measurements; bond-cap convergence probes using a different gauge convention from B (Sec. ) |
| E | Search and certification as hardness, size, and budget vary | 61 distinct gauged Wishart instances,, sampled sizes-- | Gurobi, SA, and PT at campaign-specific budgets; no TN or quantum solver runs (Sec. ) |
The campaigns share some instances but evaluate different settings. Campaign B reuses Wishart instances from Campaign A for the paired gauge comparison and adds further instances for the enlarged comparison. Campaign D supplements the LR-QAOA results from Campaign A with tests of adaptive depth, simulation convergence, and success-probability scaling. Campaign E evaluates Gurobi, SA, and PT on a separate Wishart scaling set.
Use of AI tools.
AI assistance (Claude, Anthropic) was used for code development, running analysis and verification scripts, and drafting; all results were checked against tests, and the authors take full responsibility for the content.
Main benchmark: solver performance and robustness
We first report the main benchmark (Campaign A), then examine stochastic repetition and optimum-placement controls (Campaign B). Original and gauged outcomes are reported separately because they use different instance variants and replication schemes.
Main benchmark comparison (Campaign A)
Figure 2. Exact branch-and-cut wall-clock vs. instance size, all benchmark instances. Horizontal positions use actual variable counts with fixed family offsets between and for visibility. Filled points have solver optimal status. Open red circles (all at , Wishart and one SK) matched the reference energy but hit the s cap before certifying. The Wishart references are planted optima while the SK reference is best-known. Almost everything is solved in under s, only the dense frustrated families climb, and the Wishart instances at strain certification. Campaigns B and E separately test search on gauged Wishart instances. Timings reflect the solver implementation and execution environment; cross-solver runtime comparisons require the qualifications in § 7.1.
The results for the exact solver are shown in Table tab:outcomes and Figure 2: the exact branch-and-cut solver matches on all benchmark instances and certifies optimality on , including instances at that lie beyond exhaustive enumeration, in a median of under a second (worst proven case minutes). Only the four densest frustrated instances at reach the s cap while matching the reference energy. Three of these references are known planted optima while the fourth, an SK instance, only has a best-known solution. Simulated annealing also matches the reference energies on every non-Wishart instance, quickly but with no certificate, and misses six of the nine out-of-sample Wishart instances. The DMRG tensor-network anneal reaches the reference on all but two non-Wishart instances (one sparse ER instance at and one 3-regular instance at ), typically – slower than SA on the dense families (median ), and misses seven of the nine out-of-sample Wishart instances. The LR-QAOA runs never improve on the better of SA and TN (§ 5). Campaign A establishes a strong certification baseline. The repetition and optimum-placement controls below test how the search comparison changes when stochastic variability and the special planted bitstring are taken into account.
SA difficulty in Campaign A is confined to one family. On the calibration set SA reaches every reference, so there is no variation in difficulty for a Tier-0 feature to rank, and we report no feature–difficulty correlation for it. Out of sample, all six SA misses are Wishart instances. A wide coupling dynamic range alone does not mark them: the SK and random-frustrated ensembles share it, and SA solves every instance of both. On the out-of-sample Wishart instances, SA does not consistently reach the planted optimum within its tested budget. This motivates the repeated-run and optimum-placement controls in Campaign B (§ 3.3). Campaign E separately examines how performance changes with instance size and the Wishart aspect ratio (§ 6).
| method | evaluation set | outcome |
| Gurobi | all 180 | 180 reference hits; 176 solver certificates |
| SA | all 180 | hits on all 162 non-Wishart instances; out-of-sample Wishart:at,at |
| TN | all 180 | hits on 160 of 162 non-Wishart instances (misses: sparse ER, 3-regular); out-of-sample Wishart:at,at |
| LR-QAOA | 105 LR-QAOA simulation runs | non-Wishart hits;Wishart hits; no improvement over the better of SA and TN |
Sensitivity to stochastic repetition (Campaign B)
Because SA is stochastic, a single run may not reliably characterise its performance on an instance. To assess this variability and estimate reference-hit rates, we repeat SA at the main budget using ten seeds on each of the 180 benchmark instances (1800 scored runs). Separate runs at the Campaign A seeds reproduce all 180 recorded energies. These checks are excluded from the repeat hit rates.
SA reaches the optimum in all 900 benchmark runs on the calibration instances and in at least of runs on non-Wishart out-of-sample instances.
For Wishart, the repetitions qualify the Campaign A single-run outcomes. For the six ungauged Campaign A Wishart instances at , 32 of 60 additional SA runs reach the planted optimum (), compared with one of six Campaign A runs (). This repeat control shows that the Campaign A single-run outcomes understate SA’s success rate on these instances. It is distinct from the paired gauge comparison below.
The additional PT baseline uses ten runs per benchmark instance at a fixed s budget. Its reported aggregate hit rate is , compared with for the SA repetitions. A restricted TN repeatability check ran three anneals on each of the three ungauged Campaign A Wishart instances at . The returned energies were bit-identical within each instance. This concerns only those three matrices and does not establish determinism of TN optimisation in general.
Effect of planted-optimum placement (Campaign B)
The strong Gurobi comparison in Campaign A leaves open whether the fixed placement of the planted Wishart optimum aids search and hence presents a bias. The paired control experiment hence tries to isolate that effect. Building on that, the enlarged set broadens the instance sample.
Paired optimum-placement control.
For the Wishart instances, we test whether solver performance depends on the placement of the planted optimum, comparing each ungauged instance with a gauge-transformed copy. Hence, we re-solve the nine Wishart instances at both as generated and after random spin reversals. The gauge transformation described in § 2.2 is checked against exhaustive enumeration at small sizes. This paired comparison tests sensitivity to solution placement [35].
In the paired control at and , branch-and-cut proves optimality in both frames. The medians of the six per-instance gauged/plain ratios are for full solver-wrapper runtime and for node count. At , branch-and-cut finds the optimum on all three ungauged instances, but on only one of their gauged counterparts. This reduction suggests that the all-zero placement (ungauged) helped branch-and-cut find an optimum on these instances.
Enlarged gauged comparison and TN coverage.
To extend the paired comparison, the enlarged gauge-randomised set adds seven additional independent instances at each of and , giving ten instances per size. Branch-and-cut uses one run per instance with a s limit, and SA uses ten runs per instance (200 runs in total). PT uses five runs per instance at s and three at s. A separate three-run comparison uses 2000 sweeps (median s and s per run) and reaches the optimum in of runs at and of at . Gauges are fixed across repetitions. The TN recheck covers the three Campaign A instances per size, a subset of the enlarged set, with one anneal in each frame. The restricted TN repeatability check is described in § 3.2. LR-QAOA is not part of this paired/enlarged comparison. The scaling study uses its own instances and budgets (§ 6).
On the enlarged gauged set, branch-and-cut reaches all ten optima at and proves seven (Wilson interval: –), while SA reaches the optimum on of runs (–). At , branch-and-cut reaches four of ten (–) and proves none, while SA reaches (–). Intervals for run-level rates such as SA’s pool the runs on these fixed instances. They describe how the solver performs on these instances and do not account for variation between instances, so they understate the uncertainty for new instances from the same ensemble. The Gurobi and SA results above cover all ten gauged instances at each size. The TN comparison covers only the three instances per size inherited from Campaign A. Campaign E uses a separate instance set, described in § 6.
PT reaches every optimum in every tested s run on the enlarged gauged set (Table tab:taxonomy). TN reaches one optimum in its six-instance gauged subset, as in the six ungauged Campaign A runs. The comparison separates search from certification: PT can find optima that Gurobi misses within its budget, while Gurobi alone supplies certificates on seven instances.
| Gurobi: hits; certificates | SA: fraction of runs | PT ats: fraction of runs | TN: subset hits | |
| 40 | ; | |||
| 48 | ; |
Tensor-network diagnostics, failure mechanisms, and solver selection
We first analyse measurements from Campaign A, then use the targeted experiments in Campaign C to investigate failure mechanisms. These analyses distinguish representation demand, runtime, and search success.
Structural prediction of representation demand and runtime
The bond-dimension demand along the TN trajectory correlates with the treewidth bound at on the calibration set and out of sample, and with the cheaper RCM bandwidth at and (Figure 3). These values are computed over the 78 distinct matrices of each split (§ 2.2.1); counting the repeated grid and ferro-chain matrices three times would raise them to and . This is a reliable ranking, not a precise cost estimate: the regression explains of the variance in on the distinct calibration matrices (). With measured , the runtime model predicts wall-clock to a median factor of out of sample. Using treewidth alone, the genuinely a-priori median factor is (§ 4.3). It therefore supports coarse cost comparisons.
That predictability does not imply that TN is fast. Among the instances whose trajectory needs only , its anneal is a median slower than SA. At the median gap is .
Figure 3. Structure predicts tensor-network cost: Tier-0 treewidth bound vs. realised bond-dimension demand along (calibration set, 78 distinct matrices with verified optima; Spearman , and on the out-of-sample set at –). This regression is the TN leg of the cost model, Eq. eq:ttn.
Entanglement and magic are only moderately associated in the computed diagnostic trajectories ( in calibration and out of sample over distinct matrices, see also Figure 4). They provide complementary descriptions of these states, rather than interchangeable measures of representation demand.
Figure 4. The two trajectory resources are only moderately correlated: magic barrier vs. entanglement barrier over the 78 distinct calibration matrices (Spearman here, out of sample). This supports treating them as complementary, rather than interchangeable, diagnostics of the computed states.
Capacity sensitivity, trapping, and reset mitigation (Campaign C)
Modest measured representation demand does not ensure successful variational optimisation. Campaign C compares reset-enabled solver runs at and examines selected trajectories against independently computed spectra. These runs differ from the reset-free diagnostic sweeps in § 2.5.2. Detailed spectral settings and the capacity-failure breakdown are given in App. app:tnsupport.
The targeted trajectories identify excited-state trapping as a failure mechanism. A warm-started sweep initialises each -point from the preceding converged state and can follow an excited spectral branch through an avoided crossing instead of the branch that becomes the ground state. On 3-regular Max-Cut, trapped runs end in excited computational-basis states at a median normalised distance from the nearest optimum, whereas successful runs end at an optimum (Figure 5).
We tested a crossing-detection reset: at checkpoints in the second half of the sweep, we launch a cold-started DMRG from a fresh MPS and replace the warm-started state if the new state has lower energy. This cures all previously resistant cases with one anneal: over the eight evaluated instances (-regular Max-Cut and ferromagnetic controls at and ) the reset reaches the optimum on of , against of for the baseline and of for four-fold multi-seeding, and the cost-optimised variant requires exactly one reset per cure. With trapping controlled, capacity failures are rare: among the mitigation-clean out-of-sample instances, one fails at and none at . The remaining failures are not nested in bond cap, consistent with residual trapping rather than a simple capacity limit. The diagnostic does not meet the stated discrimination target. Detailed counts and AUC values are given in App. app:tnsupport.
Figure 5. The TN failure mode is dynamical, not capacity-theoretic. Left: DMRG energy traces of six anneals on the worst 3-regular instance against the exact levels . Trapped runs follow an excited branch to . Right: distance to the nearest certified optimum by outcome. Trapped runs end extensively far (median ), successful runs at .
Limits of predictive solver selection
To assess whether runtime prediction supports heuristic selection, we fit cost models on the 90 calibration instances and evaluate them on the 90 larger instances from Campaign A (App. app:costmodels). The accuracy summarised above concerns runtime. Selecting a solver additionally requires information about its probability of reaching the target.
These cost predictions do not provide a useful selection rule. The cost-based ranking matches the single-run ex-post heuristic label on of out-of-sample instances, but an always-predict-SA baseline scores identically and the balanced accuracy is . The ranking never selects TN. Moreover, the five apparent misses are Wishart benchmark instances from Campaign A with single-run labels, while repeated SA and PT runs show that those isolated observations are not stable solver properties. The model predicts runtime, not the probability of reaching the target. Success-probability weighting does not resolve this limitation (App. app:costmodels).
Runtime prediction provides limited information about cost, but does not supply the success-probability information needed for a useful heuristic selection rule on these instances.
Quantum comparison and limits of extrapolation
The main LR-QAOA comparison belongs to Campaign A. Campaign D tests adaptive-depth coverage, larger-instance simulation convergence, and small-size success-probability scaling on separate instance sets.
Main LR-QAOA comparison and supplementary checks
LR-QAOA produces no solution-quality win in the 105 simulation runs: it never beats the better of SA and the TN anneal. These comprise 30 exact statevector runs at and 75 MPS-proxy runs at . It underperforms on exact cover ( hits), MIS (), Wishart () and one dense-ER instance (), while matching the classical result on the other families. The adaptive-depth check covers all 27 benchmark instances at actual , yielding hits on newly covered instances and on previously covered instances (App. app:circuitsupport). Simulation wall-clock time measures classical computational cost. Quantum-circuit depth is a separate hardware-relevant resource estimate, not a complete measure of quantum runtime [32]. This is a negative result for the fixed-schedule protocol tested, not for all QAOA variants, since angle optimisation, warm starts and recursive methods are outside scope.
A separate MPS simulation-convergence test uses six gauge-randomised Wishart instances at . All tested bond caps saturate, sampled energies do not converge as the cap increases, and no run reaches the optimum. A deeper probe is available for only one instance. These runs therefore do not provide a converged LR-QAOA simulation on the dense larger instances (details are in App. app:circuitsupport).
Small-size success-probability scaling (Campaign D)
An LR-QAOA layer count proportional to size would give polynomial gate-level circuit depth on all-to-all connectivity, but an efficient solver also requires adequate success probability. We test that premise at small sizes. The conditional resource calculation and exploratory candidate indicator are given in App. app:quantumexploration.
We compute the exact probability mass on the full optimal manifold for –, across ten families and three seeds, at . The 450 exact statevector measurements evaluate probability mass rather than the polished sampled energies used in Campaign A. The fitted slopes of are bits per qubit, respectively: increasing depth slows the decay, but at the probability still halves about every five qubits. Against the pre-registered criterion, which counted as support and as refutation, this result is inconclusive, not a confirmation of constant success probability. The family breakdown is consequential: six families are near-flat, but the slopes at remain negative for exact cover (), MIS () and Wishart (), including the family proposed as the first quantum target. All three lie below the refutation threshold of . The criterion was registered for the pooled slope, so this family-level reading is descriptive, but it points against the premise on Wishart rather than leaving it open. The quantum-candidate region and its polynomial-depth interpretation must therefore remain conditional: our small-size data do not support the required scaling premise on Wishart. The measurement window is narrow, however, so it cannot rule out asymptotic softening of the decay rate. Figure 6 shows the decline across the tested depth schedules.
Figure 6. Testing the premise the depth extrapolation imports: exact statevector LR-QAOA success probability against instance size, at fixed depth and at linearly growing depths and . Family-centred values; faded lines are the fitted slopes. If linear depth growth held constant, the curve would be horizontal; all three decline.
Wishart hardness–size–budget scaling
Campaign E extends the gauged Wishart comparison to larger sizes and a second hardness setting. The planted optimum supplies a reference independent of solver success, allowing search and certification to be tested directly rather than inferred from structural diagnostics.
Scaling protocol (Campaign E)
Because the raw optimum is a special bitstring found quickly by Gurobi’s root-node primal heuristics, we gauge-randomise each instance to move it to a generic bitstring while preserving the energy landscape up to spin relabelling. We vary the hardness parameter , where is the number of planted Gaussian sample vectors [13], at and (lower is harder). The native binary-quadratic formulation is solved with a s default limit and one-hour limits on selected instances below. Campaign E includes 67 exact-solver runs on 61 distinct instances; six runs repeat an instance with a larger budget. Exact-solver summaries use one run result per instance, favouring successful or larger-budget runs.
SA uses ten seeds per instance at its fixed update budget. PT uses three seeds per instance at each of , , and s. Six instances solved in all three six-second PT runs were not repeated at 60 seconds. For these six instances, the reported 60-second results reuse the six-second success rates (no additional 60-second runs were performed). For six instances (, and ), the stored SA and PT logs contain a second batch run with the same seeds. These replays are not additional replication, so only the first batch per instance is counted.
Search success across hardness, size, and budget
Table 2 compares heuristic reach rates across budgets and hardness settings. Figure 7 shows the corresponding exact- solver results and timing.
| SA s | PT s | PT s | PT s | ||
| – |
Table 2. Frontier scaling study: the rate at which a solver reaches the gauge-randomised planted optimum, using ten SA seeds and three PT seeds per instance; replayed batches with identical seeds are counted once. At (easier), increasing the PT budget extends the range of instance sizes at which optima are found. At (harder), no tested budget yields an optimum at the sampled sizes from onward. The SA column uses its fixed update budget (approximately one second), not a wall-clock stopping rule. PT results at 60 seconds include instances already solved in every run at six seconds without repeating them. marks the cell entirely inherited from the six-second results.
The table shows that the search wall depends on both hardness and budget: on , longer PT runs reach larger instances, while on no tested classical method reaches the optimum from upward. At those sizes this is based on heuristic runs per size at and runs on the single surviving instance.
Certification and longer-budget exact-solver runs
Across all gauge-randomised instances with , branch-and-cut certifies none (median mixed-integer-programming (MIP) gap ). For the harder instances () it also finds none of the instances. One-hour runs at confirm the misses, despite exploring up to nodes. For the easier instances (), exact solver hits occur early, all within s (median s), and disappear by . All recorded SA hits with occur at .
The one-hour limit was used at for three seeds at , and for all five instances at at both aspect ratios. The remaining instances retain the s cap. Recurring Gurobi licence-token outages truncated some long runs and prevented broader escalation. These timeouts do not prove that the optimum is unreachable in principle, so shorter-budget results are weaker evidence. The failure at identifies a candidate regime for a hardware experiment, not a quantum win: polynomial depth still depends on the unconfirmed success-probability premise in § 5.2, and a classically simulable circuit would not outperform its own simulation.
Figure 7. Frontier scaling on the gauge-randomised planted Wishart ensemble. Five instances per cell where available; licence-token outages reduced some counts. Top row: rates of reaching the optimum by hardness parameter . Exact-solver rates are per instance, heuristic rates per run (SA ten runs per instance, PT three). Bottom: exact-solver wall-clock (open red symbols) is censored at the budget. Time-to-reach (orange) includes only successful runs, and the blue curve gives LR-QAOA depth at . The exact-solver limit is s except for one-hour runs on seeds at , , and all five instances per aspect ratio at . Replayed heuristic batches with identical seeds (, ) are counted once. For the hard instances () no tested classical method finds the optimum from onward. For the easier instances (), heuristic reach extends with budget. The polynomial-depth comparison remains conditional on the unconfirmed premise.
Discussion
The campaigns distinguish search, certification, and diagnostic explanation. Campaign A establishes a strong branch-and-cut baseline: it matches every reference energy and certifies 176 of 180 benchmark instances. Campaign B qualifies that comparison. On the enlarged gauged Wishart set, PT reaches optima that branch-and-cut misses within its budget, although it cannot provide certificates. The preferred method therefore depends on the required outcome and the instance setting, not only on the variable count.
The Campaign A diagnostics rank TN representation demand and provide a coarse runtime estimate, but do not yield a useful solver-selection rule. Campaign C identifies excited-state trapping and demonstrates reset mitigation on the evaluated cases. Among the 81 mitigation-clean out-of-sample instances, one fails at and none at . However, failures remain in the full 90-instance out-of-sample set, so the results on the 81 mitigation-clean instances do not establish that representation-capacity limits or optimisation failures have been eliminated in general.
The 105 LR-QAOA simulation runs in Campaign A show no solution-quality improvement over the classical comparators. Campaign D extends coverage and tests simulation and probability-scaling assumptions, without establishing an efficient quantum solver on Wishart. Campaign E supplies a separate classical scaling comparison: at , none of the tested methods reaches the planted optimum at sampled sizes from onward within the tested budgets. This identifies a setting for further comparison, rather than evidence of quantum advantage.
Threats to validity
The heuristic comparison depends on the solver portfolio and budget. In Campaign B’s enlarged gauged set at , the reported hit rate rises from SA’s to PT’s at a s allocation and to at s per PT run. In Campaign E, increasing the PT budget also extends search success on (Table 2). These comparisons concern the tested implementations and the budgets specified for each campaign, not heuristic optimisation in general. A portfolio solver, tabu search, or Burer–Monteiro relaxation could change the comparison further.
The Wishart generator places its planted optimum at , the trivial incumbent of the mixed-integer program. On those instances the exact solver starts at the answer and only the bound is work, which flatters it. SA is affected too, through its temperature schedule. Its start temperature reads the diagonal of , which the gauge transformation changes, whereas its other steps (uniform random start, Metropolis acceptance on energy differences) are gauge-equivariant. In a control with ten independent runs on each of the ten instances per size, SA’s rate at falls from on the planted instances to on the gauged ones (exact sign test over instances, ). Running the gauged instances with the planted frame’s restores it to . At the frames do not differ ( in both). Part of SA’s gauged deficit at therefore reflects its schedule rather than the landscape. Campaign A uses ungauged Wishart instances (Table tab:outcomes). Campaign B distinguishes paired and enlarged gauged comparisons (Table tab:taxonomy), and Campaign E uses gauged instances throughout. The separate paired gauging control used three instances per size. At , the exact solver’s reach in that small sample falls from of on planted instances to of after gauge transformation.
SA’s Campaign A one-hit-in-six result is a single-run summary on the ungauged Wishart instances. Ten additional runs per instance give a pooled hit rate of . TN repeatability was checked only on a restricted ungauged subset and does not establish general repeatability (§ 3.2). Likewise, SA’s 900/900 calibration hits do not justify assuming that single runs are representative on harder instances.
The enlarged gauged comparison in Campaign B uses ten instances per size, while its TN recheck covers three. Campaign E has its own sample counts, including only one instance at . The denominators and replication therefore differ across claims. For example, the LR-QAOA comparison’s exact-cover hit count is . App. Figure 8 summarises replication. These limited samples and the reporting issues noted with the protocols constrain generalisation beyond the tested instances.
Wall-clock comparisons reflect implementation, threading, and system load as well as algorithmic work. Gurobi uses compiled solver code. SA and PT use Python update loops, while TN uses compiled numerical routines through Python. Shared language alone does not remove these differences. Timing boundaries also differ: the Campaign A exact baseline times optimisation, heuristic run times include the full solver call, and PT excludes replica initialisation. These differences limit the interpretation of cross-solver runtime ratios.
Campaign A’s MPS simulation of LR-QAOA is limited by fixed depth and the gate-count guard. Campaign D improves coverage at by changing depth. Its newly covered dense cases use –. The separate probes do not establish convergence of the truncated MPS simulation of LR-QAOA (App. app:circuitsupport). These limitations concern the tested simulations and do not establish LR-QAOA performance on hardware. The success-probability scaling premise is also unconfirmed in the measured window (§ 5.2).
Our LR-QAOA simulations do not model device noise, and the circuit-depth estimates do not by themselves establish performance on noisy hardware. Stilck França and García-Patrón [18] derive limits on noisy quantum optimisation that depend on the noise level and the relation between problem and device connectivity. Their results motivate treating noise and connectivity explicitly in a hardware comparison. We do not evaluate those bounds for the instances studied here.
The Campaign A calibration and evaluation sets differ structurally because the split by size was intentional for the extrapolation question, but it means the two sets are not exchangeable. SA reaches the optimum in every calibration run, in of out-of-sample runs, and on Wishart out-of-sample in . A quality model fitted where nothing fails cannot learn what failure looks like, which is exactly the obstruction App. app:costmodels runs into.
Campaign A covers ten synthetic families up to . Its solver comparison need not transfer to industrial instances or other size ranges. Campaign E extends the evidence to larger Wishart instances, but its failures remain statements about tested budgets, not proofs of intractability. The default exact-solver cap is ten minutes, with one-hour limits on selected instances as specified in § 6. Fixed-budget comparisons alone do not establish asymptotic advantage [34].
The conditional quantum-resource projection in App. app:quantumexploration also depends on family-specific success-probability scaling. The cited LR-QAOA study reports favourable behaviour for fully-connected weighted Max-Cut, but not its Max-2-SAT family [11]. Campaign D does not establish the required premise for Wishart in the measured small-size window. Campaign E supplies classical evidence only. A direct quantum test on the larger gauged Wishart instances remains necessary.
Finally, the evaluated success-probability weighting does not improve the Campaign A cost ranking (§ 4.3). Campaign B shows why isolated SA runs cannot support stable solver recommendations, and why PT belongs in the comparison.
Conclusions
The comparison of QUBO solvers depends on whether the objective is to find a solution or to certify its optimality. In Campaign A, with 180 benchmark instances, general-purpose branch-and-cut matches every reference energy and proves optimality on 176 instances within the s cap, including 86 larger instances outside the enumeration range used here. This establishes a strong exact-solver baseline for the tested families and sizes, rather than a universal recommendation based on variable count.
The gauge-randomised Wishart controls in Campaign B show why the distinction between search and certification is essential. At , branch-and-cut certifies seven of ten optima. At , it finds four of ten and certifies none within its budget. PT, given s per run, reaches every optimum in every tested run on this enlarged control set, but provides no certificate. Thus the method that supplies proofs need not be the most effective method for finding solutions within a given budget.
The Campaign A trajectory diagnostics provide a cost estimate, and Campaign C provides an explanation of a solver failure. A treewidth bound ranks the tensor-network trajectory’s bond-dimension demand, although a tighter runtime estimate requires the measured bond dimension. Controlled experiments show that warm-started DMRG can follow an excited branch and that resets resolve the failures in the targeted mitigation study. Failures remain in the broader out-of-sample evaluation, however, so the reset procedure does not eliminate trapping in general. Entanglement and magic provide distinct, moderately correlated descriptions of the measured trajectories. These results support diagnostic use of the features, but the evaluated cost models do not improve solver selection over the always-SA baseline.
The tested LR-QAOA runs show no solution-quality advantage over the classical comparators. Campaign E extends the classical comparison to : on the harder setting (), none of the tested classical methods reaches the planted optimum at the sampled sizes from onward. This is a result for the tested implementations and budgets, with one-hour exact-solver runs on selected sizes, not a bound on classical optimisation in general. It identifies a concrete regime for further comparison without establishing a quantum advantage. In particular, the small-size measurements in Campaign D do not establish the success-probability scaling needed to make LR-QAOA efficient on Wishart instances. A direct quantum evaluation in this regime, together with stronger classical baselines and estimates of success probability at comparable computational budgets, is needed to determine whether an advantage exists.
Abbreviations
| AUC | area under the ROC curve |
| BF | brute-force enumeration |
| DMRG | density-matrix renormalization group |
| ER | Erdős–Rényi |
| LR-QAOA | linear-ramp quantum approximate optimization algorithm |
| MIP | mixed-integer programming |
| MIS | maximum independent set |
| MPS | matrix-product state |
| PT | parallel tempering |
| QAOA | quantum approximate optimization algorithm |
| QUBO | quadratic unconstrained binary optimization |
| RCM | reverse Cuthill–McKee |
| ROC | receiver operating characteristic |
| SA | simulated annealing |
| SK | Sherrington–Kirkpatrick |
| SVD | singular-value decomposition |
| TN | tensor network |
Declarations
The datasets and code supporting the conclusions of this article are deposited in the Zenodo repository, https://doi.org/10.5281/zenodo.23661253 [36]. Access is restricted until publication of this article and has been provided to the editor and reviewers; the archive will be made publicly available upon publication. It contains the per-run result records of all campaigns, the code that produced them and a script that recomputes the numbers reported in this paper; the computing environment is documented in App. Figure 8. Project name: qubo-advisor. Project home page and archived version: https://doi.org/10.5281/zenodo.23661253. Operating system: Linux. Programming language: Python 3.12. Other requirements: NumPy, SciPy, networkx, matplotlib, quimb; Gurobi for the exact-solver runs. Licence: MIT (code), CC BY 4.0 (data). Restrictions to use by non-academics: none; Gurobi requires its own licence.
Not applicable. This study involves neither human participants nor animals.
Not applicable.
The authors declare that they have no competing interests.
Open Access funding enabled and organized by Projekt DEAL. This work was supported by the Ministry of Economic Affairs, Labour and Tourism Baden-Württemberg in the frame of the Competence Center Quantum Computing Baden-Württemberg (project no. KQCBW25).
All authors contributed to the design of the study, the implementation, the analysis and the writing, and read and approved the final manuscript.
Not applicable.
Figure 8. The quantum-candidate indicator in the -- plane. The selected region (orange circles) captures every Campaign A instance where SA fails against the reference optimum (red stars, all Wishart at ) at in-sample recall , but also twelve instances on which SA succeeds ( Sherrington--Kirkpatrick structural twins and Wishart), indistinguishable by static features (precision ). Grey dots are the remaining instances of the Campaign A benchmark: not selected by the indicator, and solved by simulated annealing.
References
- [1]Dunning, I., Gupta, S., & Silberholz, J. (2018). What Works Best When? A Systematic Evaluation of Heuristics for Max-Cut and QUBO. INFORMS Journal on Computing, 30(3), 608–624. https://doi.org/10.1287/ijoc.2017.0798
- [2]Rehfeldt, D., Koch, T., & Shinano, Y. (2023). Faster exact solution of sparse MaxCut and QUBO problems. Mathematical Programming Computation, 15, 445–470. https://doi.org/10.1007/s12532-023-00236-6
- [3]Kirkpatrick, S., Gelatt, C. D., & Vecchi, M. P. (1983). Optimization by simulated annealing. Science, 220(4598), 671–680. https://doi.org/10.1126/science.220.4598.671
- [4]Swendsen, R. H., & Wang, J.-S. (1986). Replica Monte Carlo simulation of spin-glasses. Phys. Rev. Lett., 57(21), 2607–2609. https://doi.org/10.1103/PhysRevLett.57.2607
- [5]Hukushima, K., & Nemoto, K. (1996). Exchange Monte Carlo method and application to spin glass simulations. J. Phys. Soc. Jpn., 65(6), 1604–1608. https://doi.org/10.1143/JPSJ.65.1604
- [6]White, S. R. (1992). Density matrix formulation for quantum renormalization groups. Physical Review Letters, 69(19), 2863–2866. https://doi.org/10.1103/PhysRevLett.69.2863
- [7]Schollwöck, U. (2011). The density-matrix renormalization group in the age of matrix product states. Annals of Physics, 326(1), 96–192. https://doi.org/10.1016/j.aop.2010.09.012
- [8]Farhi, E., Goldstone, J., & Gutmann, S. (2014). A quantum approximate optimization algorithm. https://doi.org/10.48550/arXiv.1411.4028
- [9]Kadowaki, T., & Nishimori, H. (1998). Quantum annealing in the transverse Ising model. Physical Review E, 58(5), 5355–5363. https://doi.org/10.1103/PhysRevE.58.5355
- [10]Albash, T., & Lidar, D. A. (2018). Adiabatic quantum computation. Reviews of Modern Physics, 90, 015002. https://doi.org/10.1103/RevModPhys.90.015002
- [11]Montañez-Barrera, J. A., & Michielsen, K. (2025). Toward a linear-ramp QAOA protocol: evidence of a scaling advantage in solving some combinatorial optimization problems. Npj Quantum Information, 11, 131. https://doi.org/10.1038/s41534-025-01082-1
- [12]Bischl, B., Kerschke, P., Kotthoff, L., Lindauer, M., Malitsky, Y., Fréchette, A., Hoos, H., Hutter, F., Leyton-Brown, K., Tierney, K., & Vanschoren, J. (2016). ASlib: A benchmark library for algorithm selection. Artificial Intelligence, 237, 41–58. https://doi.org/10.1016/j.artint.2016.04.003
- [13]Hamze, F., Raymond, J., Pattison, C. A., Biswas, K., & Katzgraber, H. G. (2020). Wishart planted ensemble: A tunably rugged pairwise Ising model with a first-order phase transition. Physical Review E, 101, 052102. https://doi.org/10.1103/PhysRevE.101.052102
- [14]Lucas, A. (2014). Ising formulations of many NP problems. Frontiers in Physics, 2, 5. https://doi.org/10.3389/fphy.2014.00005
- [15]Dupont, M., Didier, N., Hodson, M. J., Moore, J. E., & Reagor, M. J. (2022). Entanglement perspective on the quantum approximate optimization algorithm. Physical Review A, 106, 022423. https://doi.org/10.1103/PhysRevA.106.022423
- [16]Dupont, M., Didier, N., Hodson, M. J., Moore, J. E., & Reagor, M. J. (2022). Calibrating the classical hardness of the quantum approximate optimization algorithm. PRX Quantum, 3, 040339. https://doi.org/10.1103/PRXQuantum.3.040339
- [17]Capecci, C., Santra, G. C., Bottarelli, A., Tirrito, E., & Hauke, P. (2025). Role of nonstabilizerness in quantum optimization. https://doi.org/10.48550/arXiv.2505.17185
- [18]Stilck França, D., & García-Patrón, R. (2021). Limitations of optimization algorithms on noisy quantum devices. Nature Physics, 17, 1221–1227. https://doi.org/10.1038/s41567-021-01356-3
- [19]Markov, I. L., & Shi, Y. (2008). Simulating quantum computation by contracting tensor networks. SIAM Journal on Computing, 38(3), 963–981. https://doi.org/10.1137/050644756
- [20]Dumitrescu, E. F., Fisher, A. L., Goodrich, T. D., Humble, T. S., Sullivan, B. D., & Wright, A. L. (2018). Benchmarking treewidth as a practical component of tensor network simulations. PLoS ONE, 13(12), e0207827. https://doi.org/10.1371/journal.pone.0207827
- [21]Cuthill, E., & McKee, J. (1969). Reducing the bandwidth of sparse symmetric matrices. ACM'69: Proceedings of the 1969 24th National Conference, 157–172. https://doi.org/10.1145/800195.805928
- [22]Harary, F. (1953). On the notion of balance of a signed graph. Michigan Mathematical Journal, 2(2), 143–146. https://doi.org/10.1307/mmj/1028989917
- [23]Toulouse, G. (1977). Theory of the frustration effect in spin glasses: I. Communications on Physics, 2, 115–119.
- [24]Hadlock, F. (1975). Finding a maximum cut of a planar graph in polynomial time. SIAM Journal on Computing, 4(3), 221–225. https://doi.org/10.1137/0204019
- [25]Page, D. N. (1993). Average entropy of a subsystem. Physical Review Letters, 71(9), 1291–1294. https://doi.org/10.1103/PhysRevLett.71.1291
- [26]Gottesman, D. (1998). The Heisenberg representation of quantum computers. https://doi.org/10.48550/arXiv.quant-ph/9807006
- [27]Aaronson, S., & Gottesman, D. (2004). Improved simulation of stabilizer circuits. Physical Review A, 70, 052328. https://doi.org/10.1103/PhysRevA.70.052328
- [28]Leone, L., Oliviero, S. F. E., & Hamma, A. (2022). Stabilizer Rényi entropy. Physical Review Letters, 128, 050402. https://doi.org/10.1103/PhysRevLett.128.050402
- [29]Haug, T., & Piroli, L. (2023). Quantifying nonstabilizerness of matrix product states. Physical Review B, 107, 035148. https://doi.org/10.1103/PhysRevB.107.035148
- [30]Kochenberger, G., Hao, J.-K., Glover, F., Lewis, M., Lü, Z., Wang, H., & Wang, Y. (2014). The unconstrained binary quadratic programming problem: a survey. Journal of Combinatorial Optimization, 28, 58–81. https://doi.org/10.1007/s10878-014-9734-0
- [31]Gurobi Optimization, LLC. (2024). Gurobi Optimizer Reference Manual. https://www.gurobi.comgurobi.com
- [32]Dehn, V., Zaefferer, M., Hellstern, G., Jayadevan, K., Reiter, F., & Wellens, T. (2026). Extrapolation method to optimize linear-ramp quantum approximate optimization algorithm parameters: Evaluation of QAOA runtime scaling. Physical Review A, 113(3), 032413. https://doi.org/10.1103/l5r4-zcqv
- [34]Rønnow, T. F., Wang, Z., Job, J., Boixo, S., Isakov, S. V., Wecker, D., Martinis, J. M., Lidar, D. A., & Troyer, M. (2014). Defining and detecting quantum speedup. Science, 345, 420–424. https://doi.org/10.1126/science.1252319
- [35]Mandrà, S., & Katzgraber, H. G. (2018). A deceptive step towards quantum speedup detection. Quantum Science and Technology, 3, 04LT01. https://doi.org/10.1088/2058-9565/aac8b2
- [36]Hellstern, G., Schacht, C., & Zaefferer, M. (2026). Code and data for: Comparing classical and quantum QUBO solvers: optimality, trajectory diagnostics, and limits of solver selection. In Version 1.0.0. https://doi.org/10.5281/zenodo.23661253








