Extending C++ for Heterogeneous Quantum-Classical Computing

Author:

Mccaskey Alexander1,Nguyen Thien1,Santana Anthony1,Claudino Daniel1,Kharazi Tyler1,Finkel Hal2

Affiliation:

1. Oak Ridge National Laboratory, United States

2. Argonne National Laboratory, United States

Abstract

We present qcor—a language extension to C++ and compiler implementation that enables heterogeneous quantum-classical programming, compilation, and execution in a single-source context. Our work provides a first-of-its-kind C++ compiler enabling high-level quantum kernel (function) expression in a quantum-language agnostic manner, as well as a hardware-agnostic, retargetable compiler workflow targeting a number of physical and virtual quantum computing backends. qcor leverages novel Clang plugin interfaces and builds upon the XACC system-level quantum programming framework to provide a state-of-the-art integration mechanism for quantum-classical compilation that leverages the best from the community at-large. qcor translates quantum kernels ultimately to the XACC intermediate representation, and provides user-extensible hooks for quantum compilation routines like circuit optimization, analysis, and placement. This work details the overall architecture and compiler workflow for qcor, and provides a number of illuminating programming examples demonstrating its utility for near-term variational tasks, quantum algorithm expression, and feed-forward error correction schemes.

Funder

US Department of Energy

DOE Office of Science User Facility

Publisher

Association for Computing Machinery (ACM)

Reference48 articles.

1. Matthew Amy and Vlad Gheorghiu. 2019. staq—A full-stack quantum processing toolkit. arXiv:1912.06070. Retrieved from https://arxiv.org/abs/1912.06070. Matthew Amy and Vlad Gheorghiu. 2019. staq—A full-stack quantum processing toolkit. arXiv:1912.06070. Retrieved from https://arxiv.org/abs/1912.06070.

2. Efficient algorithms for maximum likelihood decoding in the surface code;Bravyi Sergey;Phys. Rev. A,2014

3. Cirq Contributors. 2020. Cirq. Retrieved from https://github.com/quantumlib/Cirq. Cirq Contributors. 2020. Cirq. Retrieved from https://github.com/quantumlib/Cirq.

Cited by 13 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Quantum-centric supercomputing for materials science: A perspective on challenges and future directions;Future Generation Computer Systems;2024-11

2. A pragma based C++ framework for hybrid quantum/classical computation;Science of Computer Programming;2024-09

3. QFaaS: A Serverless Function-as-a-Service framework for Quantum computing;Future Generation Computer Systems;2024-05

4. DataDAM: Efficient Dataset Distillation with Attention Matching;2023 IEEE/CVF International Conference on Computer Vision (ICCV);2023-10-01

5. Quantum Computing with Differentiable Quantum Transforms;ACM Transactions on Quantum Computing;2023-06-26

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3