Unbalanced penalization: A new approach to encode inequality constraints of combinatorial problems for quantum optimization algorithms
Alejandro Montanez-Barrera, Dennis Willsch, Alberto Maldonado-Romo, Kristel Michielsen
TL;DR
The paper addresses the challenge of encoding inequality constraints in QUBO for quantum optimization by introducing unbalanced penalization, a slack-variable–free approach that reduces qubit and circuit resources. The method replaces the traditional penalty with -λ1 h(x) + λ2 h(x)^2, complemented by tunable parameters tuned with Nelder–Mead and demonstrated on TSP, BPP, and KP. Empirical results from simulations and hardware (D-Wave Advantage and D-Wave Hybrid) show improved solution quality and quantity over slack-variable encodings, with QAOA1 landscapes favoring the unbalanced encoding. The work introduces CoP as a metric for quantum performance and shows the approach scales better in practice, enabling larger problem instances to be tackled on current quantum devices.
Abstract
Solving combinatorial optimization problems of the kind that can be codified by quadratic unconstrained binary optimization (QUBO) is a promising application of quantum computation. Some problems of this class suitable for practical applications such as the traveling salesman problem (TSP), the bin packing problem (BPP), or the knapsack problem (KP) have inequality constraints that require a particular cost function encoding. The common approach is the use of slack variables to represent the inequality constraints in the cost function. However, the use of slack variables considerably increases the number of qubits and operations required to solve these problems using quantum devices. In this work, we present an alternative method that does not require extra slack variables and consists of using an unbalanced penalization function to represent the inequality constraints in the QUBO. This function is characterized by larger penalization when the inequality constraint is not achieved than when it is. We evaluate our approach on the TSP, BPP, and KP, successfully encoding the optimal solution of the original optimization problem near the ground state cost Hamiltonian. Additionally, we employ D-Wave Advantage and D-Wave hybrid solvers to solve the BPP, surpassing the performance of the slack variables approach by achieving solutions for up to 29 items, whereas the slack variables approach only handles up to 11 items. This new approach can be used to solve combinatorial problems with inequality constraints with a reduced number of resources compared to the slack variables approach using quantum annealing or variational quantum algorithms.
