Benchmarking 50-Photon Gaussian Boson Sampling on the Sunway TaihuLight

Yuxuan Li, Lin Gan, Mingcheng Chen, Yaojian Chen, Haitian Lu, Chao-Yang Lu, Jian-Wei Pan, Haohuan Fu, Guangwen YangIEEE TPDS 2020

Abstract

Boson sampling is expected to be one of an important milestones that will demonstrate quantum supremacy. The present work establishes the benchmarking of Gaussian boson sampling (GBS) with threshold detection based on the Sunway TaihuLight supercomputer. To achieve the best performance and provide a competitive scenario for future quantum computing studies, the selected simulation algorithm is fully optimized based on a set of innovative approaches, including a parallel scheme and instruction-level optimizing method. Furthermore, data precision and instruction scheduling are handled in a sophisticated manner by an adaptive precision optimization scheme and a DAG-based heuristic search algorithm, respectively. Based on these methods, a highly efficient and parallel quantum sampling algorithm is designed. The largest run enables us to obtain one Torontonian function of a 100 x 100 submatrix from 50-photon GBS within 20 hours in 128-bit precision and 2 days in 256-bit precision.

Introduction: The Challenge of Gaussian Boson Sampling

To demonstrate "quantum supremacy," a quantum computer must perform a task that is practically impossible for even the world’s most powerful classical supercomputers. A leading candidate for this is Gaussian Boson Sampling (GBS). Unlike standard boson sampling, which uses single-photon sources, GBS utilizes non-classical light (squeezed states) and threshold detectors to generate complex interference patterns.

Comparison of standard Boson Sampling (a) and Gaussian Boson Sampling (b).

The computational difficulty of GBS lies in calculating the Torontonian, a mathematical function required to predict the probability of specific photon detection patterns. The complexity of this calculation grows exponentially ($O(2^N)$) with the number of photons ($N$). While previous classical benchmarks struggled to scale beyond 22 photons, this work establishes a high-performance baseline for 50-photon GBS, effectively "moving the goalposts" for quantum researchers by showing exactly what modern classical hardware can achieve when pushed to its limits.

Methodology and Hardware Optimization

The researchers utilized the Sunway TaihuLight, which features a unique architecture of many-core SW26010 processors. Each processor contains Management Processing Elements (MPE) and Computing Processing Elements (CPE) organized into Core Groups (CG).

The many-core architecture of the Sunway TaihuLight, showing the MPE and the 8x8 CPE mesh.

To simulate 50-photon GBS, the team evaluated the algorithm using randomly generated $2N \times 2N$ Hermitian positive-definite matrices representing quantum state covariances. Key innovations included:

  • Custom Multiple-Precision Arithmetic: Standard 64-bit floats are insufficient for the tiny probabilities involved in GBS (often $\sim10^{-25}$). The authors implemented custom 128-bit and 256-bit fixed-point arithmetic using Sunway’s integer instruction set, which is significantly faster than software-based libraries.
  • Adaptive Precision Strategy: A framework estimates calculation bounds to automatically select the minimum required bit-length (128 vs. 256 bits), balancing speed and accuracy.
  • Parallel Partitioning & Load Balancing: The $2^N$ terms of the Torontonian were divided across 131,072 processes. By grouping workloads based on matrix size, the team achieved nearly perfect load balancing.
  • Instruction-Level Optimization: Given the limited 64KB local memory (LDM) per core, the authors used a DAG-based heuristic search to find the optimal instruction schedule, minimizing data hazards and maximizing pipeline efficiency.
  • Register Communication: Direct register-to-register communication between cores was used during Gaussian elimination to overcome memory bottlenecks.

Key Results and Performance

The optimized algorithm achieved a sustained performance of 2.78 PFLOPS in 128-bit mode and demonstrated near-linear strong scalability across the entire supercomputer.

The system successfully calculated one Torontonian for a $100 \times 100$ submatrix in:

  • 20 hours at 128-bit precision.
  • 2 days at 256-bit precision.

This performance represents a significant leap over previous state-of-the-art GBS benchmarks, which were limited to approximately 22 photons.

Conclusion

By leveraging custom high-precision arithmetic and hardware-specific optimizations on the Sunway TaihuLight, this research provides a formidable classical benchmark for quantum devices. Future work includes improving the operators for a cross-platform multiple-precision library and exploring even higher photon counts as quantum hardware continues to evolve.

Summary updated

BibTeX
@article{li2020benchmarking,
  author = {Yuxuan Li and Lin Gan and Mingcheng Chen and Yaojian Chen and Haitian Lu and Chao-Yang Lu and Jian-Wei Pan and Haohuan Fu and Guangwen Yang},
  title = {{Benchmarking 50-Photon Gaussian Boson Sampling on the Sunway TaihuLight}},
  journal = {IEEE Trans. Parallel Distributed Syst.},
  year = {2020},
  url = {https://openreview.net/forum?id=3sR6jrVONan},
}
Figure