[Paper Review] Mapping NP-hard and NP-complete optimisation problems to Quadratic Unconstrained Binary Optimisation problems
This paper corrects erroneous QUBO formulations of NP-hard and NP-complete problems—particularly the clique problem and others—originally proposed by Lucas (2014), identifying flaws in variable indexing and constraint design. It provides corrected QUBO formulations with proper parameter constraints and extends the framework with new QUBO mappings for number partitioning, graph partitioning, subset sum, and numerical 3D matching, ensuring exact correspondence between original and QUBO solutions.
We discuss several mappings from well-known NP-hard problems to Quadratic Unconstrained Binary Optimisation problems which are treated incorrectly by Lucas. We provide counterexamples and correct the mappings. We also extend the body of QUBO formulations of NP-complete and NP-hard optimisation problems by discussing additional problems.
Motivation & Objective
- To identify and correct incorrect QUBO mappings for NP-hard and NP-complete problems previously published by Lucas (2014), particularly in the clique problem formulation.
- To ensure that QUBO formulations accurately reflect the original optimisation problems by fixing errors in variable indexing and constraint design.
- To extend the body of known QUBO formulations by deriving correct mappings for additional problems, including number partitioning, graph partitioning, subset sum, and numerical 3D matching.
- To provide rigorous parameter constraints that guarantee the QUBO solution corresponds exactly to the optimal solution of the original problem.
- To support the practical application of adiabatic quantum optimisation by enabling correct and embeddable QUBO formulations on quantum annealing hardware.
Proposed method
- Reformulates the clique problem QUBO by correcting the range of the $y_i$ variables from $i=2$ to $Δ$ to $i=2$ to $Δ+1$, ensuring the maximum possible clique size is correctly represented.
- Revises the Hamiltonian components $H_A$, $H_B$, and $H_C$ to enforce correct clique size encoding and edge connectivity, using penalty terms for constraint violations.
- Introduces a new QUBO formulation for the number partitioning problem using binary variables $x_{i,j}$ to assign integers to subsets, with penalty terms for unequal subset sums and overlapping assignments.
- Applies a similar penalty-based approach to graph partitioning into $m$ subsets, using $x_{v,j}$ to assign vertices to subsets, with $H_A$ penalising multiple assignments, $H_B$ enforcing equal subset sizes, and $H_C$ minimising inter-subset edges.
- Proposes a direct QUBO mapping for the subset sum problem via $H = \left(\sum s_i x_i - t\right)^2$, where the optimal solution occurs when the sum equals the target $t$.
- Develops a QUBO formulation for numerical 3D matching using variables $x_{i,j}, y_{i,j}, z_{i,j}$ to assign elements to triples, with $H_A$ enforcing exact coverage and $H_B$ ensuring each triple sums to $b$.
Experimental results
Research questions
- RQ1What are the specific flaws in Lucas’s QUBO formulation of the clique problem, and how do they affect solution correctness?
- RQ2How can the QUBO formulation for the clique problem be corrected to ensure the largest clique is uniquely and correctly encoded?
- RQ3Can the penalty-based QUBO framework be consistently extended to other NP-complete and NP-hard problems such as number partitioning and graph partitioning?
- RQ4What parameter constraints are necessary to guarantee that the optimal QUBO solution corresponds exactly to the optimal solution of the original problem?
- RQ5How can QUBO formulations be constructed for problems like the subset sum and numerical 3D matching to ensure exact solution mapping?
Key findings
- The original QUBO formulation for the clique problem in Lucas (2014) is incorrect due to an off-by-one error in the $y_i$ variable range, which fails to account for cliques of size up to $\Delta+1$.
- Correcting the $y_i$ range from $i=2$ to $\Delta$ to $i=2$ to $\Delta+1$ ensures that the largest possible clique is correctly encoded and the size constraint is enforced.
- The corrected QUBO for the clique problem satisfies $A > \Delta B$, $C < A - \Delta B$, and $A,B,C > 0$, ensuring the penalty structure correctly enforces clique maximality.
- The paper successfully derives a correct QUBO formulation for the number partitioning problem using binary variables and penalty terms for subset sum equality and disjoint assignment.
- For graph partitioning into $m$ subsets, the QUBO formulation with $H_A$, $H_B$, and $H_C$ components ensures disjoint assignment, equal subset size, and minimal inter-subset edges under the parameter constraint $A > B > C \cdot \min(m\Delta, N)/(m(m+2))$.
- The subset sum problem is correctly mapped via $H = \left(\sum s_i x_i - t\right)^2$, which yields zero if and only if a subset summing to $t$ exists, ensuring exact correspondence.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.