Resource-efficient formulations of the Knapsack problem for quantum computing
Pim van den Heuvel, Vrinda Mehta, Dennis Willsch, J. A. Montanez-Barrera, Kristel Michielsen
Key points
From the paper's conclusion- Here, we investigate three more resource-efficient approaches for formulating the Knapsack as a QUBO.
Abstract
Quantum computing has emerged as a new tool for solving combinatorial optimization problems. Quantum optimization approaches usually operate on the subclass of Quadratic Unconstrained Binary Optimization (QUBO) problems. Many optimization problems can be reformulated in this form, though there are often multiple ways to do so. The choice of formulation can considerably affect the performance of QUBO solvers in practice. In this work, we study QUBO formulations of the Knapsack problem, a canonical example of a problem with inequality constraints. In the standard formulation these constraints are converted into penalty terms, which requires additional slack variables. Here, we investigate three more resource-efficient approaches for formulating the Knapsack as a QUBO. The first two modify the standard formulation, either by deriving a smaller penalty constant or by reducing the number of slack variables. The third approach is a wholly different method, which avoids the use of slack variables entirely. All three approaches increase the probability of finding the optimal solution, both in simulations of the linear ramp Quantum Approximate Optimization Algorithm (LR-QAOA) and on a D-Wave quantum annealer. The slackless method performs best, increasing success probabilities by several orders of magnitude even for relatively small problem sizes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Optimized QUBO formulation methods for quantum computingQuantum Science and Technology · 2026
- Linear and Quadratic Penalties for Cardinality Constraints in Unconstrained Binary OptimizationarXiv · 2026
- Recursive Quantum Alternating Operator AnsatzarXiv · 2026
- The Quantum Optimization Benchmarking LibraryNature Computational Science · 2026
- Quadratic unconstrained binary optimization benchmark problems from mixed Hamming packingsarXiv · 2026
- Reducing QUBO Complexity in Drone Delivery Through Classical Feasibility PreprocessingarXiv · 2026