Extending the OmpSs-2 Programming Model for Hybrid Quantum-Classical Programming
Philip D\"obler, David \'Alvarez, Lucas J. Menger, Thomas Lippert,, Vicen\c{c} Beltran, Manpreet Singh Jattana

TL;DR
This paper extends the OmpSs-2 programming model to support hybrid quantum-classical computing by modifying the compiler and runtime, and demonstrates its effectiveness through detailed examples including quantum algorithms and neural networks.
Contribution
It introduces modifications to OmpSs-2 for quantum offloading, including compiler and runtime changes, and provides a simulator and practical examples of hybrid quantum-classical programming.
Findings
Successfully integrated quantum offloading into OmpSs-2
Demonstrated hybrid quantum-classical applications with detailed examples
Provided a quantum computer simulator for offloaded tasks
Abstract
The OmpSs-2 programming model is used in HPC programs to parallelize code and offload code to accelerators. In this work, we extend the offloading capability to quantum computers. We explain the necessary changes to the Clang compiler and the Nanos6 runtime, which are both part of OmpSs-2. In addition, we develop a simulator that simulates a quantum computer in the network and receives the jobs offloaded by the runtime. Four detailed examples show how our programming model can be used to write hybrid quantum-classical software. The examples are random number generation, a parameter scan using the mean-field ansatz, a variational algorithm using this ansatz, and handwritten digit recognition using a hybrid convolutional neural network.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
