Towards Supporting QIR: Steps for Adopting the Quantum Intermediate Representation
- URL: http://arxiv.org/abs/2411.18682v2
- Date: Fri, 19 Sep 2025 14:34:11 GMT
- Title: Towards Supporting QIR: Steps for Adopting the Quantum Intermediate Representation
- Authors: Yannick Stade, Lukas Burgholzer, Robert Wille,
- Abstract summary: We show how to turn an existing quantum circuit simulator into a QIR runtime.<n>Switching to QIR does not entail any performance deficits compared to the original simulator.<n>We conclude with an outlook on future directions using QIR.
- Score: 5.74796205166378
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Intermediate representations (IRs) play a crucial role in the software stack of a quantum computer to facilitate efficient optimizations for executing an application on hardware. One of those IRs is the Quantum Intermediate Representation (QIR), which builds on the classical LLVM compiler infrastructure. In this article, we outline different approaches to how QIR can be adopted. This exploration culminates in a demonstration of what it takes to turn an existing quantum circuit simulator into a QIR runtime and that such a transition is less daunting than it might seem at first. We further show that switching to QIR does not entail any performance deficits compared to the original simulator. On the contrary, the presented steps effortlessly allow adding support for arbitrary classical control flow to any classical simulator. We conclude with an outlook on future directions using QIR. The implemented QIR runtime is available under https://github.com/munich-quantum-toolkit/core.
Related papers
- AQER: a scalable and efficient data loader for digital quantum computers [62.40228216126285]
We develop AQER, a scalable AQL method that constructs the loading circuit by systematically reducing entanglement in target states.<n>We conduct systematic experiments to evaluate the effectiveness of AQER, using synthetic datasets, classical image and language datasets, and a quantum many-body state datasets with up to 50 qubits.
arXiv Detail & Related papers (2026-02-02T14:39:42Z) - Benchmarking Distributed Quantum Computing Emulators [1.031136645551641]
Distributed quantum computing (DQC) addresses this challenge by interconnecting smaller quantum nodes through quantum communication protocols.<n>We introduce a benchmarking framework to evaluate DQC emulators.<n>We benchmark four representative emulators: Qiskit Aer, SquidASM, Interlin-q, and SQUANCH.
arXiv Detail & Related papers (2025-12-01T15:42:06Z) - SeQUeNCe GUI: An Extensible User Interface for Discrete Event Quantum Network Simulations [55.2480439325792]
SeQUeNCe is an open source simulator of quantum network communication.
We implement a graphical user interface which maintains the core principles of SeQUeNCe.
arXiv Detail & Related papers (2025-01-15T19:36:09Z) - NetQIR: An Extension of QIR for Distributed Quantum Computing [2.924756839755417]
NetQIR is an extension of Microsoft's Quantum Intermediate Representation (QIR)
It was developed in response to the lack of abstraction at the network and hardware layers.
It aims to bridge the gap between high-level quantum algorithm design and low-level hardware execution.
arXiv Detail & Related papers (2024-08-07T12:01:47Z) - Quantum Compiling with Reinforcement Learning on a Superconducting Processor [55.135709564322624]
We develop a reinforcement learning-based quantum compiler for a superconducting processor.
We demonstrate its capability of discovering novel and hardware-amenable circuits with short lengths.
Our study exemplifies the codesign of the software with hardware for efficient quantum compilation.
arXiv Detail & Related papers (2024-06-18T01:49:48Z) - A Cross-Platform Execution Engine for the Quantum Intermediate Representation [1.4078224649226623]
We describe and demonstrate the QIR Execution Engine (QIR-EE) for parsing, interpreting, and executing QIR across multiple hardware platforms.
We demonstrate an implementation that uses the XACC quantum hardware-accelerator library to dispatch quantum programs on different commercial quantum platforms and numerical simulators.
arXiv Detail & Related papers (2024-04-22T15:59:41Z) - Advances in compilation for quantum hardware -- A demonstration of magic
state distillation and repeat-until-success protocols [7.9977250359018095]
Fault-tolerant protocols enable large and precise quantum algorithms.
We explore two such protocols and analyze the performance of the subroutines using Quantum Intermediate Representation (QIR)
QIR offers a viable representation for a compiled high-level program that performs nearly as well as a hand-optimized version written directly in quantum assembly.
arXiv Detail & Related papers (2023-10-18T16:57:36Z) - InQuIR: Intermediate Representation for Interconnected Quantum Computers [0.0]
InQuIR is a representation that can express communication and computation on distributed quantum systems.
We give examples written in InQuIR to illustrate the problems arising in distributed programs, such as deadlock.
We also provide software tools for InQuIR and evaluate the computational costs of quantum circuits.
arXiv Detail & Related papers (2023-02-01T06:19:23Z) - The Basis of Design Tools for Quantum Computing: Arrays, Decision
Diagrams, Tensor Networks, and ZX-Calculus [55.58528469973086]
Quantum computers promise to efficiently solve important problems classical computers never will.
A fully automated quantum software stack needs to be developed.
This work provides a look "under the hood" of today's tools and showcases how these means are utilized in them, e.g., for simulation, compilation, and verification of quantum circuits.
arXiv Detail & Related papers (2023-01-10T19:00:00Z) - Iterative Qubits Management for Quantum Index Searching in a Hybrid
System [56.39703478198019]
IQuCS aims at index searching and counting in a quantum-classical hybrid system.
We implement IQuCS with Qiskit and conduct intensive experiments.
Results demonstrate that it reduces qubits consumption by up to 66.2%.
arXiv Detail & Related papers (2022-09-22T21:54:28Z) - Optimal Stochastic Resource Allocation for Distributed Quantum Computing [50.809738453571015]
We propose a resource allocation scheme for distributed quantum computing (DQC) based on programming to minimize the total deployment cost for quantum resources.
The evaluation demonstrates the effectiveness and ability of the proposed scheme to balance the utilization of quantum computers and on-demand quantum computers.
arXiv Detail & Related papers (2022-09-16T02:37:32Z) - Synergy Between Quantum Circuits and Tensor Networks: Short-cutting the
Race to Practical Quantum Advantage [43.3054117987806]
We introduce a scalable procedure for harnessing classical computing resources to provide pre-optimized initializations for quantum circuits.
We show this method significantly improves the trainability and performance of PQCs on a variety of problems.
By demonstrating a means of boosting limited quantum resources using classical computers, our approach illustrates the promise of this synergy between quantum and quantum-inspired models in quantum computing.
arXiv Detail & Related papers (2022-08-29T15:24:03Z) - Full-stack quantum computing systems in the NISQ era: algorithm-driven
and hardware-aware compilation techniques [1.3496450124792878]
We will provide an overview on current full-stack quantum computing systems.
We will emphasize the need for tight co-design among adjacent layers as well as vertical cross-layer design.
arXiv Detail & Related papers (2022-04-13T13:26:56Z) - Enabling Retargetable Optimizing Compilers for Quantum Accelerators via
a Multi-Level Intermediate Representation [78.8942067357231]
We present a multi-level quantum-classical intermediate representation (IR) that enables an optimizing, retargetable, ahead-of-time compiler.
We support the entire gate-based OpenQASM 3 language and provide custom extensions for common quantum programming patterns and improved syntax.
Our work results in compile times that are 1000x faster than standard Pythonic approaches, and 5-10x faster than comparative standalone quantum language compilers.
arXiv Detail & Related papers (2021-09-01T17:29:47Z) - On the Capacity of Quantum Private Information Retrieval from MDS-Coded
and Colluding Servers [59.98425646542448]
In quantum private information retrieval, a user retrieves a classical file from multiple servers by downloading quantum systems without revealing the identity of the file.
The capacity of QPIR from MDS-coded and colluding servers is studied for the first time.
arXiv Detail & Related papers (2021-06-28T13:48:22Z) - A MLIR Dialect for Quantum Assembly Languages [78.8942067357231]
We demonstrate the utility of the Multi-Level Intermediate Representation (MLIR) for quantum computing.
We extend MLIR with a new quantum dialect that enables the expression and compilation of common quantum assembly languages.
We leverage a qcor-enabled implementation of the QIR quantum runtime API to enable a retargetable (quantum hardware agnostic) compiler workflow.
arXiv Detail & Related papers (2021-01-27T13:00:39Z) - Extending C++ for Heterogeneous Quantum-Classical Computing [56.782064931823015]
qcor is 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 manner.
arXiv Detail & Related papers (2020-10-08T12:49:07Z) - A Hardware-Aware Heuristic for the Qubit Mapping Problem in the NISQ Era [0.0]
We propose a Hardware-Aware mapping transition algorithm (HA) that takes the calibration data into account.
Results on IBM quantum hardware show that our HA approach can outperform the state of the art.
arXiv Detail & Related papers (2020-10-06T07:03:35Z) - Extending XACC for Quantum Optimal Control [70.19683407682642]
Quantum computing vendors are beginning to open up application programming for direct pulse-level quantum control.
We present an extension to the XACC system-level quantum-classical software framework.
This extension enables the translation of digital quantum circuit representations to equivalent pulse sequences.
arXiv Detail & Related papers (2020-06-04T13:13:55Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.