Manuscript Offprint
arXiv:2609.01771GadIR: A Spatial-Topology Preserving Compiler for Quantum Many-Body Systems Simulation
Abstract
Simulating quantum many-body systems has been one of the most important applications of quantum computation. For simulation, the Hamiltonian of a physical system is compiled into quantum programs with native instructions for quantum hardware. In previous works, the Hamiltonian is represented as Pauli strings, then compiled and optimized based on the quantum circuit model. Such representation paradigm neglects the spatial topology of original physical models, which is vital information to reducing the overhead of compiling many-body systems Hamiltonians.
To address such neglect, we introduce a spatial-topology preserving compiler for quantum many-body simulation. Using Pauli gadgets as the representations of the Hamiltonian, we introduce our intermediate representation – GadIR, to preserve the spatial-topology information of original physical models. Our compiler frontend performs the group reduction algorithm based on Pauli gadget model, which is a hardware-independent optimization. Our compiler backend performs trotterization and scheduling on Pauli gadgets, then synthesizes the Pauli gadgets into hardware-native quantum programs. We evaluate our compiler on all the canonical quantum many-body system models, while achieving a significant reduction on compilation overhead regarding four major quantum architectures. Overall, our spatial-topology preserving IR exploits the compilation optimization space for quantum many-body systems Hamiltonian.
1 Introduction
Among the various applications of quantum computing, simulating physical systems has long stood out as a primary motivation [30]. Among various physical systems, the simulations of physical many-body systems are gaining prevalence, especially after their utility has been demonstrated on IBM quantum computers [61]. The quantum many-body simulation formulates a physical system on specific spatial topology, such as an n-dimensional lattice. Taking the Bose-Hubbard model [28] as an example, the bosons are positioned at the sites of a 2D lattice, while they only interact with their neighboring bosons (box (1) of Figure 1). This topology is applicable to physical models of bosons and fermions – two fundamental classes of particles. The core target of quantum many-body simulation is to simulate above physical models on quantum computers.
Problem Definition. In a physical model, the interactions between particles are formulated as Hamiltonian evolution, then the Hamiltonian can be approximated by quantum gates. Specifically, when a physical model is encoded as the Hamiltonian H, its evolution over time t can be simulated by the operator . A compiler takes in the operator U and compiles it into a hardware-native quantum program to be executed on the target hardware. In this work, our main problem is compiling the Hamiltonians of physical many-body models into hardware-native programs, for different quantum hardware architectures.
Prior Works. A series of research projects have been working on similar problems. Paulihedral [76] and 2QAN [68] leverage the permutation of Hamiltonian terms, to explore gate cancellation or SWAP reduction by reordering the Pauli strings. Tetris [58] improves gate cancellation technique and reduces hardware mapping cost. QuCLEAR [81] introduces a Clifford extraction method to reduce Pauli operators, based on the weak commutation of Clifford gates. Generally, these compilers use flattened Pauli strings as their intermediate representation (IR), optimizing mainly for circuit-level metrics such as two-qubit-gate count, circuit depth, or routing overhead.
Challenge 1: Preserving topology of physical model. As the Hamiltonian H derives from a physical model with specific topology of particles, it contains spatial-topology information about the model structure. Such information assists in reducing compilation overhead, which will be elaborated in Section 4. However, prior works neglect the spatial-topology information in the Hamiltonian when they represent it with Pauli strings. When represented as Pauli strings, the Hamiltonian H is flattened into a linear sequence of Pauli operators, losing the spatial positional information of Pauli operators from original physical model. This process is illustrated with examples in the box (2) of Figure 1.
Challenge 2: Hardware-independent optimization. Prior works reduce circuit compilation overhead – mainly based on superconducting (SC) hardware settings [58, 68, 76, 81]. This process is illustrated in the box (4) of Figure 1. Despite the efforts, those strategies they proposed are often incompatible with other quantum computing hardware, e.g., measurement-based quantum computation (MBQC), because it has a naturally different computation
MICRO 2026, Athens, Greece
- ACM ISBN 978-X-XXXX-XXXX-X/XX/XX
https://doi.org/XXXXXXX.XXXXXXX
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace

Figure 1: Comparison between our proposed framework and the frameworks in previous research [58, 68, 76, 81].
model. Hence, a hardware-independent optimization that can be applied to diverse hardware architectures is highly desirable.
Solution: Spatial-topology preserving IR. To address the challenges mentioned above, we introduce a Pauli gadget-based intermediate representation – GadIR, and implement the compiler based on GadIR. The structure of GadIR is designed to preserve the spatial topology of Hamiltonians derived from physical models, while preserving such information throughout the compilation pipeline. The Pauli gadgets in GadIR have a graph structure corresponding to the physical model (shown in box (5) of Figure 1), inspired by graph-based IR in classical compiler techniques [9, 18, 73]. The compiler frontend performs Pauli gadget group reduction on GadIR. The compiler backend performs hardware-independent trotterization and scheduling optimization, then synthesizes GadIR into hardware-native programs. Both frontend and backend contribute to reducing compilation overhead, with the following designs:
Frontend. GadIR represents the Hamiltonian operator as Pauli gadget [21], which is a special graph structure of ZX-diagram [27]. Specifically, compared to Pauli strings that linearly index the qubits, GadIR constructs a graph retaining the original topology of physical many-body models, while Pauli gadgets are anchored on this topology. Based on the topology information, our frontend optimizer performs Pauli gadget reduction, by eliminating certain patterns on the gadgets to reduce Hamiltonian operators. In contrast to previous works [58, 76] that apply gate cancellation to a pair of Pauli strings each time, our method can perform reduction on a large set of gadgets simultaneously, extending the optimization space.
Backend. The backend performs Trotterization and scheduling directly on GadIR in ZX-diagram form, while the optimizations are all hardware-independent. Then, the backend synthesizes GadIR into hardware-native programs, while the preserved topology information guides the compiler to find an appropriate qubit initial placement. Compared to prior works that generate a gate-based logical circuit and synthesize it into a physical circuit for SC hardware, our backend supports multiple hardware architectures.
Although Pauli gadgets have been used to synthesize quantum chemistry circuits [21, 22], we are the first to use them for designing an IR and preserving model topology. Our major contributions can be summarized as follows:
(1) For quantum many-body systems simulation, we propose a Pauli gadget-based IR to represent Hamiltonian terms, while preserving the spatial-topology information of original physical model. To the best of our knowledge, it is the first quantum compiler preserving Hamiltonian topology.
(2) In compiler frontend, we introduce a novel optimization strategy, which is the Pauli gadget group reduction, based on our uniquely designed IR. The strategy explores more chances for compilation overhead reduction than gate canceling [58, 76] and Clifford extraction [81]. Furthermore, GadIR is hardware-agnostic and can be directly reused for multiple architectures, moving beyond conventional gate-based NISQ synthesis.
(3) In compiler backend, we perform hardware-independent scheduling using ZX-diagrams, reducing circuit depth. Then we integrate hardware-specific optimizations in synthesis, utilizing preserved topology information.
We evaluate our compiler framework on a wide range of benchmarks covering all canonical many-body models: spin, bosonic, fermionic and lattice-gauge. The evaluations are conducted on multiple hardware architectures, including SC architectures from IBM and Google devices, zoned-architecture neutral-atom, photonic MBQC on silicon quantum dots, and FTQC with lattice surgery scheme. The results show that our compiler achieves significant reduction of dominant compilation overheads for each architecture. Compared to the state-of-the-art QuCLEAR, we reduce the overheads to (#2Q gate for SC), (infidelity for neutral-atom), (#non-Clifford for FTQC), and (#emitter-entanglement for MBQC) of QuCLEAR on average. While our compiler is primarily designed for quantum many-body simulation, results show that it also works well on other quantum simulation problems, e.g., quantum chemistry. Furthermore, it is orthogonal to particle-to-qubit encoding techniques, e.g. Fermihedral [82] and HATT [83].
2.1 Quantum Many-Body Simulation
Physical Many-Body Models. Quantum simulation algorithms utilize digital quantum computers to simulate the particle interactions in physical models. In a physical model, these particles follow a specific spatial structure, e.g., residing on the sites of a lattice, and interact with their neighboring particles. As a result, when we use Hamiltonians H to describe the interactions, it will inherently contain topological information of the model structure. We refer to such information as the topology of original physical model. An example of the spatial topology for a bosonic many-body system is shown in the box (1) of Figure 1, as the shape of a lattice.
Particle-to-Qubit Encoding. In quantum mechanics, particles in nature are categorized into fermions and bosons. Hence, the Hamiltonians of a physical model are either fermionic operators or bosonic operators. To simulate these operators on quantum computers, they should be encoded to qubit operators, which are often represented in terms of Pauli operators. This process is shown as the blue arrow connected to box (1) of Figure 1. The encoding methods include well-known Jordan-Wigner (JW), Bravyi-Kitaev (BK) [11], and recently proposed Fermihedral [82] and HATT [83].
Inherent Topology of Qubit-Hamiltonian. After particle operators are encoded to qubit operators, the inherent topological information of Hamiltonian is also mapped to a new structure. For example, the Bravyi-Kitaev (BK) encoding [11] maps fermionic model to a Fenwick tree structure; bosonic linear encoding [112] maps bosonic model in an n-dimensional lattice to an -dimensional lattice. In Figure 1, the bosonic model (depicted in box (1)) is mapped to a lattice of qubits (depicted in box (5)), which is the topology of its qubit-Hamiltonian. These structures mentioned above are the spatial topologies of qubit-Hamiltonian, which is the topological information we preserve in GadIR.
Suzuki-Trotter Decomposition. To simulate the qubit-Hamiltonian H on quantum hardware, it should be decomposed into unitary operations corresponding to each Hamiltonian term . We use Suzuki-Trotter – a foundational decomposition technique, to approximate the time evolution operator of qubit Hamiltonian. Given a Hamiltonian , the time evolution operator can be approximated by a product of exponentials of the individual terms, with each term in the form like . The second-order decomposition is given by
where r is the number of Trotter steps. In our compiler, we perform the trotterization in backend, as shown in the box (7) of Figure 1.
2.2 ZX-Diagram and Pauli Gadget
In this subsection, we give a brief introduction to ZX-diagram, and Pauli gadget – a special structure in the ZX-diagram. Further details of these concepts can be found in [27, 64, 122].
ZX-Diagram. The ZX-calculus is a diagrammatic language similar to the quantum circuit notation, while its instances are ZX-diagrams. The basic elements of a ZX-diagram are spiders and wires. Spiders are linear maps which can have any number of input or output wires, and being associated with coefficients . There are two varieties of spiders – the Z-spider depicted in green dot (Equation (2)) and the X-spider depicted in red dot (Equation (3)), while the definitions of their input-output maps are given on the right sides of equations.
A ZX-diagram can be built from spiders and wires, by composition of the elements shown above. For a quantum program with m input qubits and n output qubits, its corresponding ZX-diagram has m input wires and n output wires, representing linear maps . As examples, we have these quantum gates represented in ZX-diagram:
Furthermore, to represent a CNOT gate, we can connect the second output wire of Z-spider to the first input wire of X-spider:
Pauli Gadget. Similar to Pauli string and Pauli kernel [76] for quantum circuit, the Pauli gadget is a high-level structure for ZX-diagram, representing a Hamiltonian term. Given a Hamiltonian term , it can be depicted as:
where the spiders of Pauli gadget are especially shaped in squares. While the green square and red square still correspond to Z-spider and X-spider, the Y-spider is colored in both green and red. Each of the Pauli operators , , is represented as X-, Y- and Z- spiders respectively. In the meantime, they are connected to the box of , representing the coefficient of the Hamiltonian term.
3 GadIR Design
In this section, we describe the design and motivation of our topology-preserving GadIR. Using the example of a bosonic model, we introduce how the original physical model and Hamiltonian terms are converted to GadIR step-by-step. The GadIR syntax is introduced in 3.2. Then in 3.3 we demonstrate the insight of GadIR: it captures the optimizations that Pauli-string IR misses. Following is the GadIR generation for physical models in 3.4.
3.1 Introducing Topology-Preserving IR
GadIR consists of two parts: ① spatial topology as the "frame", derived from the physical structure, depicted in the lower part of Figure 2b; ② Pauli gadgets as the "body", constructed from Hamiltonian terms, depicted in Figure 2c as the blue areas. While the spatial topology provides supportive information of inherent structures within the model, the Pauli gadget provides a concise representation of each Hamiltonian term. These two parts combine to form GadIR, shown in Figure 2d.
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace

Figure 2: Mapping a Bose-Hubbard model to qubit Hamiltonian, and construct the corresponding GadIR.
To understand how the topology frame is built, first we introduce the physical structure of a many-body system. We select the Bose-Hubbard model [28] as an example, which describes the interaction between boson particles. In the Bose-Hubbard model, the bosons are located on the sites of a lattice, and in this example we have a lattice as the physical structure. The Hamiltonian of Bose-Hubbard model is described as
Here in the denotes a pair of neighboring sites of the lattice. For the site , we use to denote the bosonic creation, and to denote bosonic annihilation at this site. From the Hamiltonian terms in Equation (6), we can notice that bosonic operators are only associated with neighboring bosons in an individual term, implying the locality of the model is critical information.
Spatial Topology. The above bosonic Hamiltonian of Bose-Hubbard model is transformed to qubit Hamiltonian, via a boson-to-qubit mapping method [88, 112]. In this mapping, each boson, along with its creation and annihilation operators , is mapped to two qubits in the qubit Hamiltonian model (Figure 2a). Hence, the bosonic Hamiltonian model is mapped to a qubit Hamiltonian model (Figure 2b). This lattice of qubits is exactly the spatial topology information included in GadIR.
Pauli Gadget. For the bosonic Hamiltonian terms in Equation (6), such as , are each mapped to a set of 4-qubit Pauli operators, such as (Figure 2c). These Pauli operators are performed on , , , , which are the qubits derived from boson i and j. The terms in the second line of Equation (6), such as , are mapped to a set of 2-qubit Pauli operators performed on , . Consequently, we transform these Pauli operators into Pauli gadgets, as illustrated by the blue areas in Figure 2c. Such Pauli gadget representations are easily integrated into the frame of spatial topology, while their ZX-spiders can be attached to the qubit they perform on.
In Figure 2d, when all the Pauli gadgets of qubit Hamiltonian are attached to the topology frame, we obtain the complete IR of this Bose-Hubbard model. Compared to conventional Pauli string-based IR [58, 68, 76], GadIR can reflect the locality of Hamiltonian operators, paving the way for the following optimizations in compiler frontend and backend.
3.2 GadIR Syntax
We designed a concise IR syntax to represent the spatial topology and Pauli gadgets, adopting the data structures shown in Figure 3. The topology is an undirected graph with its nodes as the qubits. The Pauli gadgets contain two parts of information: (1) Pauli operators (X, Y, Z) that compose the Pauli gadget, shown as the spiders in ZX-diagram. (2) The edges in spatial topology that are covered by this Pauli gadget. Specifically, an edge begin covered by a Pauli gadget is defined as follows: both adjacent nodes of the edge have a spider (Pauli operator) from this Pauli gadget. These covered edges serve as the critical information for group reduction method in Section 4. We emphasize that storing the information of covered edges is the main motivation for choosing Pauli gadget as the IR representation, instead of choosing the Pauli string.

Figure 3: GadIR syntax. Up: the spatial topology graph for Hamiltonian of many-body system model. Down: the Pauli gadgets corresponding to Hamiltonian terms, including their operators and the edges they cover on topology graph.
3.3 A Motivating Example
The preserved topology information in GadIR helps compilers to explore more chances of optimization. We explain the motivation of preserving spatial topology using an intuitive example shown in Figure 4. In this case, we apply the Paulihedral and GadIR methods to capture the opportunities of gate cancellation in a group of Hamiltonian terms. Note that here the Paulihedral method directly runs source code in [76], while the GadIR method runs the algorithm we describe in Section 4.3. Based on the topological path and , GadIR captures more gate cancellation chances than Paulihedral, gaining more CNOT reductions. The example shows that topology-preserving strategy outperforms Paulihedral's pairwise ordering strategy on general gate canceling optimization. Furthermore, with the group reduction method designed for GadIR (Section 4), the topology information can be fully utilized.

Figure 4: Comparison of Paulihedral and GadIR on the ability of capturing gate cancellation opportunities. On the left are the Hamiltonian and its spatial topology. On the right are the sequences of Pauli terms ordered by Paulihedral or GadIR approach, while the gate cancellations are highlighted in red. The results show that GadIR gains more CNOT reductions.
3.4 Generating IR from Physical Models
We target all canonical models in quantum many-body physics [17, 32], with other specialized models often reducible to or expressible within them. These models are illustrated in Figure 5.
-
The spin-qubit models [97] (e.g. Heisenberg, Ising) define their physical interactions directly on qubit Hamiltonian, so the topology information is identical to the physical topology of spin-qubits. The Pauli operators are derived from spin couplings.
-
The fermionic models [121] define their interactions on local fermionic modes, and we utilize Bravyi-Kitaev transformation [11] to map them into a Fenwick tree [29] structure of qubits. For a fermion mode i, its creation operator and annihilation operator are generally mapped to a subgraph of the Fenwick tree [41]. We merge the set of edges in the Fenwick tree (shown as black lines in Figure 5b) with the set of edges in original fermion model (partly shown as orange lines in Figure 5b), resulting in as the spatial topology in the IR.
-
The bosonic models [38] are typically located on the sites of a lattice, and are mapped to Hamiltonian terms via linear method [88]. We use the mapping method described in the example of Section 3.1.
-
The lattice gauge theory models [19] arrange the matter fields on the sites of a lattice [19]. As shown in Figure 5d, their interactions, namely gauge fields, are mapped to qubits, which is itself a centered square lattice (gray nodes and edges). The electric charge or magnetic flux interactions are transformed into Pauli gadgets acting on squares in the topology (Pauli gadgets).

Figure 5: Examples of GadIR for (a) spin-qubit, (b) fermionic, (c) bosonic and (d) lattice gauge theory models.
4 Compiler Frontend Design
4.1 Preliminaries: Gadget Reduction
In this section, we introduce our method to optimize the Pauli gadgets in GadIR, thus reducing the Hamiltonian terms. We start with the Pauli gadget reduction [21]. When specific gates pass through two spiders of a Pauli gadget, and these two spiders are in specific patterns, one of the spiders will be removed:

(7)
In Equation (7), when a CNOT passes the spiders with Pauli operators , one of the spiders is eliminated, turning into operators . From a mathematical aspect, this is equivalent as transforming to . In this transforming, the Pauli operator is reduced. By replacing the CNOT here with other gate sets, we can reduce different Pauli operators.
4.2 Gadget Group Reduction
In Section 3 we analyze the locality of Hamiltonian in quantum many-body systems, so we can utilize the locality characterization to maximally reduce Pauli gadgets. In our compiler frontend, we introduce an optimization method based on GadIR, which is the gadget group reduction. When a gate set passes through multiple pairs of specific spiders pattern (from multiple gadgets) sequentially, one spider in each pair gets eliminated. We provide an example in Figure 6c, where a group of Pauli gadgets having spiders on qubit and . When we pass a gate set through these spiders, one of the spiders is removed in each gadget, turning into .
Here we explain the details of gadget group reduction step by step, illustrated in Figure 6c. In step1, we add two adjoint gate sets and on the left of gadgets group. Since , adding them does not change the
(a) Gate Cancellation [39,51]
No gate cancellation chances
(b) Clifford extraction [56]
Only part of Pauli operators is reduced
| P | ZZ | ZX | XY | YY |
|---|---|---|---|---|
| P' | IZ | ZX | YZ | XZ |
(c) Gadget group reduction

Figure 6: (c) Gadget reduction compared with (a) gate cancellation [58, 76] and (b) Clifford extraction [81].
circuit logic. Then in step2, we pass G from left to right, through these gadgets. As a result in step3, these gadgets are reduced based on gate set passing rules, and the two gate sets and G end up on each side of gadgets group. Generally, removing one spider in the gadget corresponds to reducing one Pauli operator from the Hamiltonian term, equivalent to reducing two CNOTs in compiled circuit [76]. Hence, applying reduction to a group of n gadgets can reduce 2n - 2 CNOTs at a time, since two extra CNOTs are induced from and G.
A Full Set of Reduction Rules. We derive the group reduction rules of Pauli gadgets from the commutation rules of Pauli gadgets [21]. In the last paragraph we show passing a gate set through multiple gadgets to remove their spiders and reduce the gadgets. Specifically, when we customize the gate sets as different combinations of the gates in , it reduces different patterns of Pauli gadgets. We specify the correspondence between gate set and reducible gadgets in Table 1. The reduction rules are exhaustive under a Clifford model: We enumerate all local-Clifford dressings of both CNOT directions, Pauli signs, and qubit-order reversal. The model yields exactly the six canonical reducible Pauli-pair classes, as shown in Table 1.
Comparison with Prior Methods. Shown in Figure 6a, the gate cancellation techniques (e.g. Paulihedral [76] and Tetris [58]) only cancel the CNOTs from identical parts of Pauli strings. In contrast, our group reduction eliminates different patterns of Pauli operators simultaneously. Shown in Figure 6b, Clifford extraction method in QuCLEAR [81] can only reduce a limited range of Pauli operator patterns (Figure 6b). Specifically, Clifford extraction achieves the same reduction result as the first row of Table 1 (colored in
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace
Table 1: Reduction rules for Pauli gadgets.
| Gate Set G to Pass Through | Reducible Gadget Patterns (-) = Coefficient Negation |
|---|---|
gray), but neglects other reducible patterns. In contrast, our reduction method covers all combinations of Pauli operators. Previous works [21, 22] apply isolated gadget reduction on Variational Quantum Eigensolver (VQE) circuits, but their method fails to preserve the spatial-topology of Hamiltonian, thus losing chances of dedicated reductions on groups of gadgets. Also, the naturally weak-locality characterization of VQE leads to limited reduction.
Insight with Hamiltonian Locality. The insight for gadget group reduction derives from the locality of Hamiltonian in quantum many-body systems. As we observed from Figure 2, an edge in the spatial topology graph is covered by multiple Pauli gadgets, providing an ideal opportunity to reduce these gadgets simultaneously using the gadget group reduction. When the Hamiltonian locality of a physical model is stronger, the group of reducible Pauli gadgets is larger, thus the optimization will be more effective. In Section 7.7, we give definitions about Hamiltonian locality, and analyze its impact on GadIR performance.
4.3 Algorithm for Gadget Group Reduction
We develop an algorithm to systematically apply reductions on the Hamiltonian of a general quantum many-body system, while trying to find the maximal reduction with the help of topology information. Our algorithm is based on a tree structure, while its root stores GadIR of the original model. The whole procedure corresponds to recursively growing the tree from its root layer by layer, and each reducible group of gadgets with a sub-topology are stored in the nodes, as illustrated in Figure 7. We define two operations for tree growth, which are groups dividing and node updating.

Figure 7: The gadget reduction tree.
Groups Dividing: Given a set of Pauli gadgets with spatial topology, we divide them into multiple groups, while gadgets in the same group can be reduced by the same gate set G. We use a greedy search to divide this set of gadgets into groups. Specifically, we iterate over all the edges in spatial topology , and for each we iterate over all the G in Table 1, counting the number of reducible gadgets for each G. Throughout the iterations, we select the largest subset of gadgets which are reducible by a specific G on specific topological edge, e.g. . This largest subset forms a new group, and we keep applying this operation to the other gadgets, until all are grouped.
Reduction and Updating: For a node, when all its gadgets are divided into groups, we spawn each of these groups as a child of this node. Hence, each child stores: ① the GadIR of one divided group from its parent; ② the specific gate set G that has been selected to reduce all gadgets in this group. Then we use this G to reduce all gadgets, and update them into new reduced gadgets by eliminating their spiders (following rules in Table 1).
As illustrated in Figure 7, starting from the root, we keep applying these two operations. When a node cannot find any reducible group of gadgets, it reaches the terminating condition and becomes a leaf node. The complete tree of GadIR is sent to compiler backend for further optimization.
5 Compiler Backend Design
Compared to Paulihedral [76], 2QAN [68] and Tetris [58] which tailor their Trotterization and scheduling algorithms for superconducting architecture, we expect that our compiler can perform optimization in these modules for arbitrary hardware architectures. To achieve the goal, we design the Trotterization and scheduling algorithms directly on GadIR, which enable target-independent optimization. We search commutation information between gadgets to schedule their simultaneous execution, thus enhancing parallelization and reducing circuit depth. The compiler backend is implemented with PyZX [64], as the form of a ZX-diagram.
5.1 Trotterization
In the compiler frontend, GadIR serves as the representation of the Hamiltonian. To execute the Hamiltonians on a quantum computer, we transform them into a ZX-diagram using the Suzuki-Trotter method, as mentioned in Section 2.1. In this procedure which is called Trotterization, each Hamiltonian term is individually extracted as ZX-diagram elements and appended to this circuit. Specifically for GadIR, each Hamiltonian term corresponds to a leaf node in the gadget reduction tree.
Moreover, we have to add those extra gate sets G used for gadget reductions, which are stored in each node of the tree. Based on the gadget reduction procedure we introduced in Section 4.2, applying reduction on a gadget group will insert adjoint gate sets and G on each side of the gadgets. For a reduction tree that recursively applies group reduction to grow the nodes, correspondingly in the Trotterization circuit, the gate sets G are recursively wrapped on both sides of the leaf-nodes (see Figure 8).

Figure 8: Trotterization: from gadget tree to ZX-diagram.
5.2 Scheduling
We arrange the time sequence of these leaf-nodes in Trotterization ZX-diagram via a scheduling method, as shown in Figure 9. This method relies on the topology subset information in each node of gadget reduction tree. Looking into each node of Figure 7, we can observe that each node and its descendants only involve a certain subset of the whole topology, and only perform operations on the qubits in this subset. If the two subsets of two nodes have no intersection, they and their descendants are fully commutative with each other, so they can be scheduled to execute in parallel.
Hence we propose our scheduling strategy in Figure 9: starting from the root of reduction tree, in each node we store the subset information, which only contains the indices of qubits within this topology subset. We accumulate the nodes from a layer (and from same parent) into groups, while in each group the subsets of nodes have no intersecting qubits. Such accumulations are repeatedly applied until all nodes including leaves are merged into commutative group. When we perform Trotterization, the nodes within same commutative group are arranged in the same layer of ZX-diagram. Overall, our scheduling method exploits the parallelization of commutative groups in GadIR.
5.3 Hardware-Native Instruction Synthesis
Our final step is to synthesize native quantum programs specifically for each hardware architecture. In this step, the spatial topology information that is preserved in GadIR is used for: 1. Assisting qubit initial placement for SC and Neutral-Atom; 2. Guiding ZX-diagram synthesis sequence for MBQC and FTQC.

Figure 9: Scheduling: parallelizing the commutative groups.
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace
Superconducting. First, we extract the ZX-diagram into quantum circuit via the method described in [27]. Then, for qubit initial placement, we integrate a graph-based approach utilizing topology information from GadIR [4, 105]. Specifically, we map the GadIR topology to a subgraph of the physical qubit coupling graph, while the graph edit distance (GED) between these two graphs is minimal. The GED calculation uses the tool provided in [12, 13]. After initial placement, the logical quantum circuit is synthesized to a physical circuit via the SABRE routing method [75] in Qiskit [54].
Neutral-Atom. We use ZAC compiler [80] for synthesizing zoned-architecture neutral-atom quantum circuits, while customizing our topology-aware qubit initial placement. For qubit initial placement, we use a min-cut algorithm to separate the topology in GadIR into subgraphs. The qubits from the same subgraph are mapped to the same SLM (spatial light modulator) row in storage zone. Mapping them to the same SLM row can parallelize qubit movements [80] when applying CNOT gates among them. This parallelization strategy leads to shorter execution time, thus reducing qubit decay.
FTQC with lattice surgery. First, we synthesize the sub-ZX-diagram in each leaf-node into an FTQC subroutine, using LaSsynth method [116] implemented in Stim [33, 115]. Then, we synthesize the pass-through Clifford gates (CNOT, H, etc.) via BLOCK_SYNTHESIS function in TQEC [113] (a QEC design package). Next, we stitch all these subroutines using TQEC, and synthesize them into fault-tolerant operations such as lattice surgery. The idea of synthesizing each subroutine separately avoids the massive overhead of synthesis.
Photonic MBQC. Emitter-based photonic MBQC is a novel scheme addressing the indeterminacy problem in MBQC [74]. We adopt the divide-and-conquer synthesis method from [102], by synthesizing each leaf-node separately. Specifically, the ZX-diagram in each leaf-node corresponds to a graph state for MBQC, and we synthesize the graph state generation scheme using GraphiQ [79]. Then these graph states are combined together using methods from [102].
6 Experimental Methodology
6.1 Benchmarks
We evaluate 8 different quantum many-body models in our experiments, each with a variety of model sizes. These models cover all canonical model categories we mentioned: spin, fermionic, bosonic, and lattice gauge. Apart from these, we add Molecule Hamiltonian models (LiH, H2O, Benzene) selected from [81], to demonstrate that our compiler is also compatible with quantum chemistry and variational quantum eigensolver (VQE) circuit. The models are listed in Table 2, with varying sizes defined by parameters . In the experiments, all the models are compiled with the second-order Trotterization with Suzuki-Trotter formula.
6.2 Baselines and Metrics
Baselines: We choose several compilers from previous work as our baseline, which are ① QuCLEAR [81], ② Tetris [58], ③ 2QAN [68] and ④ PauliEvo-Rustiq [98] (a Qiskit implementation integrating Paulihedral [76] and Rustiq[25]). We note that 2QAN only supports spin-qubit models, because its IR and permutation-aware routing are designed for 2-local qubit Hamiltonians (e.g., ZZ and XX), while other models contain high-weight Hamiltonians (e.g., ZZZZ). ⑤ We implement an extra baseline (PyZX-opt) that directly uses PyZX on Pauli-string IR, and it also enables the circuit optimization passes in PyZX. For MBQC and FTQC evaluation, the PyZX optimization is already integrated into baselines (QuCLEAR and Tetris), so we do not need to add the individual PyZX baseline.
Table 2: Benchmark information. In result figures they are tagged as: Heis=Heisenberg, SLFH=spinless Fermi-Hubbard, FH=spinful Fermi-Hubbard, Jel=Jellium, BH=Bose-Hubbard, LGT=Lattice Gauge Theory.
| Many-Body Category | Physical Model Name | Number of Qubits |
|---|---|---|
| spin-qubit | Heisenberg(x, y) | |
| spin-qubit | XY(x, y) | |
| Fermion | spinless Fermi-Hubbard(x, y) | |
| Fermion | spinful Fermi-Hubbard(x, y) | |
| Fermion | Jellium(x, y) | |
| Boson | Bose-Hubbard(x, y) | |
| Lattice Gauge | (2+1)D Lattice Gauge Theory(x, y) | |
| Chemistry | LiH / H2O / Benzene | 6 / 8 / 12 |
Metrics: ① For SC architecture, the metrics are 2Q gate and circuit depth, aligning with the metrics used in baseline works [58, 68, 76, 81]. ② For NA architecture, apart from 2Q gate and circuit duration, we add the metric of fidelity. The main overhead of NA is moving the position of atoms to perform target gates, and the noise during movement is reflected in fidelity. This aligns with the metric selection in SOTA compilers [45, 80, 124]. ③ For emitter-based MBQC, the prevalent overhead is CZ operation between emitters, since it has significantly longer execution time and higher noise than other operations [79]. So we select the emitter CZ metric, aligning with SOTA [77, 79, 102]. ④ For FTQC architecture, the non-Clifford gates are approximately 100x slower than other operations due to state distillation [10, 40]. We select #non-Clifford-gate as the metric, since it dominates the circuit execution overhead. Another metric is the infidelity of FTQC circuit, simulated under a comprehensive circuit-level noise model. These metrics align with SOTA FTQC compilers [39, 40].
7 Evaluation
7.1 Superconducting Architecture
We compare GadIR with all baseline compilers by counting the number of two-qubit gates (CZ) and circuit depth in compilation output. Results for these two metrics are respectively shown in Figure 10 and Figure 11. On IBM hardware heavy-hexagon qubits layout, we reduce #CNOT to of 2QAN, of PauliEvo-Rustiq, of Tetris, of QuCLEAR, and of PyZX-opt on average; and up to , , , , and respectively. On Google hardware square-grid qubits layout, we reduce #CZ to of 2QAN, of PauliEvo-Rustiq, of Tetris, of QuCLEAR, and of PyZX-opt on average; and up to , , , , and respectively. Due to the page limit, we only select part of the results for circuit depth comparison

Google square-grid
Figure 10: Upper figure: The CNOT count for compilation to IBM quantum computer with heavy-hexagon qubits layout. Lower figure: The CZ count for compilation to Google quantum computer with square-grid qubits layout.

Figure 11: Left figure: The circuit depth for compilation to IBM heavy-hexagon qubits layout. Right figure: The circuit depth for compilation to Google square-grid qubits layout.
in Figure 11. It can be observed that GadIR outperforms all baselines in most of the benchmarks, and within each benchmark the reduction rate improves with increasing model size. The trend of improvement implies that spatial topology information of GadIR becomes more important when many-body models scale up.
7.2 Neutral-Atom Architecture
We compare GadIR with baselines on zoned-architecture neutral atom platform. The baseline compilers are integrated with ZAC [80] with the following pipeline: We run the compilation with an all-to-all qubit layout and get the output as a logical circuit, then pass the circuit to ZAC for atom initial placement and scheduling. Meanwhile, our compiler defines customized initial placements and only uses the atom scheduling module of ZAC, as introduced in Section 5.3. We use the following parameters: Rydberg 2Q gate time is 0.36 us, 1Q gate time is 52 us, atom-transfer activation/deactivation time is 15 us, 2Q/1Q/atom-transfer fidelities are 0.996, 0.9998, and 0.9995, respectively, and the qubit coherence time is 4e6 us. Circuit fidelity is then modeled as the product of 1Q gate fidelity, Rydberg 2Q gate fidelity, atom-transfer fidelity, and coherence survival over the scheduled circuit duration.
The results of 2Q gate, duration and fidelity are shown in Figure 12. GadIR reduces #2Q gate to of Tetris, of PauliEvo-Rustiq, of QuCLEAR, and of PyZX-opt on average; for circuit duration, GadIR reduces duration to , , , and of those same baselines on average. GadIR achieves fidelity improvements of over Tetris, over PauliEvo-Rustiq, over QuCLEAR, and over PyZX-opt on average. In the results, every baseline compiler demonstrates unexpectedly poor performance on certain benchmark models, highlighting the importance of robustness across diverse hardware.
7.3 Early-Fault-Tolerant Architecture
We compare GadIR with baselines on FTQC platform with surface code. Limited by massive computation overhead for FTQC simulator, only the latest SOTA compiler – QuCLEAR [81] is selected as baseline in our experiments. We integrate QuCLEAR with PyZX [64] to convert compilation output into ZX-diagrams, and synthesize the lattice surgery scheme via TQEC [113]. As shown in Figure 13, GadIR reduces the number of non-Clifford gates compared to QuCLEAR.
We compare the infidelity of the FTQC circuits by running them on Stim simulator with PyMatching QEC decoder [43]. For each physical error rate p, we use the circuit-level SI1000 noise
Xiangyu Ren, Yuexun Huang, Zhaohui Yang, Yuchen Zhu, Tsung-Wei Huang, Tsung-Yi Ho, Zhiding Liang, Antonio Barbalace

Figure 12: Comparison of #2Q gate (NA-native CZ), circuit duration, and fidelity on Neutral-Atom hardware.

Figure 13: Numbers of non-Clifford gates on FTQC.
model [34] with CZ error rate p, 1Q Clifford gate p/10, measurement 5p, reset 2p, idle p/10, and resonator-idle 2p. Aligning with SOTA early-FTQC compilers [39, 116], the qubit plane is a dynamic 2D nearest-neighbor lattice-surgery patch layout [84, 116] generated by LASSYNTH [115], rather than a fixed data-ancilla layout. We model the non-Clifford rotations by applying execution noise to the resulting T gates using a depolarizing error [10, 39]. The results (code distance = 3, 5, 7) are given in Figure 14. GadIR reduces the logical CNOT subroutines to of QuCLEAR on average, which leads to a average circuit infidelity in the non-saturated regime and in the low-error regime.
7.4 Emitter-Based MBQC Architecture
We compare GadIR with the baselines on emitter-based MBQC platform, while using silicon-dot photon emitter [20, 70, 138] as synthesis target. The baseline compilers are integrated with SOTA

Figure 14: Comparison of circuit infidelity on FTQC.
graph-state synthesis algorithm (GSsynth) from [114]. In the experiments, we compare the number of emitter entanglement operations (emitter-emitter CNOT), which is much more expensive than other operations [74]. The results in Figure 15 show that GadIR reduces the entanglement overhead to that of Tetris+GSsynth, that of QuCLEAR+GSsynth, and that of PauliEvo-Rustiq+GSsynth on average.
7.5 Runtime and Scalability
Here we analyze the scalability of our algorithms by measuring their runtime. For Jellium models, we record the total execution time of the compiler pipeline, including gadget reduction, Trotterization, scheduling, while synthesis time is excluded since it depends

Figure 15: The number of emitters CZ operations for compilation to emitter-based MBQC hardware.

Figure 16: GadIR runtime scaling with model size.

Figure 17: Comparison of individual gadget reduction [21] with our gadget group reduction, on random Hamiltonian.
on selection of known SOTA methods. The results are given in Figure 16, where it can be observed that the runtime scales nearly linearly with the parameter , giving the scaling of compilation runtime . Moreover, we perform a smoke test for large-scale model on FH(30, 30), yielding a s runtime, matching the scaling curve. This result implies the scalability of our compiler framework, and its practicality for median- to large-scale quantum algorithm.
7.6 Individual vs. Group Reduction
(a)

Example: internal distance
(b)
(c)
(d)
Figure 18: (a) Illustration of how the maximal internal distance is counted for a representative Hamiltonian term. (b) Distribution of maximal internal distance for all Hamiltonians in a bosonic model. (c) The distribution of maximal internal distance of the Hamiltonian terms from different models. (d) The metric for different types of many-body system, which dominates the classical simulation overhead of their Hamiltonian models.
The prior work [21, 22] extracts Clifford gates from each gadget and passes it through all other gadgets to eliminate spiders, but it often creates extra spiders thus undermining the effectiveness of gadget reduction. Here we perform an experiment to emphasize the broad impact of gadget group reduction, comparing to the individual gadget reduction introduced in [21, 22]. In Figure 17, we compare individual and group reduction on different sizes of Hamiltonian terms. Each size is evaluated with 1000 randomly generated instances of Hamiltonian, and we calculate the average reduction percentages. Note that in this experiment, we modify the group reduction method to ignore topology information and only use a topology-agnostic search strategy. The group reduction method outperforms individual reduction when the size of Hamiltonian scales up. Hence, the non-trivial improvement of group reduction
Xiangyu Ren, Yuexun Huang, Zhaohui Yang, Yuchen Zhu, Tsung-Wei Huang, Tsung-Yi Ho, Zhiding Liang, Antonio Barbalace
Table 3: Ablation studies. The table reports relative change in 2Q gate count and circuit depth (duration) when each module is disabled. Since NA architecture provides an all-to-all physical qubit connectivity, the 2Q gate count remains unchanged. For NA, the backend modules mainly reduce atom movement distance, thereby reducing circuit duration.
| Architecture | post-Trotterization gate cancelling | w/o HW-native synthesis | w/o entire GadIR backend | w/o topology-preserving | ||||
|---|---|---|---|---|---|---|---|---|
| # 2Q gate | Depth | # 2Q gate | Depth | # 2Q gate | Depth | # 2Q gate | Depth | |
| SC (Google) | -8.5% | +19.1% | +15.6% | +8.7% | +17.8% | +46.5% | +43.6% | +61.2% |
| SC (IBM) | -7.3% | +15.5% | +14.4% | +6.3% | +17.0% | +53.3% | +37.5% | +38.2% |
| Neutral-Atom | -4.8% | +24.0% | 0 | +22.4% | 0 | +68.3% | +28.3% | +69.0% |
itself provides better scalability for large-scale Hamiltonian models.
7.7 Hamiltonian Locality Analysis
Here we explore the locality of Hamiltonian in quantum many-body systems, serving as the motivation for the spatial topology-preserving design of GadIR. We introduce the maximal internal distance as a metric for quantifying the locality of a Hamiltonian term. This metric is defined as the maximum graph distance between any pair of qubits in the Hamiltonian term, where the distance is measured as the length of the shortest edge path between them on the GadIR topology graph. An illustrative example of maximal internal distance is given in Figure 18a. When the maximal internal distances of Hamiltonian terms in a model are generally smaller, the model has stronger topological constraints, implying stronger locality of Hamiltonian in this model.
We calculate the distribution of maximal internal distance for a bosonic model, and results are shown in Figure 18b. In this model, all the Hamiltonian terms have a maximal internal distance . Observing the distribution, we know that qubit interactions in this model are constrained to short distances. Based on these constraints, we emphasize the locality of quantum many-body systems. The locality benefits our gadget group reduction method, and details are introduced in Section 4. The utilization of locality justifies preserving spatial topology in GadIR.
From the evaluation results on SC and NA architectures, we notice that GadIR has more significant improvement on quantum many-body system benchmarks, than on Jellium and Molecular benchmarks. The differences are explained by the stronger Hamiltonian locality in these quantum many-body systems. In Figure 18, we analyze the average distribution of maximal internal distance of Hamiltonian terms. The distribution of BH models is concentrated around lower distances (implying strong topology-constraints), while the distribution of Molecule models tends to be more uniform (implying weak topology-constraints).
We observe an empirical correlation between Hamiltonian locality and the classical simulation overhead of many-body systems, as shown in Figure 18. We quantify the overhead using MPS entropy [16, 109]. The classical simulation complexity [110, 123] grows exponentially with :
We calculate using MPS entanglement profiling [94, 109]. The models where GadIR achieves larger reductions exhibit faster growth of as the system size increases. This suggests that, the strong-locality models targeted by GadIR are associated with higher classical simulation overhead than the molecular models [72].
7.8 Ablation Studies
We perform four ablation studies with results in Table 3. (1) We modify the backend for maximizing gate cancellation after Trotterization, by replacing the scheduling strategy for with the method in Paulihedral [76]. The new backend slightly reduces 2Q gates but increases circuit depth. While the cancellation chances for CNOTs are is limited, our GadIR backend focuses on capturing parallelization for commutative groups. We replace the (2) hardware-native synthesis or (3) the entire backend with Qiskit compiler. For SC, HW-native synthesis contribute more on reducing 2Q gate while the other modules contribute to reducing depth. For NA, each module has reasonable reduction on circuit duration. (4) By ablating the topology, we can observe that it is important for GadIR optimization, by capturing significantly more gadget reduction chances.
8 Related Work
Kernpiler [26] groups commutative Hamiltonian terms, and use Monte Carlo searching to find a circuit approximating each Hamiltonian group. Kernpiler focuses on optimizing the Trotterization stage, while our compiler focuses on reducing Hamiltonian terms before Trotterization. Its approximation method is orthogonal to our gadget reduction optimization and can be integrated to reduce Trotterization error. HATT [82, 83] proposes novel methods for fermionic-to-qubit encoding. While our work simply uses Bravyi-Kitaev (BK) encoding for its fast runtime, these encoding algorithms can replace BK further to reduce the number of Pauli operators.
Rustiq [25] focuses on greedily synthesizing flattened Pauli-rotation sets into low-CNOT/depth circuits through Clifford basis changes. By contrast, our compiler preserves the spatial topology and discovers optimizations from Pauli gadget reduction.
PHOENIX [132] introduces a Pauli-level optimization that uses Clifford transformations to simultaneously reduce weights of Pauli strings in binary symplectic form representation. Unlike PHOENIX [132], which relies on sequential Clifford transformations to simplify groups of flattened Pauli strings, our frontend operates on topology-preserving Pauli gadgets, enabling reduction opportunities to be discovered directly along physical-topology edges.
Genesis [14] is a compiler for Fermion-Boson Hamiltonian on continuous-variable discrete-variable (CV-DV) quantum architecture. Our insight of preserving spatial topology of bosonic models can be integrated into CV-DV compiler, thus one of our future directions is extending GadIR to support its synthesis. PhasePoly [15] explores the phase-polynomial optimization in quantum circuit.
Optimizing quantum simulation and variational quantum algorithms is a topic that has drawn significant research attention [5, 23, 46, 56, 57, 62, 87, 99–101, 104, 111, 125, 126, 129, 130, 134], while we focus on quantum many-body systems simulation and use its topology information as a heuristic. A series of previous works have been discussing the importance of architecture-aware compilation [24, 35, 44, 47–49, 53, 55, 60, 66, 67, 69, 77, 78, 90–93, 95, 103, 106, 108, 117–120, 131, 133, 135–137], while we try to address this problem with the novel GadIR design.
9 Conclusion
We propose a modularized frontend-backend compiler for quantum many-body systems simulation. We introduce GadIR to preserve spatial-topology, enabling gadget group reduction in the frontend, and enabling backend synthesis for hardware-native programs across four different architectures. Evaluations on all canonical models show significant reductions in dominant overheads.
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace
References
[1] A Altland and B Simons. 2006. Interaction effects in the tight-binding system. Condensed Matter Field Theory (Cambridge University Press, Cambridge, 2010) (2006), 59–66.
[2] Assa Auerbach. 2012. Interacting electrons and quantum magnetism. Springer Science & Business Media.
[3] Ryan Babbush, Nathan Wiebe, Jarrod McClean, James McClain, Hartmut Neven, and Garnet Kin-Lic Chan. 2018. Low-depth quantum simulation of materials. Physical Review X 8, 1 (2018), 011044.
[4] Medina Bandic, Carmen G Almudever, and Sebastian Feld. 2023. Interaction graph-based characterization of quantum benchmarks for improving quantum circuit mapping techniques. Quantum Machine Intelligence 5, 2 (2023), 40.
[5] Bikrant Bhattacharyya and Gokul Subramanian Ravi. 2023. Optimal clifford initial states for ising hamiltonians. In 2023 IEEE International Conference on Rebooting Computing (ICRC). IEEE, 1–10.
[6] Alexandre Blais, Arne L Grimsmo, Steven M Girvin, and Andreas Wallraff. 2021. Circuit quantum electrodynamics. Reviews of Modern Physics 93, 2 (2021), 025005.
[7] Immanuel Bloch, Jean Dalibard, and Wilhelm Zwerger. 2008. Many-body physics with ultracold gases. Reviews of modern physics 80, 3 (2008), 885–964.
[8] Robert W Boyd, Alexander L Gaeta, and Enno Giese. 2008. Nonlinear optics. In Springer Handbook of Atomic, Molecular, and Optical Physics. Springer, 1097–1110.
[9] Oliver Bračevac, Guannan Wei, Songlin Jia, Supun Abeysinghe, Yuxuan Jiang, Yuyan Bao, and Tiark Rompf. 2023. Graph IRs for impure higher-order languages: Making aggressive optimizations affordable with precise effect dependencies. Proceedings of the ACM on Programming Languages 7, OOPSLA2 (2023), 400–430.
[10] Sergey Bravyi and Alexei Kitaev. 2005. Universal quantum computation with ideal Clifford gates and noisy ancillas. Physical Review A—Atomic, Molecular, and Optical Physics 71, 2 (2005), 022316.
[11] Sergey B Bravyi and Alexei Yu Kitaev. 2002. Fermionic quantum computation. Annals of Physics 298, 1 (2002), 210–226.
[12] Lijun Chang, Xing Feng, Xuemin Lin, Lu Qin, Wenjie Zhang, and Dian Ouyang. 2020. Speeding up GED verification for graph similarity search. In 2020 IEEE 36th International Conference on Data Engineering (ICDE). IEEE, 793–804.
[13] Lijun Chang, Xing Feng, Kai Yao, Lu Qin, and Wenjie Zhang. 2022. Accelerating graph similarity search via efficient GED computation. IEEE Transactions on Knowledge and Data Engineering 35, 5 (2022), 4485–4498.
[14] Chi-Fang Anthony Chen, Andrew Lucas, and Chao Yin. 2023. Speed limits and locality in many-body quantum dynamics. Reports on Progress in Physics 86, 11 (2023), 116001.
[15] Zihan Chen, Henry Chen, Yuwei Jin, Minghao Guo, Enhyeok Jang, Jiakang Li, Caitlin Chan, Won Woo Ro, and Eddy Z Zhang. 2025. PhasePoly: An Optimization Framework for Phase Polynomials in Quantum Circuits. arXiv preprint arXiv:2506.20624 (2025).
[16] J. Ignacio Cirac, David Pérez-García, Norbert Schuch, and Frank Verstraete. 2021. Matrix product states and projected entangled pair states: Concepts, symmetries, and theorems. Reviews of Modern Physics 93, 4 (2021), 045003. doi:10.1103/RevModPhys.93.045003
[17] J Ignacio Cirac and Peter Zoller. 2012. Goals and opportunities in quantum simulation. Nature physics 8, 4 (2012), 264–266.
[18] Cliff Click and Michael Paleczny. 1995. A simple graph-based intermediate representation. ACM Sigplan Notices 30, 3 (1995), 35–49.
[19] Tyler A. Cochran, Bernhard Jobst, Eliott Rosenberg, Yuri D. Lensky, Gaurav Gyawali, Norhan Eassa, Melissa Will, Dmitry Abanin, Rajeev Acharya, Laleh Aghababaie Beni, Trond I. Andersen, Markus Ansmann, Frank Arute, Kunal Arya, Abraham Asfaw, Juan Atalaya, Ryan Babbush, Brian Ballard, Joseph C. Bardin, Andreas Bengtsson, Alexander Bilmes, Alexandre Bourassa, Jenna Bovaird, Michael Broughton, David A. Browne, Brett Buchea, Bob B. Buckley, Tim Burger, Brian Burkett, Nicholas Bushnell, Anthony Cabrera, Juan Campero, Hung-Shen Chang, Zijun Chen, Ben Chiaro, Jahan Claes, Agnetta Y. Cleland, Josh Cogan, Roberto Collins, Paul Conner, William Courtney, Alexander L. Crook, Ben Curtin, Sayan Das, Sean Demura, Laura De Lorenzo, Agustin Di Paolo, Paul Donohoe, Ilya Drozdov, Andrew Dunsworth, Alec Eickbusch, Aviv Moshe Elbag, Mahmoud Elzouka, Catherine Erickson, Vinicius S. Ferreira, Leslie Flores Burgos, Ebrahim Forati, Austin G. Fowler, Brooks Foxen, Suhas Ganjam, Robert Gasca, Élie Genois, William Giang, Dar Gilboa, Raja Gosula, Alejandro Grajales Dau, Dietrich Graumann, Alex Greene, Jonathan A. Gross, Steve Habegger, Monica Hansen, Matthew P. Harrigan, Sean D. Harrington, Paula Heu, Oscar Higgott, Jeremy Hilton, Hsin-Yuan Huang, Ashley Huff, William J. Huggins, Evan Jeffrey, Zhang Jiang, Cody Jones, Chaitali Joshi, Pavol Juhas, Dvir Kafri, Hui Kang, Amir H. Karamlou, Kostyantyn Kechedzhi, Trupti Khaire, Tanuj Khattar, Mostafa Khezri, Seon Kim, Paul V. Klimov, Bryce Kobrin, Alexander N. Korotkov, Fedor Kostritsa, John Mark Kreikebaum, Vladislav D. Kurilovich, David Landhuis, Tiano Lange-Dei, Brandon W. Langley, Kim-Ming Lau, Justin Ledford, Kenny Lee, Brian J. Lester, Loïc Le Guevel, Wing Yan Li, Alexander T. Lill, William P. Livingston, Aditya Locharla, Daniel Lundahl, Aaron
Lunt, Sid Madhuk, Ashley Maloney, Salvatore Mandrà, Leigh S. Martin, Orion Martin, Cameron Maxfield, Jarrod R. McClean, Matt McEwen, Seneca Meeks, Anthony Megrant, Kevin C. Miao, Reza Molavi, Sebastian Molina, Shirin Montazeri, Ramis Movassagh, Charles Neill, Michael Newman, Anthony Nguyen, Murray Nguyen, Chia-Hung Ni, Murphy Yuezhen Niu, William D. Oliver, Kristoffer Ottosson, Alex Pizzuto, Rebecca Potter, Orion Pritchard, Chris Quintana, Ganesh Ramachandran, Matthew J. Reagor, David M. Rhodes, Gabrielle Roberts, Kannan Sankaragomathi, Kevin J. Satzinger, Henry F. Schurkus, Michael J. Shearn, Aaron Shorter, Noah Shutty, Vladimir Shvarts, Volodymyr Sivak, Spencer Small, W. Clarke Smith, Sofia Springer, George Sterling, Jordan Suchard, Aaron Szasz, Alex Sztein, Douglas Thor, M. Mert Torunbalci, Abeer Vaishnav, Justin Vargas, Sergey Vdovichev, Guifre Vidal, Catherine Vollgraff, Heidweiller, Steven Waltman, Shannon X. Wang, Brayden Ware, Theodore White, Kristi Wong, Bryan W. K. Woo, Cheng Xing, Z. Jamie Yao, Ping Yeh, Bicheng Ying, Juhwan Yoo, Noureldin Yosri, Grayson Young, Adam Zalcman, Yaxing Zhang, Ningfeng Zhu, Nicholas Zobris, Sergio Boixo, Julian Kelly, Erik Lucero, Yu Chen, Vadim Smelyanskiy, Hartmut Neven, Adam Gammon-Smith, Frank Pollmann, Michael Knap, and Pedram Roushan. 2025. Visualizing dynamics of charges and strings in D lattice gauge theories. Nature 642 (2025), 315–320. doi:10.1038/s41586-025-08999-9
[20] Dan Cogan, Zu-En Su, Oded Kenneth, and David Gershoni. 2023. Deterministic generation of indistinguishable photons in a cluster state. Nature Photonics 17, 4 (2023), 324–329.
[21] Alexander Cowtan, Silas Dilkes, Ross Duncan, Will Simmons, and Seyon Sivarajah. 2019. Phase gadget synthesis for shallow circuits. arXiv preprint arXiv:1906.01734 (2019).
[22] Alexander Cowtan, Will Simmons, and Ross Duncan. 2020. A generic compilation strategy for the unitary coupled cluster ansatz. arXiv preprint arXiv:2007.10515 (2020).
[23] Siddharth Dangwal, Gokul Subramanian Ravi, Poulami Das, Kaitlin N Smith, Jonathan Mark Baker, and Frederic T Chong. 2023. Varsaw: Application-tailored measurement error mitigation for variational quantum algorithms. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 4. 362–377.
[24] Subrata Das and Swaroop Ghosh. 2025. Optimization of Quantum Error Correcting Code under Temporal Variation of Qubit Quality. In 2025 IEEE Computer Society Annual Symposium on VLSI (ISVLSI), Vol. 1. IEEE, 1–6.
[25] Timothée Goubault de Brugière and Simon Martiel. 2024. Faster and shorter synthesis of hamiltonian simulation circuits. arXiv preprint arXiv:2404.03280 (2024).
[26] Ethan Decker, Lucas Goetz, Evan McKinney, Erik Gustafson, Junyu Zhou, Yuhao Liu, Alex K. Jones, Ang Li, Alexander Schuckert, Samuel Stein, Eleanor Crane, and Gushu Li. 2025. Kernpiler: Compiler Optimization for Quantum Hamiltonian Simulation with Partial Trotterization. arXiv preprint arXiv:2504.07214 (2025). arXiv:2504.07214 [quant-ph] doi:10.48550/arXiv.2504.07214
[27] Ross Duncan, Aleks Kissinger, Simon Perdrix, and John Van De Wetering. 2020. Graph-theoretic simplification of quantum circuits with the ZX-calculus. Quantum 4 (2020), 279.
[28] N Elstner and H Monien. 1999. Dynamics and thermodynamics of the Bose-Hubbard model. Physical Review B 59, 19 (1999), 12184.
[29] Peter M Fenwick. 1994. A new data structure for cumulative frequency tables. Software: Practice and experience 24, 3 (1994), 327–336.
[30] Richard P Feynman. 2018. Simulating physics with computers. In Feynman and computation. cRc Press, 133–153.
[31] Christof Gattringer and Christian Lang. 2009. Quantum chromodynamics on the lattice: an introductory presentation. Vol. 788. Springer Science & Business Media.
[32] Iulia M Georgescu, Sahel Ashhab, and Franco Nori. 2014. Quantum simulation. Reviews of Modern Physics 86, 1 (2014), 153–185.
[33] Craig Gidney. 2021. Stim: a fast stabilizer circuit simulator. Quantum 5 (July 2021), 497. doi:10.22331/q-2021-07-06-497
[34] Craig Gidney, Michael Newman, Austin Fowler, and Michael Broughton. 2021. A Fault-Tolerant Honeycomb Memory. Quantum 5 (2021), 605. arXiv:2108.10457 [quant-ph] doi:10.22331/q-2021-12-20-605
[35] Emmanouil Giortamis, Francisco Romão, Nathaniel Tornow, and Pramod Bhatotia. 2025. {QOS}: Quantum Operating System. In 19th USENIX Symposium on Operating Systems Design and Implementation (OSDI 25). 429–447.
[36] Gabriele Giuliani and Giovanni Vignale. 2008. Quantum theory of the electron liquid. Cambridge university press.
[37] Griffiths and David J Griffiths. 2008. Introduction to Elementary Particles 2nd Ed. Wiley-VCH.
[38] Cheng Guo, Andreas Weichselbaum, Jan von Delft, and Matthias Vojta. 2012. Critical and strong-coupling phases in one-and two-bath spin-boson models. Physical review letters 108, 16 (2012), 160401.
[39] Tianyi Hao, Joseph Sullivan, Sivaprasad Omanakuttan, Michael A Perlin, and Ruslan Shaydulin. 2025. Compilation Pipeline for Predicting Algorithmic Break-Even in an Early-Fault-Tolerant Surface Code Architecture. arXiv preprint arXiv:2511.20947 (2025).
[40] Tianyi Hao, Amanda Xu, and Swamit Tannu. 2025. Reducing T Gates with Unitary Synthesis. arXiv preprint arXiv:2503.15843 (2025).
[41] Vojtěch Havlíček, Matthias Troyer, and James D Whitfield. 2017. Operator locality in the quantum simulation of fermionic models. Physical Review A 95, 3 (2017), 032332.
[42] Werner Heisenberg. 1928. Zur theorie des ferromagnetismus. Zeitschrift für Physik 49, 9 (1928), 619–636.
[43] Oscar Higgott and Craig Gidney. 2025. Sparse Blossom: correcting a million errors per core second with minimum-weight matching. Quantum 9 (Jan. 2025), 1600. doi:10.22331/q-2025-01-20-1600
[44] Fei Hua, Yuwei Jin, Yanhao Chen, Suhas Vittal, Kevin Krsulich, Lev S Bishop, John Lapeyre, Ali Javadi-Abhari, and Eddy Z Zhang. 2023. Cqvr: A compiler-assisted approach for qubit reuse through dynamic circuit. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3. 59–71.
[45] Chen Huang, Xi Zhao, Hongze Xu, Weifeng Zhuang, Meng-Jun Hu, Dong E Liu, and Jingbo Wang. 2026. ZAP: Zoned Architecture and Performant Compiler for Field Programmable Atom Array. IEEE Transactions on Quantum Engineering (2026).
[46] Tsung-Wei Huang, Dian-Lun Lin, Chun-Xun Lin, and Yibo Lin. 2022. Taskflow: A Lightweight Parallel and Heterogeneous Task Graph Computing System. In IEEE Transactions on Parallel and Distributed Systems (TPDS). 1303–1320.
[47] Yipeng Huang, Steven Holtzen, Todd Millstein, Guy Van den Broeck, and Margaret Martonosi. 2021. Logical abstractions for noisy variational Quantum algorithm simulation. In Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (Virtual, USA) (ASPLOS '21). Association for Computing Machinery, New York, NY, USA, 456–472. doi:10.1145/3445814.3446750
[48] Yipeng Huang and Margaret Martonosi. 2019. Statistical assertions for validating patterns and finding bugs in quantum programs. In Proceedings of the 46th International Symposium on Computer Architecture (Phoenix, Arizona) (ISCA '19). Association for Computing Machinery, New York, NY, USA, 541–553. doi:10.1145/3307650.3322213
[49] Yuexun Huang, Xiangyu Ren, Bikun Li, Yat Wong, Zhiding Liang, and Liang Jiang. 2025. Peer-to-Peer Distribution of Graph States Across Spacetime Quantum Networks of Arbitrary Topology. Proceedings of the ACM on Measurement and Analysis of Computing Systems 9, 2, Article 31 (2025), 36 pages. arXiv:2412.14757 [quant-ph] doi:10.1145/3727123
[50] Yue-Xun Huang, Ming Li, Zi-Jie Chen, Yan-Lei Zhang, Xu-Bo Zou, Guang-Can Guo, and Chang-Ling Zou. 2023. Residual Quantum Effects beyond Mean-Field Treatment in Quantum Optics Systems. Laser & Photonics Reviews 17, 4 (2023), 2200599.
[51] Yue-Xun Huang, Ming Li, Ke Lin, Yan-Lei Zhang, Guang-Can Guo, and Chang-Ling Zou. 2022. Classical-to-quantum transition in multimode nonlinear systems with strong photon-photon coupling. Physical Review A 105, 4 (2022), 043707.
[52] John Hubbard. 1963. Electron correlations in narrow energy bands. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences 276, 1365 (1963), 238–257.
[53] Enhyeok Jang, Dongho Ha, Seungwoo Choi, Youngmin Kim, Jaewon Kwon, Yongju Lee, Sungwoo Ahn, Hyungseok Kim, and Won Woo Ro. 2024. Recompiling QAOA Circuits on Various Rotational Directions. In Proceedings of the 2024 International Conference on Parallel Architectures and Compilation Techniques (Long Beach, CA, USA) (PACT '24). Association for Computing Machinery, New York, NY, USA, 309–324. doi:10.1145/3656019.3676899
[54] Ali Javadi-Abhari, Matthew Treinish, Kevin Krsulich, Christopher J. Wood, Jake Lishman, Julien Gacon, Simon Martiel, Paul D. Nation, Lev S. Bishop, Andrew W. Cross, Blake R. Johnson, and Jay M. Gambetta. 2024. Quantum computing with Qiskit. arXiv preprint arXiv:2405.08810 (2024). arXiv:2405.08810 [quant-ph] doi:10.48550/arXiv.2405.08810
[55] Ali JavadiAbhari, Shruti Patil, Daniel Kudrow, Jeff Heckey, Alexey Lvov, Frederic T Chong, and Margaret Martonosi. 2014. ScaffCC: A framework for compilation and analysis of quantum computing programs. In Proceedings of the 11th ACM Conference on Computing Frontiers. 1–10.
[56] Shui Jiang, Hengrui Chen, Tsung-Yi Ho, and Tsung-Wei Huang. 2026. Q-TranSim: Batch Quantum Circuit Simulation using Tensor Transpilation. In ACM International Conference on Parallel Architectures and Compilation Techniques (PACT).
[57] Shui Jiang, Yi-Hua Chung, Chih-Chun Chang, Tsung-Yi Ho, and Tsung-Wei Huang. 2025. BQSim: GPU-accelerated Batch Quantum Circuit Simulation using Decision Diagram. In ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS).
[58] Yuwei Jin, Zirui Li, Fei Hua, Tianyi Hao, Huiyang Zhou, Yipeng Huang, and Eddy Z Zhang. 2024. Tetris: A compilation framework for vqa applications in quantum computing. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA). IEEE, 277–292.
[59] Robert Jördens, Niels Strohmaier, Kenneth Günter, Henning Moritz, and Tilman Esslinger. 2008. A Mott insulator of fermionic atoms in an optical lattice. Nature 455, 7210 (2008), 204–207.
[60] Hyungseok Kim, Enhyeok Jang, Seungwoo Choi, Youngmin Kim, and Won Woo Ro. 2025. Qr-map: A map-based approach to quantum circuit abstraction for qubit reuse optimization. In Proceedings of the 52nd Annual International Symposium on Computer Architecture. 1568–1582.
[61] Youngseok Kim, Andrew Eddins, Sajant Anand, Ken Xuan Wei, Ewout van den Berg, Sami Rosenblatt, Hasan Nayfeh, Yantao Wu, Michael Zaletel, Kristan Temme, and Abhinav Kandala. 2023. Evidence for the utility of quantum computing before fault tolerance. Nature 618, 7965 (2023), 500–505. doi:10.1038/s41586-023-06096-3
[62] Youngmin Kim, Enhyeok Jang, Hyungseok Kim, Seungwoo Choi, Changheon Lee, Donghwi Kim, Woomin Kyoung, Kyujin Shin, and Won Woo Ro. 2025. Distribution-adaptive dynamic shot optimization for variational quantum algorithms. Physical Review Research 7, 4 (2025), 043253.
[63] M Kira and SW Koch. 2008. Cluster-expansion representation in quantum optics. Physical Review A—Atomic, Molecular, and Optical Physics 78, 2 (2008), 022102.
[64] Aleks Kissinger and John Van De Wetering. 2019. PyZX: Large scale automated diagrammatic reasoning. arXiv preprint arXiv:1904.04735 (2019).
[65] C Kittel. 2005. Int. to Solid State Physics, 8th edn., Maruzen.
[66] Lingyi Kong, Chen Huang, Zhemin Zhang, Yidong Zhou, Xiangyu Ren, Shaochen Li, and Zhiding Liang. 2026. Compiler Framework for Directional Transport in Zoned Neutral Atom Systems with AOD Assistance: A Hybrid Remote CZ Approach. In Proceedings of the 63rd ACM/IEEE Design Automation Conference (DAC '26). 1–7. arXiv:2604.11000 [quant-ph] doi:10.1145/3770743.3804196
[67] Satwik Kundu and Swaroop Ghosh. 2025. Inverse-Transpilation: Reverse-Engineering Quantum Compiler Optimization Passes from Circuit Snapshots. In Proceedings of the Great Lakes Symposium on VLSI 2025. 273–277.
[68] Lingling Lao and Dan E Browne. 2022. 2qan: A quantum compiler for 2-local qubit hamiltonian simulation algorithms. In Proceedings of the 49th Annual International Symposium on Computer Architecture. 351–365.
[69] Lingling Lao, Prakash Murali, Margaret Martonosi, and Dan Browne. 2021. Designing calibration and expressivity-efficient instruction sets for quantum computing. In 2021 ACM/IEEE 48th Annual International Symposium on Computer Architecture (ISCA). IEEE, 846–859.
[70] Hugo Larocque, Mustafa Atabey Buyukkaya, Carlos Errando-Herranz, Camille Papon, Samuel Harper, Max Tao, Jacques Carolan, Chang-Min Lee, Christopher J. K. Richardson, Gerald L. Leake, Daniel J. Coleman, Michael L. Fanto, Edo Waks, and Dirk Englund. 2024. Tunable quantum emitters on large-scale foundry silicon photonics. Nature Communications 15, 1 (2024), 5781. doi:10.1038/s41467-024-50208-0
[71] Robert B Laughlin. 1983. Anomalous quantum Hall effect: An incompressible quantum fluid with fractionally charged excitations. Physical Review Letters 50, 18 (1983), 1395.
[72] Lucas Leclerc, Sergi Julià-Farré, Gabriel Silva Freitas, Guillaume Villaret, Boris Albrecht, Lucas Béguin, Lilian Bourachot, Clémence Briosne-Frejaville, Dorian Claveau, Antoine Cornillot, et al. 2026. One-to-one quantum simulation of a frustrated magnet with 256 qubits. arXiv preprint arXiv:2603.20372 (2026).
[73] Roland Leißa, Marcel Köster, and Sebastian Hack. 2015. A graph-based higher-order intermediate representation. In 2015 IEEE/ACM International Symposium on Code Generation and Optimization (CGO). IEEE, 202–212.
[74] Bikun Li, Sophia E Economou, and Edwin Barnes. 2022. Photonic resource state generation from a minimal number of quantum emitters. npj Quantum Information 8, 1 (2022), 11.
[75] Gushu Li, Yufei Ding, and Yuan Xie. 2019. Tackling the qubit mapping problem for NISQ-era quantum devices. In Proceedings of the twenty-fourth international conference on architectural support for programming languages and operating systems. 1001–1014.
[76] Gushu Li, Anbang Wu, Yunong Shi, Ali Javadi-Abhari, Yufei Ding, and Yuan Xie. 2022. Paulihedral: a generalized block-wise compiler optimization framework for quantum simulation kernels. In Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems. 554–569.
[77] Yingheng Li, Yue Dai, Aditya Pawar, Rongchao Dong, Jun Yang, Youtao Zhang, and Xulong Tang. 2025. Reinforcement Learning-Guided Graph State Generation in Photonic Quantum Computers. In Proceedings of the 52nd Annual International Symposium on Computer Architecture (ISCA '25). Association for Computing Machinery, New York, NY, USA, 1598–1612. doi:10.1145/3695053.3731085
[78] Yingheng Li, Aditya Pawar, Zewei Mo, Youtao Zhang, Jun Yang, and Xulong Tang. 2025. FMCC: Flexible Measurement-based Quantum Computation over Cluster State (ASPLOS '24). Association for Computing Machinery, New York, NY, USA, 111–126. doi:10.1145/3622781.3674185
[79] Jie Lin, Benjamin MacLellan, Sobhan Ghanbari, Julie Belleville, Khuong Tran, Luc Robichaud, Roger G Melko, Hoi-Kwong Lo, and Piotr Roztocki. 2024. GraphiQ: Quantum circuit design for photonic graph states. Quantum 8 (2024), 1453.
[80] Wan-Hsuan Lin, Daniel Bochen Tan, and Jason Cong. 2025. Reuse-aware compilation for zoned quantum architectures based on neutral atoms. In 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA). IEEE, 127–142.
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace
[81] Ji Liu, Alvin Gonzales, Benchen Huang, Zain Hamid Saleem, and Paul Hovland. 2025. QuCLEAR: Clifford Extraction and Absorption for Quantum Circuit Optimization. In 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA). IEEE, 158–172.
[82] Yuhao Liu, Shize Che, Junyu Zhou, Yunong Shi, and Gushu Li. 2024. Fermihedral: On the optimal compilation for fermion-to-qubit encoding. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3. 382–397.
[83] Yuhao Liu, Kevin Yao, Jonathan Hong, Julien Froustey, Ermal Rrapaj, Costin Iancull, Gushu Li, and Yunong Shi. 2025. HATT: Hamiltonian Adaptive Ternary Tree for Optimizing Fermion-to-Qubit Mapping. In 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA). IEEE, 143–157.
[84] Guang Hao Low, William J Huggins, Dominic W Berry, Tanuj Khattar, Alec F White, Nicholas C Rubin, and Ryan Babbush. 2026. A Denser Planar Surface Code. arXiv preprint arXiv:2605.30455 (2026).
[85] M Ma, BI Halperin, and PA Lee. 1986. Strongly disordered superfluids: Quantum fluctuations and critical behavior. Physical Review B 34, 5 (1986), 3136.
[86] Jarrod R. McClean, Nicholas C. Rubin, Kevin J. Sung, Ian D. Kivlichan, Xavier Bonet-Monroig, Yudong Cao, Chengyu Dai, E. Schuyler Fried, Craig Gidney, Brendan Gimby, Pranav Gokhale, Thomas Häner, Tarini Hardikar, Vojtěch Havlíček, Oscar Higgott, Cupjin Huang, Josh Izaac, Zhang Jiang, Xinle Liu, Sam McArdle, Matthew Neeley, Thomas O'Brien, Bryan O'Gorman, Isil Ozfidan, Maxwell D. Radin, Jhonathan Romero, Nicolas P. D. Sawaya, Bruno Senjean, Kanav Setia, Sukin Sim, Damian S. Steiger, Mark Steudtner, Qiming Sun, Wei Sun, Daochen Wang, Fang Zhang, and Ryan Babbush. 2020. OpenFermion: the electronic structure package for quantum computers. Quantum Science and Technology 5, 3 (2020), 034014. doi:10.1088/2058-9565/ab8ebc
[87] Amey Meher, Yuan Liu, and Huiyang Zhou. 2024. Error Mitigation of Hamiltonian Simulations from an Analog-Based Compiler (SimuQ). In 2024 IEEE International Conference on Quantum Computing and Engineering (QCE), Vol. 1. IEEE, 181–187.
[88] Alexander Miessen, Pauline J Ollitrault, and Ivano Tavernelli. 2021. Quantum algorithms for quantum dynamics: A performance study on the spin-boson model. Physical Review Research 3, 4 (2021), 043212.
[89] Mario Motta, Erika Ye, Jarrod R McClean, Zhendong Li, Austin J Minnich, Ryan Babbush, and Garnet Kin-Lic Chan. 2021. Low rank representations for quantum simulation of electronic structure. npj Quantum Information 7, 1 (2021), 83.
[90] Prakash Murali, Jonathan M Baker, Ali Javadi-Abhari, Frederic T Chong, and Margaret Martonosi. 2019. Noise-adaptive compiler mappings for noisy intermediate-scale quantum computers. In Proceedings of the twenty-fourth international conference on architectural support for programming languages and operating systems. 1015–1029.
[91] Prakash Murali, Ali Javadi-Abhari, Frederic T Chong, and Margaret Martonosi. 2019. Formal constraint-based compilation for noisy intermediate-scale quantum systems. Microprocessors and Microsystems 66 (2019), 102–112.
[92] Prakash Murali, Norbert Matthias Linke, Margaret Martonosi, Ali Javadi Abhari, Nhung Hong Nguyen, and Cinthia Huerta Alderete. 2019. Full-stack, real-system quantum computer studies: Architectural comparisons and design insights. In Proceedings of the 46th International Symposium on Computer Architecture. 527–540.
[93] Prakash Murali, Norbert M Linke, Margaret Martonosi, Ali Javadi Abhari, Nhung Hong Nguyen, and Cinthia Huerta Alderete. 2020. Architecting noisy intermediate-scale quantum computers: A real-system study. IEEE Micro 40, 3 (2020), 73–80.
[94] Román Orús. 2014. A practical introduction to tensor networks: Matrix product states and projected entangled pair states. Annals of Physics 349 (2014), 117–158. doi:10.1016/j.aop.2014.06.013
[95] Aditya Pawar, Yingheng Li, Zewei Mo, Yanan Guo, Xulong Tang, Youtao Zhang, and Jun Yang. 2025. QRCC: Evaluating Large Quantum Circuits on Small Quantum Computers through Integrated Qubit Reuse and Circuit Cutting (ASP-LOS '24). Association for Computing Machinery, New York, NY, USA, 236–251. doi:10.1145/3622781.3674179
[96] David Plankensteiner, Christoph Hotter, and Helmut Ritsch. 2022. Quantum-Cumulants. jl: A Julia framework for generalized mean-field equations in open quantum systems. Quantum 6 (2022), 617.
[97] Diego Porras and J Ignacio Cirac. 2004. Effective quantum spin systems with trapped ions. Physical review letters 92, 20 (2004), 207901.
[98] IBM Qiskit. [n. d.]. PauliEvolutionSynthesisRustiq. https://quantum.cloud.ibm.com/docs/en/api/qiskit/qiskit.transpiler.passes.synthesis.hls_plugins.PauliEvolutionSynthesisRustiq. Accessed: 2025-08-16.
[99] Gokul Subramanian Ravi, Pranav Gokhale, Yi Ding, William Kirby, Kaitlin Smith, Jonathan M Baker, Peter J Love, Henry Hoffmann, Kenneth R Brown, and Frederic T Chong. 2022. CAFQA: A classical simulation bootstrap for variational quantum algorithms. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1. 15–29.
[100] Gokul Subramanian Ravi, Kaitlin Smith, Jonathan M Baker, Tejas Kannan, Nathan Earnest, Ali Javadi-Abhari, Henry Hoffmann, and Frederic T Chong.
- Navigating the dynamic noise landscape of variational quantum algorithms with qismet. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2. 515–529.
[101] Gokul Subramanian Ravi, Kaitlin N Smith, Pranav Gokhale, Andrea Mari, Nathan Earnest, Ali Javadi-Abhari, and Frederic T Chong. 2022. Vaqem: A variational approach to quantum error mitigation. In 2022 IEEE International Symposium on High-Performance Computer Architecture (HPCA). IEEE, 288–303.
[102] Xiangyu Ren, Yuexun Huang, Zhiding Liang, and Antonio Barbalace. 2025. A Scalable and Robust Compilation Framework for Emitter-Photonic Graph State. arXiv preprint arXiv:2503.16346 (2025).
[103] Xiangyu Ren, Yuexun Huang, Zhemin Zhang, Yuchen Zhu, Tsung-Yi Ho, Antonio Barbalace, and Zhiding Liang. 2026. Photonic Quantum Computing on Spin Memory Architecture with Tree-Encoded Fusion. In Proceedings of the 53rd Annual International Symposium on Computer Architecture (ISCA '26). 2333–2348. arXiv:2604.21475 [quant-ph] doi:10.1109/ISCA66397.2026.00164
[104] Xiangyu Ren, Junjie Wan, Zhiding Liang, and Antonio Barbalace. 2024. Tackling Coherent Noise in Quantum Computing via Cross-Layer Compiler Optimization. arXiv:2410.09664 [cs.AR] doi:10.48550/arXiv.2410.09664
[105] Xiangyu Ren, Mengyu Zhang, and Antonio Barbalace. 2024. A hardware-aware gate cutting framework for practical quantum circuit knitting. In Proceedings of the 43rd IEEE/ACM International Conference on Computer-Aided Design. 1–9.
[106] Xiangyu Ren, Tianyu Zhang, Xiong Xu, Yi-Cong Zheng, and Shengyu Zhang. 2024. Invited: Leveraging Machine Learning for Quantum Compilation Optimization. In Proceedings of the 61st ACM/IEEE Design Automation Conference (DAC '24). Article 360, 4 pages. doi:10.1145/3649329.3663510
[107] Heinz J Rothe. 2012. Lattice gauge theories: an introduction. World Scientific Publishing Company.
[108] Rupshali Roy, Archisman Ghosh, and Swaroop Ghosh. 2025. Forensics of Transpiled Quantum Circuits. In Proceedings of the Great Lakes Symposium on VLSI 2025. 354–359.
[109] Ulrich Schollwöck. 2011. The density-matrix renormalization group in the age of matrix product states. Annals of Physics 326, 1 (2011), 96–192. doi:10.1016/j.aop.2010.09.012
[110] Norbert Schuch, Michael M. Wolf, Frank Verstraete, and J. Ignacio Cirac. 2008. Entropy scaling and simulability by matrix product states. Physical Review Letters 100, 3 (2008), 030504. doi:10.1103/PhysRevLett.100.030504
[111] Lennart Maximilian Seifert, Siddharth Dangwal, Frederic T Chong, and Gokul Subramanian Ravi. 2024. Clapton: Clifford Assisted Problem Transformation for Error Mitigation in Variational Quantum Algorithms. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 4. 47–62.
[112] Rolando Somma, Gerardo Ortiz, Emanuel Knill, and James Gubernatis. 2003. Quantum simulations of physics problems. International Journal of Quantum Information 1, 02 (2003), 189–206.
[113] Adrien Suau, Yiming Zhang, Purva Thakre, Yilun Zhao, Kabir Dubey, Jose A Bolanos, Arabella Schelpe, Tianyi Hao, Philip Seitz, Gian Giacomo Guerreschi, et al. 2026. tqec: A Python package for topological quantum error correction. Journal of Open Source Software 11, 120 (2026), 9142.
[114] Evangelia Takou, Edwin Barnes, and Sophia E Economou. 2025. Optimization complexity and resource minimization of emitter-based photonic graph state generation protocols. npj Quantum Information 11, 1 (2025), 108.
[115] Daniel Bochen Tan, Murphy Yuezhen Niu, and Craig Gidney. [n. d.]. Lattice Surgery Subroutine Synthesizer (LaSsynth). https://github.com/quantumlib/Stim/tree/main/glue/lattice_surgery. Accessed: 2025-08-16.
[116] Daniel Bochen Tan, Murphy Yuezhen Niu, and Craig Gidney. 2024. A sat scalpel for lattice surgery: Representation and synthesis of subroutines for surface-code fault-tolerant quantum computing. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA). IEEE, 325–339.
[117] Wei Tang and Margaret Martonosi. 2022. ScaleQC: A scalable framework for hybrid computation on quantum and classical processors. arXiv preprint arXiv:2207.00933 (2022).
[118] Wei Tang and Margaret Martonosi. 2025. Tensorqc: Towards scalable distributed quantum computing via tensor networks. arXiv preprint arXiv:2502.03445 (2025).
[119] Wei Tang, Teague Tomesh, Martin Suchara, Jeffrey Larson, and Margaret Martonosi. 2021. Cutqc: using small quantum computers for large quantum circuit evaluations. In Proceedings of the 26th ACM International conference on architectural support for programming languages and operating systems. 473–486.
[120] Nathaniel Tornow, Emmanouil Giortamis, and Pramod Bhatotia. 2025. QVM: Quantum Gate Virtualization Machine. Proceedings of the ACM on Programming Languages 9, PLDI (2025), 993–1018.
[121] Matthias Troyer and Uwe-Jens Wiese. 2005. Computational Complexity and Fundamental Limitations to Fermionic Quantum Monte Carlo Simulations. Physical review letters 94, 17 (2005), 170201.
[122] John van de Wetering. 2020. ZX-calculus for the working quantum computer scientist. arXiv preprint arXiv:2012.13966 (2020).
[123] Guifre Vidal. 2003. Efficient classical simulation of slightly entangled quantum computations. Physical Review Letters 91, 14 (2003), 147902. doi:10.1103/
PhysRevLett.91.147902
[124] Hanrui Wang, Pengyu Liu, Daniel Bochen Tan, Yilian Liu, Jiaqi Gu, David Z Pan, Jason Cong, Umut A Acar, and Song Han. 2024. Atomique: A quantum compiler for reconfigurable neutral atom arrays. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA). IEEE, 293–309.
[125] Meng Wang, Poulami Das, and Prashant J Nair. 2024. Qoncord: A multi-device job scheduling framework for variational quantum algorithms. In 2024 57th IEEE/ACM International Symposium on Microarchitecture (MICRO). IEEE, 735–749.
[126] Meng Wang, Bo Fang, Ang Li, and Prashant Nair. 2023. Efficient qaoa optimization using directed restarts and graph lookup. In Proceedings of the 2023 International Workshop on Quantum Classical Cooperative. 5–8.
[127] Steven Weinberg. 1995. The quantum theory of fields. Vol. 2. Cambridge university press.
[128] Kenneth G Wilson. 1974. Confinement of quarks. Physical review D 10, 8 (1974), 2445.
[129] Anbang Wu, Gushu Li, Yufei Ding, and Yuan Xie. 2021. Mitigating noise-induced gradient vanishing in variational quantum algorithm training. arXiv preprint arXiv:2111.13209 (2021).
[130] Anbang Wu, Gushu Li, Yuke Wang, Boyuan Feng, Yufei Ding, and Yuan Xie. 2021. Towards efficient ansatz architecture for variational quantum algorithms. arXiv preprint arXiv:2111.13730 (2021).
[131] Lei Xie, Jidong Zhai, ZhenXing Zhang, Jonathan Allcock, Shengyu Zhang, and Yi-Cong Zheng. 2022. Suppressing ZZ crosstalk of Quantum computers through pulse and scheduling co-optimization. In Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (Lausanne, Switzerland) (ASPLOS '22). Association for Computing Machinery, New York, NY, USA, 499–513. doi:10.1145/3503222.3507761
[132] Zhaohui Yang, Dawei Ding, Chenghong Zhu, Jianxin Chen, and Yuan Xie. 2025. PHOENIX: Pauli-Based High-Level Optimization Engine for Instruction Execution on NISQ Devices. In 2025 62nd ACM/IEEE Design Automation Conference (DAC). IEEE, 1–7.
[133] Zhaohui Yang, Kai Zhang, Xinyang Tian, Xiangyu Ren, Yingjian Liu, Yunfeng Li, Dawei Ding, Jianxin Chen, and Yuan Xie. 2026. Unifying Qubit Routing Across Diverse Quantum ISAs via Canonical Representation. In Proceedings of the 53rd Annual International Symposium on Computer Architecture (ISCA '26). 2302–2317. arXiv:2511.04608 [quant-ph] doi:10.1109/ISCA66397.2026.00162
[134] Junyao Zhang, Hanrui Wang, Gokul Subramanian Ravi, Frederic T Chong, Song Han, Frank Mueller, and Yiran Chen. 2023. Disq: Dynamic iteration skipping for variational quantum algorithms. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), Vol. 1. IEEE, 1062–1073.
[135] Mengyu Zhang, Xiangyu Ren, Guanglei Xi, Zhenxing Zhang, Qiaonian Yu, Fuming Liu, Hualiang Zhang, Shengyu Zhang, and Yi-Cong Zheng. 2023. A Scalable, Fast and Programmable Neural Decoder for Fault-Tolerant Quantum Computation Using Surface Codes. arXiv:2305.15767 [quant-ph] doi:10.48550/arXiv.2305.15767
[136] Ming Zhong, Xiangyu Ren, Jinglei Cheng, Shaohua Li, and Zhiding Liang. 2026. QuTuner: Feature- and Learning-Guided Optimization Pass Tuning for Quantum Compilers. arXiv:2607.04586 [quant-ph] doi:10.48550/arXiv.2607.04586
[137] Ming Zhong, Zhemin Zhang, Xiangyu Ren, Chenghong Zhu, Siyuan Niu, and Zhiding Liang. 2026. A Compilation Framework for Quantum Circuits with Mid-Circuit Measurement Error Awareness. In Proceedings of the 2026 IEEE/ACM International Conference on Computer-Aided Design (ICCAD '26). arXiv:2511.10921 [quant-ph] To appear.
[138] Yifan Zhu, Runze Liu, Ailun Yi, Xudong Wang, Yuanhao Qin, Zihao Zhao, Junyi Zhao, Bowen Chen, Xiuqi Zhang, Sannian Song, Yongheng Huo, Xin Ou, and Jiaxiang Zhang. 2025. A hybrid single quantum dot coupled cavity on a CMOS-compatible SiC photonic chip for Purcell-enhanced deterministic single-photon emission. Light: Science & Applications 14, 1 (2025), 86. doi:10.1038/s41377-024-01676-y
Appendix is not allowed in MICRO26 submission!!! Remove later
A ZX-calculus
Here we give the derivation of CNOT in ZX-calculus:
Here is an simple example of the relationship between ZX-diagram and quantum circuit.

Figure 19: An example of ZX-diagram (left) and the equivalent quantum circuit (right).
Here are the approach for transforming Pauli gadget into normal ZX-diagram elements. ① decomposing Y-spiders to Z-spider sandwiched by single-qubit rotations , and ② decomposing the coefficient box with a X-spider connected to a dangling Z-spider:

(10)
There are various rewriting rules for ZX-diagram, while the basic rule is: spider with same color are commutative, thus they can pass through each other on the wire. In addition, two neighboring spiders with same color can be merged into a new one, with new the coefficient being the sum of each coefficient of them:

(11)
B IR Constructions of Benchmark Models
In this section, we briefly introduce the models used for benchmarking, including their Hamiltonians and the corresponding IR construction.
B.1 Spin-Qubit Model
Depicted in Figure 20, the Heisenberg model is a well-known model for studying the phase transition of magnetic systems [42, 65, 121], and it can be shown that the general Hubbard model introduced
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace

Figure 20: GadIR for spin-qubit model.
later can be reduced to it under appropriate assumptions [1, 2, 52]. The Hamiltonian of the Heisenberg model can be written as
where denotes the pair of neighboring sites; , , are the coupling strengths along each direction; is the magnetic field along the z direction.
If , then the only interaction left is the coupling along the x and y directions, which gives rise to the Hamiltonian of the XY model, .

Figure 21: GadIR for Fermionic model.
B.2 Fermion Model
B.2.1 Fermi-Hubbard. As one of the most famous and fundamental models, the Fermi-Hubbard model is particularly useful in solid state physics to describe the crystal under the tight-binding approximation [1, 52], which is closely related to the ultra-cold atoms in an optical lattice [7, 59]. A relatively general form of Hamiltonian for the Fermi-Hubbard model can be written as,
where is the fermionic field operator at site , is the number operator, and . denotes a pair of neighboring sites; U is the Coulomb potential; t is the tunneling amplitude; is the chemical potential; and h is the magnetic field.
To obtain the spinless version, one simply discards the spin degree of freedom and the corresponding interaction, which arrives in
(14)
Note that we will now have the Coulomb interaction between neighboring sites, which was previously dominated by the interaction on site and omitted in .
B.2.2 Jellium. The Jellium model is a special kind of the general Coulomb-governed interacting electron model under the Born-Oppenheimer approximation, where the background is idealized with a uniform positive charge density [36]. It is frequently applied for studying the fractional quantum Hall effect [71]. The continuous Hamiltonian with N electrons can be approximated as
After choosing the plane-wave basis to discretize the model [3], the Hamiltonian has the following simple form,
with p, q being the index of the site. and denote the kinetic energy strength and electron-electron repulsion, respectively, which can be calculated given the electron density.

Figure 22: GadIR for Bosonic model.
B.3 Boson Model
Within the standard model, there are only two fundamental classes of particles concerning the particle-exchange statistic, namely bosons and fermions [37, 127]. We also benchmark our proposed framework for simulating the dynamics of bosons, which may imply its universal feasibility and advantages across many-body models in physics, especially for nonlinear optics systems and superconducting systems [6, 8]. The simulation of bosons is known to be more difficult than that of fermions, as the number of particles in a particular state is unlimited and unrestricted by the Pauli exclusion principle, which leads to infinite dimensions of the Hilbert space in the particle number basis and requires special truncation techniques such as Fock-state truncation [7] or cluster expansion for Gaussian like states [50, 51, 63, 96].
In this work, we adopt the bosonic version of the Hubbard model [38, 85], namely the Bose-Hubbard model, the Hamiltonian of which is written as
(17)
where is the boson field operator; is now the hopping amplitude, is the on-site interaction; is the chemical potential. We use a relatively straightforward mapping method by mapping a site with maximum excitation to qubits, with each representing one of the excitation levels [88], in contrast to the one-to-one correspondence of site and qubit in the fermionic case.

Figure 23: GadIR for lattice gauge theory model.
B.4 Lattice Gauge Theory
Gauge theory constitutes the backbone of the standard model and thus also modern particle physics [37, 127]. The Lagrangian, which can be transformed into a Hamiltonian governing the dynamics of the particles, can be derived directly from the symmetry group of the system, marking the milestone of theoretical physics. The gauge theory offers the prediction of the particle under all interactions except gravity that matches the experimental results to an ultra-high precision by modeling the interaction between matter fermions as a gauge field carried by the corresponding gauge bosons. Due to the complicated nature of the interaction, the dynamics is usually solved with perturbative methods organized with Feynman diagrams. However, this approach breaks down for quantum chromodynamics (QCD), which is itself a SU(3) gauge theory because of the famous color confinement [128], as the interaction becomes stronger as the energy decreases, and calls for a non-perturbative method. Lattice gauge theory (LGT) is the most widely used method to overcome difficulties and provide fruitful results by discretizing the space, or in other words, working in a discretized position basis [31, 107].
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace

Figure 24: The illustration of the lattice gauge theory.
In this work, we strengthen the claim of our method's universal effectiveness by simulating a simplified version of quantum electrodynamics, where the symmetry group is truncated into [107]. The matter fermions involved in this simplified model are electrons, while the gauge bosons are photons. The topology of the model can be represented in Figure 24(a), where the vertices represent the values of the electrons' wavefunction at a specific location of the discretized space, and the links represent the interaction (may also be considered the wavefunction) of the photons, which can be mapped to qubits. To further simplify the model, we can integrate out the wave function of the electrons and focus on the gauge field, which arrives at the topology represented in Figure 24(b) with each link mapped to a qubit. The Hamiltonian is, therefore, given by
(18)
Here, the first two terms serve as the 'detectors' for electrons and magnetic flux excitation with parameters and , and the integral is performed over all the links involved in the vertices and plaquettes as shown in Figure 24(b), respectively. The last two terms denote electric fields and the hopping of the matter field introduced by the gauge field with the strengths and , respectively.
B.5 Chemistry
The Hamiltonian used for simulating the simple chemical molecules model is a more general Coulomb Hamiltonian than the previously introduced Jellium model, which reads
under a general basis (instead of the plane wave one). Although the interaction part contains terms for simulating the molecules with sites (orbits), truncation of the eigenvalues with Cholesky decomposition can be applied to reduce the complexity to as the rank of the matrix generally scales linearly with [89]. Given the desired number of active orbits (considering the spins, which double the number of qubits) and the geometry of the molecule, the parameters and can be calculated by the Colomb integral in the Molecular orbits with existing tools [86]. And in this work, we select LiH, and Benzene with 3, 4, 6 active orbits, respectively, for benchmarks.
C Pseudo Code for Algorithm
Algorithm 1 Pauli Gadget Reduction-Tree Algorithm
Require: Pauli gadget of model , Topology .
Ensure: Gadget reduction tree .
1: function DIVIDE_GROUP(gadget sets , Topology )
2: For edge in do
3: Clifford set , Reducible gadgets iterate Clifford sets on and find maximal reducible #gadgets
4: end For
5:
6: return , ,
7: end function
8: function RECURSION_GROW_CHILDREN(gadget sets )
9: Gadget set to divide
10: For True do
11: , , DIVIDE_GROUP( , )
12: if
13: return
14: end if
15:
16: Use to apply group reduction on
17: reduce gadgets from
18: Node of grow its child as node of
19: end For
20: end function
21: RECURSION_GROW_CHILDREN( )
D Pauli Gadget Reduction Rules

Figure 25: Clifford gate passing through rules for gadgets.
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace


Figure 26: Group reduction rules for Pauli gadgets.
A Artifact Appendix
A.1 Abstract
This artifact reproduces the GadIR evaluation in Figures 10–15, 17, and 18(d). It runs GadIR and fixed baselines on superconducting (Figures 10–11), neutral-atom (Figure 12), FTQC (Figures 13–14), and MBQC (Figure 15) backends. It also evaluates group reduction on random Hamiltonians (Figure 17) and MPS entanglement scaling (Figure 18(d)). The archive includes the generated result tables and figures for immediate plot-only validation. No quantum hardware is required.
A.2 Artifact check-list (meta-information)
• Algorithm: GadIR and fixed baselines use one second-order Suzuki step in Figures 10–15; Figure 17 is a topology-agnostic group-reduction ablation.
• Program: Python architecture drivers and packaged QuCLEAR, 2QAN, Tetris, Rustiq, PyZX, ZAC, and GSsynth code. TQEC is installed from a pinned upstream Git revision.
• Compilation: Qiskit synthesis/routing; a Rust extension for Rustiq.
• Transformations: Pauli-gadget reduction, routing/scheduling, FTQC conversion/simulation, and MBQC graph synthesis.
• Binary: Rustiq is built locally; the remaining Python code runs from packaged source or pinned installed dependencies.
• Model: 52 Hamiltonians from eight physical/model families, plus random Hamiltonians for the group-reduction ablation.
• Data set: JSON Hamiltonians and hardware specifications.
• Run-time environment: Three pinned Conda environments. The analysis environment uses Python 3.10 and Qiskit 1.4.3; QuCLEAR uses Python 3.10 and Qiskit 1.1.1; 2QAN uses Python 3.9 and Qiskit 0.36.2.
• Hardware: CPU-only; at least 16 Intel, AMD, or Apple CPU cores, 32 GB RAM, and 20 GB disk recommended.
• Run-time state: Generated tables and figures are included under results/ and output/; full reproduction overwrites them with fresh outputs.
• Execution: One shell entry point; four architecture backends followed by the analysis workflows.
• Metrics: Two-qubit count, depth, duration, fidelity, non-Clifford count, logical error, emitter-entanglement count, reduction percentage, and maximum MPS bipartite entropy.
• Output: CSV/QASM/statistics and ten PDF files for eight numbered figures, including full-range variants of Figures 10 and 11.
• Experiments: Smoke, full reproduction, and plot-only modes.
• How much disk space required (approximately)?: 20 GB.
• How much time is needed to prepare workflow (approximately)?: 30–90 minutes, depending on network/build speed.
• How much time is needed to complete experiments (approximately)?: Smoke: tens of minutes; full run: hours to multiple days.
• Publicly available?: Yes, through GitHub and Zenodo.
• Code licenses (if publicly available)?: This AE folder does not introduce a GadIR license. Redistributed third-party code retains its upstream notice in baselines/<name>/LICENSE; TQEC is pinned in the analysis environment specification.
• Data licenses (if publicly available)?: See the released artifact and Zenodo record.
• Workflow automation framework used?: Bash and Python.
• Archived (provide DOI)?: https://doi.org/10.5281/zenodo.21550065.
A.3 Description
A.3.1 How to access. Repository: https://github.com/xiyurain/GadIR.
Archive: https://doi.org/10.5281/zenodo.21550065.
The public repository can be cloned over HTTPS, and the archive can be used without GitHub access. All commands run from GadIR_AE/.
A.3.2 Hardware dependencies. No quantum processor or GPU is required. Intel, AMD, and Apple CPUs are supported; we recommend at least 16 CPU cores, 32 GB RAM, and 20 GB disk.
A.3.3 Software dependencies. The host needs Bash, Git, Conda, C/C++ build tools, stable Rust/Cargo, and network access during installation. environments/ pins:
• analysis.yml: Python 3.10, Qiskit 1.4.3, Qiskit Aer 0.17.1, PyZX 0.9.0, scientific/plotting packages, Stim/sinter 1.15.0, PyMatching 2.3.0, pinned TQEC, and Jupyter Notebook;
• quclear.yml: Python 3.10, Qiskit 1.1.1, and pytest 7.4.4.
• 2qan.yml: Python 3.9 and the pinned build/runtime dependencies for Qiskit Terra 0.20.2 (the Terra release in Qiskit 0.36.2).
2QAN, QuCLEAR, Tetris, Rustiq, PyZX, and ZAC code used by the scripts is under baselines/. The Python GSsynth Naive implementation is under src/mbqc/, with its upstream GPL-3.0 license under baselines/gssynth/. Conda installs the exact TQEC revision pinned in analysis.yml. The bundled GraphiQ compatibility wheel is installed without its obsolete Qiskit dependency, but the Figure 15 workflow uses GSsynth Naive. Packaged upstream licenses and available revision records are stored with the corresponding baseline.
A.3.4 Data sets. There are 52 JSON Hamiltonians under benchmarks/hamiltonians/ and architectures under hardware/.
A.3.5 Models. The compiler evaluations in Figures 10–15 use one second-order Suzuki step. Figure 13 uses eight models, Figure 14 uses FH(4,5)/BH(4,5), and Figure 15 uses 21 models, excluding only jellium_3_3. Figure 17 compares prior individual-gadget reduction with GadIR group reduction using 1000 random instances at each Hamiltonian-term count and fixed seed 7; this ablation is topology-agnostic. Figure 18(d) covers Heisenberg, Bose–Hubbard, Fermi–Hubbard, Jellium, and molecule model families. It combines exact profiles computed from packaged Hamiltonians with dimension-derived bounds. Exact profiles use four product-formula steps at evolution times 0.4, 0.8, and 1.0. Because the structural Hamiltonian inputs do not contain numerical coefficients, every term uses coefficient 1.
A.4 Installation
The following numbered procedure mirrors the explicit environment setup used by the QuCLEAR artifact and should be followed on a fresh machine.
(1) Install Miniconda or Anaconda from https://docs.conda.io/projects/miniconda/, initialize it for the current shell, open a new shell, and check:
conda --version
git --version
(2) Install the host C/C++ build tools using the operating system package manager. Install stable Rust and Cargo using the official instructions at https://www.rust-lang.org/tools/install; the standard rustup command is:
Xiangyu Ren , Yuexun Huang , Zhaohui Yang , Yuchen Zhu , Tsung-Wei Huang , Tsung-Yi Ho , Zhiding Liang , Antonio Barbalace
curl --proto 'https' --tlsv1.2 -sSf
https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
rustc --version
cargo --version
(3) Clone the repository and enter the self-contained artifact directory:
git clone https://github.com/xiyurain/GadIR.git
cd GadIR/GadIR_AE
(4) Create all environments and build/install the packaged Rustiq component with the single installation script:
./prepare.sh
This creates .envs/analysis, .envs/quclear, and .envs/2qan from the three YAML files described above. It also builds and installs the Rustiq Python extension from baselines/rustiq/ into the analysis environment. The run scripts select the appropriate interpreter automatically, so manual environment activation is unnecessary. Tweedledum 1.1.1 is installed without build isolation before Qiskit Terra 0.20.2 in the 2QAN environment, using the pinned CMake/scikit-build toolchain from 2qan.yml.
(5) Verify the three environments before starting a long run:
./.envs/analysis/bin/python -c
"import qiskit,pyzx,rustiq,stim,sinter"
./.envs/analysis/bin/python -c
"import pymatching,tqec"
./.envs/quclear/bin/python -c
"import qiskit"
./.envs/2qan/bin/python -c
"import qiskit"
These commands verify the installed dependencies. The next section first checks the bundled results and then runs the functional smoke test.
A.5 Experiment workflow
The included tables should first be checked without rerunning the experiments:
./run.sh plot
plot redraws every PDF from the included tables. Next, run the reduced end-to-end validation across all four architecture backends and the analysis workflows:
./run.sh smoke
The smoke test writes reduced result tables and figures, so the plot-only check must precede it. The complete, potentially long reproduction restores the full tables and figures from the packaged Hamiltonians:
./run.sh reproduce
This command overwrites the bundled tables under results/ and regenerates Figures 10–15, 17, and 18(d). The two analysis workflows write results/analysis/figure17.csv, results/analysis/figure18d.csv, output/figure17.pdf, and output/figure18d.pdf.
To generate all paper figures from completed AE results, use the provided plot-only notebook:
./.envs/analysis/bin/jupyter notebook
generate_all_figures.ipynb
It draws Figures 10–15, 17, and 18(d) into output/; run ./run.shreproduce first when freshly regenerated rather than bundled tables are required.
The expected PDFs are:
output/figure10.pdf
output/figure10_full_range.pdf
output/figure11.pdf
output/figure11_full_range.pdf
output/figure12.pdf
output/figure13.pdf
output/figure14.pdf
output/figure15.pdf
output/figure17.pdf
output/figure18d.pdf
Workflows run in the fixed order superconducting, neutral atom, FTQC, MBQC, and analysis.
A.6 Evaluation and expected results
A successful run places raw data in results/<backend>/ and PDFs in output/. Figure 10 reports normalized IBM CNOT/Google CZ count; Figure 11, normalized depth; Figure 12, neutral-atom two-qubit count, duration, and fidelity; Figure 13, QuCLEAR/GadIR non-Clifford count; Figure 14, fresh Stim/sinter statistics and logical-CNOT error extrapolation; and Figure 15, Tetris/QuCLEAR/PauliEvo-Rustiq/GadIR emitter-entanglement count. Figure 15 uses the same Suzuki-2 construction for all four frontends. QuCLEAR and PauliEvo-Rustiq optimize the forward and reverse halves independently; no Qiskit O3 pass is applied. Every method is reduced by PyZX clifford_simp and synthesized by the packaged Python GSsynth Naive backend. GadIR includes the cost of reconnecting its independently compiled leaves. Figure 17 reports, for each term count, the mean reduction percentage over 1000 random instances for individual- and group-reduction methods. Figure 18(d) reports maximum bipartite entropy over MPS prefix cuts. Solid markers are exact profiles from packaged Hamiltonians, and open markers are dimension-derived bounds. Figure 14 uses stochastic Stim/sinter sampling and may show small run-to-run variation; the other workflows use fixed seeds or deterministic settings. The regenerated tables and figures should match the revised paper figures. For Figures 10–11, 2QAN runs one fixed seed on the Heisenberg and XY models that have 2QAN points in the paper. Each physical edge is represented by one structural gate whose body retains separate XX/YY/ZZ or XX/YY rotations. GadIR configurations are fixed by architecture and model family, and are shared by all sizes within a family. Baseline configurations are fixed and do not use per-benchmark trial selection. Figure 12 uses one calibrated noise model for all methods, and its GadIR candidate is also fixed by model family. Figure 14 is an extrapolation rather than full non-Clifford physical simulation; Figure 15 uses one deterministic trial and one uniform backend, without a fallback.
A.7 Experiment customization
For diagnosis, a backend may be run as:
./.envs/analysis/bin/python -m src.<backend>.run smoke
Changing fixed configurations is outside the reported evaluation.
A.8 Methodology
Submission, reviewing, and badging methodology:
• https://www.acm.org/publications/policies/artifact-review-and-badging-current