Integrating Quantum Software Tools with(in) MLIR Conference: SCA/HPCAsia 2026: Supercomputing Asia and International Conference on High Performance Computing in Asia Pacific Region; January 26–29, 2026; Osaka, Japan SCA/HPCAsia 2026: Supercomputing Asia and International Conference on High Performan

Patrick Hopf † \dagger ‡ \ddagger , Erick Ochoa Lopez § \lx@sectionsign * Yannick Stade † \dagger , Damian Rovara † \dagger , Nils Quetschlich † \dagger , Ioan Albert Florea † \dagger , Josh Izaac ¶ \lx@paragraphsign , Robert Wille † \dagger ‡ \ddagger ∥ \| , and Lukas Burgholzer † \dagger ‡ \ddagge · 2026

Read Integrating Quantum Software Tools with(in) MLIR Conference: SCA/HPCAsia 2026: Supercomputing Asia and International Conference on High Performance Computing in Asia Pacific Region; January 26–29, 2026; Osaka, Japan SCA/HPCAsia 2026: Supercomputing Asia and International Conference on High Performan by Patrick Hopf † \dagger ‡ \ddagger , Erick Ochoa Lopez § \lx@sectionsign * Yannick Stade † \dagger , Damian Rovara † \dagger , Nils Quetschlich † \dagger , Ioan Albert Florea † \dagger , Josh Izaac ¶ \lx@paragraphsign , Robert Wille † \dagger ‡ \ddagger ∥ \| , and Lukas Burgholzer † \dagger ‡ \ddagge (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-02062.txt.

Introduction

Quantum software tools are mostly built in isolation, each with its own compiler plumbing, so chaining them into one toolchain is painful. Patrick Hopf and eight co-authors argue the classical world's answer, the MLIR compiler infrastructure from the LLVM project, can unify quantum toolchains too, if developers can climb its steep learning curve.

The paper is a hands-on guide built around a real case study linking Xanadu's PennyLane framework with the Munich Quantum Toolkit. It lays out concrete integration steps, best practices, and lessons earned in development, pitched at quantum software engineers who are experimentalists first. The goal is a modular, interoperable quantum software stack instead of today's ad hoc collection.

Catalog record

CREATORPatrick Hopf † \dagger ‡ \ddagger , Erick Ochoa Lopez § \lx@sectionsign * Yannick Stade † \dagger , Damian Rovara † \dagger , Nils Quetschlich † \dagger , Ioan Albert Florea † \dagger , Josh Izaac ¶ \lx@paragraphsign , Robert Wille † \dagger ‡ \ddagger ∥ \| , and Lukas Burgholzer † \dagger ‡ \ddagge
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE55 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2601-02062

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Integrating Quantum Software Tools with(in) MLIR Conference: SCA/HPCAsia 2026: Supercomputing Asia and International Conference on High Performance Computing in Asia Pacific Region; January 26–29, 2026; Osaka, Japan SCA/HPCAsia 2026: Supercomputing Asia and International Conference on High Performance Computing in Asia Pacific Region (SCA/HPCAsia 2026), January 26–29, 2026, Osaka, Japan DOI: 10.1145/3773656.3773658 ISBN: 979-8-4007-2067-3/2026/01 CCS: Hardware Quantum computation CCS: Computer systems organization Quantum computing CCS: Software and its engineering Compilers CCS: Software and its engineering Retargetable compilers CCS: Software and its engineering Source code generation Patrick Hopf † \dagger ‡ \ddagger , Erick Ochoa Lopez § \lx@sectionsign * Yannick Stade † \dagger , Damian Rovara † \dagger , Nils Quetschlich † \dagger , Ioan Albert Florea † \dagger , Josh Izaac ¶ \lx@paragraphsign , Robert Wille † \dagger ‡ \ddagger ∥ \| , and Lukas Burgholzer † \dagger ‡ \ddagger 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 significant barrier to entry, particularly in quantum computing, where much of the software stack is still predominantly built by experimentalists out of necessity rather than by experienced software engineers. This paper provides a practical and hands-on guide for quantum (software) engineers to overcome this steep learning curve. Through a concrete case study linking Xanadu’s PennyLane framework with the Munich Quantum Toolkit (MQT), we outline actionable integration steps, highlight best practices, and share hard-earned insights from real-world development. This work aims to support quantum tool developers in navigating MLIR’s complexities and to foster its adoption as a unifying bridge across a rapidly growing ecosystem of quantum software tools, ultimately guiding the development of more modular, interoperable, and integrated quantum software stacks. Figure 1 . Quantum computing software tools within and outside of the MLIR ecosystem. Map of quantum computing software tools within and outside of the MLIR ecosystem. 1. Introduction With the rapid growth of quantum software tools and the increasing capabilities of quantum hardware, quantum compilers become increasingly important. Those quantum compilers serve as translators between high-level programming languages and low-level hardware instructions, thereby playing a critical role in connecting two rapidly evolving domains. On one side, industrial and academic teams are developing specialized quantum software tools optimized for diverse needs; on the other, hardware providers offer a wide range of quantum computing platforms—including superconducting, trapped-ion, neutral-atom, and photonic systems—each with their own native gate set and hardware-specific capabilities and constraints. To avoid reinventing the wheel each time a new software tool or hardware platform emerges, there is a clear need for an extensible and robust compilation infrastructure that can mediate between the zoo of high-level quantum programming languages and heterogeneous quantum backends—as is taken for granted in classical and HPC systems. However, compared to the mature state of classical compilation frameworks, tools dedicated to quantum compilation are only emerging slowly. Many rely on ad-hoc solutions tailored to narrow use cases, are developed in isolation, and frequently reinvent core components from scratch. The resulting lack of interoperability leads to a significant loss of potential, as tools—and their users—could mutually benefit if they were designed to integrate seamlessly. Fortunately, there is hope: For classical compilation flows, the Multi-Level Intermediate Representation (MLIR) ( Lattner et al. 2021 ) framework has already proven to be an effective solution to many of the challenges currently faced by quantum compilation. Adopting this well-established infrastructure for quantum compilers is a natural choice for several reasons: • As part of the LLVM ( Lattner and Adve 2004 ) project, MLIR has been widely adopted—not only by major software frameworks such as JAX ( Bradbury et al. 2018 ) , TensorFlow ( Abadi et al. 2015 ) , and PyTorch ( Paszke et al. 2019 ) , enabling deep integration with classical workflows, but also by hardware vendors such as Intel and NVIDIA, establishing crucial links to classical and HPC hardware—a key requirement for hybrid quantum-classical programs. • Moreover, MLIR allows for the seamless composition of multiple compilation passes within a shared infrastructure, promoting modularity, reuse, and interoperability. • Ultimately, it is more pragmatic for quantum software developers to extend a robust and ubiquitous classical compiler infrastructure with quantum-specific capabilities, rather than building entirely separate tooling from scratch and incrementally adding classical features such as hardware interfacing, linear algebra, or control flow. However, MLIR is an overwhelmingly complex project, and its steep learning curve significantly hinders adoption—especially in a community that primarily consists of lateral entrants from various disciplines other than computer science or, specifically, compiler design. Hence, it requires pioneering interdisciplinary projects that connect both worlds: quantum computing on the one side and compiler design on the other side. Illustration of a three-qubit GHZ circuit on the left and a T-shaped five-qubit device topology on the right, showing qubit labels, native gates, and inserted swap/cnot operations used during mapping and optimization. Figure 2 . Compilation of a quantum program—preparing the GHZ state—for a T-shaped five-qubit architecture which supports the native gate set \{\mathrm{H},\mathrm{T},\mathrm{CNOT}\} . Illustration of a three-qubit GHZ circuit on the left and a T-shaped five-qubit device topology on the right, showing qubit labels, native gates, and inserted swap/cnot operations used during mapping and optimization. This paper aims to support developers in navigating the complexities of MLIR and foster its adoption as a unifying bridge across the fragmented quantum software ecosystem. To this end, we present a practical guide tailored to quantum software engineers, helping them overcome the steep learning curve of working with MLIR in the context of quantum compilation. We demonstrate how MLIR serves as a unified backbone for quantum program representation and transformation workflows, leveraging its lightweight and modular plugin infrastructure. A hands-on approach is emphasized throughout, highlighting best practices drawn from a year-long integration effort connecting two major quantum software frameworks: Xanadu’s PennyLane ( Bergholm et al. 2022 ) and the Munich Quantum Toolkit (MQT) ( Wille et al. 2024 ) . The remainder of this paper is structured as follows: Section 2 reviews relevant concepts in both quantum and classical compilation and provides an overview of related work. Section 3 then outlines the problem of limited interoperability among quantum software tools and motivates MLIR as a potential solution, whose adoption is currently limited by the steep learning curve associated with the framework. To overcome the high entry barrier, Section 4 presents best practices and a detailed case study demonstrating the integration of two representative quantum software frameworks—PennyLane and MQT—within the MLIR ecosystem. In Section 6 , this is followed by a discussion of key insights and future prospects arising from such an integration. Finally, Section 7 summarizes the contributions of this work. 2.

Read the complete text