Gradient-Based Optimization Enables Scalable Fault-Tolerant Quantum Gate Synthesis

arXiv:2603.25101 · quant-ph, cs.ET · Submitted 2026-03-26 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Quantum Radio. Generated commentary on the latest quantum physics and condensed matter papers.

Kai: I'm Kai.

Mira: And I'm Mira, here with Lev.

Kai: We're looking at the paper: "Gradient-Based Optimization Enables Scalable Fault-Tolerant Quantum Gate Synthesis".

Mira: Here's the gist of the paper. The gist The paper presents a formulation of finding the smallest T-Count circuit that implements a given unitary as a binary search over a sequence of continuous minimization problems, and demonstrates that these problems are numerically solvable in practice.

Kai: Quantum gate synthesis is the process of taking a unitary matrix (or a similar gate description) and decomposing it into a quantum circuit, which faces the inevitable scaling issue that unitaries scale exponentially with the number of qubits involved <ref:2603.25101#pg2>.

Mira: In NISQ architectures, the primary figure of merit is the number of two-qubit gates such as CNOT, CZ, or iSW AP because the susceptibility of these gates to hardware error typically becomes the limiting factor in circuit length <ref:2603.25101#pg3>.

Kai: In contrast, in FT quantum computing, the main resource overhead comes from magic state preparation for non-Clifford gates, such as the T gate <ref:2603.25101#pg3>.

Title and authors: Kai: So the paper we're looking at is titled "Gradient-Based Optimization Enables Scalable Fault-Tolerant Quantum Gate Synthesis," and the authors are Marc Grau Davis, Ed Younis, Mathias Weiden, Hyeongrak Choi, and Dirk Englund.

Mira: It sounds like a title that suggests they're moving beyond just brute force synthesis and using optimization techniques to find better circuit structures.

Lev: The authors seem focused on taking the problem of finding minimal T-Count circuits and tackling it by using gradient-based methods for optimization instead of relying purely on heuristics.

Kai: They are presenting a formulation of the problem where finding the smallest T-Count circuit is done as a binary search over a sequence of continuous minimization problems, and they prove that these problems are numerically solvable in practice.

Mira: So what does that mean for us is that instead of getting stuck on an intractable exact solution, we can treat it like a numerical problem we can solve step by step.

Lev: That framing is useful because it lets you build the circuit piece by piece while checking if you're approaching the minimum T-count at each stage.

Kai: They reproduce best-known results for synthesis of circuits with a small number of qubits, and they also push the bounds for the largest circuits that can be solved in this way.

Mira: So they aren't just doing a quick check on small systems; they are showing how to push the limits on how big these kinds of solutions can get.

Lev: I'm interested in where those bounds actually land because that tells us what we need to prepare for when we build real hardware.

The paper's summary: Kai: The paper summarizes their approach by focusing on improving the approximation of arbitrary multi-qubit unitaries with the Clifford plus T gateset by using numerical optimization after single-qubit gate approximation is applied.

Mira: So they are taking a given unitary, approximating it first, and then optimizing that already approximated circuit to minimize the T-count after applying single-qubit gate approximation.

Lev: That sequence makes sense because the initial step simplifies the problem by reducing it to a known structure before introducing the optimization step for T gates.

Kai: They identify RZ gates that can be rounded to a Clifford or T gate without needing those extra single-qubit synthesis techniques, and they minimize the number of T gates added during that process.

Mira: So they're looking for ways to simplify the circuit structure before deciding which non-Clifford gates need T gates.

Lev: That sounds like a practical way to manage complexity in a synthesis pipeline where you have many different approximation techniques at play.

The paper's improvements: Kai: The paper suggests two key improvements: first, they use circuit partitioning to break large circuits into smaller sub-circuits that can be optimized independently.

Mira: So the second improvement is that this partitioning allows the AI to handle circuits with a lot of qubits by scaling the runtime to O(l log l) instead of exponentially.

Lev: That complexity reduction is huge because it means we're not stuck dealing with exponential scaling anymore, which addresses the current limitation where that exponential factor is now in the block size of the partitioning.

Kai: And they also introduce a numerical minimization for T-Count circuits in FT quantum computing, which allows AI systems to find "a Clifford+T circuit" by minimizing a cost function defined by equation ten which "forces N of the RZ gates towards one of the desired gates in D <ref:2603.25101#pg2>."

Mira: That cost function is clever because it forces those specific RZ gates into a certain set D while letting others respond freely to keep the overall implemented unitary close to the target.

Lev: So this numerical minimization allows you to find a solution that minimizes the number of remaining RZ gates by checking if that total cost stays below T.

Conclusion: Kai: To wrap up, the paper "Gradient-Based Optimization Enables Scalable Fault-Tolerant Quantum Gate Synthesis" shows how they use binary search over continuous minimization problems and circuit partitioning to tackle the complexity of finding minimal T-Count circuits for large systems.

Mira: Essentially, it’s a numerical method that searches for the best way to round RZ gates while keeping the total synthesis error low, and they proved it works on benchmarks.

Lev: From an engineering standpoint, this means we have a systematic way to handle circuit size by breaking circuits into sub-circuits and optimizing them independently for better performance.

Kai: This work suggests that TRbO is a start of a whole new approach to fault-tolerant quantum circuit optimization, and with more research, it could lead to transferring the success from NISQ circuits over to the FT field.

Mira: The main implication is that numerical synthesis tools can discover new replacement opportunities for gates that would be really difficult for humans to spot in the circuit structure.

Kai: So this paper sets a foundation for future research into how we can optimize T-Count and depth in these systems while keeping the circuit size manageable.

Mira: We’ll be looking at what they explore next, which includes extending this approach beyond just Clifford and T gates to other gate sets as well.

Lev: It’s a solid direction for future work, especially since they're already looking at minimizing ancilla qubits added by a compilation step or minimizing T-depth along with T-count.

Marc Grau Davis, Ed Younis, Mathias Weiden, Hyeongrak Choi, Dirk Englund

Research Laboratory of Electronics, Massachusetts Institute of Technology · Lawrence Berkeley National Laboratory

quant-ph, cs.ET

Submitted: 2026-03-26

Updated: 2026-10-18

Comments: 6 pages 4 figures and tables

Code: https://github.com/WolfLink/trbo

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 76/100

The gist: The gist The paper presents a formulation of finding the smallest T-Count circuit that implements a given unitary as a binary search over a sequence of continuous minimization problems, and

Key concepts

T-Count Circuit
This refers to the number of T-gates required in a quantum circuit. In fault-tolerant quantum computing, T-gates are crucial because they allow for the preparation of non-Clifford magic states, which are necessary for universal computation beyond Clifford gates.
Gate Rounding Optimization
This is a numerical technique used to simplify the synthesis of a unitary matrix. It involves finding how many existing RZ gates can be 'rounded' to desired Clifford or T gates while keeping the overall implemented unitary close to the target, minimizing added errors.
Circuit Partitioning
For very large quantum circuits, this technique breaks them down into smaller, independent sub-circuits. By optimizing these pieces separately and scaling runtime based on block size rather than exponential circuit size, it makes optimizing massive circuits computationally feasible.

Summary

The gist The paper presents a formulation of finding the smallest T-Count circuit that implements a given unitary as a binary search over a sequence of continuous minimization problems, and demonstrates that these problems are numerically solvable in practice.

Background

Quantum gate synthesis is the process of taking a unitary matrix (or a similar gate description) and decomposing it into a quantum circuit, which faces the inevitable scaling issue that unitaries scale exponentially with the number of qubits involved <ref:2603.25101#pg2>. In NISQ architectures, the primary figure of merit is the number of two-qubit gates such as CNOT, CZ, or iSW AP because the susceptibility of these gates to hardware error typically becomes the limiting factor in circuit length <ref:2603.25101#pg3>. In contrast, in FT quantum computing, the main resource overhead comes from magic state preparation for non-Clifford gates, such as the T gate <ref:2603.25101#pg3>.

TRBO: T REDUCTION BY OPTIMIZATION

The approach focuses on improving the approximation of arbitrary multi-qubit unitaries with the Clifford+T gateset by using numerical optimization to minimize the T-count of the circuit after single-qubit gate approximation is applied <ref:2603.25101#pg2>. This involves identifying RZ gates that can be rounded to a Clifford or T gate such that they do not need to be approximated using a single-qubit synthesis technique, and minimizing the number of T gates added during this process <ref:2603.25101#pg4>.

The minimization problem for finding a gate rounding solution is formulated as:

min d(Utarget, U(⃗θ)) + 1/2 Σ N i=1ϵ i(⃗θ). This cost function forces N of the RZ gates towards one of the desired gates in D, while allowing the remaining RZ gates to respond freely as needed to keep the implemented unitary close to the target. To find a gate rounding solution that minimizes the number of remaining RZ gates, one seeks max N s.t. d(Utarget, U(⃗θ)) + 1/2 Σ N i=1ϵ i(⃗θ) ≤ T. This is solved by binary searching over the range of possible values of N, from 0 to M, and solving the minimization problem in equation 10 for each value of N.

Minimizing T Count

To minimize the T-count of a Clifford+RZ circuit, a two-step binary search procedure is employed <ref:2603.25101#pg2>. First, the set desired angle set D is defined as D = θπ/4 ∀θ ∈ Z. Next, another binary search finds NCliff ≤ NCliff+T, the maximum number of RZ gates that can be rounded to Clifford or T gates without adding too much synthesis error. This is achieved by solving the numerical optimization problem in equation 10 for rounding NCliff gates to D = θπ/2 ∀θ ∈ Z. Finally, a third optimization problem is solved for NT = NCliff+T − NCliff RZ gates to T gates, ensuring a solution below the threshold T before accepting NCliff.

Optimization of Large Circuits

To optimize larger circuits, the technique can be adapted by partitioning the circuit into smaller sub-circuits and optimizing those sub-circuits independently <ref:2603.25101#pg2>. When partitioning circuits in this way, the exponential factor is now in the block size of the partitioning, which can be used as a tradeoff between runtime and the quality of the overall optimization <ref:2603.25101#pg4>. The runtime scaling in the size of the circuit, assuming a constant block size, becomes O(l log l) <ref:2603.25101#pg5>.

Numerical Results

TRbO was found to scale much better as the problem difficulty increases compared to Synthetiq <ref:2603.25101#pg2>. For example, TRbO was able to find a Clifford + RZ circuit for the “Grover 3” benchmark from bqskit in only 40 seconds, while Synthetiq was unable to find any solution for this unitary before it hit the timeout we set at 1 hour <ref:2603.25101#pg2>. TRbO is capable of handling circuits where a short Clifford + T circuit is impossible to find, such as the 3-qubit Quantum Fourier Transform (QFT), for which Gheorghiu et al. reported that their tool failed to find a solution <ref:2603.25101#pg2>.

Discussion

TRbO offers a practical solution when compared to existing state-of-the-art Clifford + T synthesis tools, as Synthetiq either returns high-quality results quickly, or takes a very long time, generally resulting in a timeout with no improvement over the original circuit <ref:2603.25101#pg2>. The numerical approach employed by TRbO is able to discover new replacement opportunities that would be difficult for a human to discover <ref:2603.25101#pg3>. This benefit of numerical synthesis tools has previously led to new discoveries in the NISQ space <ref:2603.25101#pg2>. The paper suggests that TRbO represents the start of a whole new approach to FT quantum circuit optimization, and with further research, will enable the transfer of much of the success of numerical synthesis on NISQ circuits to the FT field <ref:2603.25101#pg4>.

Beyond T Gates

The minimization problem in equation 10 is not limited to solving for Clifford and T gates; D can be set to be any discrete set of angles that we wish, allowing us to consider other discrete gate sets <ref:2603.25101#pg3>. In principle, this technique can be modified to convert any continuous gate set to any discrete gate set <ref:2603.25101#pg4>. Future work might include extending this approach beyond the Clifford hierarchy, such as addressing approaches to creating more general classes of non-Clifford magic states <ref:2603.25101#pg5>.

Selection of Ansatz Circuit

For this work we only implemented the optimization procedure described in Section II, and relied on other sources for the ansatz circuit structures <ref:2603.25101#pg2>. In most cases we used the existing CNOT structure of the circuit while converting all single-qubit gates using RZSXRZSXRZ or similar decompositions <ref:2603.25101#pg3>. For example, when synthesizing a controlled-√iSW AP gate, the combination of LEAP and TRbO finds a solution with 6 CNOTs and 4 RZ gates <ref:2603.25101#pg4>.

Future Directions

In addition to exploring other gate sets and ansatz strategies as mentioned in the previous sections, we believe that our optimization technique can be adapted to minimizing the number of ancilla qubits added by a compilation step or to minimize T-depth as well as T-count <ref:2603.25101#pg2>. We leave these as potential directions of future work.

Data Availability

The code used to generate the benchmarking results shown in this paper can be found in the TRbO repository at: https://github.com/WolfLink/trbo <ref:2603.25101#pg2>.

Author Contributions

M.D conceived the main idea, developed the Python code, and drafted the manuscript <ref:2603.25101#pg3>. E.Y. and M.W provided key insights and assisted with supporting code, and E.Y edited the manuscript <ref:2603.25101#pg4>. H.C advised on the research direction and edited the manuscript <ref:2603.25101#pg5>. D.E supervised the project <ref:2603.25101#pg6>.

Competing Interests

All authors declare no competing interests <ref:2603.25101#pg7>.

Acknowledgements

We thank Emma Smith for fruitful discussions and expert Python advice <ref:2603.25101#pg8>. This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, Department of Energy Computational Science Graduate Fellowship under Award Number DE-SC0021110 and National Quantum Information Science Research Centers. This material is also based upon work supported by the National Science Foundation under Award No. 2419204.

References

[1] Matthew Amy, Dmitri Maslov, Michele Mosca, and Martin Roetteler. A meet-in-the-middle algorithm for fast synthesis of depth-optimal quantum circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 32(6):818–830, 2013 <ref:2603.25101#pg8>.

[2] Alex Bocharov, Martin Roetteler, and Krysta M. Svore. Efficient synthesis of universal repeat-until-success quantum circuits. Phys. Rev. Lett., 114:080502, Feb 2015 <ref:2603.25101#pg8>.

[3] Andrew M. Childs, Dmitri Maslov, Yunseong Nam, Neil J. Ross, and Yuan Su. Toward the first quantum simulation with quantum speedup. Proceedings of the National Academy of Sciences, 115(38):9456–9461, sep 2018 <ref:2603.25101#pg4>.

[4] Hyeongrak Choi, Frederic T Chong, Dirk Englund, and Yongshan Ding. Fault tolerant non-clifford state preparation for arbitrary rotations. arXiv preprint arXiv:2303.17380, 2023 <ref:2603.25101#pg2>.

[5] Marc G.

Improvements for AI systems

  1. Bold header: Numerical minimization for T-Count circuits in FT quantum computing. This allows AI systems to find a Clifford+T circuit by minimizing a cost function defined by equation 10, which forces N of the RZ gates towards one of the desired gates in D.

  2. Bold header: Large-scale circuit optimization via circuit partitioning. The ability to break the circuit into a series of smaller sub-circuits that can be optimized independently allows AI to handle circuits with large numbers of qubits by scaling runtime to O(l log l) rather than exponentially, addressing the current limitation where the exponential factor is now in the block size of the partitioning.

  3. Bold header: Discovery of new optimization patterns via numerical synthesis. TRbO can discover new replacement opportunities that would be difficult for a human to discover, enabling AI systems to find optimizations missed by pattern-matching approaches, which can lead to significant improvements in circuit quality.

Sources

Related papers