A Cross-Platform Execution Engine for the Quantum Intermediate Representation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wong, Elaine, Leyton-Ortega, Vicente, Claudino, Daniel, Johnson, Seth R., Adams, Austin J., Afrose, Sharmin, Gowrishankar, Meenambika, Cabrera, Anthony, Humble, Travis S.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914137994428416
author Wong, Elaine
Leyton-Ortega, Vicente
Claudino, Daniel
Johnson, Seth R.
Adams, Austin J.
Afrose, Sharmin
Gowrishankar, Meenambika
Cabrera, Anthony
Humble, Travis S.
author_facet Wong, Elaine
Leyton-Ortega, Vicente
Claudino, Daniel
Johnson, Seth R.
Adams, Austin J.
Afrose, Sharmin
Gowrishankar, Meenambika
Cabrera, Anthony
Humble, Travis S.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_14299
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Cross-Platform Execution Engine for the Quantum Intermediate Representation
Wong, Elaine
Leyton-Ortega, Vicente
Claudino, Daniel
Johnson, Seth R.
Adams, Austin J.
Afrose, Sharmin
Gowrishankar, Meenambika
Cabrera, Anthony
Humble, Travis S.
Quantum Physics
Software Engineering
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.
title A Cross-Platform Execution Engine for the Quantum Intermediate Representation
topic Quantum Physics
Software Engineering
url https://arxiv.org/abs/2404.14299