CUDA-Q Adapter v0.1
|
MQSS stands for Munich Quantum Software Stack, which is a project of the Munich Quantum Valley (MQV) initiative and is jointly developed by the Leibniz Supercomputing Centre (LRZ) and the Chairs for Design Automation (CDA), and for Computer Architecture and Parallel Systems (CAPS) at TUM. It provides a comprehensive compilation and runtime infrastructure for on-premise and remote quantum devices, support for modern compilation and optimization techniques, and enables both current and future high-level abstractions for quantum programming. This stack is designed to be capable of deployment in a variety of scenarios via flexible configuration options, including stand-alone scenarios for individual systems, cloud access to a variety of devices as well as tight integration into HPC environments supporting quantum acceleration. Within the MQV, a concrete instance of the MQSS is deployed at the LRZ for the MQV, serving as a single access point to all of its quantum devices via multiple compatible access paths, including a web portal, command line access via web credentials as well as the option for hybrid access with tight integration with LRZ's HPC systems. It facilitates the connection between end-users and quantum computing platforms by its integration within HPC infrastructures, such as those found at the LRZ.
The MQSS CUDA-Q Adapter is a middleware module designed to bridge the CUDA-Q programming interface with the Munich Quantum Software Stack (MQSS). Its purpose is to enable users who develop quantum applications using the CUDA-Q API—whether in C++ or Python—to transparently execute their quantum kernels on MQSS-supported backends.
As shown in the diagram, the user's code interfaces with the CUDA-Q API, which manages either local simulation or remote execution. The MQSS CUDA-Q Adapter fits into this remote execution path through two main access points:
Together, these adapters abstract away the complexity of targeting specific hardware or services, allowing CUDA-Q users to compile, submit, and retrieve quantum results through the MQSS. The MQSS CUDA-Q Adapter ensures smooth interoperability and helps integrate CUDA-Q's compiler infrastructure with MQSS's distributed quantum computing ecosystem.
The code is publicly available and hosted on GitHub: https://github.com/Munich-Quantum-Software-Stack/MQSS-CUDAQ-Adapter
The MQSS CUDA-Q Adapter is released under the Apache License v2.0 with LLVM Exceptions. See LICENSE for more information. Any contribution to the project is assumed to be under the same license.