Abstract
Gaussian Boson Sampling (GBS) is a promising candidate for demonstrating quantum computational advantage and can be applied to solving graph-related problems. In this work, we propose Markov chain Monte Carlo-based algorithms to sample from GBS distributions on undirected, unweighted graphs. Our main contribution is a double-loop variant of Glauber dynamics, whose stationary distribution matches the GBS distribution. We further prove that it mixes in polynomial time for dense graphs using a refined canonical path argument. Numerically, we conduct experiments on unweighted graphs with 256 vertices, larger than the scales in former GBS experiments as well as classical simulations. In particular, we show that both the single-loop and double-loop Glauber dynamics improve the performance of original random search and simulated annealing algorithms for the max-Hafnian and densest $k$-subgraph problems up to 10$\times$. Overall, our approach offers both theoretical guarantees and practical advantages for efficient classical sampling from GBS distributions on unweighted graphs.
1. Introduction
Gaussian Boson Sampling (GBS) is a leading candidate for demonstrating "quantum computational advantage." In GBS, a quantum device generates samples where the probability of a specific outcome is proportional to the Hafnian (or squared Hafnian) of a graph's adjacency matrix. Since calculating the Hafnian is a #P-hard problem, it was widely believed that classical computers could not efficiently replicate these distributions. GBS has practical applications in finding dense subgraphs and solving "max-Hafnian" problems. This paper addresses a critical gap: Can a classical algorithm achieve comparable performance to a GBS sampler for these graph-theoretical tasks? The authors tackle this by developing a Markov Chain Monte Carlo (MCMC) framework with provable performance guarantees.
2. Methodology: Double-Loop Glauber Dynamics
The authors build upon Glauber dynamics, a standard MCMC method for sampling matchings in a graph. While standard Glauber dynamics typically generates a stationary distribution proportional to the Hafnian, the GBS distribution is proportional to the squared Hafnian. To bridge this gap, the authors propose a Double-Loop Glauber Dynamics algorithm.
2.1 Algorithmic Design
The "aha" moment of this approach is the realization that a nested MCMC can transform a linear Hafnian weight into a quadratic one. When the algorithm considers removing an edge from the current set, it triggers an "inner" MCMC loop to uniformly sample a perfect matching from the current subgraph. The decision to remove the edge is then biased based on this inner sample. The flowchart for this process is illustrated below:
The formal steps of the double-loop algorithm are detailed in Algorithm 2:
2.2 Theoretical Guarantees
To prove the algorithm is efficient, the authors use a Refined Canonical Path Argument to show the Markov chain "mixes" (reaches its target distribution) in polynomial time. They introduce an enhanced framework that leverages graph symmetries to bound "congestion" in the state space, specifically for dense graphs. This provides the first rigorous proof that such classical sampling is possible in polynomial time for the dense regime.
3. Experimental Evaluation
The researchers evaluated their algorithms on several types of unweighted graphs with $n = 256$ vertices, a scale larger than current quantum GBS hardware (like the 144-mode Jiuzhang device). The datasets included Planted Clique Graphs, Predictable Density Graphs, Erdős-Rényi Random Graphs, and Random Bipartite Graphs.
3.1 Key Results
- Performance Boost: Integrating Glauber dynamics into classical search algorithms (Random Search and Simulated Annealing) improved their performance on the max-Hafnian and densest $k$-subgraph problems by up to 10×.
- Scalability: The algorithm successfully handled 256-vertex graphs, outperforming previous classical simulation scales and current quantum hardware experiments.
- Provable Efficiency: The paper provides the first theoretical guarantee that classical GBS simulation on dense graphs is computationally feasible in polynomial time.
4. Discussion and Limitations
While the results demonstrate that classical MCMC methods are surprisingly robust, several challenges remain. The current theoretical proof only applies to dense graphs; in sparse graphs, the ratio between sub-Hafnians can become exponentially large, potentially leading to exponential mixing times. Furthermore, while the authors provide a framework for weighted graphs, a rigorous proof of polynomial mixing for the weighted case remains an open challenge.
Ultimately, these findings suggest that for unweighted graphs, the "quantum advantage" window for GBS is narrower than previously thought. Future work is needed to identify if complex-valued or highly structured weights provide a more secure regime for quantum advantage.
Summary updated