CUAOA: A Novel CUDA-Accelerated Simulation Framework for the QAOA
<|reference_start|>CUAOA: A Novel CUDA-Accelerated Simulation Framework for the QAOA: The Quantum Approximate Optimization Algorithm (QAOA) is a prominent quantum algorithm designed to find approximate solutions to combinatorial optimization problems, which are challenging for classical computers. In the current era, where quantum hardware is constrained by noise and limited qubit availability, simulating the QAOA remains essential for research. However, existing state-of-the-art simulation frameworks suffer from long execution times or lack comprehensive functionality, usability, and versatility, often requiring users to implement essential features themselves. Additionally, these frameworks are primarily restricted to Python, limiting their use in safer and faster languages like Rust, which offer, e.g., advanced parallelization capabilities. In this paper, we develop a GPU accelerated QAOA simulation framework utilizing the NVIDIA CUDA toolkit. This framework offers a complete interface for QAOA simulations, enabling the calculation of (exact) expectation values, direct access to the statevector, fast sampling, and high-performance optimization methods using an advanced state-of-the-art gradient calculation technique. The framework is designed for use in Python and Rust, providing flexibility for integration into a wide range of applications, including those requiring fast algorithm implementations leveraging QAOA at its core. The new framework's performance is rigorously benchmarked on the MaxCut problem and compared against the current state-of-the-art general-purpose quantum circuit simulation frameworks Qiskit and Pennylane as well as the specialized QAOA simulation tool QOKit. Our evaluation shows that our approach outperforms the existing state-of-the-art solutions in terms of runtime up to multiple orders of magnitude. Our implementation is publicly available at https://github.com/JFLXB/cuaoa and Zenodo.<|reference_end|>
@article{stein2024cuaoa:,
    title={CUAOA: A Novel CUDA-Accelerated Simulation Framework for the QAOA},
    author={Jonas Stein, Jonas Blenninger, David Bucher, Josef Peter Eder, Elif
  c{C}etiner, Maximilian Zorn, Claudia Linnhoff-Popien},
    journal={arXiv preprint arXiv:2407.13012},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.13012},
    primaryClass={quant-ph cs.ET}
}