Integrating Quantum Software Tools with(in) MLIR
Patrick Hopf, Erick Ochoa Lopez, Yannick Stade, Damian Rovara, Nils Quetschlich, Ioan Albert Florea, Josh Izaac, Robert Wille, Lukas Burgholzer

TL;DR
This paper demonstrates how to integrate quantum software tools with MLIR to improve interoperability and modularity in quantum computing stacks, using a practical case study for guidance.
Contribution
It provides a practical guide and best practices for quantum software engineers to adopt MLIR, facilitating seamless integration of quantum tools and fostering ecosystem growth.
Findings
Successful integration of PennyLane with MQT using MLIR
Identified best practices for quantum software tool interoperability
Enhanced understanding of MLIR's role in quantum compilation
Abstract
Compilers transform code into action. They convert high-level programs into executable hardware instructions - a crucial step in enabling reliable and scalable quantum computation. However, quantum compilation is still in its infancy, and many existing solutions are ad hoc, often developed independently and from scratch. The resulting lack of interoperability leads to significant missed potential, as quantum software tools remain isolated and cannot be seamlessly integrated into cohesive toolchains. The Multi-Level Intermediate Representation (MLIR) has addressed analogous challenges in the classical domain. It was developed within the LLVM project, which has long powered robust software stacks and enabled compilation across diverse software and hardware components, with particular importance in high-performance computing environments. However, MLIR's steep learning curve poses a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Cloud Computing and Resource Management · Parallel Computing and Optimization Techniques
