A Sub-Problem Quantum Alternating Operator Ansatz for Correlation Clustering

Lucas Fabian Naumann, Jannik Irmai, Bjoern AndresICML 2025

Overview

Researchers have introduced the Sub-Problem Quantum Alternating Operator Ansatz (SQAOA), a novel hybrid quantum-classical algorithm designed to tackle correlation clustering. By combining "nucleus sampling"—a technique borrowed from natural language processing—with a divide-and-conquer approach that breaks the problem into smaller sub-tasks, SQAOA achieves higher accuracy and faster runtimes than standard quantum methods while using significantly fewer qubits.

The Challenge of Correlation Clustering

Correlation clustering is a unique type of unsupervised learning. Unlike K-means, where the algorithm is told how many groups to form, correlation clustering evaluates pairwise "similarities" and "dissimilarities" between items to autonomously determine the optimal number of clusters. It is widely used in applications ranging from image segmentation to computational biology.

While classical computers struggle with large-scale versions of this NP-hard problem, the Quantum Alternating Operator Ansatz (QAOA) has been proposed as a potential quantum solution for the current NISQ (Noisy Intermediate-Scale Quantum) era. However, standard QAOA suffers from a "mapping problem": it is difficult to represent the complex constraints of clustering (such as ensuring every node belongs to exactly one group) without relying on an impractical number of qubits or overly complex hardware setups.

The SQAOA Approach

The authors propose SQAOA, which modifies the standard QAOA framework in two clever ways to overcome these limitations:

1. Nucleus Sampling (Top-p Sampling)

In variational quantum algorithms, a classical optimizer tries to minimize the "expected cost" of the quantum state. Usually, this includes a "tail" of many low-probability, high-cost solutions that add noise to the optimization. SQAOA adopts "nucleus sampling" from NLP: it ignores the noisy tail and calculates the cost based only on the most probable states (the "nucleus").

Probability distribution of states

As illustrated above, high-cost, low-probability states (the "tail") can skew the expected cost. By cutting them out via nucleus sampling, the classical optimizer finds better parameters much faster.

2. Sub-Problem Splitting

Instead of trying to cluster all $n$ nodes at once, SQAOA treats clustering as an iterative series of "Max-Cut" problems. In each step, it identifies one cluster, removes those nodes, and moves on to the next. Because qubits are measured and then reused for the next sub-problem, the algorithm only needs one qubit per node ($n$ qubits total). In contrast, previous state-of-the-art quantum approaches often required more complex "qudits" or $O(n^2)$ qubits.

Experimental Setup and Key Results

The algorithm was evaluated using simulations on synthetic graphs (Complete and Erdős-Rényi graphs) with up to 10 nodes. While this scale sounds small, simulating quantum systems on classical hardware is computationally expensive, making 10 nodes a standard benchmark for this stage of research.

  • Theoretical Optimality: The authors proved that SQAOA is "universally" capable. If the circuit is made deep enough (increasing $p \to \infty$), the algorithm is guaranteed to find the globally optimal clustering solution.
  • Higher Accuracy: SQAOA with a nucleus sampling threshold of $t=0.1$ achieved near-perfect approximation ratios ($\approx 1.0$), significantly outperforming the standard "multi-level" QAOA approach.
  • Faster Runtimes: Breaking the problem into sub-problems doesn't just save qubits; it makes the individual quantum circuits shallower and easier for the optimizer to handle.
Runtime comparison between QAOA and SQAOA

As shown in the runtime results above, SQAOA is significantly faster. In simulations for 5-node graphs, SQAOA ($t=0.1$) was roughly 30x faster than the previous state-of-the-art multi-level QAOA (10 seconds vs. 316 seconds). While runtimes still grow exponentially—as expected for NP-hard problems on simulators—SQAOA’s scaling curve is much shallower than the competition, suggesting it can handle larger instances before hitting a computational wall.

Limitations and Future Work

Despite its advantages, SQAOA has a few limitations that pave the way for future research:

  • Parameter Reusability: One specific parameter in the new phase-separation operator ($\gamma_2$) depends on the specific ordering of nodes. This means it might need to be "relearned" for every new problem instance, unlike other QAOA parameters which can often be transferred between similar problems.
  • Hardware Noise: These results are based on ideal simulations. The next critical step is testing SQAOA on actual noisy quantum hardware to verify if the "nucleus" remains stable under real-world decoherence.
  • Generalization: The authors suggest this "sub-problem" approach could be applied to other labeling problems, such as the Maximum k-Colorable Subgraph Problem, potentially opening a new front for quantum optimization.

Summary updated

BibTeX
@inproceedings{naumann2025sub,
  author = {Lucas Fabian Naumann and Jannik Irmai and Bjoern Andres},
  title = {{A Sub-Problem Quantum Alternating Operator Ansatz for Correlation Clustering}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=UcnL2Xd3Qm},
}
Figure