Review of intermediate representations for quantum computing
Open Access
- 21 January 2025
- journal article
- research article
- Published by Springer Nature in The Journal of Supercomputing
- Vol. 81 (2) , 1-21
Abstract
Intermediate representations (IRs) are fundamental to classical and quantum computing, bridging high-level quantum programming languages and the hardware-specific instructions required for execution. This paper reviews the development of quantum IRs, focusing on their evolution and the need for abstraction layers that facilitate portability and optimization. Monolithic quantum IRs, such as QIR (Lubinski et al. in Front Phys 10:940293, 2022. https://doi.org/10.3389/fphy.2022.940293), QSSA (Peduri et al. in Proceedings of the 31st ACM SIGPLAN international conference on compiler construction. CC 2022. Association for Computing Machinery, New York, 2022), or Q-MLIR (McCaskey and Nguyen in Proceedings-2021 IEEE International Conference on Quantum Computing and Engineering, QCE, 2021), their effectiveness in handling abstractions, and their hybrid support between quantum-classical operations are evaluated. However, a key limitation is their inability to address qubit locality, an essential feature for distributed quantum computing (DQC). To overcome this, InQuIR (Nishio and Wakizaka in InQuIR: Intermediate Representation for Interconnected Quantum Computers, 2023. https://arxiv.org/abs/2302.00267) was introduced as an IR specifically designed for distributed systems, providing explicit control over qubit locality and inter-node communication. While effective in managing qubit distribution, InQuIR’s dependence on manual manipulation of communication protocols increases complexity for developers. NetQIR (Vázquez-Pérez et al. in NetQIR: An Extension of QIR for Distributed Quantum Computing, 2024. https://arxiv.org/abs/2408.03712), an extension of QIR for DQC, emerges as a solution to achieve the abstraction of quantum communications protocols. This review emphasizes the need for further advancements in IRs for distributed quantum systems, which will play a crucial role in the scalability and usability of future quantum networks.Keywords
Funding Information
- Consellería de Cultura, Educación e Ordenación Universitaria, Xunta de Galicia (ED431G2023/04, ED431G2023/04, ED431G2023/04, ED431G2023/04, ED431G2023/04)
- Agencia Estatal de Investigación (PID2022-141623NB-100, PID2022-141623NB-100, PID2022-141623NB-100, PID2022-141623NB-100, PID2022-141623NB-100)
- Xunta de Galicia, Spain (PRTR-C17.11, PRTR-C17.11, PRTR-C17.11, PRTR-C17.11, PRTR-C17.11, PRTR-C17.11)
- European Union (ERDF, ERDF, ERDF, ERDF, ERDF, ERDF)
- Universidade de Santiago de Compostela
This publication has 26 references indexed in Scilit:
- SSA-based Compiler Design2022
- t|ket⟩: a retargetable compiler for NISQ devicesQuantum Science and Technology, 2020
- XACC: a system-level software infrastructure for heterogeneous quantum–classical computingQuantum Science and Technology, 2020
- A software methodology for compiling quantum programsQuantum Science and Technology, 2018
- A language and hardware independent approach to quantum–classical computingSoftwareX, 2018
- Programming languages and compiler design for realistic quantum hardwareNature, 2017
- Quantum computersNature, 2010
- LLVM: A compilation framework for lifelong program analysis & transformation2004
- Quantum computingReports on Progress in Physics, 1998
- The Early Development of Programming Languages1980