Thesis
Scaling quantum compilation with graph rewriting
- Abstract:
-
As the capabilities of quantum hardware advance and their architectures become more complex, quantum compilers must evolve to optimise increasingly large programs and support a growing range of computational primitives. In particular, the emergence of hybrid quantum-classical computations, required for instance by implementations of quantum error correcting protocols, poses significant challenges to established quantum compilation techniques.
This thesis argues that graph transformation systems (GTS) offer a principled foundation for compiler platforms that can express arbitrary hardware primitives and support computations over both quantum and classical data. To this end, it introduces a graph-based intermediate representation (IR), with support for linear types to model quantum data. This unifies graphical formalisms used for reasoning over quantum computations (such as the ZX calculus) with IR-based program transformation techniques from classical compiler design.
Building upon this foundation, the thesis tackles two critical scaling problems hindering the adoption of GTS in quantum compilers. First, it presents an efficient pattern matching algorithm based on a precomputed data structure that achieves query times independent of the number of transformation rules in the system. This removes a key bottleneck in quantum superoptimisers, which optimise quantum programs using tens to hundreds of thousands of rules.
Second, the thesis introduces a confluently persistent data structure that enables efficient exploration of the GTS state space of possible graph transformations. This factorised search space offers an exponential complexity advantage in search space size and traversal time compared to naively exploring all reachable graphs. The thesis also discusses the problem of extracting optimal programs from this data structure, relating it to Boolean satisfiability (SAT) problems.
Together, these contributions lay the groundwork for scalable, GTS-based quantum compilers and advance the integration of quantum and classical compilation techniques. The persistent data structure for graph rewriting also opens the door for concurrent graph rewriting in distributed systems, a technique that may have applications within the graph transformations field more broadly and merits further research.
Actions
Access Document
- Files:
-
-
(Preview, Dissemination version, pdf, 5.8MB, Terms of use)
-
(Supplementary materials, zip, 60.1MB, Terms of use)
-
Authors
Contributors
+ Kissinger, A
- Institution:
- University of Oxford
- Division:
- MPLS
- Department:
- Computer Science
- Research group:
- Quantum Group
- Oxford college:
- St Hilda's College
- Role:
- Supervisor
+ Gogioso, S
- Institution:
- University of Oxford
- Division:
- MPLS
- Department:
- Computer Science
- Research group:
- Quantum Group
- Oxford college:
- Kellogg College
- Role:
- Examiner
- ORCID:
- 0000-0001-7879-8145
+ Heckel, R
- Institution:
- University of Leicester
- Role:
- Examiner
- DOI:
- Type of award:
- DPhil
- Level of award:
- Doctoral
- Awarding institution:
- University of Oxford
- Language:
-
English
- Keywords:
- Subjects:
- Deposit date:
-
2026-04-20
- ARK identifier:
Terms of use
- Copyright holder:
- Luca Mondada
- Copyright date:
- 2025
If you are the owner of this record, you can report an update to it here: Report update to this record