arXiv(opens in a new tab)quant-phSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.07090

Complexity Amplification from Compression in Quantum Random Access Optimization

Stuart Hadfield

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Compressed quantum encodings aim to overcome hardware limitations towards tackling challenging problems at scale, with many classical variables mapped onto noncommuting observables of fewer qubits. Despite their appeal, the tradeoffs and limitations of quantum compression remain poorly understood. Classically, relaxations such as the semidefinite program formulation of MaxCut trade solution quality for computational efficiency. By contrast, quantum relaxations based on compression can amplify the worst-case complexity of the problem being solved. We study quantum random access optimization (QRAO), a special case of the Pauli correlation encoding (PCE) framework that assigns up to three binary variables to the Pauli X, Y, and Z observables of each qubit, with the packing choices determining the compressed Hamiltonian to be optimized. We identify explicit QRAO optimal energy promise problems complete for NP, StoqMA, and QMA, with inverse-polynomial promise gaps for the latter two. Existing results establish hardness for abstract classes of Hamiltonians, but do not show these Hamiltonians to be generated by valid QRAO packings. Our problem reductions do so while preserving inverse-polynomial promise gaps, without requiring gadgets or ancilla qubits. For any fixed packing, we show that weighted MaxCut instances compress, up to a known shift and rescaling, to arbitrary nonnegative-weight pairwise Pauli couplings allowed by the packing. A coupling using a single Pauli type is called aligned. For QRAO, using one aligned axis gives an NP-complete energy problem. Under a fixed two-to-one packing, positive single-variable terms along a second axis give a StoqMA-complete transverse-field problem. Using two or three positive aligned Pauli axes gives QMA-complete problems on unrestricted interaction graphs, while their bipartite restrictions lie in StoqMA.

We show that this computational hardness survives compilation and is practically relevant. For any degree-ordered greedy QRAO compiler with fixed-order tie breaking, we construct dense, connected, regular, non-bipartite MaxCut families that assign exactly d∈{2,3}d \in \{2,3\} variables to every qubit. On these families MaxCut is NP-complete while the QRAO energy problem is QMA-complete. Notably, this result applies directly to the current QRAO compiler implementation in Qiskit Optimization 0.7.0, confirming our hardness results are not artifacts of artificial or contrived packing rules.

We also consider optimization over restricted quantum state spaces. On connected three-axis instances, optimization over encoded classical assignments, product states, or separable states is NP-complete, whereas unrestricted optimization is QMA-complete. Constant-factor approximation of the unrestricted three-axis relaxation is NP-hard. Altogether our results identify worst-case complexity barriers arising from quantum compression, while making no broad claims about typical cases, or the performance and trainability of algorithm pipelines that use it.

1 Introduction

Quantum optimization algorithms offer a new computational paradigm for tackling challenging combinatorial optimization problems [1]. Even before accounting for the additional qubit overhead required for fault tolerance, the limited qubit counts of current devices pose a fundamental obstacle to scaling such methods toward problem sizes beyond the reach of classical algorithms. This challenge has motivated the development of compressed encodings that map many classical variables to quantum observables on a smaller quantum register.

Quantum random access optimization (QRAO) [9] trades qubit count for noncommutativeity. In the standard dd-to-1 QRAO encodings, d∈{1,2,3}d \in \{1, 2, 3\} classical binary variables are assigned to different Pauli observables of each qubit. As these observables do not commute, a quadratic problem objective that would normally produce a diagonal Ising Hamiltonian under the usual single-variable per qubit mapping [12, 25] instead becomes in general a noncommuting quantum Hamiltonian on fewer qubits. The resulting problem relaxation is optimized over quantum states and its measurements are decoded into a classical solution. Classically, convex relaxations such as semidefinite programs are generally chosen to yield efficiently computable bounds and approximate solutions. QRAO instead maps a classical optimization problem to a quantum Hamiltonian optimization, but with no guarantee the resulting problem will be any easier. On explicit worst-case families, we show that QRAO compression produces a QMA-complete optimal-energy problem from an NP-complete classical input family.

Previously, Teramoto et al. [43] identified as future work the complexity of finding a relaxed state whose energy exceeds the classical optimum under QRAO, and noted that exact extremal-state computation is QMA-hard for general local Hamiltonians [20]. This general observation does not classify QRAO complexity. Compressed Hamiltonians generated by valid inputs and packings occupy a constrained positive-coupling image whose complexity can depend on the active Pauli axes, interaction topology, and admitted quantum state domain. We determine these boundaries and prove QMA-completeness for explicit reachable families, including fully occupied packings produced by the stable greedy compiler used in the Qiskit Optimization 0.7.0 software package.

We call the assignment of variables to physical qubits and Pauli axes a packing. Its grouping records which variables share each qubit, while the QRAO compiler is the classical procedure that derives the grouping and Pauli slot (type) assignments from the classical problem input. In the compiler class studied here, the classical support graph (variables as vertices and nonzero quadratic terms as edges) is colored greedily in nonincreasing degree order. A compiler is stable if its greedy tie breaking rule preserves the fixed input order. Here we consider primarily applications to quadratic unconstrained binary optimization (QUBO) problems, for which MaxCut is a prototypical NP-hard problem. Each weighted problem clause is directly mapped, up to a known shift and rescaling, to a corresponding Pauli coupling in the compressed Hamiltonian.

QRAO is one of several qubit-efficient encoding strategies whose choices of state space, loss function, and readout map create different resource tradeoffs [35, 41]. At the representation level, QRAO is a special case of the more general Pauli-correlation encoding (PCE) framework introduced by Sciorilli et al. [36]. PCE extracts classical variable assignments as the signs of expectation values of Pauli strings, with higher-locality strings offering stronger polynomial compression. QRAO represents possible classical assignments by product states of single-qubit quantum random access code (QRAC) codewords, where each codeword encodes a definite assignment to the binary variables packed into that qubit, and recovers classical solutions using QRAC-based rounding, such as random magic measurements or sign rounding of the assigned Pauli observables. The input problem, together with the compression and compiler parameters, produces a unique quantum objective Hamiltonian, which is then optimized over all states or a specified class with a suitable approach such as parameterized quantum circuits or closely related variational approaches [1, 30]. QRAO then recovers classical solutions through repeated QRAC measurements and rounding, whereas general PCE methods are typically paired with nonlinear correlator losses and sign decoding. Our theorems classify the QRAO energy problem, not general PCE objectives.

The exactly characterizable QRAO setting nevertheless gives a concrete answer to a broader question:

Can quantum compression result in a harder problem than the one we were given?

For QRAO we answer this question in the affirmative, up to the usual standard beliefs in computational complexity theory, such as NP being unequal to QMA, its quantum witness counterpart. Our complexity classification is based on the choice of compressed encoding alone and precedes the choices of ansatz, training procedure, or decoder. We emphasize that our results primarily concern the global energy optimization problem over different classes of quantum states. We do not analyze or restrict to a particular quantum circuit ansatz or training method. Indeed, for a Pauli Hamiltonian with polynomially bounded coefficients in ℓ1\ell_1 norm, the energy of an efficiently prepared state can be estimated with high probability to inverse-polynomial additive accuracy using polynomially many Pauli observable measurements [30].

Considerations such as problem locality do not resolve the above question either. The Local Hamiltonian quantum energy estimation decision problem is QMA-complete in general, while even when restricted to two-qubit interactions it exhibits polynomial-time, NP-, StoqMA-, and QMA-complete regimes [6, 7, 20, 21, 27, 33]. Hence existing results do not immediately imply hardness classifications for QRAO. Indeed, a QRAO compiler is not able to produce arbitrary interactions, with the set of possible compressed Hamiltonians highly constrained by its rules for assigning variables to Pauli operators. Our results therefore lie at the intersection of Hamiltonian complexity and QRAO reachability.

We show families of connected, regular, exactly compressed positive-weight MaxCut instances for which the classical threshold decision problem is NP-complete, but the corresponding QRAO energy promise problem is QMA-complete to inverse-polynomial precision. In between these extremes we show a StoqMA-complete variant that arises in compressing quadratic QUBO problems, resulting when the encoding choice leads to transverse-field Ising model Hamiltonians. We refer to this change in completeness classification as complexity amplification from quantum compression.

Here and throughout, the QRAO energy problem is the standard quantum Hamiltonian promise decision problem. For Hamiltonians on nn qubits, given thresholds α<β\alpha < \beta separated by at least an inverse polynomial in nn, the task is to distinguish whether the maximum eigenvalue λmax⁡(HQRAO)≤α\lambda_{\max}(H_{\mathrm{QRAO}}) \leq \alpha from the case λmax⁡(HQRAO)≥β\lambda_{\max}(H_{\mathrm{QRAO}}) \geq \beta under the promise that one holds. For convenience we primarily consider energy (objective) maximization instead of minimization throughout. Our classical complexity results use the usual MaxCut threshold decision problem. For complexity statements, all input parameters are assumed to be rational, polynomially bounded in magnitude, and specified using polynomially many bits in the problem size.

The fixed-interaction complexity classifications we leverage in our proofs are ingredients, not direct QRAO hardness results. They begin with abstract Hamiltonian families. A QRAO Hamiltonian instead results as the image of a classical objective function under a globally consistent packing. Coefficient signs, Pauli operator choices, and other properties of the compiler determine the Hamiltonian couplings. One must therefore characterize the reachable set of Hamiltonians, map known hard problem instances into this set while preserving their promise gaps, and show that a QRAO compiler actually produces the hard Hamiltonians when compressing. Merely recognizing QMA-complete interactions would classify the target Hamiltonian family, not the QRAO inputs that produce it. Proposition 2.1, Proposition 2.3, and Theorem 4.2 below supply these three missing steps.

The central compiler statement is the following. Its two hardness claims refer to one explicitly defined structural class, although different source subfamilies may also witness them.

Theorem 1.1 (Main result, informal). For d∈{2,3}d \in \{2,3\} and every fixed stable degree-ordered greedy compiler, there is a class of connected, regular, non-bipartite positive-weight MaxCut instances that is exactly dd-to-1 compressed by the compiler and has the following properties.

(i) The uncompressed classical MaxCut threshold decision problem is NP-complete.

(ii) The unrestricted QRAO energy promise problem with an inverse-polynomial gap is QMA-complete on the same input problem class.

The construction works for every fixed tie-breaking order and requires no ancilla qubits beyond the nn qubits of the compressed Hamiltonian.

Main results. Theorem 1.1 gives the compiler-level headline. More broadly, we classify QRAO along four dimensions, the first three of which any complexity analysis of an analogous compressed encoding must also specify. These are the set of reachable compressed Hamiltonians and their complexity, their realization through an explicit problem and compiler, the allowed compressed-state domain, and for QRAO the boundary between locally alignable and nonalignable mixed Pauli axis interactions.

The explicit compiler realization we identify is a key technical contribution, with our Hamiltonian image and complexity spectrum results providing the structural bridge needed to classify valid QRAO inputs rather than abstract spin Hamiltonians.

  1. Exact image and complexity spectrum.

For a fixed (prescribed) packing, MaxCut with positive real weights realizes exactly the cone of entrywise-nonnegative Pauli-coupling matrices

−d2∑u<v∑P,QJuvPQPuQv,JuvPQ≥0,(1)-\frac{d}{2}\sum_{u<v}\sum_{P,Q}J_{uv}^{PQ}P_{u}Q_{v},\qquad J_{uv}^{PQ}\geq0, \tag{1}

where P,Q∈{X,Y,Z}P,Q \in \{X,Y,Z\} are Pauli matrices. We call such a two-qubit interaction term aligned when P=QP = Q, and a Hamiltonian aligned when every two-qubit interaction term is aligned, although different terms may use different Pauli axes. We consider the QRAO energy promise problem defined below across the different cases. We show that for aligned single-axis compression the problem is NP-complete, a restricted two-to-one QRAO encoding with aligned interactions along one axis and local fields along a second is StoqMA-complete, and for every fixed positive aligned interaction with two or three Pauli axes the problem on unrestricted interaction graphs is QMA-complete. The last family lies in StoqMA when its interaction graph is bipartite. The encoding therefore exposes NP, StoqMA, and QMA regimes without requiring an effective Hamiltonian approximation or gadgets.

  1. Compiler-level realization. For any fixed stable degree-ordered greedy compiler and fixed tie-breaking order, we construct connected, regular, non-bipartite MaxCut instances with positive weights whose compiled packing is exactly full (i.e., every qubit has dd variables mapped to it). For our hardness reductions we add small weight edges to the classical support graph to force the compiler to produce the required grouping of classical variables into qubits and their required assignments to Pauli operators, while ensuring that the added interactions are sufficiently small to preserve the original promise gap. Thus QMA-hardness survives the compiler stage rather than relying on a favorable packing chosen outside of it. Moreover, this compiler class is practically relevant and includes the QRAO encoder implemented in Qiskit Optimization 0.7.0 under the NetworkX 3.6.1 package's default degree-ordered greedy coloring [31, 34].

  2. Quantum states, approximation, and compression factor. Within the same class of connected QRAO instances, we show that codeword, product-state, and separable optimization are all NP-complete, whereas unrestricted optimization is QMA-complete. Even for classically trivial matching instances, entangled states increase the optimal QRAO relaxation value over that of product states by exact factors 1, 3/2, and 2 for one-, two-, and three-axis encodings, respectively. Constant-factor approximation of the three-axis quantum relaxation remains NP-hard. Producing nn greedy color classes with dd variables each requires Ω(dn2)\Omega(dn^2) edges, and for fixed dd our construction uses within O(n)O(n) edges of the exact lower bound (Proposition 4.3).

  3. A cycle boundary beyond aligned interactions.

For isotropic mixed-axis interactions (equal coefficients on the XX, YY, and ZZ terms before local cyclic relabeling) related by cyclic Pauli permutations, we determine in linear time whether one can independently relabel the Pauli axes on each qubit so that every interaction becomes aligned. This is possible unless some graph cycle imposes contradictory axis labels on the same qubit, and in that case such a cycle provides an explicit certificate that simultaneous alignment is impossible. Proposition B.1 gives the formal criterion, its linear-time algorithm, and the proof that a violating cycle rules out alignment even by arbitrary local one-qubit unitaries.

Graph topology supplies another boundary. A Hamiltonian is curable if local single-qubit basis changes can make it stoquastic [22, 26]. On a bipartite interaction graph, a common local basis change makes the fixed aligned interaction stoquastic on every edge. The simplest genuinely compressed aligned encoding uses two noncommuting Pauli axes and already enters into the QMA-complete interaction regime. The StoqMA slice we identify shows that compression into noncommuting observables does not lead only to the two extremes; adding a sign-curable transverse field produces an intermediate quantum witness class.

Relation to prior work. QRAO is a qubit-efficient encoding and rounding framework for optimization introduced in Ref. [9]. Subsequent work has studied approximation guarantees, entanglement, noise, recursive methods, implementations, and hardware experiments [18, 23, 29, 38, 40, 42, 43]. Here we discuss the complexity of the Hamiltonian optimization problem created by compression, independently of the ansatz, training method, or decoder; we provide some discussion of broader algorithmic and resource aspects in Section 7. Our results leverage the fixed-interaction complexity classifications of Piddock and Montanaro [33] as our primary hardness source. The important new analysis, techniques, and results are the determination of the exact QRAO Hamiltonian image, the promise-preserving axis and transverse-field lifts, the order-robust compiler construction, the density and cycle boundaries, and then their combination into compression-induced NP, StoqMA, and QMA regimes. The complexity classification for optimization over product states follows from Ref. [19]. Our contribution is to realize this result within the same connected, compiler-produced class of QRAO instances used to classify optimization over QRAC codeword, separable, and unrestricted quantum states.

Closely related work considers Quantum MaxCut, the canonical QMA-complete quantum analogue of MaxCut [11, 33]. Equation (14) makes explicit that QRAO with isotropic three-axis compression can output instances of Quantum MaxCut. We do not claim this Hamiltonian identification alone as new. Known complexity results do not by themselves show which Quantum MaxCut or more general Hamiltonians are reachable from valid QRAO inputs and compiler outputs. Our new results are the complete positive coupling image for arbitrary fixed packings, the promise-preserving lifts, the compiler realization, and the resulting complexity and state-domain classifications. Finally, Marwaha and Sud recently sharpened the classification of 2-local positive-weight Hamiltonians by identifying further StoqMA-complete regions along with a new complexity phase boundary [27]. Their classification concerns abstract symmetric interactions, whereas our Hamiltonian image and compiler theorems instead identify the reachable cone of QRAO Hamiltonians and show that hard subfamilies survive the compiler stage.

The paper is organized as follows. Section 2 derives the compressed Hamiltonian image under QRAO. Section 3 proves the NP, StoqMA, and QMA classifications. Section 4 gives the explicit compiler construction and density bound. Section 5 classifies complexity over restricted state domains, and Section 6 shows that approximation hardness transfers through. We discuss the scope of our results in Section 7.

References (41)