-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Source: GraphPartitioning
Target: QUBO
Motivation: Enables solving graph bisection on quantum annealers (D-Wave); natural quadratic formulation with balance penalty.
Reference: Lucas, 2014, Ising formulations of many NP problems, Section 5.2
Reduction Algorithm
Notation:
- Source: undirected graph
$G = (V, E)$ ,$n = |V|$ (even),$m = |E|$ - Target: QUBO with
$n$ binary variables
Variable mapping:
QUBO objective:
The first term counts cut edges:
The second term is the balance penalty: zero iff exactly
Solution extraction:
Size Overhead
| Target metric (code name) | Polynomial (using symbols above) |
|---|---|
num_vars |
Validation Method
Closed-loop testing: solve GraphPartitioning by brute-force, solve the reduced QUBO, and verify both give the same optimal cut. Verify penalty
Example
Source: 6 vertices, 9 edges:
QUBO: 6 variables, penalty
Optimal:
Infeasible example: