betaFeedback

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 ρ=0.78ρ= 0.78 in sample and 0.730.73 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 n=14n = 14–4848 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 (xi↦1−xix_i \mapsto 1-x_i) 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 n=128n = 128 (§ 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 Q∈Rn×nQ \in \mathbb{R}^{n \times n}, with the objective

E∗=min⁡x∈{0,1}nxTQx.E^{*} = \min_{x \in \{0,1\}^n} x^T Q x.

Introducing classical spin variables zi∈{−1,1}z_i \in \{-1,1\} through xi=(1−zi)/2x_i = (1-z_i)/2 gives the Ising form

E(z)=∑i<jJijzizj+∑ihizi+c,\begin{equation} E(z) = \sum_{i<j} J_{ij} z_i z_j + \sum_i h_i z_i + c, \tag*{(1)} \end{equation}

where Jij=Qij/2J_{ij} = Q_{ij}/2, hi=−Qii/2−12∑j≠iQijh_i = -Q_{ii}/2 - \tfrac12 \sum_{j \ne i} Q_{ij}, and c=12∑iQii+12∑i<jQijc = \tfrac12\sum_i Q_{ii} + \tfrac12\sum_{i<j} Q_{ij} 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-ZiZ_i operator gives the diagonal cost Hamiltonian

HZ=∑i<jJijZiZj+∑ihiZi+cI,H_Z = \sum_{i<j} J_{ij} Z_i Z_j + \sum_i h_i Z_i + c I,

where II is the identity operator. We retain the constant here so that the eigenvalue associated with ∣x⟩\lvert x\rangle equals xTQxx^TQx. Every optimal bitstring defines a computational-basis ground state of HZH_Z, 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

H(s)=−(1−s)∑iXi+s HZ,s∈[0,1],\begin{equation} H(s) = -(1-s) \sum_i X_i + s\, H_Z, \qquad s \in [0, 1], \tag*{(2)} \end{equation}

where XiX_i is the Pauli-XX operator on spin ii. At s=0s=0, the ground state is the product state ∣+⟩⊗n\lvert+\rangle^{\otimes n}, with ∣+⟩=(∣0⟩+∣1⟩)/2\lvert+\rangle=(\lvert0\rangle+\lvert1\rangle)/\sqrt{2}; at s=1s=1, the Hamiltonian is HZH_Z.

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 ss. 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 α=M/n\alpha=M/n, where MM is the number of Gaussian sample vectors. The main benchmark uses M=⌊0.7n⌋M=\lfloor0.7n\rfloor, so 0.70.7 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 0.30.3 and penalty weight 22. Exact cover uses nn sets over a universe of n−4n-4 elements, including a hidden partition. SK couplings have standard deviation 1/n1/\sqrt{n} and zero fields. The random-frustrated generator uses coupling density 0.80.8, equally likely signs with half-normal magnitudes, and Gaussian fields of standard deviation 0.10.1. The ferromagnetic chain has unit coupling strength.

familystructureprobes
ferro chainchain, tw=1\mathrm{tw}=1, unfrustratedcontrol; analytic optimum
gridMax-Cut, planar, bipartitelow treewidth; analytic optimum
3-regularMax-Cut, sparse, degree 3high ground-state degeneracy
sparse ERMax-Cut, pER=0.2p_{\mathrm{ER}} = 0.2moderate treewidth
dense ERMax-Cut, pER=0.5p_{\mathrm{ER}} = 0.5treewidth ∼n\sim n
MISER, dense penaltiespenalty-encoding overhead
exact coverdense penaltiespenalty encoding, planted solution
SKdense random spin glassrandom frustrated couplings
random frustrateddense, tunable signsfrustration, no planted optimum
Wishartdense, broad coupling magnitudesplanted 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 pERp_{\mathrm{ER}} (written with a subscript because pp denotes the QAOA depth throughout, § 2.4). Requested generator sizes are {14,18,22}\{14,18,22\} (calibration) and {32,40,48}\{32,40,48\} (out of sample), with seed indices 0,1,20,1,2. 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 nreq∈{14,18,22}n_{\mathrm{req}}\in\{14,18,22\}. The grid family has actual sizes n∈{15,20,24}n\in\{15,20,24\}; all other families retain the requested sizes, giving an overall range n=14n=14–2424. 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 nreq∈{32,40,48}n_{\mathrm{req}}\in\{32,40,48\}. The grid family has actual sizes n∈{35,42,48}n\in\{35,42,48\}; 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 nreqn_{\mathrm{req}}, the grid generator uses a=⌊nreq⌋a=\lfloor\sqrt{n_{\mathrm{req}}}\rfloor rows and b=⌈nreq/a⌉b=\lceil n_{\mathrm{req}}/a\rceil columns, giving n=abn=ab 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 α=M/n\alpha=M/n controls the ensemble, with the main benchmark using M=⌊0.7n⌋M=\lfloor0.7n\rfloor and the scaling study also considering α=0.5\alpha=0.5 (§ 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 E∗=min⁡x∈{0,1}nxTQxE^{*}=\min_{x\in\{0,1\}^n}x^TQx as the true global minimum and additionally denote the benchmark target by ErefE_{\mathrm{ref}}. 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, Eref=E∗E_{\mathrm{ref}}=E^{*}. Otherwise it is the best-known feasible value, so Eref≥E∗E_{\mathrm{ref}}\ge E^{*}. A hit of a solver means matching ErefE_{\mathrm{ref}} 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 n≤24n \le 24, 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 E∗=−mE^{*} = -m, where mm 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 Eref=E∗E_{\mathrm{ref}}=E^{*} 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 n=48n=48. For this instance, ErefE_{\mathrm{ref}} 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 Eref=E∗E_{\mathrm{ref}}=E^{*} 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 600600 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 χ=32\chi=32. 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 χ=4,8,16\chi=4,8,16 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 pp, and Δ\Delta sets the amplitude of the linear parameter schedules. With mm nonzero pairwise couplings, the LR-QAOA circuit uses pmpm logical two-qubit cost gates. The layer count pp differs from the gate-level circuit depth DD, which also accounts for how gates within a layer are scheduled (App. app:quantumexploration). Campaign A uses exact statevector simulation for n≤16n\le16 and approximate MPS simulation for 16<n≤3216<n\le32, 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.

solverbudget per runapplicabilityrepetitions
exact branch-and-cutup to600600s; stops earlier at solver optimal statusall instances11
simulated annealing44restarts×\times20002000sweeps (8000n8000nproposals)all instances11
parallel temperingfixed0.750.75s;1616replicasall instances1010
DMRG anneal (TN)χ=32\chi=32;1111interpolation points, ending ats=1s=1all instances11
LR-QAOA, statevectorp∈{16,64}p\in\{16,64\},Δ∈{0.3,0.5,0.7}\Delta\in\{0.3,0.5,0.7\};39963996samples total (666666per setting)n≤16n\le1611
LR-QAOA, MPS proxyp=12p=12,Δ=0.5\Delta=0.5,χ=32\chi=32;500500samples16<n≤3216<n\le32andpm≤3000pm\le3000logical two-qubit cost gates11

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 nn they remain available.

  • Tier 0 is read off QQ and its interaction graph alone, costs O(m)O(m)–O(n3)O(n^3) 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 H(s)H(s) of Eq. (2) and is affordable to n≲102n \lesssim 10^2 (§ 2.5.2).

  • Tier 2 is exact diagonalisation, limited to n≲20n \lesssim 20 (§ 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.

measurewhat it captureshow obtained (cost)where it is used
Tier 0 --- structure and landscape ofQQ; anynn, costO(m)O(m)--O(n3)O(n^3)(Sec. )
tw^\widehat{\mathrm{tw}}distance from a tree; bounds the exponent of exact TN contractionmin-degree/min-fill elimination bound (O(n3)O(n^3), the one costly Tier-0 feature)TN cost law, Eq. ; exactness rule R3 (App. )
ρG\rho_Gedge density2m/[n(n−1)]2m/[n(n-1)]from the interaction graphquantum indicator, Eq.
bRCMb_{\mathrm{RCM}}distance from a one-dimensional chainbandwidth after reverse Cuthill--McKee (RCM) reorderingsecondary correlate ofχ99max⁡\chi_{99}^{\max}(Sec. )
DJD_Jcoexisting energy scales, Eq.max⁡∣Jij∣/min⁡∣Jij∣\max |J_{ij}| / \min |J_{ij}|quantum indicator
balance, planarity,f△f_\trianglethree cheap graph predicates: frustration exact and graded, and polynomial exactnessparity 2-colouring ; planarity test ; sampled trianglesexactness rules R2, R4 (App. )
hLMh_{\mathrm{LM}}ruggedness: multi-start local-minimum hit ratefraction of5050first-improvement descents reaching their best valuequantum indicator
Tier 1 --- barriers along the trajectoryH(s)H(s), Eq. ;n≲102n \lesssim 10^2(Sec. )
SvNmax⁡S_{\mathrm{vN}}^{\max}entanglement barrier: peak von Neumann entropy over all cuts and allsswarm-started DMRG sweep atχ=16\chi = 16(O(nsnχ3)O(n_s n \chi^3))classical-hardness axis; Page scalen/2n/2
χ99max⁡\chi_{99}^{\max}maximum number of Schmidt components retaining99%99\%weightsame sweeptw^→χ^\widehat{\mathrm{tw}} \to \hat\chilaw (Sec. ); Eq.
M2max⁡M_{2}^{\max}magic barrier: peak non-stabilizerness, Eq.four-replica MPS contraction atχ=4\chi = 4(O(nχ10)O(n\chi^{10})); truncated estimatecomplementary hardness indicator; quantum indicator
Tier 2 --- exact spectra;n≲20n \lesssim 20; validation and interpretation (Sec. )
Δg(s)\Delta_g(s)Eg(s)−E0(s)E_g(s)-E_0(s), using the final ground-state degeneracyggsparse diagonalisation ofH(s)H(s)over all2n2^nstatesstack validation; trapping analysis (Sec. ); TN readout design (App. )
Outcome metrics --- measured per solver run (Sec. )
hitreached the reference energyErefE_{\mathrm{ref}}Eq. ,ϵ=10−9\epsilon = 10^{-9}(mixed absolute/relative)main benchmark and repeat controls; scaling exceptions below
provedoptimality certificate, subject to numerical tolerancessolver optimal status within the stated capSecs. ,
ttwall-clock seconds to the returned solutionper run; circuit depth reported separatelycost-model fits, Eqs. --
w∗w^{*}ex-post best solver, the choice made knowing all outcomeslowestEE, ties broken by smallertt, Eq.retrospective heuristic-label analysis
dHmin⁡/nd_H^{\min}/nhow far a run ends from the nearest optimumHamming distance to the enumerated optimal settrapping diagnostic (Sec. )

Structural features (Tier 0; cost O(m)O(m)–O(n3)O(n^3), any nn)

These features use the instance data and a small local-search probe, without a quantum-state simulation.

The interaction graph G=(V,EG)G=(V,E_G) has one vertex per binary variable and an edge (i,j)(i,j) wherever Jij≠0J_{ij}\ne0. Its edge count is m=∣EG∣m=|E_G|.

Treewidth bound tw^\widehat{\mathrm{tw}}. The treewidth of the interaction graph measures how far the graph is from a tree: a tree decomposition of width ww groups the vertices into overlapping “bags” of size w+1w+1 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 exp⁡[O(tw)]\exp[O(\mathrm{tw})] [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 tw\mathrm{tw} exactly is NP-hard, so we use the standard min-degree/min-fill elimination heuristics and take the smaller bound, tw^≥tw\widehat{\mathrm{tw}} \ge \mathrm{tw}. The two are kept apart throughout: tw\mathrm{tw} is the exact treewidth, in which all cost statements and the structural descriptions of the instance families are phrased, while tw^\widehat{\mathrm{tw}} is the computed bound, the quantity the pipeline actually reads. A chain has tw=1\mathrm{tw} = 1 and a fully connected graph on nn vertices has tw=n−1\mathrm{tw} = n-1.

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 exp⁡[O(tw)]\exp[O(\mathrm{tw})]. It is what gives tw^\widehat{\mathrm{tw}} its operational meaning, and it is the method behind the bounded-treewidth rule R3 of App. app:costmodels: once tw^\widehat{\mathrm{tw}} 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 χ\chi that is not fixed by tw\mathrm{tw} a priori. That larger tw^\widehat{\mathrm{tw}} nevertheless means larger realised χ\chi is a measured result of this work (§ 4), not a definition, and it is what licenses putting tw^\widehat{\mathrm{tw}} into the solver’s runtime model, Eq. eq:ttn.

The coupling dynamic range DJD_J is the ratio of the strongest to the weakest coupling, using JijJ_{ij} from Eq. (1):

DJ  =  max⁡(i,j)∈EG∣Jij∣min⁡(i,j)∈EG∣Jij∣,\begin{equation} D_J \;=\; \frac{\max_{(i,j) \in E_G} |J_{ij}|} {\min_{(i,j) \in E_G} |J_{ij}|}, \tag*{(3)} \end{equation}

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 α=M/n\alpha=M/n (§ 6). The implementation includes only couplings with ∣Jij∣>10−15|J_{ij}|>10^{-15} and sets the ratio to one if none remain.

Four cheap graph quantities and one landscape probe complete Tier 0. Density is ρG=2m/[n(n−1)]\rho_G = 2m/[n(n-1)]. The graph bandwidth bRCMb_{\mathrm{RCM}} 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 f△f_\triangle [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 hLMh_{\mathrm{LM}}: 50 descents from random bitstrings use seeds seed+1000r\mathrm{seed}+1000r, r=0,…,49r=0,\ldots,49. 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 sign⁡(−Jij)\operatorname{sign}(-J_{ij}); graph balance tests the corresponding bond constraints.

Trajectory diagnostics (Tier 1; n≲102n \lesssim 10^2)

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 χ=16\chi=16 and the magic probe uses χ=4\chi=4, in separate DMRG sweeps on the nine-point uniform grid s∈{0,0.125,0.25,…,1}s\in\{0,0.125,0.25,\ldots,1\}. Neither probe enables the branch-reset mechanism used by the optimisation solver. Magic is computed on the states retained from the χ=4\chi=4 sweep, while SvNmax⁡S_{\mathrm{vN}}^{\max} and χ99max⁡\chi_{99}^{\max} come from the dedicated χ=16\chi=16 sweep. The diagnostic and solver trajectories thus differ in grid and reset configuration.

The entanglement barrier is measured by cutting the chain at bond bb and Schmidt decomposing, which gives probabilities p1≥p2≥…p_1 \ge p_2 \ge \dots. The von Neumann entropy SvN(b;s)=−∑apalog⁡2paS_{\mathrm{vN}}(b;s) = -\sum_a p_a \log_2 p_a measures how much quantum correlation crosses that cut, and χ99(b;s)=min⁡{k:∑a≤kpa≥0.99}\chi_{99}(b;s) = \min\{k : \sum_{a \le k} p_a \ge 0.99\} is the number of Schmidt components needed to retain 99%99\% of the weight across that cut of the computed state. We record maxima over the sampled interpolation points and all cuts, SvNmax⁡S_{\mathrm{vN}}^{\max} and χ99max⁡\chi_{99}^{\max}. The largest recorded χ99max⁡\chi_{99}^{\max} is 13 in each split. Being below the bond-dimension cap does not alone establish convergence. The reset-enabled χ=32\chi=32 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 ρ=0.69\rho=0.69 and 0.730.73. The diagnostic χ99max⁡\chi_{99}^{\max} is therefore a ranking proxy for the representation demand of the solver’s trajectory, not a measurement of it. For comparison, a Haar-random nn-qubit pure state has half-cut entropy approximately n/2n/2 bits [25], with bond-dimension requirements growing exponentially in nn. 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]

M2(∣ψ⟩)=−log⁡2(2−n∑P⟨ψ∣P∣ψ⟩4),\begin{equation} M_2(\lvert\psi\rangle) = -\log_2\Bigl( 2^{-n} \sum_{P} \langle\psi\rvert P \lvert\psi\rangle^{4} \Bigr), \tag*{(4)} \end{equation}

the sum running over all 4n4^n Pauli strings. M2=0M_2 = 0 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 χ=4\chi=4 probe cap, M2max⁡M_{2}^{\max} 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 ∣+⟩⊗n\lvert+\rangle^{\otimes n} 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, n=16n = 16, m=63m = 63): entanglement barrier SvNmax⁡(s)S_{\mathrm{vN}}^{\max}(s) (left axis) and magic barrier M2(s)M_2(s) (right axis) along H(s)H(s), Eq. (2), computed with the Tier-1 protocol (χ=16\chi=16 entanglement sweep, χ=4\chi=4 magic sweep, nine-point grid). Both vanish at the endpoints of this example. The two barriers peak at different points: SvNmax⁡=1.69S_{\mathrm{vN}}^{\max}= 1.69 bits at s=0.875s = 0.875, M2max⁡=5.63M_{2}^{\max}= 5.63 bits at s=0.5s = 0.5 (χ99max⁡=8\chi_{99}^{\max}= 8).

Spectral diagnostics (Tier 2; n≲20n \lesssim 20)

For small instances (n≲20n\lesssim20), sparse diagonalisation of H(s)H(s) 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 E0(s)≤E1(s)≤⋯E_0(s)\le E_1(s)\le\cdots be the ordered eigenvalues, and let gg denote the ground-state degeneracy of the final cost Hamiltonian HZH_Z. At s=1s=1, the first gg levels share the optimal energy, so E1−E0E_1-E_0 vanishes whenever g>1g>1, independently of solver difficulty. We record Δg(s)=Eg(s)−E0(s)\Delta_g(s)=E_g(s)-E_0(s) to avoid this endpoint degeneracy in the reported diagnostic. At s=1s=1 it is the gap above the optimal manifold. At intermediate ss, the first gg levels need not be degenerate, so this definition should not be identified automatically with the instantaneous ground-state excitation gap.

The n≲20n \lesssim 20 ceiling is the 2n2^n wall: the calculation lives in the full Hilbert space (10610^6 dimensions at n=20n = 20), is repeated at every point of the ss-grid, and must resolve the entire gg-fold manifold plus one level above it, so degeneracy multiplies the eigenvalue count. Omitting it above n=20n = 20 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 EE in wall time tt we record whether it reached the reference,

hit=I ⁣[ ∣E−Eref∣<ϵmax⁡(1,∣Eref∣) ],ϵ=10−9,\begin{equation} \mathrm{hit} = \mathbb{I}\!\left[\, |E - E_{\mathrm{ref}}| < \epsilon \max(1, |E_{\mathrm{ref}}|) \,\right], \qquad \epsilon = 10^{-9}, \tag*{(5)} \end{equation}

a mixed absolute/relative tolerance: for the typical instance with ∣Eref∣≫1|E_{\mathrm{ref}}| \gg 1 the criterion is relative (ϵ∣Eref∣\epsilon |E_{\mathrm{ref}}|, so that large energies are not penalised for floating-point noise), while the max⁡(1,⋅)\max(1,\cdot) provides an absolute floor ϵ\epsilon that keeps the test well defined when ∣Eref∣|E_{\mathrm{ref}}| is small or zero, where a purely relative tolerance would demand unattainable precision. The indicator I(⋅)\mathbb{I}(\cdot) is 11 when its condition is true and 00 otherwise. Campaign E retains different reach tolerances across its run batches: its exact-solver endpoint test and first-hit callback use a mixed 10−610^{-6} tolerance, while its initial single-run SA test uses an absolute 10−610^{-6} 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 0.430.43 above the reference. Beyond reaching ErefE_{\mathrm{ref}}, 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

w∗=arg⁡min⁡P EP(ties broken by smaller tP),\begin{equation} w^{*} = \arg\min_{P}\, E_P \quad \text{(ties broken by smaller $t_P$)}, \tag*{(6)} \end{equation}

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 w∗w^*. The Campaign A label-generation code excludes failed runs and explicit SA fallbacks in place of LR-QAOA runs. Energies less than 10−910^{-9} 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 ρ\rho. For binary outcomes we use the area under the receiver operating characteristic (ROC) curve, abbreviated AUC. Let P\mathcal{P} and N\mathcal{N} denote the positive and negative instances for the outcome being evaluated, respectively, and let uiu_i be the candidate predictor’s score for instance ii, with larger scores indicating greater predicted likelihood of the positive outcome. ∣P∣|\mathcal{P}| and ∣N∣|\mathcal{N}| are the numbers of instances in the two sets. Then

AUC=1∣P∣∣N∣∑i∈P∑j∈N[I(ui>uj)+12I(ui=uj)],\begin{equation} \mathrm{AUC} = \frac{1}{|\mathcal{P}||\mathcal{N}|} \sum_{i \in \mathcal{P}} \sum_{j \in \mathcal{N}} \Bigl[ \mathbb{I}(u_i > u_j) + \tfrac12 \mathbb{I}(u_i = u_j) \Bigr], \tag*{(7)} \end{equation}

the probability that a randomly chosen positive instance scores above a randomly chosen negative instance under the candidate predictor uu: AUC=1\mathrm{AUC} = 1 is perfect separation, 0.50.5 is chance. We report it only when at least three successes and three failures are present. Finally, a predicted cost t^\hat t is scored against the measured time tt by the symmetric fold error max⁡(t^/t, t/t^)\max(\hat t / t,\, t / \hat t) (§ 4.3).

We report correlations descriptively, without pp-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.

questioninstance setsolvers and computations
AMain comparison; diagnostic relationships and runtime prediction180 benchmark instances, ten families; requested sizes14,18,2214,18,22for calibration and32,40,4832,40,48for evaluationGurobi, SA, TN, and 105 simulated LR-QAOA runs; additional PT baseline; structural and separate reset-free trajectory diagnostics (Secs. --)
BSensitivity to stochastic variation and optimum placementSA repeats on all 180 benchmark instances; nine paired Wishart instances atn=32,40,48n=32,40,48; enlarged gauged set of ten per size atn=40,48n=40,48SA repetitions; Gurobi, SA, and PT controls; TN gauge rechecks on the Campaign An=40,48n=40,48subset and repeatability check on three ungaugedn=40n=40instances (Secs. and )
CTN capacity limits, trapping, and mitigationMain benchmark for bond-cap sensitivity; selected 3-regular and ferromagnetic instances for mechanism studiesTN bond-cap variants, spectral diagnostics, and comparisons of multi-seeding and reset strategies (Secs. and )
DLR-QAOA coverage, probability scaling, and simulation convergence27 benchmark instances atn=32n=32; ten families atn=8n=8--1616; six gauged Wishart instances atn=40,48n=40,48Adaptive-depth MPS LR-QAOA; exact statevector probability measurements; bond-cap convergence probes using a different gauge convention from B (Sec. )
ESearch and certification as hardness, size, and budget vary61 distinct gauged Wishart instances,α=0.5,0.7\alpha=0.5,0.7, sampled sizesn=48n=48--128128Gurobi, 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 180180 benchmark instances. Horizontal positions use actual variable counts with fixed family offsets between −0.54-0.54 and 0.540.54 for visibility. Filled points have solver optimal status. Open red circles (all at n=48n = 48, Wishart and one SK) matched the reference energy but hit the 600600 s cap before certifying. The Wishart references are planted optima while the SK reference is best-known. Almost everything is solved in under 0.10.1 s, only the dense frustrated families climb, and the Wishart instances at n=48n=48 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 ErefE_{\mathrm{ref}} on all 180180 benchmark instances and certifies optimality on 176176, including 8686 instances at n>26n > 26 that lie beyond exhaustive enumeration, in a median of under a second (worst proven case ∼ ⁣4\sim\!4 minutes). Only the four densest frustrated instances at n=48n = 48 reach the 600600 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 n=48n=48 and one 3-regular instance at n=40n=40), typically 10210^2–3×103×3\times10^{3}\times slower than SA on the dense families (median 940×940\times), 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 DJD_J 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 α=M/n\alpha=M/n (§ 6).

methodevaluation setoutcome
Gurobiall 180180 reference hits; 176 solver certificates
SAall 180hits on all 162 non-Wishart instances; out-of-sample Wishart:2/32/3atn=32n=32,1/61/6atn=40,48n=40,48
TNall 180hits on 160 of 162 non-Wishart instances (misses: sparse ERn=48n=48, 3-regularn=40n=40); out-of-sample Wishart:1/31/3atn=32n=32,1/61/6atn=40,48n=40,48
LR-QAOA105 LR-QAOA simulation runs86/9686/96non-Wishart hits;5/95/9Wishart 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 98%98\% 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 n=40,48n=40,48, 32 of 60 additional SA runs reach the planted optimum (53.3%53.3\%), compared with one of six Campaign A runs (16.7%16.7\%). 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 0.750.75 s budget. Its reported aggregate hit rate is 0.9820.982, compared with 0.9810.981 for the SA repetitions. A restricted TN repeatability check ran three anneals on each of the three ungauged Campaign A Wishart instances at n=40n=40. 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 n=32,40,48n=32,40,48 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 n=32n=32 and 4040, branch-and-cut proves optimality in both frames. The medians of the six per-instance gauged/plain ratios are 2.22.2 for full solver-wrapper runtime and 1.21.2 for node count. At n=48n=48, 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 n=40n=40 and 4848, giving ten instances per size. Branch-and-cut uses one run per instance with a 600600 s limit, and SA uses ten runs per instance (200 runs in total). PT uses five runs per instance at 0.750.75 s and three at 6060 s. A separate three-run comparison uses 2000 sweeps (median 1.71.7 s and 2.02.0 s per run) and reaches the optimum in 2929 of 3030 runs at n=40n=40 and 2222 of 3030 at n=48n=48. 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 n=40n=40 and proves seven (Wilson 95%95\% interval: 0.400.40–0.890.89), while SA reaches the optimum on 0.630.63 of runs (0.530.53–0.720.72). At n=48n=48, branch-and-cut reaches four of ten (0.170.17–0.690.69) and proves none, while SA reaches 0.250.25 (0.180.18–0.340.34). 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 6060 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 n=40n=40 instances.

nnGurobi: hits; certificatesSA: fraction of runsPT at6060s: fraction of runsTN: subset hits
4010/1010/10;7/107/100.630.631.001.001/31/3
484/104/10;0/100/100.250.251.001.000/30/3

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 χ99max⁡\chi_{99}^{\max} along the TN trajectory correlates with the O(n3)O(n^3) treewidth bound at ρ=0.78\rho = 0.78 on the calibration set and 0.730.73 out of sample, and with the cheaper RCM bandwidth at ρ=0.72\rho = 0.72 and 0.670.67 (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 0.810.81 and 0.760.76. This is a reliable ranking, not a precise cost estimate: the regression explains 55%55\% of the variance in log⁡2χ99max⁡\log_2 \chi_{99}^{\max} on the distinct calibration matrices (R2=0.55R^2 = 0.55). With measured χ99max⁡\chi_{99}^{\max}, the runtime model predicts wall-clock to a median factor of 1.81.8 out of sample. Using treewidth alone, the genuinely a-priori median factor is 7.67.6 (§ 4.3). It therefore supports coarse cost comparisons.

That predictability does not imply that TN is fast. Among the 4444 instances whose trajectory needs only χ99≤2\chi_{99} \le 2, its anneal is a median 17×17\times slower than SA. At n=48n = 48 the median gap is 1600×1600\times.

Figure 3. Structure predicts tensor-network cost: Tier-0 treewidth bound vs. realised bond-dimension demand χ99max⁡\chi_{99}^{\max} along H(s)H(s) (calibration set, 78 distinct matrices with verified optima; Spearman ρ=0.78\rho = 0.78, and ρ=0.73\rho = 0.73 on the out-of-sample set at n=32n = 32–4848). 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 (ρ=0.29\rho=0.29 in calibration and 0.450.45 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 M2max⁡M_{2}^{\max} vs. entanglement barrier SvNmax⁡S_{\mathrm{vN}}^{\max} over the 78 distinct calibration matrices (Spearman ρ=0.29\rho = 0.29 here, 0.450.45 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 χ=4,8,16\chi=4,8,16 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 ss-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 dHmin⁡/n=0.40d_H^{\min}/n = 0.40 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 (33-regular Max-Cut and ferromagnetic controls at n=18n = 18 and 2222) the reset reaches the optimum on 88 of 88, against 55 of 88 for the baseline and 66 of 88 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 8181 mitigation-clean out-of-sample instances, one fails at χ=4\chi = 4 and none at χ=16\chi = 16. The remaining failures are not nested in bond cap, consistent with residual trapping rather than a simple capacity limit. The diagnostic χ99max⁡\chi_{99}^{\max} 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 Ek(s)E_k(s). Trapped runs follow an excited branch to s=1s = 1. Right: distance to the nearest certified optimum by outcome. Trapped runs end extensively far (median dHmin⁡/n=0.40d_H^{\min}/n = 0.40), successful runs at dH=0d_H = 0.

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 8585 of 9090 out-of-sample instances, but an always-predict-SA baseline scores identically and the balanced accuracy is 0.500.50. 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 n≤16n \le 16 and 75 MPS-proxy runs at 18≤n≤3218 \le n \le 32. It underperforms on exact cover (3/93/9 hits), MIS (9/129/12), Wishart (5/95/9) and one dense-ER instance (11/1211/12), while matching the classical result on the other families. The adaptive-depth check covers all 27 benchmark instances at actual n=32n=32, yielding 3/123/12 hits on newly covered instances and 13/1513/15 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 n=40,48n=40,48. 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 n=8n=8–1616, across ten families and three seeds, at p=12,n,2np=12,n,2n. The 450 exact statevector measurements evaluate probability mass rather than the polished sampled energies used in Campaign A. The fitted slopes of log⁡2Popt\log_2 P_{\mathrm{opt}} are −0.32,−0.21,−0.15-0.32,-0.21,-0.15 bits per qubit, respectively: increasing depth slows the decay, but at p=np=n the probability still halves about every five qubits. Against the pre-registered criterion, which counted ∣σ∣≤0.1|\sigma| \le 0.1 as support and σ≤−0.25\sigma \le -0.25 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 p=np=n remain negative for exact cover (−0.75-0.75), MIS (−0.54-0.54) and Wishart (−0.29-0.29), including the family proposed as the first quantum target. All three lie below the refutation threshold of −0.25-0.25. 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 PoptP_{\mathrm{opt}} against instance size, at fixed depth p=12p = 12 and at linearly growing depths p=np = n and p=2np = 2n. Family-centred values; faded lines are the fitted slopes. If linear depth growth held PoptP_{\mathrm{opt}} constant, the p=np = n 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 α=M/n\alpha = M/n, where MM is the number of planted Gaussian sample vectors [13], at α=0.5\alpha = 0.5 and 0.70.7 (lower is harder). The native binary-quadratic formulation is solved with a 600600 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 11, 66, and 6060 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 (α=0.5\alpha=0.5, n=48n=48 and 6464), 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.

α\alpha nn SA ∼1\sim1 s PT 11 s PT 66 s PT 6060 s
0.70.7 4848 0.200.20 0.670.67 1.001.00 1.00∗1.00^{*}
5656 0.140.14 0.270.27 0.600.60 1.00\mathbf{1.00}
6464 0.060.06 0.070.07 0.400.40 0.93\mathbf{0.93}
7272 0.020.02 0.070.07 0.200.20 0.87\mathbf{0.87}
8080 00 00 0.130.13 0.53\mathbf{0.53}
9696 00 00 00 0.070.07
0.50.5 4848 0.040.04 00 0.070.07 0.53\mathbf{0.53}
5656 00 00 00 0.130.13
6464 00 0.070.07 0.070.07 0.130.13
7272–128128 00 00 00 0\mathbf{0}

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 α=0.7\alpha=0.7 (easier), increasing the PT budget extends the range of instance sizes at which optima are found. At α=0.5\alpha=0.5 (harder), no tested budget yields an optimum at the sampled sizes from n=72n=72 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 α=0.7\alpha = 0.7, longer PT runs reach larger instances, while on α=0.5\alpha = 0.5 no tested classical method reaches the optimum from n=72n = 72 upward. At those sizes this is based on 9595 heuristic runs per size at n=72,80,96n = 72, 80, 96 and 1919 runs on the single surviving n=128n = 128 instance.

Certification and longer-budget exact-solver runs

Across all 6161 gauge-randomised instances with n≥48n \ge 48, branch-and-cut certifies none (median mixed-integer-programming (MIP) gap ≈ 0.2{\approx}\,0.2). For the harder instances (α=0.5\alpha=0.5) it also finds none of the 3131 instances. One-hour runs at n=48,64,72n = 48, 64, 72 confirm the misses, despite exploring up to ∼5×107{\sim}5\times10^{7} nodes. For the easier instances (α=0.7\alpha=0.7), exact solver hits occur early, all within 2.32.3 s (median 0.10.1 s), and disappear by n=80n = 80. All recorded SA hits with α=0.5\alpha=0.5 occur at n=48n=48.

The one-hour limit was used at α=0.5\alpha=0.5 for three seeds at n=48,64n=48,64, and for all five instances at n=72n=72 at both aspect ratios. The remaining instances retain the 600600 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 α=0.5\alpha=0.5 identifies a candidate regime for a hardware experiment, not a quantum win: polynomial depth still depends on the unconfirmed p∼np \sim n 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 α\alpha. 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 p=np=n. The exact-solver limit is 600600 s except for one-hour runs on seeds 0,1,20,1,2 at α=0.5\alpha=0.5, n=48,64n=48,64, and all five instances per aspect ratio at n=72n=72. Replayed heuristic batches with identical seeds (α=0.5\alpha=0.5, n=48,64n=48,64) are counted once. For the hard instances (α=0.5\alpha=0.5) no tested classical method finds the optimum from n=72n=72 onward. For the easier instances (α=0.7\alpha=0.7), heuristic reach extends with budget. The polynomial-depth comparison remains conditional on the unconfirmed p∼np\sim n 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 χ=4\chi=4 and none at χ=16\chi=16. 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 α=0.5\alpha=0.5, none of the tested methods reaches the planted optimum at sampled sizes from n=72n=72 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 n=48n=48, the reported hit rate rises from SA’s 0.250.25 to PT’s 0.440.44 at a 0.750.75 s allocation and to 1.001.00 at 6060 s per PT run. In Campaign E, increasing the PT budget also extends search success on α=0.7\alpha=0.7 (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 x=0x = 0, 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 T0=max⁡i∑j∣Qij∣T_0=\max_i\sum_j|Q_{ij}| reads the diagonal of QQ, 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 n=48n = 48 falls from 0.440.44 on the planted instances to 0.250.25 on the gauged ones (exact sign test over instances, p=0.008p = 0.008). Running the gauged instances with the planted frame’s T0T_0 restores it to 0.390.39. At n=40n = 40 the frames do not differ (0.630.63 in both). Part of SA’s gauged deficit at n=48n = 48 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 n=48n = 48, the exact solver’s reach in that small sample falls from 33 of 33 on planted instances to 11 of 33 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 0.530.53. 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 n=128n=128. The denominators and replication therefore differ across claims. For example, the LR-QAOA comparison’s exact-cover hit count is 3/93/9. 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 n=32n=32 by changing depth. Its newly covered dense cases use p=6p=6–1111. The separate n=40,48n=40,48 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 96%96\% of out-of-sample runs, and on Wishart out-of-sample in 66%66\%. 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 n=48n=48. 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 600600 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 n=40n = 40, branch-and-cut certifies seven of ten optima. At n=48n = 48, it finds four of ten and certifies none within its budget. PT, given 6060 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 n=128n = 128: on the harder setting (α=0.5\alpha = 0.5), none of the tested classical methods reaches the planted optimum at the sampled sizes from n=72n = 72 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

AUCarea under the ROC curve
BFbrute-force enumeration
DMRGdensity-matrix renormalization group
ERErdős–Rényi
LR-QAOAlinear-ramp quantum approximate optimization algorithm
MIPmixed-integer programming
MISmaximum independent set
MPSmatrix-product state
PTparallel tempering
QAOAquantum approximate optimization algorithm
QUBOquadratic unconstrained binary optimization
RCMreverse Cuthill–McKee
ROCreceiver operating characteristic
SAsimulated annealing
SKSherrington–Kirkpatrick
SVDsingular-value decomposition
TNtensor 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 DJD_J--M2max⁡M_{2}^{\max} plane. The selected region (orange circles) captures every Campaign A instance where SA fails against the reference optimum (red stars, all Wishart at n≥32n \ge 32) at in-sample recall 1.01.0, but also twelve instances on which SA succeeds (99 Sherrington--Kirkpatrick structural twins and 33 Wishart), indistinguishable by static features (precision 0.330.33). Grey dots are the remaining instances of the Campaign A benchmark: not selected by the indicator, and solved by simulated annealing.

References

  1. [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. [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. [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. [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. [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. [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. [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. [8]Farhi, E., Goldstone, J., & Gutmann, S. (2014). A quantum approximate optimization algorithm. https://doi.org/10.48550/arXiv.1411.4028
  9. [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. [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. [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. [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. [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. [14]Lucas, A. (2014). Ising formulations of many NP problems. Frontiers in Physics, 2, 5. https://doi.org/10.3389/fphy.2014.00005
  15. [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. [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. [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. [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. [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. [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. [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. [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. [23]Toulouse, G. (1977). Theory of the frustration effect in spin glasses: I. Communications on Physics, 2, 115–119.
  24. [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. [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. [26]Gottesman, D. (1998). The Heisenberg representation of quantum computers. https://doi.org/10.48550/arXiv.quant-ph/9807006
  27. [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. [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. [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. [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. [31]Gurobi Optimization, LLC. (2024). Gurobi Optimizer Reference Manual. https://www.gurobi.comgurobi.com
  32. [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
  33. [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
  34. [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
  35. [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

Paper details

vlnc:W_tr6279p7
Version
v1 · latest
Published
Added
License
CC BY-SA 4.0
Usage

views · 15

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Claude

View statement
Looking for related papers…
Contents