-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Source: MaxCut
Target: QUBO
Motivation: Direct MaxCut-to-QUBO reduction is essential for quantum annealing pipelines; currently only indirect paths exist via SpinGlass.
Reference: Glover et al., "A Tutorial on Formulating and Using QUBO Models" (2019), arXiv:1811.11538
Reduction Algorithm
Notation:
- Source: graph
$G = (V, E)$ with$n = |V|$ vertices,$m = |E|$ edges, and edge weights$w_{ij}$ for$(i,j) \in E$ - Target: QUBO matrix
$Q$ of size$n \times n$
Variable mapping:
- One binary variable
$x_i$ per vertex$i \in V$ ($1$ = in cut set$S$ ,$0$ = not in$S$ ) - Identity mapping: QUBO variable
$i$ corresponds to vertex$i$
Constraint/objective transformation:
MaxCut maximizes:
Since
The QUBO minimum equals the negated maximum cut value.
Solution extraction: The binary vector
Size Overhead
| Target metric (code name) | Polynomial (using symbols above) |
|---|---|
num_vars |
Validation Method
Closed-loop test: construct a small weighted graph (e.g., 4-vertex cycle with unit weights), reduce to QUBO, solve both with BruteForce, verify the QUBO optimum maps back to a valid maximum cut with the same weight.
Cross-check: compare with the existing SpinGlass→MaxCut and SpinGlass→QUBO chain — reducing MaxCut directly should yield an equivalent (or smaller) QUBO.
Example
Source: MaxCut on triangle graph with 3 vertices and edges
Reduction:
-
$n = 3$ , diagonal: each vertex has degree 2, so$Q_{ii} = -2$ - Off-diagonal:
$Q_{01} = Q_{02} = Q_{12} = 2$
Target: QUBO with the above matrix.
Solution: QUBO optimum at