Abstract: Hard optimization problems are often approached by finding approximate solutions. Here, we highlight the concept of proportional sampling and discuss how it can be used to improve the performance of stochastic algorithms for optimization. We introduce an NP-Hard problem called Max-Haf and show that Gaussian boson sampling (GBS) can be used to enhance any stochastic algorithm for this problem. These results are applied by enhancing the random search, simulated annealing, and greedy algorithms. With numerical simulations, we confirm that all algorithms are improved when employing GBS, and that a GBS-enhanced random search performs the best despite being the one with the simplest underlying classical routine.
Introduction
Combinatorial optimization—the task of finding the optimal arrangement of items within a vast search space—is fundamental to fields ranging from logistics to finance. However, many of these problems are NP-Hard, meaning that finding an exact solution is computationally infeasible for large instances. Instead, researchers rely on stochastic algorithms like Simulated Annealing or Greedy Search to find "good enough" approximate solutions.
A significant bottleneck in these classical heuristics is their starting point. Most algorithms begin with a uniform random sample, which is just as likely to yield a poor solution as a mediocre one. This research explores whether near-term quantum devices, specifically Gaussian Boson Sampling (GBS) simulators, can provide a "smarter" initialization by biasing the search toward high-quality solutions from the outset.
The Max-Haf Problem and Proportional Sampling
To benchmark this approach, the authors introduce Max-Haf, an NP-Hard problem where the goal is to identify a submatrix of a larger matrix that maximizes the "Hafnian"—a mathematical function related to the permanent of a matrix.
The core innovation lies in Proportional Sampling. Unlike standard random searches where every solution has an equal probability ($1/N$) of being selected, proportional sampling assigns a probability to each solution based on its quality (the objective function value). GBS devices are naturally suited for this task because they output samples with a probability proportional to the Hafnian of a submatrix.
GBS-Enhanced Methodology
The researchers integrated GBS into three standard classical algorithms using two primary subroutines:
- GBS-Explore: Replaces uniform initialization with GBS samples to find high-value "seeds."
- GBS-Tweak: Uses GBS to intelligently select which elements of a solution to modify during local search phases.
These subroutines were tested on $30 \times 30$ complex-valued random matrices from the Circular Orthogonal Ensemble (COE), with the task of finding the $10 \times 10$ submatrix with the largest absolute Hafnian.
Key Results
Numerical simulations demonstrated that GBS-enhanced versions consistently outperformed their classical counterparts across all tested algorithms. Notably, the GBS-enhanced Random Search yielded the best results. This suggests that the quality of the initial samples provided by the quantum device is so high that the additional complexity of "hill-climbing" logic in algorithms like Simulated Annealing provides diminishing returns.
As shown in the performance plots, GBS-enhanced algorithms approached the global maximum (calculated via brute force as $7.17 \times 10^{-4}$) with far greater efficiency. The "intrinsic bias" of GBS, which naturally ignores low-value "noise" in the solution space, proves to be a powerful feature for optimization rather than a limitation.
Discussion and Future Work
While these results are promising, several challenges remain. The Hafnian itself is #P-Hard to compute, meaning that as problem sizes scale, classical verification of the quantum-found optimum will become impossible. Furthermore, real-world Noisy Intermediate-Scale Quantum (NISQ) hardware faces issues like photon loss, which may affect the proportionality of the sampling. Future research will focus on mapping real-world problems, such as the Traveling Salesperson Problem, onto the Max-Haf structure to determine the practical utility of GBS in industrial optimization.
Summary updated