Manuscript Offprint
arXiv:2609.07090Complexity Amplification from Compression in Quantum Random Access Optimization
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 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 -to-1 QRAO encodings, 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 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 qubits, given thresholds separated by at least an inverse polynomial in , the task is to distinguish whether the maximum eigenvalue from the case 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 and every fixed stable degree-ordered greedy compiler, there is a class of connected, regular, non-bipartite positive-weight MaxCut instances that is exactly -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 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.
- 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
where are Pauli matrices. We call such a two-qubit interaction term aligned when , 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.
-
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 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].
-
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 greedy color classes with variables each requires edges, and for fixed our construction uses within edges of the exact lower bound (Proposition 4.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.
2.1 Positive MaxCut and QRAC codewords
Consider the MaxCut problem. Let be a positive-weight graph. Using signs (bits) , we write its objective as
The associated MaxCut threshold decision problem takes as input and a rational threshold and asks whether .
For fixed , a standard -to-1 quantum random access code assigns each sign to a Pauli observable . For each bit string the corresponding QRAC codeword is the single-qubit quantum state whose Bloch-vector components encode the assigned signs,
which satisfies
One qubit can encode at most three signs with recovery probability greater than one half [2, 17]. If the endpoints of a classical edge occupy different physical qubits, the QRAO edge term is [9]
On a product of QRAC codewords this gives [9, 42]
Summing over edges and comparing with Eq. (2) shows that QRAO codewords embed classical assignments while preserving their objective values exactly.
We write , , and for the active Pauli axes of the standard packings. A fixed packing is valid when no classical edge has both endpoints inside one packed block.
Proposition 2.1 (Positive-coupling Hamiltonian image cone). Fix a full -to-1 packing, where block consists of the classical variables assigned to physical qubit , with one variable in each Pauli slot . For , let be the total weight of classical edges joining to . Then the compressed QRAO Hamiltonian is
Conversely, every polynomially specified collection is realized exactly by a positive-weight MaxCut instance with the same packing.
Proof. Summing Eq. (4) over the classical edges gives Eq. (6). Conversely, for every nonzero entry , add the classical edge with that weight. Every such edge joins different blocks, so the fixed packing is valid.
The proposition identifies the complete positive pairwise (2-local) image of QRAO Hamiltonians. In particular, QRAO does not produce only aligned interactions . A fixed packing realizes every nonnegative matrix of Pauli pairings on each physical edge.
2.2 Aligned Pauli axis lifts
The basic computational complexity amplification mechanism already appears in a simple aligned slice of this Hamiltonian cone.
Definition 2.2 (Aligned Pauli axis lift). Fix , a nonempty set with , and positive rational constants for . For every vertex of , make one classical variable for each . For every edge and , add the edge with weight . Group the variables on physical qubit and assign to Pauli observable .
The classical graph is a disjoint union of weighted copies of G. The copies become coupled only when corresponding variables are assigned to noncommuting observables of the same qubit.
Proposition 2.3 (Exact axis-lifting identity). Let and . The aligned lift satisfies
Maximizing is therefore exactly equivalent, under a known affine transformation, to minimizing
Proof. Apply Eq. (4) to every copied edge and sum over and .
No approximation occurs in Proposition 2.3. Any gadgets or interaction-strength range used by a source Local Hamiltonian reduction are inherited, but importantly the QRAO lift adds neither gadgets nor physical qubits. We use the aligned lift construction in the results below.
3 NP, StoqMA, and QMA regimes of QRAO
Here we use the standard Local Hamiltonian energy optimization promise (decision) problem [20, 21], considered here in its equivalent maximum energy form. The Hamiltonian interaction set and its coefficients are fixed constants. The input consists of a positive rationally weighted graph and rational thresholds separated by an inverse polynomial in the encoded input length. The task is to decide whether or , promised that one holds.
3.1 NP to QMA computational complexity transition
We now state our main theorem.
Theorem 3.1 (Pauli-axis classification). Let be the number of active axes in a fixed aligned lift with .
(i) If r = 1, the aligned QRAO energy promise problem is NP-complete.
(ii) If , the aligned QRAO energy promise problem is QMA-complete.
Proof. For , the active-axis set is , and Eq. (7) becomes
for a fixed . Choose a one-qubit unitary satisfying and apply the same basis change to every qubit. The conjugated Hamiltonian is diagonal
Since , this is equivalent, up to a known additive shift and positive rescaling, to the Hamiltonian for MaxCut [12], i.e. it satisfies for every computational basis state , . A maximizing state of can be chosen as a tensor product of single-qubit eigenstates. Measuring any maximizing state in this product basis yields a classical MaxCut witness for any aligned single axis , and as discussed weighted MaxCut is NP-complete [10].
For , absorb the common positive factor in Eq. (7) into the edge weights and set on active axes and otherwise. The resulting fixed Hamiltonian interaction is
where and at least two coefficients are positive. Piddock and Montanaro prove that the positive weight Local Hamiltonian problem for this interaction, with no one-local terms, is QMA-complete precisely throughout this parameter region [33, Theorem 2(i)]. The exact affine identity in Proposition 2.3 transfers the required promise gap. The source reductions use polynomially bounded weights and thresholds representable with polynomially many bits, and the lifted QRAO instance preserves these properties. Explicitly, if the source minimum-energy thresholds are and , the QRAO maximum-energy thresholds are and , separated by . Membership in QMA follows because is a polynomially specified two-local Hamiltonian.
The case occupies one slot per qubit and so does not compress. Activating a second Pauli axis both compresses two classical variables into one qubit and can lead to noncommuting terms in the compressed Hamiltonian. The resulting energy problem can then require a quantum instead of classical witness, giving the simplest explicit example of our complexity amplification principle in the paper. This is a worst-case classification of the optimal relaxation value, not a universal claim that every multi-axis (compressed) instance is hard.
3.2 Stoquastic boundaries
A Hamiltonian is stoquastic in a basis when all off-diagonal matrix elements in that basis are real and nonpositive. The corresponding stoquastic Local Hamiltonian promise problem is complete for StoqMA [6]. QRAO realizes this intermediate class in a natural field-augmented slice.
Theorem 3.2 (Transverse-field StoqMA completeness). Fix a two-to-one packing with signs labeled each assigned to on physical qubit u. For positive rational and , consider the objective function
At inverse-polynomial additive precision, the associated QRAO energy promise problem is StoqMA-complete. The classical threshold decision problem remains NP-complete.
Proof. The compressed QRAO Hamiltonian is
(11) where and . Maximizing Eq. (11) is equivalent up to a simple affine transformation to minimizing
Conjugating every qubit by reverses the sign of the terms and leaves the terms fixed, so the resulting Hamiltonian is stoquastic and the problem lies in StoqMA. Piddock and Montanaro show the positive-coefficient Hamiltonian problem is StoqMA-complete [33, Theorem 5]. They also observe that every transverse-field coefficient may be taken nonnegative because conjugating an individual qubit by flips its term without changing any term. Thus our coefficients and follow their convention. Given a source field and promise gap , choose positive rational with . The operator-norm error is at most , so the promise remains inverse polynomial. Additional promise gap bookkeeping details are given in Appendix A. Hence, Eq. (11) transfers the thresholds exactly up to this controlled approximation.
Classically, every optimizes independently to -1, while the remaining objective is weighted MaxCut. Hence the classical threshold problem is again NP-complete.
We emphasize that, unlike Theorem 3.1, the variable pairing and packing in Theorem 3.2 are fixed rather than arbitrary. The variables encoded in the transverse field have no quadratic edges, so a graph-coloring compiler need not place each beside its intended without additional control. This is why the compiler theorem, Theorem 4.2, is stated using a QMA-complete positive aligned 2-local family whose interactions all lie in the realizable cone of QRAO Hamiltonians, rather than an arbitrary QMA-complete Hamiltonian family.
Graph structure provides a second stoquastic complexity boundary within the same 2-local Hamiltonian family.
Proposition 3.3 (Bipartite aligned containment). Fix a positive aligned interaction with at least two active Pauli axes. If the QRAO Hamiltonian interaction graph is bipartite, then its aligned QRAO energy promise problem lies in StoqMA. Consequently, QMA-hardness of this restriction would imply StoqMA = QMA.
Proof. We use the bipartite basis change observed by Piddock and Montanaro in their lattice discussion [33, Sec. 1.1]. Conjugate every qubit on one side of the bipartition by the inactive Pauli in the two-axis case, or by any Pauli in the three-axis case. The conjugation flips two coefficients on every edge. Write the conjugating axis as and the other two axes as . Up to a permutation of coordinates, the coefficient triple becomes . In the two-axis case is inactive and . In the three-axis case may be any active axis. In both cases the sum of the two flipped coefficients is . For an interaction , Piddock and Montanaro's QMA parameter region requires all three pairwise sums , , and to be positive [33, Theorem 2].
Ref. [33] therefore places the transformed interaction in StoqMA, giving containment in this complementary region but not completeness. (This is of course consistent with the standard inclusions NP MA StoqMA [6].) Local basis changes preserve the spectrum, and Proposition 2.3 transfers the promise as required.
Thus, for the QRAO Hamiltonian interaction graph an odd cycle is necessary for QMA-hardness within the positive aligned sector, unless StoqMA = QMA. This does not weaken Theorem 3.1, whose unrestricted QMA-hardness is witnessed by non-bipartite source families.
Remark 3.4. One-local terms are unnecessary if we extend the input problem class to QUBO problems, which includes arbitrary signs of edge terms, and so contains the positive weight MaxCut class used elsewhere in the paper as a proper subset. Under a fixed full three-to-one packing, assign coefficients to the copies of each positive edge, with fixed rational . Equation (6) gives the QRAO image for , up to an irrelevant identity shift. Maximizing the QRAO image is therefore equivalent to minimizing , whose ground-state energy problem is StoqMA-complete. Indeed, the “Furthermore” clause of Piddock and Montanaro’s Theorem 2 states StoqMA-completeness when , , and ; taking , , and gives exactly [33, Theorem 2].
Theorems 3.1 and 3.2, together with Proposition 3.3, expose NP, StoqMA, and QMA regimes within QRAO, while identifying which conclusions depend on fields, signs, or graph topology.
3.3 Canonical examples with equal axis coefficients
Here the coefficient is the same on every active Pauli axis, while the edge weights may vary. We give two such QRAO Hamiltonian families.
First, for consider the aligned Hamiltonian
A common single-qubit basis change applied across all qubits maps it to or from the antiferromagnetic XY model, up to the identity shift and the sign arising from our maximum-energy convention. Consequently, the positive two-axis QRAO energy promise problem with equal axis coefficients is QMA-complete [33], confirming a special case of Theorem 3.1 above.
Second, for consider the Quantum MaxCut Hamiltonian [11]
Its maximum energy promise problem is QMA-complete by the positive-weight antiferromagnetic Heisenberg model result of Piddock and Montanaro [33, Theorem 2]. Note that some Quantum MaxCut conventions place 1/4 rather than 1/2 in front of each edge term. Our normalization matches the MaxCut and QRAO codeword conventions above, and differs only by a possible overall factor of two. For QRAO we have the exact identity
where denotes the fixed three-axis lift of the classical input graph , and so the QRAO optimization problem is once again seen to be QMA-complete. In contrast, as explained above, restricting the same Hamiltonian to QRAC codewords recovers classical MaxCut. As consists of three disjoint copies of , its optimal codeword value is .
Hence QRAO contains familiar QMA-complete spin models as exact compressed images, not merely as low-energy effective theories, and so cannot avoid their computational complexity in the general worst-case. We leverage the Hamiltonians above in some of the results below.
4 Compiler-layer hardness and existing software realization
The aligned Pauli axis lift fixes which variables share a physical qubit. An arbitrary QRAO implementation instead may derive the packing from the classical support graph. We reserve Hamiltonian interaction graph for the graph on physical qubits joined by nonzero two-qubit couplings. We now show that a natural class of greedy QRAO compilers can be forced to output computationally hard compressed Hamiltonians.
has variables , packed onto qubit u, and replaces each edge by , , and of the same weight. Thus is the classical support graph, whereas the compressed Hamiltonian interaction graph is G.
Definition 4.1 (Stable degree-ordered greedy compiler). Fix a total order on the variables and . We call a compiler stable degree-ordered greedy if it performs the following steps.
(G1) Greedily color the vertices in nonincreasing degree order, preserving inside each degree tie, and assign each vertex the smallest available nonnegative color.
(G2) List every color class using the same order .
(G3) Partition each list into consecutive blocks of at most variables and assign the positions in a block to fixed distinct Pauli axes.
The definition separates the compiler into coloring, grouping, and Pauli slot assignment. Theorem 4.2 below applies to any fixed implementation of these three steps, with any fixed tie-breaking order. Concretely, we report that the QuantumRandomAccessEncoding function in the publicly available Qiskit Optimization 0.7.0 software package works by constructing this graph (called the quadratic interaction graph in the implementation), invoking NetworkX 3.6.1's default largest_first greedy coloring, listing each color class in increasing variable index order, and then packing consecutive blocks into fixed Pauli slots [31, 34]. With increasing variable index as the total order , this procedure is an exact instantiation of Definition 4.1. The correspondence follows at the source code level because Qiskit inserts all variable nodes in increasing index order and sorts each color class before packing, while NetworkX's stable degree sort preserves node-insertion order for degree ties. These statements apply to the software versions given above. We make no claims that other releases, preprocessing pipelines, or compiler heuristics will follow the same rules or have the same consequences. The anonymous supplementary archive accompanying this submission includes a version-checking regression script. It constructs the classical support graph used in the proof of Theorem 4.2 and verifies that the compiler produces the predicted full packing for using these exact releases.
4.1 Connected compiler realization with local-axis control
For , denotes the two-element permutation group acting on the active Pauli axes. For , Theorem 4.2 below allows an independent cyclic relabeling of the , and slots at each qubit. Such relabelings are implemented by sign-free single qubit Clifford unitaries, so they do not reverse the sign of any interaction coefficient, and positive QUBO weights remain positive under them. General Pauli-axis permutations are excluded because an odd permutation necessarily introduces a sign flip on at least one active axis. The allowed cyclic Pauli permutations are the identity and the two nontrivial common shifts of that give the cyclic group of order three , and are implemented by powers of a sign-free single qubit Clifford (i.e., one that permutes the Pauli axes without introducing minus signs). The relative cyclic offset between the Pauli labels at the endpoints of an oriented edge is called its twist. For completeness, the sign-free Clifford implements . Writing for the local frame at qubit gives on an oriented edge. Hence a twist assignment comes from consistent local frames exactly when its oriented sum vanishes modulo three around every cycle. A spanning-tree traversal either recovers the frames or returns a violating cycle in time.
For each and fixed stable degree-ordered greedy compiler, let denote the structural class of positive-weight MaxCut instances, together with their compiled (compressed) Hamiltonians obtained by the support-and-packing construction below, without restricting the source problem thresholds.
Theorem 4.2 (Compiler realization theorem). Fix and a stable degree-ordered greedy compiler. Let be any positive aligned -axis QRAO Hamiltonian on qubits, with an inverse-polynomial promise gap . For every fixed variable order and every choice of permutation for or cyclic permutation for , one can construct in polynomial time a positive-weight MaxCut instance whose compiled Hamiltonian is
(15) with the spectral norm. Here is the tensor product of local single-qubit unitaries implementing the permutations , is a known constant, and is a nonidentity perturbation contributed by filler edges. The constructed classical support graph is connected, -regular, and non-bipartite with
edges. Every greedy color class contains exactly d variables, so the compiler uses exactly n physical qubits for dn classical variables.
Proof. Write the fixed order as . For each axis label , define
and write . Make every a clique. For each pair a < b, add the shifted perfect matching
Each vertex has neighbors in its clique and one neighbor in every other part. The support is therefore -regular and has the edge count in Eq. (16). The shifted matchings connect the parts, and every part contains a triangle because .
Let denote row . Clique edges remain inside one part, while every cross-part edge changes the row index by one modulo . Hence each is independent; the assumption ensures that even the wraparound edges between rows 0 and never stay within a row. Equal degree makes (G1) process vertices in the fixed order. We claim that greedy coloring assigns color to every . Inductively, the earlier vertices in the clique already carry colors , so all smaller colors are forbidden. Every cross-part neighbor has row index or modulo , never . For , the neighbor wraps to row and is still unprocessed. For , the neighbor wraps to row 0 and already has color 0. In every other case, an already processed cross-part neighbor has its different row color by induction. If not, it cannot affect the current choice. Thus color is available and is the greedy choice. Color class is consequently the ordered row . It is independent, fills one block, and assigns part to Pauli position .
Now identify row with source qubit . For each source edge and each axis part , put its positive source weight on the same-part edge . These edges realize . Give every remaining edge a sufficiently small common positive weight. As detailed in Appendix A.2, its total contribution has the form , with , while all weights retain polynomial bit complexity. This completes the proof.
The construction of the theorem is adapted to the fixed order of the compiler. It does not rely on finding a favorable relabeling of a given instance. It is also robust to small independent changes of positive edge weights. Indeed, each edge contributes to the QRAO Hamiltonian, and so changing its weight by contributes to . Since has eigenvalues , we have , and the triangle inequality then gives
Reserving an additional of slack at each output threshold leaves a promise gap of at least and preserves the answer whenever , provided all edge weights remain positive. Hence every constructed promise Hamiltonian instance has an inverse-polynomial neighborhood in distance with the same answer and packing.
We now show that the edge density of the classical support graph is unavoidable under the exact color-class requirement.
Proposition 4.3 (Density under exact color class sizes). Suppose (G1) is applied to dn variables and every resulting color class has size exactly d. Then the classical support graph has
For , the ratio between the edge count in Theorem 4.2 and this lower bound is , which tends to 1 as grows with fixed .
Proof. Orient each edge from its earlier to its later endpoint in the greedy order. A vertex assigned color has earlier neighbors of every color , and so has in-degree at least . Since there are vertices in each color class and the greedy coloring uses consecutive colors , counting every edge once gives
The bound is attained by disjoint copies of , ordered in rows with one vertex from each copy in each row.
Corollary 4.4 (Compiler-level complexity amplification). For every and every fixed stable degree-ordered greedy compiler, the classical positive-weight MaxCut threshold decision problem is NP-complete on the input instances in , while the unrestricted compiled QRAO energy promise problem is QMA-complete on with an inverse-polynomial gap.
Proof. Membership in NP for the classical problem and QMA for the quantum problem is immediate. For classical hardness, start from unweighted MaxCut and place identical copies of every source edge on the clique parts. Choose the total filler weight below one quarter of the unit classical promise gap. The heavy-edge optimum is , and the filler cannot close the gap. Theorem 4.2 supplies the required classical support graph and packing. For quantum hardness, start from either two-axis or three-axis instances with equal axis coefficients in the QMA-complete region of Theorem 3.1. Equation (15) preserves the inverse-polynomial promise gap. The two reductions use the same class though not necessarily the same individual instances.
5 Relaxation optima and complexity across state domains
QRAO optimization can also be applied and studied over restricted classes of quantum states rather than the full compressed Hilbert space. Here we consider the nested state domains
Separable states are convex mixtures of product states. For a nonempty compact family S of density operators, write
QRAC codewords reproduce the original MaxCut objective by Eq. (5). In the isotropic three-axis case, Eqs. (5) and (14) together give
Consequently,
This ratio is the QRAO relaxation gap for the given instance. It plays the role of an integrality gap, with QRAC codewords representing the discrete feasible solutions and all quantum states forming the relaxed domain. Equation (23) shows that it is equal to the Quantum MaxCut to Classical MaxCut relaxation gap.
We now show this gap can be strict even when is a simple matching (for which every classical edge can be cut).
Proposition 5.1 (Exact matching gap). Let be a matching of total edge weight , and use the full -axis lift with equal axis coefficients for . Then
Thus unrestricted states improve on the optimal value by factors 1, 3/2, and 2 for one, two, and three axes, respectively.
Proof. Every matching edge in every classical copy can be cut, so codewords attain . For a product state, let and be the endpoint Bloch vectors projected onto the active axes. Their norms are at most one, so , with equality for antipodal unit vectors supported on those axes. Product states therefore attain no more than , and convex mixtures cannot improve this value. For unrestricted states, distinct matching edges act on disjoint qubit pairs. A Bell state on each pair has eigenvalue for every active same-axis Pauli product, giving per edge.
The matching result separates relaxation strength from source hardness. It does not imply a better decoded cut. Indeed, every matching edge was already cut by a codeword.
For a pure product state, let be the unit Bloch vector of qubit (i.e., the vector of its Pauli expectation values for , and ). On the isotropic three-axis slice, the Hamiltonian defined in Eq. (8) has expectation
Kallaugher et al. prove that the corresponding product-state Quantum MaxCut problem is NP-complete even for positive unit-weight graphs [19, Corollary 6]. A polynomial-precision list of Bloch vectors is an NP witness. Choosing the coordinate tolerance below a fixed fraction of the promise gap divided by the coefficient norm controls the energy error. A linear objective has the same maximum over convex mixtures of product states as over pure product states, so and the separable problem is also NP-complete.
5.1 Stability and restricted state space complexity
The following stability bound shows how to control small perturbations, such as those used to enforce connected compiler output instances in Section 4.
Lemma 5.2 (Stability under perturbations). For every nonempty compact family S of density operators, and Hermitian operators H and V,
Proof. For every (normalized) we have , which for implies . Maximizing over then gives
Applying the same argument to gives the reverse inequality.
We apply the lemma to show QRAO optimization remains hard on restricted state spaces.
Theorem 5.3 (State domain complexity classification). On the class of connected, regular, non-bipartite, exactly three-to-one compressed positive-weight MaxCut instances, the promise problems for optimization over QRAC codewords, pure product states, and separable states are NP-complete with inverse-polynomial gap, becoming QMA-complete over the full Hilbert space.
The theorem does not say that restricting the quantum ansatz makes optimization easy. Rather, it shows that admitting unrestricted states can change the relevant completeness classification from NP to QMA. The NP-complete results are derived by considering different Hamiltonian subfamilies inside for each restricted state domain.
Proof overview. For QRAC codewords, the claim follows from Eq. (5) and the classical part of Corollary 4.4. For product states, combine the known three-axis NP-hard family with Theorem 4.2 and Lemma 5.2; linearity gives the same optimum over separable states. The unrestricted claim is the case of Corollary 4.4. Full details are given in Appendix C.1.
6 Hardness of Approximation
The exact scaling in Eq. (14) also transfers multiplicative value hardness. Piddock proves that there is a constant for which an -multiplicative approximation to Quantum MaxCut is NP-hard even on unweighted graphs of constant bounded degree [32, Theorem 1]. The result guarantees a constant , independent of the instance size, but does not provide an explicit approximation ratio suitable for quantitative comparison.
Theorem 6.1 (Constant-factor approximation hardness). There exists a constant for which approximating the isotropic three-axis QRAO optimal energy within factor is NP-hard on the union of three identical, disjoint, unweighted bounded-degree MaxCut graphs. Every stable degree-ordered greedy compiler realizes the required packing under the vertex-major order. There is also a constant giving NP-hardness on the connected, regular, positive-weight, fully compressed class .
Proof overview. Equation (14) preserves the source multiplicative ratio on the three-copy lift. Applying Theorem 4.2 with filler contribution sufficiently small relative to the positive source threshold gives a fixed ratio on . Full details are given in Appendix C.2.
The connected family is weighted and dense, whereas the first family is unweighted and bounded degree but disconnected before compression. The theorem concerns approximation of the best relaxation value, not the quality of a classical string produced by a particular decoder. The first family also relies on the vertex-major input order to produce its packing. In contrast, the connected family inherits the any-fixed-order robustness of Theorem 4.2, at the cost of weights and a dense classical support graph.
7 Discussion
This paper classifies hardness transitions of QRAO optimization problems, showing that NP-hard classical problems can be mapped to StoqMA- or QMA-hard optimization problems under QRAO compression. We call this change in completeness classification complexity amplification from compression. QRAO, which is the weight-one special case of PCE at the encoding level, gives an exactly analyzable example of complexity amplification from quantum compression. QRAO compression can produce noncommuting Hamiltonian terms and hence can move the resulting global optimization between NP, StoqMA, and QMA complexity regimes. The exact Hamiltonian image classification identifies where these changes enter. Bipartite containment shows that graph topology can cure part of the positive interaction cone, and the order-robust compiler construction then proves that QMA-completeness survives exact compression on a connected regular classical support graph and is robust to arbitrary fixed tie breaking. The density, approximation, matching, and restricted state domain results expose complementary limits on the interplay of what compression and entanglement change. At the same time, our results are worst case and leave open the important question of when hardness arises in typical cases of QRAO, along with similar concerns for more general PCE compression and algorithms.
Our results confirm rigorously that compressed encodings must not be evaluated by their reduction in qubit count alone, but rather analyzed as computational maps within broader algorithmic frameworks.
Where hardness enters in practice. The computationally hard task is global optimization over the chosen state domain, not energy evaluation of a fixed candidate state or decoding. QMA- or NP-hardness is therefore a worst-case barrier to exact optimization of the compressed Hamiltonians, not general evidence for obstructed (or advantageous) quantum algorithms that use them. A useful algorithm may avoid hard exact global optimization through restricted or locally optimized ansatz classes, quantum or classical approximation algorithms, or decoders tailored to particular input problem classes, among other techniques.
Related algorithmic and resource perspectives. Recent work combines QRAO with the quantum alternating operator ansatz (QAOA) [8, 16], including non-variational ansatz constructions [18], co-design of the Hamiltonian and decoder [39], and finite-budget QRAO–QAOA ensemble analysis [37]. These studies address algorithm design and performance, whereas our classification concerns the Hamiltonian optimization problem produced by compression. Related complexity results show that exact or exponentially precise expectation-value evaluation for QAOA with two or more circuit layers is #P-hard [14]. Bittel and Kliesch show that classical parameter optimization can be NP-hard even for classically tractable underlying systems [5]. Those results concern fixed-circuit evaluation or optimization within a fixed ansatz, rather than optimization over specified state domains of a Hamiltonian generated by compression.
Complementary resource bounds show how compressed encodings can move cost into expectation-value geometry or readout overhead [13]. These information-theoretic tradeoffs are distinct from the complexity amplification classified here. Recent PCE work also identifies ansatz-observable pairings whose encoded correlations are efficiently classically computable [24]. Algorithmic work on the three-axis Quantum MaxCut problem studies partially entangled matchings and QAOA-inspired variational ansätze on random regular graphs [3, 28]. Those results concern achievable energies, whereas our matching and compiler results give exact state-domain separations and worst-case complexity. Together, these comparisons reinforce the need to distinguish the observable representation, admitted state family, compiler, and optimization problem when assessing a compressed quantum algorithm.
Implications for QRAO compilers. The hard instances we consider are dense and deliberately structured. The specified Qiskit version builds its coloring graph from every nonzero quadratic coefficient, and so retains all filler edges in our constructions. A compression pipeline that deletes, thresholds, or contracts small-weight edges before coloring or considers alternative approaches altogether may change the packing and so is outside the coverage of Theorem 4.2.
Compressed encodings and algorithms beyond QRAO. The recognition of QRAO as a PCE is an identification of the variable encoding, not necessarily of the full optimization problem and workflow [36]. General PCE schemes may use higher locality Pauli strings, nonlinear loss functions, distinct quantum state preparation, and sign-based or other decoding. The present completeness results do not automatically extend to those settings. Obtaining analogous complexity results for other compressed encodings with our approach would require an image of a hard problem family that preserves the promise gap when optimized over a suitable quantum state domain.
Acknowledgments
The author thanks Filip Maciejewski and Davide Venturelli for helpful discussions. This work was supported by the Air Force Research Laboratory under Contract No. FA8750-25-C-B0040.
Code and data availability
The code and data package accompanying this work is archived on Zenodo [15].
AI Disclosure
OpenAI ChatGPT (GPT-5.6 Sol) assisted with literature synthesis, correctness checking of all results, late-stage editing of the manuscript, and in particular explicit validation of all claims regarding Qiskit and NetworkX implementations along with generation of the accompanying code and data package. The author has verified correctness of all content, including the references, and assumes full responsibility for the manuscript.
References
[1] Amira Abbas et al. Challenges and Opportunities in Quantum Optimization. Nature Reviews Physics, 6:718–735, 2024. doi: 10.1038/s42254-024-00770-9.
[2] Andris Ambainis, Ashwin Nayak, Amnon Ta-Shma, and Umesh Vazirani. Dense Quantum Coding and Quantum Finite Automata. Journal of the ACM, 49(4):496–511, 2002. doi:10.1145/581771.581773.
[3] Anuj Apte, Eunou Lee, Kunal Marwaha, Ojas Parekh, and James Sud. Improved Algorithms for Quantum MaxCut via Partially Entangled Matchings. In 33rd Annual European Symposium on Algorithms (ESA 2025), volume 351 of Leibniz International Proceedings in Informatics (LIPIcs), pages 101:1–101:14, 2025. doi: 10.4230/LIPIcs.ESA.2025.101.
[4] Rajendra Bhatia. Matrix Analysis, volume 169 of Graduate Texts in Mathematics. Springer, New York, 1997. doi: 10.1007/978-1-4612-0653-8.
[5] Lennart Bittel and Martin Kliesch. Training variational quantum algorithms is NP-hard. Physical Review Letters, 127(12):120502, 2021. doi: 10.1103/PhysRevLett.127.120502.
[6] Sergey Bravyi, Arvid J. Bessen, and Barbara M. Terhal. Merlin-Arthur Games and Stoquastic Complexity. arXiv:quant-ph/0611021, 2006. URL https://arxiv.org/abs/quant-ph/0611021.
[7] Toby S. Cubitt and Ashley Montanaro. Complexity Classification of Local Hamiltonian Problems. SIAM Journal on Computing, 45:268–316, 2016. doi: 10.1137/140998287.
[8] Edward Farhi, Jeffrey Goldstone, and Sam Gutmann. A Quantum Approximate Optimization Algorithm. arXiv:1411.4028 [quant-ph], 2014. URL https://arxiv.org/abs/1411.4028.
[9] Bryce Fuller, Charles Hadfield, Jennifer R. Glick, Takashi Imamichi, Toshinari Itoko, Richard J. Thompson, Yang Jiao, Marna M. Kagele, Adriana W. Blom-Schieber, Rudy Raymond, and Antonio Mezzacapo. Approximate Solutions of Combinatorial Problems via Quantum Relaxations. IEEE Transactions on Quantum Engineering, 5:1–15, 2024. doi:10.1109/TQE.2024.3421294.
[10] Michael R. Garey, David S. Johnson, and Larry Stockmeyer. Some simplified NP-complete graph problems. Theoretical Computer Science, 1(3):237–267, 1976. doi: 10.1016/0304-3975(76)90059-1.
[11] Sevag Gharibian and Ojas Parekh. Almost Optimal Classical Approximation Algorithms for a Quantum Generalization of Max-Cut. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2019), volume 145 of Leibniz International Proceedings in Informatics (LIPIcs), pages 31:1–31:17, 2019. doi:10.4230/LIPIcs.APPROX-RANDOM.2019.31.
[12] Stuart Hadfield. On the Representation of Boolean and Real Functions as Hamiltonians for Quantum Computing. ACM Transactions on Quantum Computing, 2(4):18:1–18:21, 2021. doi: 10.1145/3478519.
[13] Stuart Hadfield. No Free Compression in Quantum Relaxations for Optimization. arXiv:2608.25151 [quant-ph], 2026. URL https://arxiv.org/abs/2608.25151.
[14] Stuart Hadfield. Evaluating QAOA Expectation Values Can Be as Hard as Counting Optimal Solutions. arXiv:2608.11385 [quant-ph], 2026. URL https://arxiv.org/abs/2608.11385.
[15] Stuart Hadfield. Complexity Amplification from Compression in Quantum Random Access Optimization: Code and Data. Zenodo, 2026. URL https://doi.org/10.5281/zenodo.22311302. Version 1.0.0.
[16] Stuart Hadfield, Zhihui Wang, Bryan O’Gorman, Eleanor G. Rieffel, Davide Venturelli, and Rupak Biswas. From the Quantum Approximate Optimization Algorithm to a Quantum Alternating Operator Ansatz. Algorithms, 12(2):34, 2019. doi: 10.3390/a12020034.
[17] Masahito Hayashi, Kazuo Iwama, Harumichi Nishimura, Rudy Raymond, and Shigeru Yamashita. (4,1)-Quantum Random Access Coding Does Not Exist: One Qubit Is Not Enough to Recover One of Four Bits. New Journal of Physics, 8:129, 2006. doi: 10.1088/1367-2630/8/8/129.
[18] Zichang He, Rudy Raymond, Ruslan Shaydulin, and Marco Pistoia. Non-Variational Quantum Random Access Optimization with Alternating Operator Ansatz. Scientific Reports, 15:29191, 2025. doi: 10.1038/s41598-025-13543-w.
[19] John Kallaugher, Ojas Parekh, Kevin Thompson, Yipu Wang, and Justin Yirka. Complexity Classification of Product State Problems for Local Hamiltonians. In 16th Innovations in Theoretical Computer Science Conference (ITCS 2025), volume 325 of Leibniz International Proceedings in Informatics (LIPIcs), pages 63:1–63:32, 2025. doi: 10.4230/LIPIcs.ITCS.2025.63.
[20] Julia Kempe, Alexei Kitaev, and Oded Regev. The Complexity of the Local Hamiltonian Problem. SIAM Journal on Computing, 35(5):1070–1097, 2006. doi: 10.1137/S0097539704445226.
[21] Alexei Yu. Kitaev, Alexander H. Shen, and Mikhail N. Vyalyi. Classical and Quantum Computation, volume 47 of Graduate Studies in Mathematics. American Mathematical Society, 2002. doi: 10.1090/gsm/047.
[22] Joel Klassen and Barbara M. Terhal. Two-Local Qubit Hamiltonians: When Are They Stoquastic? Quantum, 3:139, 2019. doi: 10.22331/q-2019-05-06-139.
[23] Ruho Kondo, Yuki Sato, Rudy Raymond, and Naoki Yamamoto. Recursive Quantum Relaxation for Combinatorial Optimization Problems. Quantum, 9:1594, 2025. doi: 10.22331/q-2025-01-15-1594.
[24] Daniele Lizzio Bosco, Gabriel Matos, Chen-Yu Liu, Frederic Rapp, Fabian Finger, Enrico Rinaldi, and Konstantinos Meichanetzidis. Efficiently Simulable Pauli Correlation Encoding. arXiv:2607.20409 [quant-ph], 2026. URL https://arxiv.org/abs/2607.20409.
[25] Andrew Lucas. Ising Formulations of Many NP Problems. Frontiers in Physics, 2:5, 2014. doi: 10.3389/fphy.2014.00005.
[26] Milad Marvian, Daniel A. Lidar, and Itay Hen. On the Computational Complexity of Curing the Sign Problem. Nature Communications, 10:1571, 2019. doi: 10.1038/s41467-019-09501-6.
[27] Kunal Marwaha and James Sud. A Complexity Phase Transition at the EPR Hamiltonian. arXiv:2604.13026 [quant-ph], 2026. URL https://arxiv.org/abs/2604.13026.
[28] Kunal Marwaha, Adrian She, and James Sud. Performance of Variational Algorithms for Local Hamiltonian Problems on Random Regular Graphs. arXiv:2412.15147 [quant-ph], 2024. URL https://arxiv.org/abs/2412.15147.
[29] Hiromichi Matsuyama, Wei-Hao Huang, Kohji Nishimura, and Yu Yamashiro. Efficient Internal Strategies in Quantum Relaxation Based Branch-and-Bound. In 2024 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 470–480, 2024. doi: 10.1109/QCE60285.2024.00062.
[30] Jarrod R. McClean, Jonathan Romero, Ryan Babbush, and Alán Aspuru-Guzik. The Theory of Variational Hybrid Quantum-Classical Algorithms. New Journal of Physics, 18 (2):023023, 2016. doi: 10.1088/1367-2630/18/2/023023.
[31] NetworkX Developers. greedy_color and strategy_largest_first, NetworkX 3.6.1 Documentation. https://networkx.org/documentation/stable/_modules/networkx/algorithms/coloring/greedy_coloring.html, 2025. Accessed 2 September 2026.
[32] Stephen Piddock. Quantum Max-Cut Is NP Hard to Approximate. arXiv:2510.07995 [quant-ph], 2025. URL https://arxiv.org/abs/2510.07995.
[33] Stephen Piddock and Ashley Montanaro. The Complexity of Antiferromagnetic Interactions and 2D Lattices. Quantum Information and Computation, 17:636–672, 2017. doi: 10.26421/QIC17.7-8-6.
[34] Qiskit Optimization Development Team. QuantumRandomAccessEncoding Source, Qiskit Optimization 0.7.0. https://qiskit-community.github.io/qiskit-optimization/_modules/qiskit_optimization/algorithms/qrao/quantum_random_access_encoding.html, 2025. Accessed 2 September 2026.
[35] Nicolas P. D. Sawaya, Albert T. Schmitz, and Stuart Hadfield. Encoding Trade-Offs and Design Toolkits in Quantum Algorithms for Discrete Optimization: Coloring, Routing, Scheduling, and Other Problems. Quantum, 7:1111, 2023. doi: 10.22331/q-2023-09-14-1111.
[36] Marco Sciorilli, Lucas Borges, Taylor L. Patti, Diego García-Martín, Giancarlo Camilo, Anima Anandkumar, and Leandro Aolita. Towards Large-Scale Quantum Optimization Solvers with Few Qubits. Nature Communications, 16:476, 2025. doi: 10.1038/s41467-024-55346-z.
[37] Emilio Semre and Steven Frankel. Rand-SEMI-QAOA: Finite-Budget Depth-One MaxCut Ensembles on Compressed Quantum Registers. arXiv:2608.15655 [quant-ph], 2026. URL https://arxiv.org/abs/2608.15655.
[38] Monit Sharma and Hoong Chuin Lau. From Circuits to Hardware: Benchmarking Standard and Qubit-Efficient Quantum Optimization on Real Hardware. Quantum Science and Technology, 2026. doi: 10.1088/2058-9565/ae94a4.
[39] Takayuki Suzuki. Decoder-Consistent Hamiltonians for POVM-Based Quantum Relaxations. arXiv:2606.05604 [quant-ph], 2026. URL https://arxiv.org/abs/2606.05604.
[40] Kentaro Tamura, Yohichi Suzuki, Rudy Raymond, C. Hiroshi Watanabe, Yuki Sato, Ruho Kondo, Michihiko Sugawara, and Naoki Yamamoto. Noise Robustness of Quantum Relaxation for Combinatorial Optimization. IEEE Transactions on Quantum Engineering, 5:3103009, 2024. doi: 10.1109/TQE.2024.3439135.
[41] Benjamin Tan, Marc-Antoine Lemonde, Supanut Thanasilp, Jirawat Tangpanitanon, and Dimitris G. Angelakis. Qubit-Efficient Encoding Schemes for Binary Optimisation Problems. Quantum, 5:454, 2021. doi: 10.22331/q-2021-05-04-454.
[42] Kosei Teramoto, Rudy Raymond, and Hiroshi Imai. The Role of Entanglement in Quantum-Relaxation Based Optimization Algorithms. In 2023 IEEE International Conference on
Quantum Computing and Engineering (QCE), pages 543–553, 2023. doi: 10.1109/QCE57702.2023.00068.
[43] Kosei Teramoto, Rudy Raymond, Eyuri Wakakuwa, and Hiroshi Imai. Quantum-Relaxation Based Optimization Algorithms: Theoretical Extensions. arXiv:2302.09481 [quant-ph], 2023. URL https://arxiv.org/abs/2302.09481.
[44] Thomas Zaslavsky. Biased Graphs. I. Bias, Balance, and Gains. Journal of Combinatorial Theory, Series B, 47(1):32–52, 1989. doi: 10.1016/0095-8956(89)90063-4.
A Promise-gap and compiler details
A.1 Promise-gap transformations
Recall the setting of Theorem 3.2. The reductions use two elementary forms of gap preservation. First, suppose the source (input) minimum energy problem for has thresholds and gap . If , , then the corresponding maximum energy thresholds are and , with gap . This covers the axis lifts and the identity shifts arising from the MaxCut convention. Second, if an implemented Hamiltonian is with , Weyl's inequality (cf. Sec. A.2) changes every extremal eigenvalue by at most . Shifting the thresholds by and reserving of slack therefore preserves a gap of at least . The transverse-field rationalization and connected positive completion choose . Finally, multiplicative approximation requires separate care because an identity shift does not preserve value ratios. Theorem 6.1 therefore bounds the norm of the complete filler contribution, including its identity part, relative to the positive source threshold. No such extra step is needed for the exact promise-problem classifications.
A.2 Completion details for Theorem 4.2
We complete the promise-gap and bit-complexity argument omitted from the main-text proof. Give every remaining clique or matching edge a common positive weight , and let be the number of these filler edges. Their Hamiltonian contribution is
Since every Pauli product has norm one, we have . Choosing then gives . The identity coefficient in gives the shift . Applying Weyl's inequality [4, Corollary III.2.6] bounds eigenvalue shifts by the spectral norm of a perturbation
After shifting the thresholds by , the YES and NO thresholds can each move toward one another by at most . The remaining promise gap is therefore at least . Because and is inverse polynomial, and all resulting edge weights have polynomial bit complexity. Altogether this proves the theorem.
B Cyclic-twist balance and local alignability
For the isotropic three-axis interaction, cyclic Pauli-frame choices admit an exact graph description. Let be the interaction graph on the compressed qubits, choose one orientation of each edge, and denote the oriented edge set by . Set , , and , with axis indices taken modulo three. The three cyclic permutations are . Assign each a twist
The twist is the relative cyclic offset between the Pauli labels at the two endpoints. Thus, pairs like axes, while and 2 give, respectively,
The collection is the twist field, with Hamiltonian
The convention makes independent of the chosen edge orientations.
Proposition B.1 (Cycle criterion for cyclic twists). The Hamiltonian is locally unitarily equivalent to the aligned interaction if and only if the oriented twist sum vanishes modulo three around every cycle. When this holds, the aligning unitaries can be chosen as powers of
In time, one can return either the aligning Clifford frames or a cycle with nonzero twist sum.
Proof. For , define the cyclic coupling matrix
Writing , the interaction on is , and .
A single-qubit unitary acts on the Pauli vector through a rotation . If arbitrary local unitaries align , coefficient matching on each edge gives
Multiplying these identities around a cycle cancels adjacent rotations and gives
Since has order three, the oriented twist sum must vanish modulo three. Thus, a cycle with nonzero twist sum rules out alignment by any local one-qubit unitaries.
Conversely, choose a root in each connected component and propagate labels along a spanning tree according to . Vanishing cycle sums make these labels path-independent and ensure the same relation on every non-tree edge. Because sends to , conjugating vertex by aligns every edge. A graph traversal constructs the labels in linear time. If a non-tree edge violates the relation, that edge and the corresponding tree paths produce a cycle with nonzero twist sum.
The vanishing-cycle-sum condition is the standard balance condition for a gain graph (a graph whose oriented edges carry labels) [44]. We call a twist field balanced when every cycle sum vanishes and frustrated otherwise.
C Proofs for state-domain and approximation results
C.1 Proof of Theorem 5.3
Proof. We consider the QRAO optimal value promise problems for compressed Hamiltonians over each of the four quantum state domains individually. For QRAC codewords, Eq. (5) equates the energy of each encoded assignment with its witnessed classical MaxCut value. The codeword problem is therefore NP-complete by the classical part of Corollary 4.4.
For pure product states, consider the unit weight three-axis family whose product-state energy problem is NP-complete [19, Corollary 6]. Applying Theorem 4.2 with outputs the compressed Hamiltonian , , where is the source problem promise gap. Local unitaries preserve the set of product states. Lemma 5.2 therefore shows that, after accounting for the known shift , each threshold changes by at most . The remaining gap is at least , proving NP-hardness on . Membership in NP follows because polynomial-precision single-qubit Bloch vectors provide a witness whose energy can be efficiently evaluated to the required accuracy.
Next, for any Hamiltonian, a linear objective such as the energy has the same maximum value over pure product states as over their convex hull, whose elements are precisely the separable states. Hence , and so the above arguments for product states also give NP-completeness over the separable domain.
Finally, for unrestricted states, the claim follows as the case of Corollary 4.4, which combines the QMA-complete three-axis family of Theorem 3.1 with the compiler realization of Theorem 4.2.
C.2 Proof of Theorem 6.1
Proof. For the first statement, Eq. (14) multiplies the Quantum MaxCut value by three and therefore preserves every multiplicative ratio. In the three disjoint copies, corresponding vertices have equal degree and identical colored neighbor histories. Under the vertex-major order, in which all three copies of each original vertex are listed consecutively, (G1) assigns corresponding vertices the same color, (G2) lists them consecutively, and (G3) packs them onto the three Pauli axes of one qubit. For the connected statement, apply Theorem 4.2 to the same hard family, choosing the total filler contribution to have norm at most . If source YES and NO values are separated by thresholds and , the completed YES value is at least , while the completed NO value is at most . Choose . Their ratio is then below
All filler weights remain positive and have polynomial bit complexity, so the resulting compressed Hamiltonian remains in as claimed.