alphaFeedback

WorksPhysics and Astronomy

Entanglement-Aware Quantum Circuit Optimization through Globally Optimal Partitioning

AI contributions
  • OpenAI GPT-5.5
View details
Ancillary data
1 code link
View

Abstract

We introduce a scalable framework for globally optimal quantum-circuit partitioning and entanglement-aware block resynthesis. The partitioning problem is formulated as an integer linear program over qubit-feasible convex subcircuits, supporting objectives such as minimizing the number of partitions or a weighted execution cost. The resulting partition selection is exact over the enumerated feasible candidates and their computed costs when the ILP is solved to proven optimality. The selected partitions are resynthesized using an operator-Schmidt rank (OSR) based synthesis technique, which exploits their internal entanglement structure. We compare the end-to-end integer linear programming (ILP)–OSR workflow with BQSKit while identifying their different routing methods, and separately compare local OSR and BQSKit synthesis on matched three- and four-qubit unitaries. On the frozen sample of 772 local unitary targets, OSR produces 741 verified syntheses versus 617 for BQSKit, and matches or improves the CNOT count in all 617 jointly verified pairs. These results demonstrate that globally optimal partition selection combined with entanglement-aware resynthesis improves circuit quality and extends block-based optimization to problem sizes that are impractical for existing optimization workflows.

CCS Concepts: • Applied computing → Physics; • Software and its engineering → Software libraries and repositories; • Theory of computation → Quantum computation theory; • Mathematics of computing → Solvers.

Additional Key Words and Phrases: Quantum, gate synthesis, quantum circuit, optimization, OSR, entanglement, partitioning

Introduction

Partitioning quantum circuits into valid multi-qubit blocks is a core primitive in modern compilation workflows or quantum computer simulation performance. It directly affects gate fusion (i.e. merging multiple gates as a single entity to reduce the arithmetic operations), and quantum circuit resynthesis with hardware-aware transpilation. The strategy to select the partitions determines both the optimization opportunities accessible during the circuit optimization and the computational cost of exploiting them. In the noisy quantum computer era, where gate count, depth, and noise budgets are all constrained, better partitioning can translate into substantially better circuit executables.

This importance has become even clearer as quantum compilers increasingly rely on block-level numerical optimization. Parameterized circuit instantiation has emerged as a powerful primitive for both circuit optimization and gate-set transpilation, enabling global improvements beyond purely local rewrite rules [1]. Likewise, synthesis frameworks such as QFAST show that expressive multi-qubit building blocks combined with numerical optimization can substantially improve circuit quality while remaining scalable in practice [2]. Subsequent work has pushed these synthesis perspectives in several complementary directions: LEAP improves the scalability of numerical-optimization-based synthesis through incremental prefixes and resynthesis [3], QSeed uses machine learning to seed synthesis and reduce search cost while preserving solution quality [4], QFactor accelerates circuit instantiation itself through a domain-specific tensor-network-based optimizer [5], and permutation-aware synthesis shows that jointly reasoning

Authors’ Contact Information: Gregory Morse, Department of Programming Languages and Compilers, Eötvös Loránd University, Budapest, Hungary; Muhammad Al Farizi, Department of Programming Languages and Compilers, Eötvös Loránd University, Budapest, Hungary; Jakab Nádori, Department of Physics of Complex Systems, Eötvös Loránd University, Budapest, Hungary and Qutility @ Faulhorn Labs, Budapest, Hungary; László Hajas, Department of Biological Physics, Eötvös Loránd University, Budapest, Hungary; Tamás Kozsik, Department of Programming Languages and Compilers, Eötvös Loránd University, Budapest, Hungary; Péter Rakyta, Department of Physics of Complex Systems, Eötvös Loránd University, Budapest, Hungary and Computational Sciences Department, HUN-REN Wigner Research Centre for Physics., Budapest, Hungary, [email protected]. about block implementations and qubit permutations can improve mapping quality on constrained hardware [6]. Earlier block-by-block optimization frameworks such as QGo also demonstrated that partitioning can be used to scale synthesis-based optimization to circuits with tens of qubits by regenerating and recomposing independently optimized subcircuits [7]. For wide circuits, TopAS further demonstrates that partitioned topology-aware synthesis can reduce depth and two-qubit gate count before or alongside mapping on sparse hardware topologies [8]. These developments strengthen the case for high-quality partitioning: if downstream tools operate on blocks, then the procedure that forms those blocks and processes them becomes a decisive part of the overall compiler stack.

Several widely used frameworks already include built-in partitioning routines. Qiskit provides the CollectMulti QBlocks pass, while BQSKit offers multiple strategies such as Quick, Scan, Cluster, and Greedy. In practice, however, these approaches are heuristic and prioritize speed over global optimality. Recent work has therefore sought to improve partition quality without abandoning scalability. Clark et al. introduced Tree-based Directed Acyclic Graph (TDAG) partitioning and subsequently Greedy Topology-Aware Quantum Circuit Partitioning (GTQCP), both of which improve upon earlier heuristic baselines while preserving practical runtimes [9, 10]. Related directions include graph-based acyclic partitioning for simulation [11], Integer Linear programming (ILP) based allocation of subcircuits across GPUs in Atlas [12], graph partitioning for distributed quantum computation [13], balanced partitioning via a two-level ILP [14], and ILP-driven routing and mapping methods that demonstrate the broader value of exact optimization in quantum circuit routing [15]. Partitioning is also central to approximation-oriented optimization: QuEST use partitioning to make approximate synthesis scalable and to trade fidelity against two-qubit gate count in a controlled way [16]. In more application-specific settings, compiler structure can be specialized even further: Bassman Oftelie et al. give constant-depth constructions for certain dynamic materials simulations, illustrating how domain-specific circuit generation can dramatically reduce depth for targeted Hamiltonian families [17]. Beyond gate count and depth, partition-aware compilation is increasingly being used to optimize other resources as well: circuit resizing in BQSKit leverages synthesis and instantiation to reduce qubit count, while Superstaq highlights how deeper, hardware-tailored optimization across abstraction layers can push more programs into the executable regime on real devices [18, 19]. Taken together, these lines of work reinforce that partitioning is not merely a preprocessing convenience, but a structural decision that shapes the efficiency of synthesis, mapping, transpilation, approximation, and even width reduction throughout the compiler pipeline.

Despite this progress, a practical exact method for globally optimal selection of bounded-size circuit partitions (i.e. partitions containing no more than a given number of qubits) at large scale is still missing. Achieving such an optimum requires two complementary ingredients. First, each candidate partition must be optimized by a reliable and fast decomposition procedure, since the quality and cost of the partition decomposition determine whether the global search can evaluate many partitions in practice. Secondly, the optimized partitions must be assembled by a globally optimal selection strategy rather than by a greedy local rule. The resulting optimality is conditional on the enumerated candidate partitions and their computed costs, while it is not a proof of minimum-CNOT synthesis for the whole circuit.

This paper therefore develops two tightly connected contributions. In the first part, we introduce an operator-Schmidt rank (OSR) based tree-search algorithm for small-partition decomposition. The method uses operator-Schmidt-rank information across subsystem cuts [20, 21] to derive dyadic rank certificates, weighted residual tail scores, and lower bounds on the additional CNOT gates needed to complete a candidate structure. These quantities guide search branch prioritization, allowing the gate structure search to focus on CNOT structures that are most likely to reduce the remaining entanglement obstruction. In this way, the OSR strategy provides the fast and reliable local synthesis engine required for evaluating candidate partitions.

In the second part, we turn to the global partitioning problem. Given the ability to optimize small partitions efficiently, we present a practical and scalable exact algorithm for global partition optimization in quantum circuits. Our method contracts single-qubit sub-chains, enumerates all feasible convex partitions, and selects an optimal cover of the original circuit through an ILP formulation. The resulting approach provides an exact reference for globally optimal bounded-width partition selection over the enumerated candidates and their computed costs, enabling rigorous benchmarking and more principled quantum compiler design. Both the OSR-based synthesis algorithm and the ILP-based global partitioning algorithm are implemented in the open-source SQUANDER package [22].1 Then, in the third part we summarize the results of our numerical experiments on quantum circuit optimization.

OSR-guided gate synthesis strategy for topology-constrained decomposition

For topology-constrained synthesis, where the two-qubit gate connectivity between the qubits is limited, we use an OSR-guided search over ordered, topology-respecting CNOT gate structures. In the benchmark configuration, a Hilbert–Schmidt cost function [23] is used to optimize the single-qubit parameters of each trial gate structure. Then, operator-Schmidt spectra are evaluated to guide the discrete search over the viable CNOT gate structures decomposing the given quantum circuit. To fix notation used in this work, we recall that OSR is defined with respect to a bipartite partition of the underlying system. Suppose we have an operator

A:HA⊗HB→HA⊗HB,A : \mathcal{H}_A \otimes\mathcal{H}_B \to\mathcal{H}_A \otimes\mathcal{H}_B,

where HA\mathcal{H}_A and HB\mathcal{H}_B denote two subsystems. The operator can be expressed in its operator-Schmidt decomposition as

A=∑i=1rsiXji⊗Yki,A = \sum_{i=1}^{r} s_i X_{j_i} \otimes Y_{k_i},

where XiX_i and YiY_i are operators acting on subsystems HA\mathcal{H}_A and HB\mathcal{H}_B, respectively, and si>0s_i > 0 are the operator-Schmidt coefficients. The operator sets {Xj}\{X_j\} and {Yk}\{Y_k\} form orthonormal bases within the subspaces. The number of nonzero coefficients rr is called the operator-Schmidt rank. It quantifies the degree of coupling between the two subsystems and generalizes the concept of Schmidt rank for quantum states. An operator with OSR equal to one can be written as a simple tensor product

A=X⊗Y,A = X \otimes Y,

indicating a fully separable operation. Larger operator-Schmidt ranks correspond to increasingly complex and entangling interactions between the subsystems. In practice, the operator-Schmidt rank can be obtained by reshaping the operator tensor into a matrix representation with grouped subsystem indices and performing a singular value decomposition (SVD). The number of nonzero singular values determines the OSR. The operator-Schmidt rank is widely used in quantum information theory, tensor-network methods, matrix product operators, and the complexity analysis of quantum circuits and many-body systems [20, 21, 24, 25, 26]. Recent work develops a determinantal distance geometry for two-qubit synthesis [27]. In this work we develop a generic NN-qubit approach to guide constructive structure search for quantum gate synthesis.

The relevance of OSR to CNOT counting is well established in the two-qubit and bipartite-unitary literature. A generic two-qubit unitary requires three CNOT gates, and three are also sufficient, giving a tight non-heuristic CNOT benchmark for this smallest nontrivial case [28, 29]. At the same time, all bipartite unitaries with operator-Schmidt rank two are locally equivalent to controlled unitaries, explaining why a single CNOT crossing a bipartition has OSR value of two and why a single cross-cut CNOT can increase OSR across that cut by at most a factor of two [21, 30]. More generally, OSR is submultiplicative under operator composition, so [log⁡2(OSR⁡)][\log_2(\operatorname{OSR})] gives a natural cut-based lower bound on the number of crossing CNOT gates needed across a partition. This perspective is consistent with standard circuit-synthesis lower-bound arguments [31] and with bipartite-unitary constructions whose entanglement or nonlocal-gate costs scale with Schmidt rank [32].

Let Q={0,…,n−1}Q = \{0, \ldots, n - 1\} be the qubit set and ETE_T the available two-qubit couplings. We define a trial gate structure synthesizing a given circuit partition by an ordered CNOT gate structure defined by the successive two-qubit coupling edges

P=(e1,e2,…,eℓ),ei∈ET.(1)P = (e_1, e_2, \ldots, e_\ell), \qquad e_i \in E_T . \tag*{(1)}

Elements in PP specify an ordered structure of CNOT gates forming a parametric circuit when surrounded with single qubit rotation gates. The circuit synthesis is performed via continuous optimization of the single-qubit gate parameters. For the results reported in this work, the continuous optimization stage uses Hilbert–Schmidt cost function. Thus, the method of gate synthesis alternates between a discrete combinatorial stage (the CNOT gate structure) and a continuous parameter tuning process.

For the fitted trial circuit VPV_P (i.e. approximating the effect of the unitary UU with the tiral VPV_P circuit), the fidelity of the approximation is evaluated by Hilbert–Schmidt cost function

h(P)=1−∣Tr⁡(VPU†)∣24n,(2)h(P)=1-\frac{\left|\operatorname{Tr}(V_PU^\dagger)\right|^2}{4^n}, \tag*{(2)}

with nn being the number of qubits. The cut profiles defined below are evaluated on the residual VPU†V_PU^\dagger.

Let C⊂QC\subset Q be a nontrivial bipartition of the qubit register QQ (made of the nn qubits) and let C‾=Q∖C\overline{C}=Q\setminus C, being its complementary. The first step is to permute the rows and columns of the unitary UU to separate the partitions CC and C‾\overline{C}. The permutation according to the subset CC is described by the operator RCR_C:

RC(U)(a′,a),(b′,b)=U(a′,b′),(a,b),(3)R_C(U)_{(a',a),(b',b)}=U_{(a',b'),(a,b)}, \tag*{(3)}

where (a,a′)∈{0,…,dC−1}2(a,a')\in\{0,\ldots,d_C-1\}^2 index the CC subsystem and (b,b′)∈{0,…,d‾C−1}2(b,b')\in\{0,\ldots,\overline{d}_C-1\}^2 index the complement. Finally, we compute a standard thin SVD,

RC(U)=U~CΣCV~C†,(4)R_C(U)=\widetilde{U}_C\Sigma_C\widetilde{V}_C^\dagger, \tag*{(4)}

with singular values

σ0(C)≥σ1(C)≥⋯≥σkC−1(C)≥0,kC=min⁡(dC2,d‾C2),(5)\sigma_0^{(C)}\geq\sigma_1^{(C)}\geq\cdots\geq\sigma_{k_C-1}^{(C)}\geq0,\qquad k_C=\min(d_C^2,\overline{d}_C^2), \tag*{(5)}

where dC=2∣C∣d_C=2^{|C|} and d‾C=2∣C‾∣\overline{d}_C=2^{|\overline{C}|} are the dimensions of the Hilbert-space associated with the cuts CC and C‾\overline{C}. (Thin SVD keeps only the useful components from the singular value decomposition of RC(U)R_C(U)) In our implementation in the SQUANDER package these singular values are normalized by the Frobenius norm of the target unitary,

σ^j(C)=σj(C)∥U∥F,∥U∥F=2n,(6)\widehat{\sigma}_j^{(C)}=\frac{\sigma_j^{(C)}}{\lVert U\rVert_F},\qquad\lVert U\rVert_F=\sqrt{2^n}, \tag*{(6)}

so all OSR-derived quantities are comparable across different cuts.

OSR-Based Tree-Search Strategy with Branch Prioritization

To describe our circuit synthesis strategy, we first introduce the following quantities.

Discrete dyadic rank certificate: After solving the continuous optimization problem of the single-qubit rotation angles across a trial CNOT structure, we examine the resulting residual unitary VPU†V_PU^\dagger across all nontrivial qubit-register cuts. Let C\mathcal{C} denote the set of nontrivial unordered bipartitions. For each cut C∈CC\in\mathcal{C}, we compute the normalized singular values σ^j(C)\widehat{\sigma}_j^{(C)} using the SVD procedure described in § 2 and define the numerical OSR count as

rCnum(U)=#{j:σ^j(C)>σ^0(C)τ}.(7)r_C^{\mathrm{num}}(U)=\#\left\{j:\widehat{\sigma}_j^{(C)}>\widehat{\sigma}_0^{(C)}\tau\right\}. \tag*{(7)}

rCnumr_C^{\mathrm{num}} evaluates the number of singular values for cut CC that are larger than τ\tau-times the largest singular value, with 0≤τ<10\leq\tau<1. Based upon this quantity, we introduce the so-called discrete dyadic certificate used in the tree search, which is calculated as

bC(U)=⌈log⁡2(rCnum(U))⌉.(8)b_C(U)=\left\lceil\log_2\left(r_C^{\mathrm{num}}(U)\right)\right\rceil. \tag*{(8)}

This is the quantity returned as the OSR-based lower bound on the number of crossing CNOT gates required to disentangle the fitted residual across cut CC [21, 30].

Weighted Tail Loss: The weighted tail loss provides a secondary score for ranking trial gate structures:

κC(U)=∑j=2βC(U)kC−1ρkC−1−j(σ^j(C))2,ρ=0.1,(9)\kappa_C(U)=\sum_{j=2^{\beta_C(U)}}^{k_C-1}\rho^{k_C-1-j}\left(\widehat{\sigma}_j^{(C)}\right)^2,\qquad\rho=0.1, \tag*{(9)}

with

βC(U)={bC(U),n≤3,max⁡{bC(U)−1,0},n≥4.(10)\beta_C(U)= \begin{cases} b_C(U), & n\leq3,\\ \max\{b_C(U)-1,0\}, & n\geq4. \end{cases} \tag*{(10)}

The largest tail weights belong to the smallest singular values. The weighted tail score distinguishes trial gate structures with the same OSR lower bound and helps determine which structures the search explores first. It is a heuristic ordering score and does not give the exact number of CNOT gates needed to complete the decomposition. Its role in choosing additional CNOT connections is described below. For a given trial CNOT gate structure PP and optimized rotation parameters indexed by C0C_0, we introduce the full cut profile

ΓC0(P)={(bC(P;C0),κC(P;C0)):C∈C}.(11)\Gamma_{C_0}(P)=\left\{\left(b_C(P;C_0),\kappa_C(P;C_0)\right):C\in\mathcal{C}\right\}. \tag*{(11)}

This profile is what drives the discrete tree-search over the possible gate structures. The Hilbert–Schmidt fit improves a fixed structure, while the all-cut OSR post-evaluation estimates an optimistic lower bound on the additional CNOT gates required to complete it.

Estimation on the number of additional CNOT gates required to finish the synthesis: The cut profile is used to determine a combinatorial lower bound on the crossing interactions needed to synthesize the current fitted residual. For any cut C∈CC\in\mathcal{C}, let

δT(C)={{u,v}∈ET:u∈C, v∉C}(12)\delta_T(C)=\left\{\{u,v\}\in E_T:u\in C,\ v\notin C\right\} \tag*{(12)}

be the set of two-qubit connection edges crossing CC. If a future modification of the trial circuit adds xe∈Z+,0x_e\in\mathbb{Z}_{+,0} CNOTs on edge e∈ETe\in E_T, then the induced cut coverage is

cov⁡x(C)=∑e∈δT(C)xe.(13)\operatorname{cov}_{x}(C)=\sum_{e\in\delta_T(C)}x_e. \tag*{(13)}

Since the dyadic rank certificate gives an optimistic lower bound on the number of CNOTs that must cross each cut, a circuit realizing that fixed residual must satisfy

cov⁡x(C)≥bC(P;C0),∀C∈C.(14)\operatorname{cov}_{x}(C)\ge b_C(P;C_0),\qquad\forall C\in\mathcal{C}. \tag*{(14)}

Thus the lower bound on the required additional CNOT count is obtained from the optimization problem

LC0(P)=min⁡x∈Z+,0∣ET∣∑e∈ETxe(15)L_{C_0}(P)=\min_{\substack{x\in\mathbb{Z}_{+,0}^{|E_T|}}}\sum_{e\in E_T}x_e \tag*{(15)}

subject to

∑e∈δT(C)xe≥bC(P;C0),∀C∈C.(16)\sum_{e\in\delta_T(C)}x_e\ge b_C(P;C_0),\qquad\forall C\in\mathcal{C}. \tag*{(16)}

This lower-bounding subproblem is solved by an exact combinatorial search over edge multiplicities xex_e. It relaxes ordering and realizability constraints for the measured residual. Jointly refitting a child can change that residual, so this value is structural guidance rather than an admissible pruning certificate for every refitted descendant. The hard CNOT-budget check uses the actual path length, not an assumed admissible bound for all refitted descendants.

Secondary ordering via the weighted tail loss: The minimum in (15) is typically highly degenerate. To break ties meaningfully, the implementation solves a second lexicographic problem after the minimum CNOT count has been fixed. For a feasible edge-count vector x={xe1,xe2,…}\mathbf{x}=\{x_{e_1},x_{e_2},\ldots\} with ∑exe=LC0(P)\sum_e x_e=L_{C_0}(P), define the surplus on cut CC by

sur⁡x(C)=cov⁡x(C)−bC(P;C0)≥0.(17)\operatorname{sur}_{x}(C)=\operatorname{cov}_{x}(C)-b_C(P;C_0)\ge0. \tag*{(17)}

Among all minimizers of (15) we then minimize

SC0(P)=min⁡x∑C∈CκC(P;C0)sur⁡x(C)S_{C_0}(P)=\min_{\mathbf{x}}\sum_{C\in\mathcal{C}}\kappa_C(P;C_0)\operatorname{sur}_{x}(C)

subject to

∑e∈ETxe=LC0(P),\sum_{e\in E_T}x_e=L_{C_0}(P),
cov⁡x(C)≥bC(P;C0),∀C∈C.(18)\operatorname{cov}_{x}(C)\ge b_C(P;C_0),\qquad\forall C\in\mathcal{C}. \tag*{(18)}

This step is where the weighted tail loss κ\kappa becomes critical. Cuts with the same dyadic bound bCb_C need to be classified differently: a cut whose spectrum still carries a large weighted tail should influence the search more strongly than one whose post-threshold tail is already nearly extinguished. Equation (18) encodes exactly this preference. The optimization result xC0⋆(P)x_{C_0}^{\star}(P) (for which SC0(P)S_{C_0}(P) is minimal) is then reused to rank topology edges (translated to new CNOT gate candidates) when adding CNOT gates to the trial structure.

Ordering the trial gate structures: Each fit C0C_0 yields a tuple

ΞC0(P)=(LC0(P),SC0(P),xC0⋆(P),ΓC0(P)).(19)\Xi_{C_0}(P) = \left(L_{C_0}(P), S_{C_0}(P), x_{C_0}^{\star}(P), \Gamma_{C_0}(P)\right). \tag*{(19)}

This tuple records, for one continuous fit, the optimistic residual CNOT bound LC0(P)L_{C_0}(P), the weighted surplus tie-breaker SC0(P)S_{C_0}(P), an optimal edge-count assignment xC0⋆(P)x_{C_0}^{\star}(P) for prioritizing topology edges, and its measured all-cut profile ΓC0(P)\Gamma_{C_0}(P). (In the procedure we may run the continuous optimization multiple times and store only the best result.) For repeated fits of one structure, the best profile is selected lexicographically:

Kfit(P)=min⁡C0(LC0(P),SC0(P),ΦC0(P)),(20)K_{\mathrm{fit}}(P) = \min_{C_0}\left(L_{C_0}(P), S_{C_0}(P), \Phi_{C_0}(P)\right), \tag*{(20)}

where

ΦC0(P)=∑C∈C(∣C∣ bC(P;C0)+κC(P;C0)).(21)\Phi_{C_0}(P) = \sum_{C \in\mathcal{C}}\left(|C|\,b_C(P;C_0) + \kappa_C(P;C_0)\right). \tag*{(21)}

Write (Lˉ,Sˉ,Φˉ)=Kfit(P)(\bar{L},\bar{S},\bar{\Phi}) = K_{\mathrm{fit}}(P). The actual comparison keys between different structures are

Kn(P)={(∣P∣+Lˉ,Lˉ,Sˉ,Φˉ),n=3,(Lˉ,h(P),Sˉ,∣P∣),n=4.(22)K_n(P) = \begin{cases} \left(|P|+\bar{L},\bar{L},\bar{S},\bar{\Phi}\right), & n=3,\\ \left(\bar{L},h(P),\bar{S},|P|\right), & n=4. \end{cases} \tag*{(22)}

Thus both widths use the same fitted-residual and cut-cover framework, but the four-qubit policy places the fitted HS score immediately after the residual CNOT bound. These are ordering rules inside an optimistic forward search with deferred candidates, not a claim of exhaustive A* optimality or backtracking. The external CNOT budget remains distinct from the residual estimate.

Heuristic to extend trial gate structures: After sorting and ordering the already visited gate structures, now we discuss the developed heuristic approach to further evolve the most promising gate structures (i.e. adding new CNOT layers to the gate structure). Once the current best CNOT gate structure PP has been identified during the gate synthesis, the search expands it by inserting additional CNOTs into the current ordered CNOT gate structure. The expansion mechanism is guided by the edge-count assignment vector x⋆(P)x^{\star}(P) associated with the chosen best gate structure, as the anchor of further extensions.

The fitted cut profile and its edge-cover assignment rank legal extensions. Single-CNOT additions are considered before more structured multi-CNOT insertion classes; constructive pair and motif proposals supplement this ordering. A deferred frontier avoids fitting every possible placement before trying a promising extension. These priorities are heuristic, rather than an exhaustive ordering of every insertion by one edge-demand vector.

Formally, for a chosen CNOT insertion multiplicity mm, the neighborhood explored is a constrained subset

Nm(P;xC0⋆(P))⊆{all ways to insert m CNOTs into gate structure P},(23)\mathcal{N}_m\left(P;x_{C_0}^{\star}(P)\right) \subseteq\{\text{all ways to insert }m\text{ CNOTs into gate structure }P\}, \tag*{(23)}

where the ordinary insertion generator uses the following guiding principles:

G1 Spatial coherence of inserted edges: After the first CNOT insertion, every subsequent inserted CNOT must share at least one qubit with a CNOT already inserted in the same expansion call. In other words, the set of newly inserted CNOTs is required to form a connected pattern in the line graph of the topology. This biases the search toward coherent local entangling motifs instead of disjoint edits.

G2 Repetition cap: Any candidate path containing four consecutive identical (or reverse-direction) CNOTs is discarded immediately, since any two-qubit unitary can be synthesized with at most three CNOT gates [28, 29, 33]. Pruning these candidates early removes a large family of syntactically distinct but practically useless trial gate structures.

G3 Canonical uniqueness filtering: Before evaluation, each candidate is passed through a structural uniqueness test. Ordered CNOT structures that are syntactically different but represent the same effective two-qubit interaction pattern are rejected, and a local visited set suppresses duplicates generated through different insertion orders. This canonicalization is essential for keeping the search tree from filling with isomorphic gate structures.

Algorithm 1: OSR-guided synthesis with certified constructive completion

Input: Target unitary UU; topology T=(Q,ET)T = (Q, E_T); CNOT budget Lmax⁡L_{\max}.

Output: A certified topology-respecting decomposition, or failure within the budget.

  1. C←C \leftarrow all nontrivial qubit cuts

  2. Try the complete trial gate structures described above, using at most Lmax⁡L_{\max} CNOTs

  3. if a completion is certified then

    1. return the completion, after testing CNOT removals and refitting when applicable

  4. P←∅P \leftarrow\varnothing; fit its parameters and measure its all-cut residual profile

  5. if PP passes full-unitary certification then

    1. return PP

  6. while an untried legal forward extension within Lmax⁡L_{\max} remains do

    1. Generate or resume the next deferred structured insertion class anchored at PP

    2. Fit the next candidate with bounded HS optimization and evaluate its all-cut profile

    3. if the candidate passes full-unitary certification then

      1. return the candidate, after testing CNOT removals and refitting when applicable

    4. Rank the candidate using KnK_n and the structured class priorities

    5. if the forward-progress conditions are met then

      1. Commit the candidate as the new current path PP

    6. Otherwise continue the deferred class or the next insertion multiplicity

  7. return failure

These guiding principles do not affect the validity of the lower bound in (8); they only restrict which children are materialized. Hence the combinatorial explosion of naive insertion search is kept under control.

Summary of the OSR based search procedure

The resulting control flow is summarized in Algorithm 1. A zero cut-cover bound alone does not prove that the decomposition is valid. A candidate is accepted only if a fixed-structure Hilbert–Schmidt fit reaches the synthesis tolerance. Otherwise, the search continues until the CNOT budget is exhausted. For both three- and four-qubit partitions, the search uses post-fit OSR bounds, κ\kappa-weighted ordering, and structured child generation, with the width-dependent keys above and the same strict certification requirement. It does not guarantee a minimum-CNOT solution.

Complexity considerations. The dominant cost of one node evaluation is the repeated BFGS refinement together with the SVDs needed to evaluate the induced all-cut profile. By contrast, the combinatorial solver for (15) is inexpensive because the topology size is fixed and small relative to the ambient unitary dimension. The search is therefore designed to spend substantial floating-point effort only on nodes that survive the strong discrete guidance. This is precisely why the definition of κ\kappa in (9) and the κ\kappa-weighted surplus objective (18) are not cosmetic details: they are what turn a coarse dyadic OSR certificate into a practically discriminative best-first ordering.

From OSR-Guided Local Synthesis to Global Circuit Optimization via Partitioning

The OSR-guided search described above provides the local synthesis engine used to evaluate small subcircuits. Its purpose is to decide, for a fixed set of qubits and a fixed hardware topology, which CNOT structures are promising enough to be refined by continuous single-qubit gate parameter optimization. The global problem considered in the remainder of the paper is complementary: instead of asking how to decompose one small unitary, we ask how a large circuit DAG should be divided into subcircuits so that each subcircuit can be optimized locally while the collection of optimized subcircuits will lead to the most compressed quantum circuit. This section introduces the graph-theoretic and optimization concepts that connect these two levels.

To formalize the global step, we model the input circuit as a directed acyclic graph (DAG)[34, 35], whose vertices are gates and whose edges encode gate dependencies. A candidate partition is useful only if it can be treated as a self-contained subcircuit to be passed to the local synthesis procedure. This requirement is captured by closed convexity in the DAG: whenever two gates belong to the same partition, every directed path between them must remain inside the partition. Thus, in our formulation, valid circuit partitions correspond to closed convex sets of the DAG. Open convex sets can also be enumerated efficiently [36], but they are not appropriate here because they may split a partition into disconnected fragments that no longer define a single coherent local synthesis task.

The OSR-based decomposition routine is intended for small partitions, so every candidate partition is additionally restricted by a maximum number of qubits. This bound is both algorithmic and physical: it keeps the OSR-guided synthesis problem small enough to solve reliably, and it reflects hardware and simulation constraints on the number of qubits that should be optimized as one block. In practice, this limit is usually in the range of 3–5 qubits. The special case of two-qubit blocks is comparatively simple, as any two-qubit unitary can be decomposed at most 3 CNOT gates[37].

Efficient enumeration and validation of the partitions relies on standard graph operations. The transitive closure of a DAG introduces an edge (u,v)(u,v) whenever a path u→vu \to v exists in the original graph. This makes convexity and dependency checks easier to express. We compute the closure information using Nuutila’s transitive-closure approach [38]. Its strongly connected component (SCC) subroutine admits linear-time implementations, such as Tarjan’s algorithm [39] and textbook variants [40].

Once all feasible convex partitions of the original circuit have been generated, the remaining task is to select the subset that yields the optimally compressed quantum circuit. We formulate this global optimization step as an Integer Linear Programming (ILP) problem [41]. All candidate subcircuits, including overlapping and non-overlapping ones, are enumerated subject to the maximum qubit budget. Each candidate subcircuit is then optimized using the OSR-based decomposition routine, and the resulting costs are used to determine an optimal exact cover of the original circuit. In other words, to reproduce the original quantum program, we select a subset of optimized subcircuits that minimizes the total number of CNOT gates. The ILP constraints ensure that every gate in the original circuit is assigned to exactly one selected partition, while the objective function encodes the desired global cost, such as the CNOT count of the resulting circuit.

For completeness, additional preprocessing and postprocessing routines are provided in the appendices. Appendix A.2 details the contraction of single-qubit chains, while Appendix A.3 explains their recombination after ILP optimization. In brief, single-qubit chains without parents or children form partitions trivially. Chains with only one neighbor are joined to that neighbor’s partition, whereas chains with both a parent and a child require a choice. In our implementation we consider both of the choices equivalently good.

Identifying convex partitions in the circuit

When exploring feasible partitions in the circuit, it is essential to enforce constraints such as the maximum number of qubits Qmax⁡Q_{\max} allowed in a single partition. A purely structural reachability analysis may admit candidate partitions that exceed this qubit budget. To avoid such candidates, we use a procedure that propagates only through subgraphs of the DAG whose cumulative qubit sets remain within the prescribed limit.

Formally, let G=(V,E)G=(V,E) denote the gate-dependency DAG, where VV is the set of gates in the circuit to be optimized and EE is the set of dependency edges between them. Let g(v)g(v) and r(v)r(v) denote the forward and reverse adjacency sets of a gate vv, respectively. Each gate v∈Vv \in V is associated with the set of qubits Q(v)⊆QQ(v) \subseteq Q on which it acts. The procedure explores backward reachability under the constraint

∣⋃u⪯vQ(u)∣≤Qmax⁡,(24)\left|\bigcup_{u \preceq v} Q(u)\right| \le Q_{\max}, \tag*{(24)}

where u⪯vu \preceq v indicates that uu is on a valid backward path from vv.

Algorithm 2, given in Appendix A.1, implements the outlined reachability procedure, ensuring that only gates belonging to subcircuits whose total qubit footprint does not exceed Qmax⁡Q_{\max} are considered reachable. Thus, infeasible sub-circuits are pruned early, substantially reducing the search space compared to unrestricted reachability.

The identified partitions are also filtered according to their convexity. A partition P⊆VP \subseteq V is convex if, whenever u,v∈Pu,v \in P and u⪯w⪯vu \preceq w \preceq v, then w∈Pw \in P as well. Convexity guarantees that partitions correspond to contiguous subgraphs without “holes,” while qubit number-awareness ensures that no partition exceeds the imposed bound Qmax⁡Q_{\max}. We improve the efficiency of the convex set enumeration algorithm [36] by maintaining the sets of forward-reachable vertices, denoted by AA, and backward-reachable vertices, denoted by BB. We also track QQ, the current set of qubits in the candidate partition. The current partition is then greedily extended by appending gates from the frontier sets AA and BB. The complete algorithm with a pseudocode for this enumeration procedure is given in Algorithm 3 in Appendix § 7.§ 1.

Formulating the optimization problem to find the optimal partitioning

The previous sections described how to generate all feasible subcircuit partitions of a quantum circuit and how the OSR-guided strategy recompiles them. We now formulate an ILP optimization problem that selects a subset of these optimized subcircuits whose recomposition preserves the original quantum program while optimizing a chosen global metric, such as the overall CNOT gate count used in this work. Let VV denote the set of gates in the original circuit, and let P={P1,P2,…,Pm}\mathcal{P} = \{P_1, P_2, \ldots, P_m\} denote the set of all candidate unoptimized partitions. We write P~\widetilde{\mathcal{P}} for the corresponding set of optimized partitions, where P~i∈P~\widetilde{P}_i \in\widetilde{\mathcal{P}} is the resynthesized version of the subcircuit Pi∈PP_i \in\mathcal{P}. Each partition PiP_i contains a subset of the gates in VV. To reconstruct a circuit equivalent to the original quantum program, the selected optimized partitions must correspond to unoptimized partitions that do not share gates. To achieve this, lets first construct the sets P(g)\mathcal{P}(g) for all g∈Vg \in V describing which partitions Pi∈PP_i \in\mathcal{P} contain the gate gg. Thus, for every gate g∈Vg \in V, let

J(g)={j∣g∈Pj}(25)\mathcal{J}(g) = \{j \mid g \in P_j\} \tag*{(25)}

be the set of partition indices jj for which g∈Pjg \in P_j. For each partition Pj∈PP_j \in\mathcal{P} we introduce a binary variable xj=1x_j = 1 if partition PjP_j is selected for the circuit reconstruction and 0 otherwise. Then the ILP optimization is formulated as

min⁡(∑j=1∣P∣xj⋅CNOT⁡(P~j))(26)\min\left(\sum_{j=1}^{|\mathcal{P}|} x_j \cdot\operatorname{CNOT}(\widetilde{P}_j)\right) \tag*{(26)}

subjected to

∑j∈J(g)xj=1,∀g∈V,(27)\sum_{j \in\mathcal{J}(g)} x_j = 1,\qquad\forall g \in V, \tag*{(27)}

Constraint (27) ensures that each gate is covered by exactly one selected partition in the recombination of the circuit. The objective (26) minimizes the total optimized CNOT count, where CNOT⁡(P~j)\operatorname{CNOT}(\widetilde{P}_j) denotes the number of CNOT gates in the optimized partition P~j\widetilde{P}_j. This objective can be replaced by any suitable cost function that reflects the goal of the circuit optimization. For example, one may minimize the count of another hardware-expensive gate or use a cost function that models the cumulative noise of the gates in the reconstructed circuit. For simplicity, in this work we focus on the CNOT gate count.

Enforcing acyclicity among partitions

The procedure described above minimizes the selected cost over the enumerated, resynthesized partitions, but it can also introduce inconsistencies in the ordering of gate operations. If the selected partitions cannot be arranged in a valid gate-execution order, the resulting circuit may implement a different quantum program from the original circuit. Figure 1 shows an example of such ill-conditioned case. The figure shows two partitions, highlighted with black and red colors. Although both partitions are mathematically convex, they induce a cyclic dependency between each other. Specifically, gate G3G_3 in the black partition depends on the execution of gate G2G_2 in the red partition, while gate G4G_4 in the red partition depends on the execution of gate G1G_1 in the black partition. Thus, the red partition depends on the black partition and vice versa, so the two partitions cannot be ordered acyclically. Generally speaking, even if each partition is individually convex and locally optimizable by the OSR-based synthesis procedure, the resulting graph induced by the selected optimized partitions must originate from partitions being in acyclic relation to preserve a valid execution order. Cycle-inducing selections can become more frequent as the maximum qubit limit per partition grows, so the algorithm must detect and eliminate these cases. In our implementation provided within the SQUANDER package, we use cycle-elimination ideas related to chordless-cycle enumeration algorithms such as those of Uno and Satoh [42] and Dias et al. [43], which are also reflected in practical graph libraries such as NetworkX.

Example showing a 2-long cycle between convex partitions

Figure 1. An example showing 2-long cycle between convex partitions. Gate G3G_3 in the black partition depends on the execution of gate G2G_2 in the red partition, while gate G4G_4 in the red partition depends on the execution of gate G1G_1 in the black partition.

This section formalizes the concept of the partition–interaction digraph and presents three complementary strategies to enforce acyclicity on the solution of the ILP problem.

Strategy I: Static cycle-elimination constraints. Let G=(V,E)G=(V,E) be again the the original DAG and let P={S1,…,Sm}\mathcal{P}=\{S_1,\ldots,S_m\} be the set of candidate partitions for the ILP problem. Lets define the partition–interaction directed graph as

H=({1,…,∣P∣},A),(28)H = (\{1,\ldots,|\mathcal{P}|\}, A), \tag*{(28)}

where {1,…,∣P∣}\{1,\ldots,|\mathcal{P}|\} describes the set of the partitions through their indices from P\mathcal{P} and AA describes the directed arcs between the elements. An arc (i,j)(i,j) is element of AA if and only if there exist edges (u,v)∈E(u,v)\in E such that

u∈Si∖Sj,v∈Sj∖Si,i≠j.(29)u\in S_i\setminus S_j,\qquad v\in S_j\setminus S_i,\qquad i\ne j. \tag*{(29)}

That is, we add an arc whenever the original graph contains a cross edge from the exclusive part of SiS_i to the exclusive part of SjS_j (with SiS_i and SjS_j being two subcircuits.). This excludes edges attributable to partition overlap, which are already handled by the base ILP through the explicit non-overlap constraint. In the implementation, we further prune HH by computing its strongly connected components (SCCs) and retaining only arcs internal to those components, since arcs crossing distinct SCCs cannot participate in any directed cycle. (An SCC is a maximal set of vertices in which every vertex can reach every other vertex via directed paths. Therefore, vertices outside SCCs cannot belong to the same directed cycle.) Additionally, we use the exclusive-part rule (27) above to avoid spurious arcs due to overlaps. We can drop arcs between pairs that are already mutually forbidden by the base ILP (e.g., when Si∩Sj≠∅S_i\cap S_j\ne\varnothing and xi+xj≤1x_i+x_j\le1 is present).

As before in Sec. 3.2, let xi∈{0,1}x_i\in\{0,1\} denote whether partition SiS_i is selected to be used in the recombination of the resulting circuit or not. For any directed simple cycle CC in the directed graph HH, the inequality

∑i∈Cxi≤∣C∣−1(30)\sum_{i\in C} x_i \le|C|-1 \tag*{(30)}

forbids selecting all vertices of CC simultaneously, thereby eliminating that cycle. Here, CC is a set of indices whose corresponding partitions form a directed cycle of length ∣C∣|C|. However, pre-enumerating all such cycles can scale exponentially in the worst case. Therefore, when computational budget is a concern, one may restrict the enumeration to cycles up to a prescribed length. Important special cases include:

  • cycles of length 2: if (i,j)∈A(i,j)\in A and (j,i)∈A(j,i)\in A, then xi+xj≤1x_i+x_j\le1;

  • cycles of length 3: if (i,j),(j,k),(k,i)∈A(i,j),(j,k),(k,i)\in A, then xi+xj+xk≤2x_i+x_j+x_k\le2.

When cycle enumeration is limited to a prescribed length, this approach must be combined with Strategy II or III, discussed below, to guarantee global acyclicity.

Strategy II: Introduction of continuous order variables to the partitions. The idea in this strategy is to assign new continuous variables ui∈[0,∣P∣]u_i\in[0,|\mathcal{P}|] to each partition and compose such constraints between these variables which cannot be fulfilled for partitions forming a cycle. Such a constraint can be given with indicator constraints

(xi=1)∧(xj=1)⇒uj≥ui+1,(31)(x_i = 1) \land(x_j = 1) \Rightarrow u_j \ge u_i + 1, \tag*{(31)}

for every arc (i,j)∈A(i,j) \in A. If both (i,j)(i,j) and (j,i)(j,i) belong to AA, forming a cycle of length 2, these constraints cannot be satisfied simultaneously: summing them yields ui+uj≥ui+uj+2u_i + u_j \ge u_i + u_j + 2. The same argument extends to cycles of arbitrary length. This yields a compact, single-shot model with O(∣A∣)O(|A|) additional constraints. It is attractive when the pruned arc set AA is moderate, while for extremely large AA the extra constraints may still be heavy.

Strategy III: Lazy cycle cuts (cutting-plane enforcement). In contrast to Strategies I and II, this strategy eliminates cycles only when they are discovered in a currently best solution during optimization. Starting from the base ILP formulation without acyclicity constraints, whenever the solver finds a new best solution xˉ\bar{x}, we consider the subgraph induced by the selected partitions,

H[Xˉ]withXˉ={i∣xˉi=1}.(32)H[\bar{X}] \quad\text{with} \quad\bar{X} = \{i \mid\bar{x}_i = 1\}. \tag*{(32)}

If H[Xˉ]H[\bar{X}] contains a SCC of size at least 2, we extract a simple directed cycle CC from that SCC and add the corresponding cycle-cut constraint (30). We then re-optimize the problem and repeat this procedure until the currently best solution contains no cycle violations. Modern solvers, such as Gurobi, support this approach through a lazy-constraint callback at the MIPSOL event, which allows on-the-fly SCC detection and insertion of (30) before the incumbent is accepted.

For practical considerations, we mention that if AA becomes modestly large after pruning, Strategy II is simple and effective. For very large graphs, though, Strategy III generally yields the best time–memory trade-off. Strategy I is useful for adding a small library of short-cycle cuts upfront (e.g., all 2- and 3-long cycles), and can be combined with strategies II or III. All three strategies produce solutions in which the partition–interaction digraph induced by selected partitions is acyclic, thereby satisfying the decomposition requirement.

Experimental Results

We evaluated the proposed entanglement-driven OSR decomposition using its implementation in the SQUANDER package. SQUANDER combines OSR-based partition resynthesis with the ILP based partitioning formulation described above, which selects a globally optimal circuit partitioning with respect to the chosen cost function. In these experiments, the objective is to maximize circuit compression by reducing the number of CNOT gates. To assess the impact of these newly developed techniques, we compare the resulting circuit-optimization workflow with the well-established Berkeley Quantum Synthesis Toolkit (BQSKit) [44].

The end-to-end workflows use different routing methods: the BQSKit reference uses SeqPAM [6], while SQUANDER uses OSR to resynthesize small subcircuits on the allowed qubit connections. SQUANDER records these circuits and their CNOT counts for different assignments of the subcircuits’ input and output qubits, then selects compatible circuits and assignments, adding SWAP gates where needed. Consequently, the end-to-end comparison measures combined workflow outcomes rather than isolating the effect of partitioning or resynthesis. Both workflows target a linear connectivity topology. The proposed workflow is compatible with arbitrary qubit-connectivity topologies.

The circuit optimization workflow consists of three stages. First, the circuit is optimized under the assumption of all-to-all qubit connectivity. This stage is denoted by A2A in the tables 1-10 summarizing our results. In the SQUANDER workflow, this stage uses ILP-based partition selection and OSR resynthesis. Second, the resulting circuit is mapped to the linear target topology using the routing method of its respective workflow. (In this stage the linear topology can be replaced by any meaningful connectivity between the qubits.) This stage is denoted by Routed in the tables. Third, the routed circuit undergoes a final connectivity-aware partition optimization and resynthesis. This stage is denoted by Final. In the SQUANDER workflow, the final stage again uses the ILP and OSR techniques.

We tested circuits from QASMBench [45] and the IBM-EAGLE benchmark set used in the GUOQ evaluation [46]. Before synthesis, we converted each circuit to the (u3u3, CX) basis. The tfim circuit present in the tables is from QFAST/QSearch benchmark tfim-4-60 [2], not a member of the original QASMBench suite. The tables report CNOT counts and stage runtimes for maximum partition sizes of three and four qubits. Routing uses blocks of at most three qubits in both settings. We include only completed and verified results. The availability audit records missing results, failures, and timeouts.

We validate the end-to-end result by numerically checking accepted local rewrites (i.e. partition resynthesis) and checking the ordered sequence of partition covers, basis conversions, and routing mappings. The exported gates and parameters must match this validated sequence. For large circuits, this compositional check avoids simulating the full circuit, which would be otherwise highly demanding.

Across the 35 matched IBM Eagle circuits optimized using three-qubit partitions (Table 1 and Table 2), OSR’s CNOT advantage is clearest before routing and after final optimization. Paired tests confirm lower counts in the A2A and Final stages, while the Routed-stage difference is not significant. This suggests that routing can offset some of the gains from resynthesis, even though OSR often produces fewer routed CNOTs on individual circuits. Runtime results show a similar stage-dependent trade-off: OSR is usually faster in A2A, and typical routing times are comparable, but a few long OSR runs dominate its total routing time. The largest runtime gap appears in Final, where OSR’s total is much higher despite similar per-circuit median times. Overall, OSR generally improves final CNOT counts, but runtime is less predictable and can be dominated by a small number of expensive cases.

CircuitQubitsInitial CNOTsOSR CNOTs A2AOSR CNOTs RoutedOSR CNOTs FinalBQSKit CNOTs A2ABQSKit CNOTs RoutedBQSKit CNOTs Final
tof_3518141717182119
barenco_tof_3524182323222626
mod5_4528202725223029
tof_4730223030283432
tof_5942304242404946
barenco_tof_4748344646425248
mod_mult_55948407570488279
QFT8856527772568577
vbe_adder_31070466461477768
barenco_tof_5972506868708379
csla_mux_3_original15807115614571171160
rc_adder_614937110310381119119
gf2^E4_mult12999929422599241228
tof_10191027010210290107105
mod_red_21111058116115499208198
gf2^E5_mult15154154443409154441431
csum_mux_9_corrected30168140432358164392375
QFTAdd816184176424376183477435
qcla_com_724186143326310156334328
barenco_tof_1019192130178178182216187
gf2^E6_mult18221221743549221665628
QFT1616228220440344228449392
qcla_adder_1036233209503439211470445
gf2^E7_mult213003001077780300936875
qcla_mod_726382350116610543521054998
gf2^E8_mult244054051467130140513871316
adder_824409298680607377653606
gf2^E9_mult274944941640143749419561878
gf2^E10_mult306096092534219360928462720
QFT32326125962000166761218271721
QFTAdd16327167002302156871621021897
QFT64641380134660504453138075707241
gf2^E16_mult481581158189167001158168676597
mod_adder_1024281720123630002659161124462229
QFTAdd32641900186895247364189986808136
Total–12989118944513036230126684315340748

Table 1. IBM Eagle three-qubit partition CNOT counts for OSR and BQSKit at matched partition resynthesis infidelity tolerance. Bold values are best within each paired stage. Completed-result snapshot, 23 October 2026: OSR has 59 completed circuits at each partition size (35 IBM Eagle and 24 QASMBenchmarks). Paired comparisons use only circuits completed by both workflows; OSR-only four-qubit results are listed separately. QFT128 has no completed OSR result at this cutoff and is not counted as a failure.

CircuitOSR time (min) A2AOSR time (min) RoutingOSR time (min) FinalBQSKit time (min) A2ABQSKit time (min) RoutingBQSKit time (min) Final
tof_30.050.360.040.840.520.47
barenco_tof_30.050.400.061.080.570.43
mod5_40.110.480.071.110.510.79
tof_40.040.430.101.080.590.55
tof_50.050.470.121.070.710.61
barenco_tof_40.110.510.161.070.660.69
mod_mult_550.140.630.280.800.761.02
QFT80.311.170.370.590.891.28
vbe_adder_30.350.550.240.740.370.43
barenco_tof_50.240.600.221.140.990.90
csla_mux_3_original0.251.221.061.101.671.07
rc_adder_60.100.790.110.760.970.71
gf2^E4_mult0.040.871.210.871.351.25
tof_100.080.750.121.121.070.59
mod_red_210.110.850.881.491.231.43
gf2^E5_mult0.041.402.190.961.941.32
csum_mux_9_corrected0.151.791.851.352.001.90
QFTAdd80.733.261.911.192.092.25
qcla_com_70.251.701.081.531.651.09
barenco_tof_100.171.150.181.792.120.91
gf2^E6_mult0.051.815.371.112.752.10
QFT160.584.162.990.812.182.39
qcla_adder_100.262.912.590.962.331.57
gf2^E7_mult0.062.5411.071.313.662.70
qcla_mod_70.443.737.841.273.743.12
gf2^E8_mult0.063.7410.561.634.803.16
adder_80.702.913.551.703.752.18
gf2^E9_mult0.074.8313.191.985.925.94
gf2^E10_mult0.086.4836.772.357.318.83
QFT321.0210.5126.561.525.777.91
QFTAdd162.1114.1655.701.676.929.52
QFT643.1059.87340.672.6612.7628.04
gf2^E16_mult0.1729.49650.615.9919.3819.04
mod_adder_10248.4810.4648.418.5117.156.55
QFTAdd324.8185.66880.195.7917.5348.43
Total25.38262.652108.3160.95138.61171.19

Table 2. IBM Eagle three-qubit partition stage runtimes for OSR and BQSKit at matched partition resynthesis infidelity tolerance, in minutes. Bold values are best within each paired stage.

For the matched QASMBenchmarks circuits optimized using three-qubit partitions (Table 3 and Table 4), OSR reduces CNOT counts across A2A, Routed, and Final, with paired differences significant at every stage. This contrasts with IBM Eagle, where the routed-stage difference is not significant, suggesting the benefit of resynthesis survives routing more consistently on this benchmark set. These results describe a strong overall trend, not a per-circuit guarantee, as some circuits tie or favor BQSKit. Runtime tells a more nuanced story: OSR’s median time is slightly lower at each stage, but BQSKit’s cumulative stage time is lower because a small number of OSR runs take much longer. Thus, three-qubit partitions provide a statistically supported CNOT advantage on QASMBenchmarks, while the runtime benefit is typical rather than dependable in aggregate.

CircuitQubitsInitial CNOTsOSR CNOTsBQSKit CNOTs
A2ARoutedFinalA2ARoutedFinal
adder_n4410101310101616
bv_n141413132424132724
cat_state_n222221––21––21
ghz_state_n232322––22––22
multiply_n131340408278408078
tfim460––29––56
bv_n140140727228214372348334
swap_test_n2525848410910784106106
ising_n101090––50––76
dnn_n881926410910164134126
grover_1919192124190181165204198
ising_n9898194––194––194
hhl_n771968616315189197192
grover_2323240154238227218262244
multiplier_n1515246184428391210450418
heisenberg-16-2016360––193––204
grover_3333360229359337322389371
dnn_n1616384128233224128314276
qft_2020410387941832389992908
adder_n646445528756336834324002366
grover_4545504319555507429530510
grover_6161696439761697613744705
grover_81819365891021937824999955
quantum_volume_n40_d20_i040120011709264807611701179711070
Total–69774379153351390051831998919470

Table 3. QASMBenchmarks three-qubit partition CNOT counts for OSR and BQSKit at matched partition resynthesis infidelity tolerance. Bold values are best within each paired stage. The tfim row is the QFAST/QSearch tfim-4-60 benchmark; it is not an original QASMBenchmarks circuit.

CircuitOSR time (min)BQSKit time (min)
A2ARoutingFinalA2ARoutingFinal
adder_n40.020.340.030.140.140.39
bv_n140.000.280.000.120.220.21
cat_state_n22––0.00––0.11
ghz_state_n23––0.00––0.12
multiply_n130.040.570.430.810.701.10
tfim––3.84––0.57
bv_n1400.0110.501.880.180.720.71
swap_test_n250.101.730.261.214.050.95
ising_n10––1.03––0.39
dnn_n85.053.600.850.873.411.16
grover_190.361.470.892.012.251.11
ising_n98––0.17––0.29
hhl_n71.531.141.121.190.940.75
grover_230.461.780.851.902.391.23
multiplier_n150.341.701.691.782.132.02
heisenberg-16-20––1.49––1.17
grover_330.802.781.372.793.940.81
dnn_n166.925.230.610.935.066.61
qft_201.588.406.641.153.373.75
adder_n641.758.014.011.583.583.48
grover_451.414.952.474.024.391.44
grover_612.5610.493.875.456.001.86
grover_814.5725.316.397.057.812.11
quantum_volume_n40_d20_i070.15148.80602.622.3892.2650.72
Total97.64237.06642.5035.57143.3483.05

Table 4. QASMBenchmarks three-qubit partition stage runtimes for OSR and BQSKit at matched partition resynthesis infidelity tolerance, in minutes. Bold values are best within each paired stage. The tfim row is the QFAST/QSearch tfim-4-60 benchmark; it is not an original QASMBenchmarks circuit.

These results motivate our next experiment with four-qubit partitions. Larger blocks let resynthesis consider more gates together and may therefore capture additional opportunities to reduce CNOT counts, at the cost of increased synthesis time. The following results evaluate this expected compression–runtime trade-off.

On the 20 IBM Eagle circuits with paired four-qubit results (Table 5 and Table 6), OSR achieves significantly lower CNOT counts than BQSKit at every stage. It reduces the count in most circuits, and the advantage remains evident after routing and final optimization; this contrasts with the three-qubit comparison, where the routed-stage difference was not significant. Comparing OSR on the same circuits at the two partition sizes, four-qubit partitions modestly reduce aggregate CNOT counts across all three stages, although individual circuits do not uniformly improve. This additional compression comes at a substantial runtime cost relative to three-qubit OSR. Against BQSKit, however, four-qubit OSR is much faster overall in the A2A and Final stages, while routing remains slower and OSR is faster in only a small number of routing cases. These results show that larger partitions strengthen the CNOT outcome and can reduce total optimization time relative to BQSKit in two stages, but they do not improve every circuit or every stage and require more OSR computation than the three-qubit setting.

CircuitQubitsInitial CNOTsOSR CNOTs A2AOSR CNOTs RoutedOSR CNOTs FinalBQSKit CNOTs A2ABQSKit CNOTs RoutedBQSKit CNOTs Final
tof_3518141717181919
barenco_tof_3524182323242727
mod5_4528162018122319
tof_4730223030303634
tof_5942304242415348
barenco_tof_4748344646445250
mod_mult_55948349274409568
vbe_adder_31070386252387557
barenco_tof_5972506868659775
csla_mux_3_original15806818414070188160
rc_adder_6149371103977911796
gf2^E4_mult12999124821599296260
tof_10191027010210296123117
gf2^E5_mult15154149479416154583541
csum_mux_9_corrected30168126420321132446417
qcla_com_724186140317280155415347
barenco_tof_1019192130178178186263244
gf2^E6_mult18221203735634221733656
qcla_adder_1036233200531429205470432
adder_824409243588497251650578
Total–2317174742853679196047614245

Table 5. IBM Eagle four-qubit partition CNOT counts for OSR and BQSKit at matched partition resynthesis infidelity tolerance. Bold values are best within each paired stage.

CircuitOSR time (min)BQSKit time (min)
A2ARoutingFinalA2ARoutingFinal
tof_30.240.640.3817.670.3832.95
barenco_tof_30.260.760.4128.080.505.94
mod5_40.790.830.27290.280.2225.15
tof_40.390.750.4431.021.0631.25
tof_50.510.780.64110.370.7114.89
barenco_tof_40.671.050.6522.920.688.37
mod_mult_551.981.322.22866.150.52120.32
vbe_adder_31.011.041.25387.520.4380.95
barenco_tof_50.881.230.9371.180.8079.25
csla_mux_3_original4.233.009.0169.071.5593.58
rc_adder_60.721.641.0263.240.8336.32
gf2^E4_mult4.262.678.7135.861.23190.22
tof_100.471.150.65186.801.2035.41
gf2^E5_mult3.823.1115.07160.071.72484.14
csum_mux_9_corrected1.493.318.99423.661.37373.43
qcla_com_72.983.539.77356.931.52208.98
barenco_tof_100.811.950.9939.691.9849.16
gf2^E6_mult4.974.8917.7740.222.75470.18
qcla_adder_104.316.7514.21220.842.20380.15
adder_89.669.9516.59353.282.48181.86
Total44.4450.36109.963774.8424.122902.52

Table 6. IBM Eagle four-qubit partition stage runtimes for OSR and BQSKit at matched partition resynthesis infidelity tolerance, in minutes. Bold values are best within each paired stage.

Considering all 35 IBM Eagle circuits with OSR results at both partition sizes gives a more qualified picture than the 20-circuit paired comparison above. In this broader OSR-only comparison, four-qubit partitions reduce the aggregate A2A count (11,339 versus 11,894 for three-qubit partitions), but the routed count is higher (47,461 versus 45,130), and the final totals are virtually identical (36,200 versus 36,230). Thus, the A2A savings do not carry through routing in this cohort, while post-routing optimization leaves the final aggregate essentially unchanged. This does not contradict the modest reductions across all stages in the 20 paired circuits: the broader totals also include 15 circuits for which BQSKit did not complete the four-qubit optimization within the 24-hour limit (Table 7), so they describe the effect of partition size on OSR rather than a 35-circuit comparison with BQSKit. Together, the two views suggest that the benefit of larger partitions depends on the circuit cohort and compilation stage, and should be weighed against their substantially higher OSR runtime.

CircuitQubitsInitial CNOTsA2A CNOTsA2A Time (min)Routed CNOTsRouted Time (min)Final CNOTsFinal Time (min)
gf2^E9_mult274944686.19211712.58179756.99
QFT88565115.52852.37732.22
mod_red_2111105782.081582.311484.22
QFTAdd81618417339.505518.1037118.34
QFT161622822026.854166.5334320.80
gf2^E7_mult213002797.2510768.3491826.24
qcla_mod_7263823457.5411549.2098534.71
gf2^E8_mult244053813.7415056.93128135.59
gf2^E10_mult306095777.80292672.292142103.26
QFT323261259627.39194516.991554103.87
QFTAdd1632716673129.872407200.011633107.15
QFT64641380134829.82597459.854183483.09
gf2^E16_mult481581149214.41971826.407427593.42
mod_adder_1024281720112422.9333359.382131118.91
QFTAdd326419001787143.74980975.777535717.71
Total–106729592484.6343176517.07325212426.53

Table 7. Completed IBM Eagle four-qubit partition OSR results for circuits with no completed BQSKit four-qubit optimization within the 24-hour limit. Counts and stage runtimes are combined because no paired comparison is available.

For the four-qubit QASMBenchmarks (Table 8 and Table 9), OSR’s CNOT advantage is significant at all three stages, with the clearest per-circuit gains after routing: it uses fewer CNOTs in 11 of 12 Routed comparisons, with a median reduction of 51. The A2A reductions are smaller (7 wins and 5 ties; median reduction 3.5), while OSR also has fewer CNOTs in 12 of 18 Final comparisons, with ties in the other six (median reduction 19.5). The A2A and Routed comparisons each include 12 circuit pairs, whereas Final includes 18, so their totals describe different paired samples and should be interpreted stage by stage. Runtime shows a distinct trade-off. OSR is faster in every paired A2A and Final run, its median times are 1.58 versus 307.52 minutes and 2.80 versus 70.69 minutes, respectively, and the summed times favor OSR in both stages as well. Routing reverses this pattern: OSR is faster in only one of 12 pairs, with a higher median time (3.53 versus 1.70 minutes) and higher summed time (73.90 versus 26.74 minutes). Overall, four-qubit OSR provides a consistent CNOT benefit on these paired benchmarks and substantial A2A and Final runtime savings relative to BQSKit, but the routing stage remains slower. The runtime comparisons are descriptive, while statistical tests apply to CNOT counts.

CircuitQubitsInitial CNOTsOSR CNOTs A2AOSR CNOTs RoutedOSR CNOTs FinalBQSKit CNOTs A2ABQSKit CNOTs RoutedBQSKit CNOTs Final
adder_n441079971410
bv_n141413132424132524
cat_state_n222221––21––21
ghz_state_n232322––22––22
multiply_n13134040827240146121
tfim460––12––12
bv_n140140727228214372345334
swap_test_n2525848410910784106106
ising_n101090––44––58
grover_1919192124190181177224201
ising_n9898194––194––194
hhl_n771968415814987201179
grover_2323240154238227218286271
multiplier_n1515246138358269142503396
heisenberg-16-2016360––138––157
grover_3333360229359337336419390
grover_4545504319555506476789745
grover_6161696439761696647815768
Total–3400170331253151229938734009

Table 8. QASMBenchmarks four-qubit partition CNOT counts for OSR and BQSKit at matched partition resynthesis infidelity tolerance. Bold values are best within each paired stage. The tfim row is the QFAST/QSearch tfim-4-60 benchmark; it is not an original QASMBenchmarks circuit.

CircuitOSR time (min)BQSKit time (min)
A2ARoutingFinalA2ARoutingFinal
adder_n40.120.350.0963.370.2349.69
bv_n140.010.300.090.220.191.35
cat_state_n22––0.00––0.22
ghz_state_n23––0.00––0.26
multiply_n131.120.822.2339.110.4569.80
tfim––5.29––366.97
bv_n1400.0210.582.050.360.7221.10
swap_test_n251.242.180.6317.384.1515.36
ising_n10––1.80––66.07
grover_191.522.583.37320.212.1789.68
ising_n98––1.72––4.01
hhl_n76.524.035.14851.190.94178.91
grover_231.643.143.70675.882.35111.43
multiplier_n153.783.919.03626.611.23291.27
heisenberg-16-20––4.41––71.58
grover_332.014.594.79294.823.5691.16
grover_452.697.325.19359.534.41199.25
grover_613.9934.106.69570.966.34113.37
Total24.6673.9056.203819.6526.741741.47

Table 9. QASMBenchmarks four-qubit partition stage runtimes for OSR and BQSKit at matched partition resynthesis infidelity tolerance, in minutes. Bold values are best within each paired stage. The tfim row is the QFAST/QSearch tfim-4-60 benchmark, it is not an original QASMBenchmarks circuit.

Comparing OSR across partition sizes on the QASMBenchmarks with results at both partition sizes (Table 3, Table 8, and Table 10) shows a mixed, modest aggregate effect. For stage A2A the three- and four-qubit partition totals are 4,379 and 4,230 CNT gates. For the stage Routed the same quantities are 15,335 and 15,573 CNOTs gates, across 24 circuits. For stage Final, the totals are 13,900 and 13,531 CNOT gates across the same circuits. Thus, four-qubit partitions slightly lower the stages A2A and Final totals but slightly increase the Routed total, rather than delivering a consistent reduction at every stage. These aggregates do not imply that every circuit benefits. The four-qubit totals include OSR-only results for six circuits whose BQSKit optimization did not complete within the 24-hour limit, so this is a comparison of OSR partition sizes, not a fully paired OSR–BQSKit comparison.

CircuitQubitsInitial CNOTsA2A CNOTsA2A Time (min)Routed CNOTsRouted Time (min)Final CNOTsFinal Time (min)
qft_2020410319104.90119815.1587347.69
dnn_n881926112.591066.67974.88
dnn_n161638412223.0722716.1620710.84
grover_81819365896.28102149.969369.21
quantum_volume n40_d20_i04012001170233.999264148.317914509.09
adder_n64644552662.836327.083535.99
Total—35772527383.6712448243.3410380587.70

Table 10. Completed QASMBenchmarks four-qubit partition OSR results for circuits with no completed BQSKit four-qubit optimization within the 24-hour limit. Counts and stage runtimes are combined because no paired comparison is available.

Across the completed IBM Eagle and QASMBenchmarks results (Table 1, Table 3, Table 5, Table 7, Table 8, and Table 10), A2A resynthesis reduces CNOT counts relative to the initial circuits for both partition sizes. For the 53 circuits with A2A, Routed, and Final CNOT counts, the initial total is 19,219 CNOTs. For stage A2A the total is 16,273 CNOTs with three-qubit partitions and 15,569 with four-qubit partitions, reductions of 15.3% and 19.0%, respectively, compared to the intial values. Mapping to the target topology then increases the counts substantially. Final optimization removes some of this routing overhead: on the same 53 circuits, it reduces Routed totals from 60,465 CNOTs to 49,621 CNOTs for three-qubit partitions (17.9%), and from 63,034 to 49,300 CNOTs for four-qubit partitions (21.8%). Although four-qubit partitions yield a slightly greater reduction from Routed to Final, the Final totals for both settings remain above the initial count due to the topology constraint.

Routing can substantially change CNOT counts, making the contribution of partition resynthesis difficult to distinguish in an end-to-end comparison. We therefore compare OSR and BQSKit one-to-one on the same partition unitaries, holding each target fixed. This isolates local synthesis quality and efficiency from differences in partition selection and routing.

To isolate the efficiency of local synthesis, Table 11 compares matched three- and four-qubit targets from frozen benchmark-derived and random samples. The complete frozen cohort was rerun on 22 October 2026 using the current native build. Both methods receive the same unitary, coupling graph, unitary decomposition-infidelity threshold of 10−1010^{-10}, and a 30-second process watchdog, including startup, and a 4-GiB memory limit per solve. Each solve is pinned to one CPU, and the local OSR benchmark uses double precision. The table reports solver-only median times on jointly verified targets. Exported circuits are checked independently against the target and topology. Quality comparisons include only jointly verified pairs, while completion rates are reported separately. The sample excludes compressed source archives larger than 8 MiB. This frozen corpus is a calibration benchmark rather than an independent held-out evaluation.

ContextTargetsPairedOSR validBQSKit validOSR fail and BQSKit validOSR W/T/LΔ\DeltaCX (95% CI)Paired time OSR/BQSKit (s)
3q/a2a147147147147087/60/0−1.24 [−1.46, −1.03]0.50/3.16
3q/random_a2a32323232026/6/0−1.94 [−2.50, −1.41]3.17/4.91
3q/random_path32323232028/4/0−2.53 [−3.19, −1.91]0.33/2.66
3q/routing_catalog83838383065/18/0−1.33 [−1.52, −1.10]0.24/2.25
3q/topology143143143143099/44/0−1.29 [−1.57, −1.04]0.02/2.06
4q/a2a81328032025/7/0−1.75 [−2.43, −1.21]1.02/10.04
4q/random_a2a32152115014/1/0−2.07 [−3.13, −1.20]0.03/4.08
4q/random_cycle32162516015/1/0−2.06 [−3.25, −1.19]0.03/4.07
4q/random_path32213021021/0/0−2.10 [−2.62, −1.57]0.03/4.54
4q/random_star32203120019/1/0−2.50 [−3.60, −1.60]0.03/4.70
4q/topology1267611776067/9/0−3.36 [−3.88, −2.80]0.05/11.34

Table 11. Paired local synthesis of 3- and 4-qubit target unitaries of the partitions. Each verified exported circuit reproduces the same target up to global phase with decomposition infidelity at most 10−1010^{-10} and obeys the stated coupling graph. Wins/ties/losses and mean CNOT differences use only jointly verified pairs. For each paired target, Δ\DeltaCX is the OSR CNOT count minus the BQSKit count; the table reports its mean, giving every target equal weight. Negative values favor OSR. The 95% confidence intervals are obtained from 2,000 samples of the original source circuits, drawn with replacement. All targets from a selected source circuit are included together, and the mean is recomputed over the included targets. Each independently generated random target forms its own group. Median solver times use only jointly verified targets. "OSR fail and BQSKit valid" counts OSR timeouts or failures when BQSKit produces a verified circuit. If either method was not run on a target, that target is excluded from the paired comparison. A method that was not run is not counted as a timeout or failure, and its absence does not give the other method a win.

Across every listed context, the mean CNOT difference favors OSR: each reported 95% confidence interval for ΔCX\Delta\mathrm{CX} lies below zero, and OSR has no losses among jointly verified pairs, though some are ties. This advantage appears for both all-to-all and topology-constrained targets, and is largest in the four-qubit topology context (ΔCX=−3.36\Delta\mathrm{CX} = -3.36). OSR also has a lower reported median solve time in every context. These quality comparisons are paired: three-qubit results are complete for both methods, whereas the four-qubit comparisons cover smaller jointly verified subsets. Completion rates should therefore be considered alongside paired quality.

The source code and benchmark reproduction tools are available in the SQUANDER repository [22]. The end-to-end benchmark archive contains the input and optimized OpenQASM circuits, per-circuit configurations and source fingerprints, and stage-wise CNOT counts and runtimes for OSR and BQSKit at both partition sizes. Recorded failures and timeouts are retained alongside completed results. Compressed replay audits record the local rewrites and circuit-composition steps leading to each completed output.2

Conclusion

In this work we introduced two complementary methodological contributions for quantum-circuit optimization: a globally optimal ILP-based partitioning algorithm and an entanglement-driven OSR approach for local block resynthesis. Together, they connect global circuit-structure optimization with topology-aware synthesis of the selected subcircuits.

The partitioning method enumerates admissible closed convex subcircuits, assigns their computed resynthesis costs, and selects an acyclic exact cover by ILP. Single-qubit-chain contraction and qubit-number-aware reachability reduce candidate-generation cost. Cycle-elimination constraints exclude covers that cannot be scheduled. Global optimality here means optimal partition selection over the enumerated feasible candidates and their computed costs, not a proof that the final circuit has the minimum possible CNOT count.

The OSR contribution uses operator-Schmidt spectra as constructive guidance for exploring CNOT structures, not merely as a posteriori descriptors. After Hilbert–Schmidt fitting of a candidate structure, all-cut dyadic rank bounds and κ\kappa-weighted residual scores prioritize topology-respecting extensions. A zero residual bound still requires a tighter fixed-structure synthesis check. This separation of fitting, structural guidance, and certification is the method evaluated here.

The stage-wise end-to-end tables show the outcomes of the complete SQUANDER and BQSKit workflows, including their different routing methods. The matched local-synthesis study provides the cleaner OSR comparison: across 772 fixed unitary decomposition targets, OSR verifies 741 outputs versus 617 for BQSKit, with 466 CNOT-count wins, 151 ties, and no losses on the 617 jointly verified pairs. Four-qubit completion rates and solver timeouts must be considered alongside paired CNOT quality, rather than counted as quality wins or losses.

The end-to-end circuit optimization CNOT results are stage- and benchmark-dependent. Across 53 circuits with counts for all OSR stages, A2A resynthesis reduces the initial CNOT total by 15.3% with three-qubit partitions and 19.0% with four-qubit partitions. Mapping to the target topology raises the counts substantially. Final optimization reduces the routed totals by 17.9% and 21.8%, respectively, but both final totals remain above the initial count, due to the topology constraint. Four-qubit partitions yield a slightly lower aggregate final count than three-qubit partitions (49,300 versus 49,621 CNOTs), but routed totals are higher. Paired comparisons with BQSKit also vary across benchmark sets and stages. Thus, gains from local resynthesis must be assessed together with partition selection and topology mapping.

Larger blocks expose additional synthesis opportunities, but the end-to-end benefit depends on partition selection and routing as well as local synthesis. Future work will focus on scaling topology-aware routing without losing the gains measured in the matched local study.

Acknowledgments

This research was supported by the Ministry of Culture and Innovation and the National Research, Development and Innovation Office through the Quantum Information National Laboratory of Hungary (Grant No. 2022-2.1.1-NL-2022-00004), financed by the National Research, Development and Innovation Fund, and by the Hungarian Scientific Research Fund (OTKA) under Grants No. K134437. We also acknowledge support received through the EUREKA project AI4QT—Artificial Intelligence for Quantum Technologies (Grant No. 2020-1.2.3-EUREKA-2022-00029). We further acknowledge support from the Horizon Europe programme HORIZON-CL4-2022-QUANTUM-01-SGA through the OpenSuperQPlus100 project (Grant No. 101113946). We acknowledge the computational resources provided by the Wigner Scientific Computational Laboratory (WSCLAB), formerly the Wigner GPU Laboratory.

AI assistance disclosure

OpenAI GPT-5.5/5.6/6.0/6.1 Sol models, used through the Codex harness in medium and extra-high reasoning modes, assisted with method development, implementation, computational experiments, literature and citation checks, and manuscript preparation. The authors remain responsible for all scientific claims, computations, references, and text.

Supplementary Algorithms and Results

Qubit Number-Aware Reachability and Convex Partition Enumeration

This appendix gives the pseudocode for the qubit number-aware reachability and convex partition enumeration routines used in § 3.2. The main text describes the role of these routines in pruning the partition search space; here we provide the implementation-level details. Algorithm 2 restricts reachability to subgraphs whose cumulative qubit footprint remains within the budget Qmax⁡Q_{\max}. Algorithm 3 then uses this restricted reachability inside a depth-first enumeration of convex, qubit-feasible candidate partitions.

Algorithm 2: Qubit Number-Aware Reachability

Input:

XX &nbsp;&nbsp; initial set of gates,

g,rgg, r_g &nbsp;&nbsp; forward and reverse adjacency of circuit DAG,

RR &nbsp;&nbsp; set of admissible gates,

QQ &nbsp;&nbsp; mapping gate ↦\mapsto qubits,

Qmax⁡Q_{\max} &nbsp;&nbsp; maximum allowed qubits per partition.

Output: Set of gates reachable without exceeding qubit bound.

  1. Initialize level ←X\leftarrow X, visited ←∅\leftarrow\varnothing, nextlevel ←∅\leftarrow\varnothing, and qubit-sets QsQ_s;

  2. while level ≠∅\ne\varnothing do

  3. &nbsp;&nbsp;&nbsp;&nbsp;foreach v∈v \in level do

  4. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Let Rv←rg(v)∩RR_v \leftarrow r_g(v) \cap R; /* backward restriction check */

  5. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if Rv⊆R_v \subseteq visited then

  6. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if v∈Xv \in X then

  7. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Qs[v]←QQ_s[v] \leftarrow Q;

  8. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else

  9. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Qs[v]←Q(v)∪⋃u∈RvQs[u]Q_s[v] \leftarrow Q(v) \cup\bigcup_{u \in R_v} Q_s[u];

  10. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ∣Qs[v]∣≤Qmax⁡\lvert Q_s[v]\rvert\le Q_{\max} then

  11. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;visited ←\leftarrow visited ∪{v}\cup\{v\};

  12. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nextlevel ←\leftarrow nextlevel ∪(g(v)∩R)\cup(g(v) \cap R);

  13. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else

  14. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;delete Qs[v]Q_s[v];

  15. Swap(level, nextlevel); clear(nextlevel);

  16. return set of vertices with defined QsQ_s;

Algorithm 3: Qubit Number-Aware Convex Partition Enumeration

Input: G=(V,E)G = (V,E) circuit DAG, with topological order π\pi, g,rgg, r_g forward and reverse adjacency, reach, revreach precomputed closures, Q(v)Q(v) qubit set of each gate, Qmax⁡Q_{\max} maximum qubits per partition.

Output: Set P\mathcal{P} of all convex qubit-feasible partitions.

  1. P←∅\mathcal{P} \gets\emptyset;

  2. foreach vertex tt in topological order do

  3. X←{t}X \gets\{t\}, Y←{v:π(v)>π(t)}Y \gets\{v : \pi(v) > \pi(t)\}, Q←Q(t)Q \gets Q(t);

  4. A←reach⁡[t]∩YA \gets\operatorname{reach}[t] \cap Y, B←revreach⁡[t]∩YB \gets\operatorname{revreach}[t] \cap Y;

  5. prune Y,AY,A using Alg. 2 with (X,g,rg,A,Q)(X,g,r_g,A,Q);

  6. stack⁡←{(X,Y,A,B,Q)}\operatorname{stack} \gets\{(X,Y,A,B,Q)\};

  7. while stack not empty do

  8. Pop (X,Y,A,B,Q)(X,Y,A,B,Q);

  9. if A≠∅A \ne\emptyset then

  10. select v∈Av \in A and set R←(A∩revreach⁡[v])∪{v}R \gets(A \cap\operatorname{revreach}[v]) \cup\{v\}

  11. else if B≠∅B \ne\emptyset then

  12. select v∈Bv \in B and set R←(B∩reach⁡[v])∪{v}R \gets(B \cap\operatorname{reach}[v]) \cup\{v\}

  13. else

  14. P←P∪{X}\mathcal{P} \gets\mathcal{P} \cup\{X\}; continue

  15. push (X,Y∖{v},A,B,Q)(X,Y \setminus\{v\},A,B,Q) to stack;

  16. Y′←Y∖RY' \gets Y \setminus R, X′←X∪RX' \gets X \cup R, Q′←Q∪⋃u∈RQ(u)Q' \gets Q \cup\bigcup_{u\in R} Q(u);

  17. if ∣Q′∣≤Qmax⁡\lvert Q'\rvert\le Q_{\max} then

  18. A′←(A∖R)∪⋃u∈R(reach⁡[u]∩Y′)A' \gets(A \setminus R) \cup\bigcup_{u\in R}(\operatorname{reach}[u] \cap Y');

  19. B′←(B∖R)∪⋃u∈R(revreach⁡[u]∩Y′)B' \gets(B \setminus R) \cup\bigcup_{u\in R}(\operatorname{revreach}[u] \cap Y');

  20. prune Y′,A′Y',A' with Alg. 2 (X′,g,rg,A′,Q′)(X',g,r_g,A',Q');

  21. prune Y′,B′Y',B' with Alg. 2 (X′,rg,g,B′,Q′)(X',r_g,g,B',Q');

  22. push (X′,Y′,A′,B′,Q′)(X',Y',A',B',Q') to stack;

  23. return P\mathcal{P};

Preprocessing. The forward and backward reachability closures for sets AA and BB are computed using Nuutila’s transitive-closure algorithm [38], applied to the graph and its reverse:

reach⁡[u]={v∣u⪯v},revreach⁡[u]={v∣v⪯u}.(33)\operatorname{reach}[u] = \{v \mid u \preceq v\},\qquad\operatorname{revreach}[u] = \{v \mid v \preceq u\}. \tag*{(33)}

These closures are then indexed by a topological order π:V→{1,…,n}\pi: V \to\{1,\ldots,n\} of the DAG. For each topologically earliest seed gate t∈Vt \in V, the algorithm initiates a convex set X={t}X = \{t\} with remaining candidate vertices Y={v:π(v)>π(t)}Y = \{v : \pi(v) > \pi(t)\} and qubit footprint Q(t)Q(t). The two frontier sets A,B⊆YA,B \subseteq Y are always maintained relative to the current partition XX. The search proceeds in a depth-first manner with a stack of states. At each step, one candidate vertex v∈A∪Bv \in A \cup B is selected, and a region RR (all vertices forced in by convexity) is added to the current partition XX. If the enlarged partition’s qubit set remains within Qmax⁡Q_{\max}, the frontier sets are updated and pruned by the qubit number-aware BFS reachability routine (Alg. 2). Otherwise, the branch is discarded. The search proceeds in a depth-first manner (i.e. explores one path as deeply as possible before backtracking). Whenever both frontier sets A,BA,B are exhausted, the current convex set XX is finalized as a valid partition and recorded. The process backtracks until all convex partitions rooted at tt have been enumerated.

Using the outlined approach, each partition is discovered once, and each recursive expansion checks only admissible Qmax⁡Q_{\max}-bounded frontiers. The worst-case complexity is exponential in ∣V∣\lvert V\rvert (since the number of convex partitions can be exponential), but per-step overhead is polynomial, with O(∣E∣)O(|E|) for reachability updates and O(Qmax⁡)O(Q_{\max}) for qubit-set unions. In practice, the qubit bound Qmax⁡Q_{\max} is small, so the algorithm scales to circuits with hundreds or thousands of gates.

Algorithm for Contracting Single-Qubit Chains

In this appendix, we describe the procedure used to contract single-qubit chains within a quantum circuit. The algorithm operates on a directed acyclic graph (DAG) representation of the circuit, where vertices correspond to gates, and edges represent data dependencies. For each qubit, consecutive single-qubit gates are merged into chains to reduce the effective graph size while preserving circuit semantics.

Algorithm 4: Contracting Single-Qubit Chains

Input:

GG forward adjacency map of the DAG (successors of each gate),

G−1G^{-1} reverse adjacency map of the DAG (predecessors of each gate),

Q(g)Q(g) mapping from each gate gg to the set of qubits it acts on,

T\mathcal{T} a valid topological ordering of all gates.

Output:

G′G' contracted forward adjacency map,

G′−1G'^{-1} contracted reverse adjacency map,

T′\mathcal{T}' updated topological ordering excluding contracted gates,

CC dictionary mapping each representative gate to its contracted single-qubit chain.

  1. S←{g∈V(G):∣Q(g)∣=1}S \leftarrow\{g \in V(G): |Q(g)| = 1\}; /* Set of single-qubit gates */

  2. C←∅C \leftarrow\varnothing; /* Initialize contracted chains */

  3. foreach g∈Tg \in\mathcal{T} do

  4. &nbsp;&nbsp;if g∈Sg \in S then

  5. &nbsp;&nbsp;&nbsp;&nbsp;if G−1(g)≠∅G^{-1}(g) \ne\varnothing then

  6. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let p←p \leftarrow an arbitrary predecessor of gg;

  7. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C[g]←C[p]C[g] \leftarrow C[p] if p∈Cp \in C else ∅\varnothing;

  8. &nbsp;&nbsp;&nbsp;&nbsp;else

  9. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C[g]←∅C[g] \leftarrow\varnothing;

  10. &nbsp;&nbsp;&nbsp;&nbsp;append gg to C[g]C[g];

  11. &nbsp;&nbsp;&nbsp;&nbsp;if G−1(g)≠∅G^{-1}(g) \ne\varnothing then

  12. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let p←p \leftarrow an arbitrary predecessor of gg;

  13. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;G(p)←(G(p)∖{g})∪G(g)G(p) \leftarrow(G(p) \setminus\{g\}) \cup G(g);

  14. &nbsp;&nbsp;&nbsp;&nbsp;if G(g)≠∅G(g) \ne\varnothing then

  15. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let s←s \leftarrow an arbitrary successor of gg;

  16. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;G−1(s)←(G−1(s)∖{g})∪G−1(g)G^{-1}(s) \leftarrow(G^{-1}(s) \setminus\{g\}) \cup G^{-1}(g);

  17. &nbsp;&nbsp;&nbsp;&nbsp;remove gg from GG and G−1G^{-1};

  18. T′←T∖S\mathcal{T}' \leftarrow\mathcal{T} \setminus S;

  19. return (G,G−1,T′,C)(G,G^{-1},\mathcal{T}',C);

The algorithm proceeds as follows:

  1. Identify all single-qubit gates.

  2. Traverse the circuit in topological order, extending single-qubit chains whenever possible.

  3. For each gate in a chain, update adjacency relations by bypassing the contracted node, ensuring that dependency edges are preserved.

  4. Remove contracted nodes from the adjacency maps and the topological order.

This contraction reduces the number of nodes considered during later partitioning stages, while a dictionary map (labeled by CC in Alg. 4) maintains explicit records of the merged single-qubit gates to allow full reconstruction of the original circuit.

Complexity Analysis. Let ∣V∣|V| denote the number of gates and ∣E∣|E| the number of dependency edges in the circuit DAG. Identifying single-qubit gates requires O(∣V∣)O(|V|) time. The traversal in topological order visits each gate once and processes each adjacency update in O(1)O(1) expected time using hash-based adjacency maps. Since each edge is considered at most once when bypassing contracted gates, the total update cost is O(∣E∣)O(|E|). Therefore, the total time complexity is

O(∣V∣+∣E∣).O(|V| + |E|).

The space complexity is also linear: adjacency maps store O(∣V∣+∣E∣)O(|V| + |E|) entries, and the dictionary CC introduces only an additional O(∣V∣)O(|V|) storage overhead. Hence, the algorithm is asymptotically optimal with respect to both time and space for this task.

Algorithm for Recombining Single-Qubit Chains

After circuit partitioning has been performed on the contracted DAG, we must restore the original single-qubit gates to ensure correctness of the final partitioning. The following algorithm reinserts contracted single-qubit chains into the partition sets, maintaining consistency with gate dependencies.

Algorithm 5: Recombining Single-Qubit Chains

Input: GG forward adjacency map of the contracted DAG, G−1G^{-1} reverse adjacency map of the contracted DAG, CC dictionary of single-qubit chains (as returned by Algorithm 4), L\mathcal{L} a partition of the contracted circuit gates into disjoint sets.

Output: L′\mathcal{L}', a partition of the full circuit including recombined single-qubit chains.

1  L ← {set(P) : P ∈ L};                                      /* Convert partitions to mutable sets */
2  initialize map M : g ↦ P such that g ∈ P for each gate g and partition P ∈ L;
3  foreach chain C ∈ unique(C) do
4      let g_head ← C[0] and g_tail ← C[−1];
5      if G⁻¹(g_head) ≠ ∅ then
6          let p ← an arbitrary predecessor of g_head;
7          M(p) ← M(p) ∪ C;
8      else if G(g_tail) ≠ ∅ then
9          let s ← an arbitrary successor of g_tail;
10         M(s) ← M(s) ∪ C;
11     else
12         L ← L ∪ {C};                                         /* Chain is isolated, forms a new partition */
13 return L;

The procedure works by traversing each contracted chain CC and merging it back into the partition containing one of its neighboring gates:

(1) If the chain has a predecessor in G−1G^{-1}, it is merged into the same partition as that predecessor.

(2) Otherwise, if the chain has a successor in GG, it is merged into that partition.

(3) If the chain is isolated (no predecessors or successors), it is appended as its own partition.

Complexity Analysis. Let ∣V∣|V| denote the number of contracted gates, ∣E∣|E| the number of edges, and ∣C∣|C| the number of single-qubit chains. Constructing the mapping MM requires O(∣V∣)O(|V|) time. Each chain is processed exactly once, with constant-time set merges and membership lookups using hash tables. The total number of insertions across all chains is O(∑C∈C∣C∣)=O(∣V∣)O\left(\sum_{C \in\mathcal{C}} |C|\right) = O(|V|), since each gate belongs to at most one chain. Therefore, the overall time complexity is

O(∣V∣+∣C∣)O(|V| + |\mathcal{C}|)

The space complexity is O(∣V∣+∣C∣)O(|V| + |\mathcal{C}|), dominated by the partition map MM and storage of chain memberships.

References

  1. [1]Ed Younis and Costin Iancu. Quantum circuit optimization and transpilation via parameterized circuit instantiation. In 2022 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 465–475, 2022.arxiv.org/abs/2206.07885
  2. [2]Ed Younis, Koushik Sen, Katherine Yelick, and Costin Iancu. Qfast: Configuring search and numerical optimization for scalable quantum circuit synthesis. In 2021 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 232–243, 2021.
  3. [3]Ethan Smith, Marc Grau Davis, Jeffrey Larson, Ed Younis, Lindsay Bassman Oftelie, Wim Lavrijsen, and Costin Iancu. Leap: Scaling numerical optimization based synthesis using an incremental approach. ACM Transactions on Quantum Computing, 4(1):5–23, 2023.DOI
  4. [4]Mathias Weiden, Ed Younis, Justin Kalloor, John Kubiatowicz, and Costin Iancu. Improving quantum circuit synthesis with machine learning. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 1779–1789, 2023.arxiv.org/abs/2306.05622
  5. [5]Alon Kuliansky, Ed Younis, Lukasz Cincio, and Costin Iancu. Qfactor: A domain-specific optimizer for quantum circuit instantiation. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 814–825, 2023.
  6. [6]Ji Liu, Ed Younis, Mathias Weiden, Paul Hovland, John Kubiatowicz, and Costin Iancu. Tackling the qubit mapping problem with permutation-aware synthesis. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 745–756, 2023.arxiv.org/abs/2305.02939
  7. [7]Xin-Chuan Wu, Marc Grau Davis, Frederic T. Chong, and Costin Iancu. Qgo: Scalable quantum circuit optimization using automated synthesis, 2020.arxiv.org/abs/2012.09835
  8. [8]Mathias Weiden, Justin Kalloor, John Kubiatowicz, Ed Younis, and Costin Iancu. Wide quantum circuit optimization with topology aware synthesis. In 2022 IEEE/ACM Third International Workshop on Quantum Computing Software (QCS), pages 1–11, 2022.arxiv.org/abs/2206.13645
  9. [9]Joseph Clark, Travis Humble, and Himanshu Thapliyal. Tdag: Tree-based directed acyclic graph partitioning for quantum circuits. In Proceedings of the Great Lakes Symposium on VLSI 2023, GLSVLSI ’23, page 587–592, New York, NY, USA, 2023. Association for Computing Machinery.
  10. [10]Joseph Clark, Travis S. Humble, and Himanshu Thapliyal. Gtqcp: Greedy topology-aware quantum circuit partitioning. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), page 739–744. IEEE, September 2023.DOI
  11. [11]Bo Fang, M. Yusuf Ozkaya, Ang Li, Umit V. Catalyurek, and Sriram Krishnamoorthy. Efficient Hierarchical State Vector Simulation of Quantum Circuits via Acyclic Graph Partitioning. In 2022 IEEE International Conference on Cluster Computing (CLUSTER), pages 289–300, Los Alamitos, CA, USA, September 2022. IEEE Computer Society.arxiv.org/abs/2205.06973
  12. [12]Mingxuan Xu, Shiyi Cao, Xupeng Miao, Umut A. Acar, and Zhihao Jia. Atlas: Hierarchical partitioning for quantum circuit simulation on gpus. In Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis, SC ’24. IEEE Press, 2024.
  13. [13]Eneet Kaur, Hassan Shapourian, Jiapeng Zhao, Michael Kilzer, Ramana Kompella, and Reza Nejabati. Optimized quantum circuit partitioning across multiple quantum processors. In Philip R. Hemmer and Alan L. Midgell, editors, Quantum Computing, Communication, and Simulation V, volume 13391, page 133910L. International Society for Optics and Photonics, SPIE, 2025.
  14. [14]Zohreh Davarzani, Mariam Zomorodi, and Mahboobeh Houshmand. A hierarchical approach for building distributed quantum systems. Scientific Reports, 12(1):15421, Sep 2022.
  15. [15]Giacomo Nannicini, Lev S. Bishop, Oktay Gündüz, and Petar Jurcevic. Optimal qubit assignment and routing via integer programming. ACM Transactions on Quantum Computing, 4(1), October 2022.arxiv.org/abs/2106.06446
  16. [16]Tirthak Patel, Ed Younis, Costin Iancu, Wibe de Jong, and Devesh Tiwari. Quest: Systematically approximating quantum circuits for higher output fidelity. In Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, pages 514–528, 2022.DOI
  17. [17]Lindsay Bassman Oftelie, Roel Van Beumeen, Ed Younis, Ethan Smith, Costin Iancu, and Wibe A. de Jong. Constant-depth circuits for dynamic simulations of materials on quantum computers. Materials Theory, 6(13), 2022.
  18. [18]Siyuan Niu, Akel Hashim, Costin Iancu, Wibe Albert de Jong, and Ed Younis. Effective quantum resource optimization via circuit resizing in bqskit. In Proceedings of the 61st ACM/IEEE Design Automation Conference, 2024.DOI
  19. [19]Colin Campbell, Frederic T. Chong, Denny Dahl, Paige Frederick, Palash Goiporia, Pranav Gokhale, Benjamin Hall, Salahedeen Issa, Eric Jones, Stephanie Lee, Andrew Litteken, Victory Omole, David Owusu-Antwi, Michael A. Perlin, Rich Rines, Kaitlin N. Smith, Noah Goss, Akel Hashim, Ravi Naik, Ed Younis, Daniel Lobser, Christopher G. Yale, Benchen Huang, and Ji Liu. Superstaq: Deep optimization of quantum programs. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 1020–1031, 2023.arxiv.org/abs/2309.05157
  20. [20]Alexander Müller-Hermes and Ion Nechita. Operator Schmidt ranks of bipartite unitary matrices. Linear Algebra and its Applications, 557:174–187, 2018. https://doi.org/10.1016/j.laa.2018.07.018.
  21. [21]S. Balakrishnan and R. Sankaranarayanan. Operator-Schmidt decomposition and the geometrical edges of two-qubit gates. Quantum Information Processing, 10(4):449–461, 2011. https://doi.org/10.1007/s11128-010-0207-9.
  22. [22]Péter Rakyta and contributors. SQUANDER: Sequential quantum gate decomposer. GitHub software repository, 2026. https://github.com/rakytap/sequential-quantum-gate-decomposer.
  23. [23]Péter Rakyta and Zoltán Zimborás. Approaching the theoretical limit in quantum gate decomposition. Quantum, 6:710, May 2022.DOI
  24. [24]Daniel E. Parker, Xiangyu Cao, and Michael P. Zaletel. Local matrix product operators: Canonical form, compression, and control theory. Physical Review B, 102(3):035147, 2020.DOI
  25. [25]Christoph Hubig, Ian P. McCulloch, and Ulrich Schollwöck. Generic construction of efficient matrix product operators. Physical Review B, 95(3):035129, 2017.DOI
  26. [26]Bruno Bertini, Pavel Kos, and Tomas Prosen. Operator entanglement in local quantum circuits i: Chaotic dual-unitary circuits. SciPost Physics, 8(4):067, 2020.
  27. [27]Llorenç Balada Gaggioli. Low-rank geometry of two-qubit gates. arXiv:2604.15102, 2026. https://arxiv.org/abs/2604.15102.
  28. [28]G. Vidal and C. M. Dawson. Universal quantum circuit for two-qubit transformations with three controlled-NOT gates. Physical Review A, 69(1):010301, 2004.DOI
  29. [29]Vivek V. Shende, Igor L. Markov, and Stephen S. Bullock. Minimal universal two-qubit controlled-NOT-based circuits. Physical Review A, 69(6):062321, 2004.DOI
  30. [30]Scott M. Cohen and Li Yu. All unitaries having operator Schmidt rank 2 are controlled unitaries. Physical Review A, 87(2):022329, 2013.DOI
  31. [31]Vivek V. Shende, Stephen S. Bullock, and Igor L. Markov. Synthesis of quantum-logic circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 25(6):1000–1010, 2006.
  32. [32]Lin Chen and Li Yu. Entanglement cost and entangling power of bipartite unitary and permutation operators. Physical Review A, 93(4):042331, 2020.
  33. [33]Farrokh Vatan and Colin Williams. Optimal quantum circuits for general two-qubit gates. Physical Review A, 69(3):032315, 2004.DOI
  34. [34]Arianne Meijer van de Griend. A comparison of quantum compilers using a dag-based or phase polynomial-based intermediate representation, 2024.
  35. [35]Andrew M. Childs, Eddie Schoute, and Cem M. Unsal. Circuit Transformations for Quantum Architectures. In Wim van Dam and Laura Mančinska, editors, 14th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2019), volume 135 of Leibniz International Proceedings in Informatics (LIPIcs), pages 3:1–3:24, Dagstuhl, Germany, 2019. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.DOI
  36. [36]P. Balister, S. Gerke, G. Gutin, A. Johnstone, J. Reddington, E. Scott, A. Soleimanfallah, and A. Yeo. Algorithms for generating convex sets in acyclic digraphs. Journal of Discrete Algorithms, 7(4):509–518, 2009.arxiv.org/abs/0712.2661
  37. [37]Robert R. Tucci. An introduction to cartan’s kak decomposition for qc programmers, 2005.DOI
  38. [38]Esko Nuutila. An efficient transitive closure algorithm for cyclic digraphs. Information Processing Letters, 52(4):207–213, 1994.DOI
  39. [39]Robert Tarjan. Depth-first search and linear graph algorithms. SIAM Journal on Computing, 1(2):146–160, 1972.
  40. [40]Alfred V. Aho, John E. Hopcroft, and Jeffrey D. Ullman. The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, MA, 1974.
  41. [41]George Nemhauser and Laurence Wolsey. The Scope of Integer and Combinatorial Optimization, chapter I.1, pages 1–26. John Wiley & Sons, Ltd, 1988.DOI
  42. [42]Takeaki Uno and Hiroko Satoh. An efficient algorithm for enumerating chordless cycles and chordless paths. In Sašo Džeroski, Panče Panov, Dragi Kocev, and Ljupčo Todorovski, editors, Discovery Science, pages 313–324, Cham, 2014. Springer International Publishing.arxiv.org/abs/1404.7610
  43. [43]Elisângela Silva Dias, Diane Castonguay, Humberto Longo, and Walid Abdalla Rafaei Jradi. Efficient enumeration of chordless cycles, 2014.
  44. [44]Ed Younis, Costin C. Iancu, Wim Lavrijsen, Marc Davis, and Ethan Smith. Berkeley quantum synthesis toolkit (BQSkit) v1. Computer software, 2021.DOI
  45. [45]Ang Li, Samuel Stein, Sriram Krishnamoorthy, and James Ang. QASMBench: A low-level quantum benchmark suite for NISQ evaluation and simulation. ACM Transactions on Quantum Computing, 2023.DOI
  46. [46]Amanda Xu, Abtin Molavi, Swamit Tannu, and Aws Albarghouthi. Optimizing quantum circuits, fast and slow. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1, pages 777–793, 2025.arxiv.org/abs/2411.04104

Paper details

vlnc:W_tu49qqux
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Physics and Astronomy

OpenAI GPT-5.5 · View statement →

Looking for related papers…
Contents