Most of the widely used quantum programming languages and libraries are not designed for the tightly coupled nature of hybrid quantum-classical algorithms, which run on quantum resources that are integrated on-premise with classical HPC infrastructure. We propose a programming model using the API provided by OpenMP to target quantum devices, which provides an easy-to-use and efficient interface for HPC applications to utilize quantum compute resources. We have implemented a variational quantum eigensolver using the programming model, which has been tested using a classical simulator. We are in the process of testing on the quantum resources hosted at the Leibniz Supercomputing Centre (LRZ).
翻译:当前主流量子编程语言和库大多不适用于紧密耦合的混合量子-经典算法——这类算法需在本地集成于经典高性能计算(HPC)基础设施的量子资源上运行。我们提出了一种利用OpenMP API针对量子设备进行编程的模型,为HPC应用调用量子计算资源提供了简易高效的接口。基于该编程模型,我们实现了一个变分量子本征求解器,并已完成经典模拟器测试。目前,我们正在莱布尼茨超级计算中心(LRZ)所部署的量子资源上开展测试工作。