Research
Hardware-Aware QUBO Reformulation of Constrained Binary Optimization via the Walsh-Fourier Transform
Overview Research area: Quantum computing for optimization — specifically, reformulating constrained binary optimization problems into Quadratic Unconstrained Binary Optimization (QUBO) form suitable

- arXiv
- 2607.26349
- Published
- 2026-07-28
- Authors
- Loong Kuan Lee, Harsha Nagarajan, Thore Gerlach, Sascha Mücke, Ragavi Krishnamoorthy, Nico Piatkowski
AI summary
Overview
Research area: Quantum computing for optimization — specifically, reformulating constrained binary optimization problems into Quadratic Unconstrained Binary Optimization (QUBO) form suitable for near-term quantum annealing hardware.
Technical level: Advanced. The paper builds on Walsh–Fourier analysis of pseudo-Boolean functions, weighted Hilbert-space projection, and importance sampling; the prose is readable but the mathematics is dense.
Scope (one sentence): The paper introduces Topology-Aware Walsh–Fourier Penalization (TAWP), a slack-free, single-shot method that constructs hardware-admissible quadratic penalty surrogates by projecting a user-chosen constraint penalty onto only those couplings that exist natively on a target quantum annealing device.
What This Paper Is About
Hard inequality constraints are easy to state but hard to encode in the two-body Hamiltonians that quantum annealers accept. The standard slack-variable approach adds auxiliary qubits, creates dense coupling blocks that require long ferromagnetic chains after minor embedding, and enlarges the search space. The authors ask a precise question: for a given constraint penalty (which may be non-quadratic, such as a Heaviside function), how can one build the best possible quadratic surrogate that uses only the couplings the target hardware actually provides? Their answer removes both per-constraint penalty tuning and dense all-pairs couplings by construction.
Key Contributions
-
A projection-based reformulation framework (TAWP). Given an origin penalty ψ and a target probability measure μ over the Boolean hypercube, the method returns the weighted least-squares projection of ψ onto the subspace ℒ_ℰ spanned by the constant, all linear Walsh characters, and only those quadratic Walsh characters whose pairs lie in an admissible coupling set ℰ.
-
Uniqueness and optimality guarantees. Because the Gram matrix G of the Walsh characters is positive definite under a full-support measure, the normal equations Gθ̂ = c have a unique solution that is the global minimizer of the squared error (Equation 12). No per-constraint penalty coefficients need tuning.
-
Topology fit as well as penalty fit. Restricting ℰ to the couplers induced by a native placement π on the hardware graph yields a QUBO that is chain-free by construction, avoiding minor-embedding qubit overhead and chain-break postprocessing.
-
A practical sampling-based implementation. The Gram matrix and right-hand side are estimated by self-normalized importance sampling (SNIS) from N = min(2^{n−1}, 2^{15}) proposal samples, with a ridge parameter ε = 10^{−8}; the target slack-density is converted to a spin-domain measure using the Lugannani–Rice saddlepoint formula. Worst-case complexity is 𝒪(N|Φ|² + |Φ|³), and |Φ| grows only linearly in the number of variables for constant-degree D-Wave topologies.
Main Findings
-
Hardware-native surrogates can beat denser ones. The authors report empirically that the topology-aware surrogate can outperform denser full-pairwise projections, despite being drawn from a strictly smaller approximation space.
-
Advantage widens on real hardware. Once the QUBO is embedded and sampled on quantum annealers, the projected penalty yields samples with the lowest worst-case and mean objective gaps compared with unbalanced penalization and a hardware-blind projection onto all quadratic terms.
-
Feasible-sample and best-gap behaviour. For most benchmark instances the fully quadratic approximation produces the largest number of feasible samples from the QPU and yields the solution with the smallest objective gap.
-
Slack-histogram problem with the uniform measure. Under the uniform measure, error weighting is fixed by the instance's slack histogram, which varies widely between constraints (illustrated for two constraints of the SAC-94 pet3 MDKP instance). A boundary-centered Gaussian misshapes the feasible landscape and rewards increasing slack; the mid-feasible Gaussian in Equation 21 instead gives a penalty that is approximately flat over the feasible range and grows on violations.
-
Lossless when representable. If the origin penalty already lies in ℒ_ℰ, the projection returns ψ exactly.
-
Qualitative positioning versus alternatives (Table I). Slack variables: high qubit overhead, guaranteed feasibility, moderate cost, low scalability. Penalty methods: no qubit overhead, no feasibility guarantee, low single-shot cost, moderate scalability. Lagrangian relaxation: no qubit overhead, strong iterative feasibility, high cost across multiple runs, high scalability. Proposed method: no qubit overhead, no feasibility guarantee, low single-shot cost, high scalability.
-
Not reported in the provided content. The specific objective-gap values, feasible-sample counts, and hardware run statistics from Section V-C are cut off in the supplied text portion, so no numerical performance figures are available here.
Methodology in Plain English
-
Fix what to penalize. The user supplies a penalty function that naturally expresses the constraint. In all experiments this is the Heaviside function, which simply charges a fixed amount for any violation.
-
Fix where to concentrate accuracy. Instead of weighting all binary strings equally, the authors define a target distribution over the constraint's slack (the amount by which the constraint is satisfied or violated). They use a Gaussian-like density centred at half the maximum feasible slack, with bandwidth chosen so at least 95% of the mass falls on the feasible range. This makes the approximation accurate in the region that matters and lets it grow freely on the infeasible side.
-
Solve one small least-squares problem. Represent the penalty in the Walsh basis, then solve the normal equations for the coefficients on the constant, linear, and admissible quadratic terms. The admissible quadratic terms are read off the hardware graph under a simple greedy logical-to-physical placement.
-
Estimate the expectations by sampling. The exact expectations are intractable for large n, so they draw samples from a product-Bernoulli proposal with p_i = 0.5, reweight them by the ratio of target to proposal mass (using a Lugannani–Rice approximation for the proposal bin masses), and solve the regularized system (Ĝ + εI)θ̂ = ĉ.
-
Assemble and test. Each constraint penalty matrix is normalized by its standard deviation under the uniform distribution over {0,1}^n, then rescaled by the standard deviation of the objective, and summed with a single global multiplier λ. Experiments use Maximum Independent Set and Multidimensional Knapsack instances — 20 per family and size — compared against unbalanced penalization (tuned by Nelder–Mead) and IBM CPLEX v22.1.2 as a classical reference. Tuned multipliers are reported in Table II: for MDKP, TAWP full 0.1306, Chimera 0.0621, Pegasus 0.0632, Zephyr 0.0660, unbalanced penalization λ = 0.0998 with λ̂₁ = 0.9997 and λ̂₂ = 0.0003; for MIS, 0.2167, 0.2163, 0.2167, 0.2165, 0.1920, 0.6250, and 0.3750 respectively. Multipliers were tuned at MDKP n = 15 and MIS n = 16.
Why This Matters
Impact on research. The paper reframes constraint encoding as an approximation problem in a Hilbert space rather than a parameter-tuning problem. It decouples the modelling choice (what to penalize) from the hardware constraint (which couplings exist), and it challenges the intuition that a larger approximation space must yield better sampled solutions. It also gives a principled alternative to heuristic Nelder–Mead tuning of unbalanced-penalization coefficients.
Real-world applications cited or implied by the paper:
- Unit commitment in power systems, where hard generation and transmission constraints must not be violated.
- Portfolio construction under budget and cardinality constraints.
- Vehicle routing, traffic flow, and multi-agent pathfinding.
- Multidimensional knapsack-style resource allocation, calibrated to the SAC-94 industrial benchmark suite, and Maximum Independent Set instances derived from error-correcting-code datasets.
Industry relevance. Because the method removes auxiliary slack qubits and avoids dense coupling blocks, it reduces physical-qubit consumption and chain-break risk on commercial annealers — the D-Wave 2000Q (Chimera), Advantage (Pegasus), and Advantage2 (Zephyr) topologies are named explicitly. Fewer tunable coefficients and a single-shot solve also mean a simpler deployment path for practitioners who do not want to hand-tune penalties per constraint.
Future Directions
- Equality constraints and higher-order objectives. Remark 1 states that the projection applies to any pseudo-Boolean function; equality constraints could use a two-sided penalty with a target measure concentrated near zero slack.
- Better logical-to-physical mappings. The topology-aware results in this paper use a simple greedy placement with, in the authors' words, minimal effort devoted to the mapping. Smarter placement could expand the admissible coupling set ℰ and improve the surrogate.
- Principled choice of target measure. The authors explicitly note that the mid-feasible Gaussian in Equation 21 is "one simple choice rather than a uniquely principled one," leaving open how to select or optimize μ.
- Closing the feasibility gap. Like all penalty methods in Table I, TAWP does not guarantee feasibility; combining it with iterative or Lagrangian correction schemes is a natural, untested direction.
Target Audience
Researchers and practitioners working on quantum annealing, QUBO/Ising formulation, and hybrid quantum-classical optimization, particularly those who formulate constrained industrial problems (scheduling, logistics, finance, power systems) for near-term devices. It is also relevant to readers interested in Boolean function analysis and orthogonal projection methods, and to quantum software engineers who need encodings that respect device connectivity without hand-tuning penalty weights.
Authors’ abstract
We present a novel slack-free, penalty-based framework for reformulating constrained binary optimization as Quadratic Unconstrained Binary Optimization (QUBO) on near-term quantum annealing hardware. Given a user-chosen penalty function that most naturally captures a constraint---typically non-quadratic, such as a Heaviside-function surrogate---and a target probability measure over the Boolean hypercube, our method returns the weighted least-squares projection of the chosen penalty function onto the subspace spanned by linear and quadratic Walsh--Fourier characters that correspond to physically realizable couplings on the target hardware graph. Within this restricted family, the resulting quadratic surrogate is uniquely and optimally determined by the normal equations: unlike state-of-the-art approaches, it introduces no per-constraint penalty coefficients to tune and avoids dense all-pairs couplings by construction. Two practical consequences follow. First, the projected penalty respects device connectivity, reducing chain lengths and physical-qubit overhead after minor embedding. Second, we show empirically that this hardware-native surrogate can outperform denser full-pairwise projections, despite being drawn from a strictly smaller approximation space. This advantage widens once the QUBO is embedded and sampled on quantum annealers, yielding samples with the lowest worst-case and mean objective gaps compared to unbalanced penalization and a hardware-blind projection onto all quadratic terms.