A cross-platform execution engine for the quantum intermediate representation

๐Ÿ“… 2024-04-22
๐Ÿ›๏ธ Journal of Supercomputing
๐Ÿ“ˆ Citations: 2
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
This work addresses the challenge of cross-platform execution for quantum-classical hybrid programs. Methodologically, we propose QIR-EEโ€”the first general-purpose Quantum Intermediate Representation (QIR) execution engineโ€”built upon LLVM to establish a scalable execution framework; it performs semantic mapping from QIR to LLVM IR, introduces a hardware-agnostic API abstraction layer with modular extension points, and enables unified orchestration across heterogeneous quantum hardware (IonQ, Quantinuum, IBM) and numerical simulators; it further supports quantum-classical memory sharing and joint control-flow execution. Our key contributions are: (1) the first general-purpose QIR execution architecture, decoupling program execution from vendor-specific hardware; and (2) empirical validation demonstrating significantly improved hybrid instruction throughput and end-to-end framework latency under 50 ms, with seamless interoperability across mainstream development toolchains including Q# and PyQuil.

Technology Category

Application Category

๐Ÿ“ Abstract
Hybrid languages like the quantum intermediate representation (QIR) are essential for programming systems that mix quantum and conventional computing models, while execution of these programs is often deferred to a system-specific implementation. Here, we develop the QIR Execution Engine (QIR-EE) for parsing, interpreting, and executing QIR across multiple hardware platforms. QIR-EE uses LLVM to execute hybrid instructions specifying quantum programs and, by design, presents extension points that support customized runtime and hardware environments. We demonstrate an implementation that uses the XACC quantum hardware-accelerator library to dispatch prototypical quantum programs on different commercial quantum platforms and numerical simulators, and we validate execution of QIR-EE on IonQ, Quantinuum, and IBM hardware. Our results highlight the efficiency of hybrid executable architectures for handling mixed instructions, managing mixed data, and integrating with quantum computing frameworks to realize cross-platform execution.
Problem

Research questions and friction points this paper is trying to address.

Developing cross-platform execution engine for quantum intermediate representation
Executing hybrid quantum-classical programs across multiple hardware platforms
Integrating quantum computing frameworks to handle mixed instructions and data
Innovation

Methods, ideas, or system contributions that make the work stand out.

Uses LLVM to execute hybrid quantum instructions
Provides extension points for customized runtime environments
Integrates with XACC library for cross-platform quantum execution
๐Ÿ”Ž Similar Papers
No similar papers found.
E
Elaine Wong
Computing and Computational Sciences Directorate, Oak Ridge National Laboratory, Oak Ridge, TN, USA
V
Vicente Leyton-Ortega
Computing and Computational Sciences Directorate, Oak Ridge National Laboratory, Oak Ridge, TN, USA
D
Daniel Claudino
Computing and Computational Sciences Directorate, Oak Ridge National Laboratory, Oak Ridge, TN, USA
S
Seth Johnson
Computing and Computational Sciences Directorate, Oak Ridge National Laboratory, Oak Ridge, TN, USA
Sharmin Afrose
Sharmin Afrose
Computing and Computational Sciences Directorate, Oak Ridge National Laboratory, Oak Ridge, TN, USA
M
Meenambika Gowrishankar
Bresden Center, University of Tennessee Knoxville, Knoxville, TN, USA
A
Anthony M. Cabrera
Computing and Computational Sciences Directorate, Oak Ridge National Laboratory, Oak Ridge, TN, USA
T
Travis S. Humble
Quantum Science Center, Oak Ridge National Laboratory, Oak Ridge, TN, USA