A Cross-Platform Execution Engine for the Quantum Intermediate Representation
<|reference_start|>A Cross-Platform Execution Engine for the Quantum Intermediate Representation: 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 describe and demonstrate 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 the IonQ Harmony and Quantinuum H1-1 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.<|reference_end|>
@article{wong2024a,
    title={A Cross-Platform Execution Engine for the Quantum Intermediate
  Representation},
    author={Elaine Wong, Vicente Leyton Ortega, Daniel Claudino, Seth Johnson,
  Sharmin Afrose, Meenambika Gowrishankar, Anthony M. Cabrera, Travis S. Humble},
    journal={arXiv preprint arXiv:2404.14299},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.14299},
    primaryClass={quant-ph cs.SE}
}