WorksPhysics and Astronomy
Scheduling the quantum implementation of the Trotter decomposition for Hamiltonian simulation
Abstract
For the quantum computational task for Hamiltonian simulation, the arrangement in which sub-Hamiltonians appear in the Trotter decomposition may have a large influence on the precision, under a given circuit complexity. In this paper, we design several scheduling strategies by combining two methods; that is, the existing simultaneous diagonalization scheme leveraged in order to guarantee the performance in a relatively short circuit depth, with a method inspired from a Trotter-Suzuki decomposition of the second or the fourth order for a better accuracy. By conducting numerical simulations on various Hamiltonian instances, we confirm a systematic advantage over previous methods. Thus, our proposal may eliminate the need of dealing with several Hamiltonian-dependent scheduling strategies.
Introduction
In this work, we consider the quantum computing algorithm for time-independent Hamiltonian simulation, i.e. the task of calculating for any and an -dimensional Hamiltonian . In practice, for a quantum system of particles, which makes the complexities of classical procedures scale exponentially with respect to . In this spirit, it has been conjectured [1] and later demonstrated that quantum computing offers a framework that bypasses this prohibitive cost.
The simplest form of Hamiltonian simulation algorithm relies on the first-order product formula called the Trotter decomposition [2]. More advanced techniques have been developed such as LCU [3] and QSP [4], but the product formula remains the most efficient in terms of resource requirements as it needs no ancilla qubit and no multi-qubit controlled gate [5]. A critical problem in the product formula is how to arrange sub-Hamiltonians. In the case of the first-order formula, this problem is described as follows. Under the Pauli-access model, let be the Pauli decomposition of the Hamiltonian , where the are -qubit Pauli operators. Since is Hermitian, all the are real scalars. Then, the Trotter decomposition for is defined for any positive integer by the unitary operation
The positive integer represents the number of Trotter steps which counts iterations of the time-ordered product sequence in . This product sequence is also referred to as the Trotter segment and is associated to an evolution duration of . The approximation-error of the first-order product formula is given by
where denotes the spectral norm. The previous work [6] established a commutator scaling in the asymptotic regime .
However, this expression is not tight enough to comprehensively grasp the behavior of the Trotter error. Especially, it does not reflect the fact that the way the Pauli operators are arranged in the product formula has an influence on . In other words, we are claiming that how the implementation of the Trotter decomposition is scheduled may lead to a more accurate simulation. The concept of scheduling the time-evolution refers to choosing the arrangement of the Pauli exponentiations in the circuit implementation of the time-ordered sequence (e.g. in Eq. (1), ).
This phenomenon has led researchers to investigate scheduling strategies in the attempt to offer a more effective error reduction. We can for example mention the DepleteGroups strategy [7] that has been designed to specifically target molecular Hamiltonian systems. In addition to the Trotter error, scheduling choices also impact the circuit complexity, meaning the gate count and the circuit depth. The latter aspect constituted the motivation for another scheduling approach featuring simultaneous diagonalization [8], as well as the so-called Max-CommuteTSP strategy [9]. However, all these techniques lead to limited improvements in terms of the error reduction or of the circuit complexity cut, both of which essentially depend on the Hamiltonian of interest.
In this work, we propose some new scheduling strategies that demonstrate performance improvements with respect to both the approximation-error and the circuit complexity. In the literature, the circuit complexity is sometimes assimilated to the total number of sub-unitaries , which corresponds to a high-level perspective. In this paper, we consider its low-level definition, that is the complexity of the circuit described using a set of elementary quantum gates (e.g. ). In § 2, we will present our proposed methods. Then, we will assess the performance of our techniques by testing them on various Hamiltonian systems in Section III. Specifically, we compare the previous strategies [7, 8, 9] with all the versions of our proposal. Finally, we will discuss the limitations of our contribution as well as the opportunities it opens up in Section IV.
Methods
Here we describe the proposed three methods. The first one, roughly speaking, consists of combining the benefits of the techniques found in [8] and [9]. Then, the second and third methods also feature this combination, except the sub-Hamiltonians are reorganized to make the structure of the product sequence follow the product formula of the second and fourth orders respectively. This structural modification aims at reducing the algorithmic error (i.e. Trotter error) without changing the total number of sub-unitaries . Throughout this work, we consider the circuit depth to be the relevant metric for the circuit complexity.
Simultaneous diagonalization with cell optimization
Among the previous methods mentioned in § 1, we found that the simultaneous diagonalization technique from [8] often lead to the shortest circuit depth to achieve a target precision. To further improve it, we make use of the same CNOT optimization procedure developed for the purpose of MaxCommuteTSP [9]. To be clear, this consists of arranging the Pauli operators in Eq. (1), within each commuting subset so that the CNOT count is minimized. Overall, in our improved version of simultaneous diagonalization, we consider the commutation partition of the Hamiltonian , and within each cell (i.e. commuting subset), the optimization procedure to minimize the CNOT count is applied, hence the name “Simultaneous diagonalization with cell optimization”. The construction of the strategy is explained in Figure 1 for an example of .

Figure 1. Construction of the simultaneous diagonalization with cell optimization strategy for a specific 7-term Hamiltonian. Cell 1, cell 2 and cell 3 do not commute and appear in the order as directly produced by the recursive-largest-first heuristic for the coloring graph problem.
To execute the simultaneous diagonalization, we first need to partition the Hamiltonian into commuting subsets. This is done with the idea introduced in [7], by solving the graph coloring problem on a graph , where the nodes represent the Pauli terms and the edges account for a lack of commutation between two terms. Unlike the MaxCommuteTSP technique, the order in which the commuting subsets are simulated is not specified in [7]; by default it follows the order produced by the graph coloring algorithm we leverage. Here we take the recursive-largest-first heuristic, where the commuting subsets are ordered such that their sizes decrease. Then, we compute the unitary operation corresponding to the simultaneous diagonalization, in the exact same way as presented in [8]. Finally, as we stated earlier in this section, the CNOT optimization procedure is drawn from the MaxCommuteTSP approach [9], in which the minimization of the CNOT count within each commuting subset is obtained by solving the Traveling Salesman Problem for another graph . Here, each node corresponds to each Pauli term in the given commuting subset, and every edge between two terms and is weighted with, roughly speaking, the number of CNOT gates that appear in the circuit implementation of .
Note that the CNOT optimization only affects the arrangement within each commuting subset, and neither the commuting subsets themselves, nor the order in which they appear in the implementation change. As a result, this modification in the simultaneous diagonalization strategy does not alter the Trotter error. Thus, compared to the original simultaneous diagonalization procedure [8], our improved version is expected to yield shallower circuits for the same simulation accuracy. However, we still have to address the error reduction in order to propose a scheduling strategy that guarantees an undeniable improvement over the previous methods.
Cyclic-2
To further improve the performance in terms of error reduction, we take the initiative to revisit the first-order product formula. Indeed, the Trotter decomposition is defined by iterations of the sequence , as given in Eq. (1). The corresponding arrangement of the Pauli terms within each segment is denoted by . Conventionally, it is the same sequence that is applied throughout the iterations. We call such a scheduling mechanism “static”, as opposed to the “dynamic” concept where the sequence may change from one iterate to another.
In our work specifically, we develop a dynamic strategy which we call “cyclic-2”. Inspired by the resemblance between the first-order and the second-order product formulas, the idea is to alternatively apply the forward and the backward directions of a given arrangement. In other words, we cyclically select from two sequences at each of the iterations, hence the name. The given arrangement from which the forward and the backward directions are established is called the “seed arrangement”. To put it mathematically, our cyclic-2 scheduling strategy implements the operation
where is an even number. If is odd, the definition of the operation becomes
In Eqs. (4) and (5), we assume the seed arrangement , but our cyclic-2 method can be abstractly defined for any seed arrangement. So, the above equations can be rewritten in a more generic way by replacing and with and respectively, where is the permutation corresponding to the chosen seed arrangement. Note that the implementation (4) is equivalent to the second-order product formula, except the number of Trotter segments is and thus the total number of sub-unitaries is . Therefore, our cyclic-2 strategy must achieve an approximation-error of the second order, that is to say which converges faster than the first-order scaling presented in Eq. (3) as grows. At this point though, one may argue that the cyclic-2 scheme does not bring any novelty from the second-order product formula [10]. However, the number of Trotter segments being halved constitutes the key difference which makes the circuit complexity remain equivalent to the implementation of the first-order decomposition, thus enabling a fair comparison with the techniques developed in [7, 8, 9].
So far, we have introduced two scheduling techniques, namely the simultaneous diagonalization with cell optimization for the circuit complexity reduction, and cyclic-2 for the error convergence. The idea now is to combine both of them so that we can benefit from the two advantages. This is simply done by constructing cyclic-2 while considering our simultaneous diagonalization technique for the seed arrangement. As suggested in [7], we exclude every Pauli operator that commutes with all other terms in the decomposition of the Hamiltonian beforehand. Indeed, such operators do not contribute in the Trotter error whatsoever, hence they can be simulated independently from the rest. Thus, no segmentation is required for their time-evolution operations, which implies a significant circuit depth reduction (especially if the number of completely commuting terms is large). In our scheduling strategy, we arbitrarily choose to implement the completely commuting part upstream the time-evolution of the remaining Pauli terms in the quantum circuit. For clarity, a concrete example picturing the entire procedure to implement our “cyclic-2 under simultaneous diagonalization with cell optimization” technique is presented in Figure 2, where the Hamiltonian is defined on 3 qubits and consists of 5 Pauli terms: .

Figure 2. Description of our scheduling strategy. The first two operations are fully time-evolved at the beginning of the implementation. Then, the remaining Pauli terms undergo the Trotter decomposition with the number of Trotter steps , according to the simultaneous diagonalization with cell optimization strategy in the forward direction (row in the middle of box 3) and the backward direction (lower row). The number of iterations of the product sequence is . One may note that “cell 2 diagonalization-uncompute” of the forward direction simplifies with “cell 2 diagonalization-compute” of the backward direction. The same applies between “cell 1 diagonalization-compute” of the forward direction and “cell 1 diagonalization-uncompute” of the backward direction.
Cyclic-10
Recall that our cyclic-2 strategy reproduces the error scaling of the second-order product formula. Given that, one may want to extend the approach to imitate a higher-order product formula to obtain an even faster convergence of the approximation-error, while keeping the total number of sub-unitaries equal to .
Let us remind that higher-order product formulas, commonly referred to as “Trotter-Suzuki decompositions” are only defined for an even order and are derived recursively from the second-order product formula. In particular, the Trotter-Suzuki decomposition directly following the second-order product formula is the one of the fourth order, given by
where is the second-order product formula for the Hamiltonian , and is such that achieves an approximation-error of the fourth order (i.e. that scales as ) [11]. Having this formula, we explore in this work the extension of the cyclic-2 strategy to a scheme that corresponds to the fourth-order Trotter-Suzuki decomposition. Accordingly to Eq. (6), the implemented operation becomes
where is the number of Trotter segments such that the total number of product sequences in both the forward and backward directions is equal to the effective Trotter step count . Since induces two product sequences, the number of product sequences that appear in is 10, and thus . If is not a multiple of 10, then is completed with respect to the successive product sequences that appear in the expression of , equivalently to what we did for the cyclic-2 strategy in case of odd values for . Because it now takes 10 Trotter segments to exhaust all the product sequences in entirely, we call this dynamic scheduling scheme the “cyclic-10” strategy.
Numerical simulation results
We conduct numerical experiments for four Hamiltonian systems for comparing the performance of cyclic-2 and cyclic-10 methods (in which the seed arrangement is given by simultaneous diagonalization with cell optimization) to the existing static strategies (that mainly consist of DepleteGroups, MaxCommuteTSP and traditional simultaneous diagonalization). To assess the circuit complexity, we examine the CNOT count and the circuit depth against the Trotter step count . Then, we will analyze how the Trotter error scales as a function of . Lastly, we will consider the Trotter error directly against the circuit depth as the relevant metric in the practical framework.
Uniform combination of Pauli operators
For the first application, let the Hamiltonian be the uniform combination of -qubit Pauli operators:
where are the -qubit Pauli operators, i.e. with . In our case, we conducted the experiment with qubits. The simulation time is set to .
To begin with, Figure 3(a) gives the CNOT count as a function of the number of Trotter steps . As expected, both our strategies (cyclic-2 and cyclic-10) yield the smallest CNOT counts among the techniques we consider in this paper, which in particular provide a strict reduction from the case of bare simultaneous diagonalization. This improvement is certainly explained by the use of the CNOT optimization in our methods. As for the circuit depth (Figure 3(b)), our strategies outperform again each of the previous approaches. This may be thanks to simultaneous diagonalization, given shorter circuit depths obtained with its bare version compared to the performance of DepleteGroups and MaxCommuteTSP.

Figure 3. Performance comparison for the uniform combination of 3-qubit Pauli operators
The results concerning the error reduction is shown in Figure 3(c). The fastest error convergence is obtained with cyclic-2. The clear improvement over previous works is consistent with what we discussed in § 2, that is, cyclic-2 achieves an asymptotic error scaling of the second order. However, the results regarding our approach using the cyclic-10 scheme, which is supposed to achieve an even better error scaling, features a negatively surprising behavior of the Trotter error as a function of the number of Trotter steps. In fact, we particularly observe a detrimental error reduction for Trotter step counts that are not multiple of 10. This could have been expected to some extent because cyclic-10 implements the fourth-order product formula only for numbers of Trotter steps that are multiples of the product sequence length which is 10 (Eq. (6)). On the other hand, we do not see any equivalent artifact with cyclic-2 when does not correspond to a multiple of 2. For this reason, we deem this robustness unique to cyclic-2, but the theoretical investigation is left for a future work.
Let us now put the results altogether and look at the error scaling against the circuit depth for practical relevance (Figure 3(d)). There is a unquestionable improvement of the performance by using cyclic-2 under simultaneous diagonalization with cell optimization instead of any other scheduling technique. In the end, the use of cyclic-10 may lead to the practical issue that the fourth-order error scaling is only achieved against a Trotter step count that grows 10 times more than in the first-order product formula. Thus, it would require a circuit depth which is more likely to be so large that the benefit of a fourth-order scaling does not outweigh the implementation cost that a cyclic-10 design incurs. Therefore, for the remaining of this paper, we choose cyclic-2 combined with simultaneous diagonalization with cell optimization to be our final proposal, and we no longer consider the cyclic-10 technique as a viable candidate.
Molecular Hamiltonian
Unlike the previous application, the second Hamiltonian we studied in our work has a physical meaning. That is, we considered the molecular Hamiltonian for dihydrogen. The corresponding Hamiltonian is computed by leveraging the OpenFermion package [12]. More precisely, we set the configuration of the molecule as follows
geometry = [['H', [0, 0, 0]],
['H', [0, 0, 0.74]]]
basis = ‘sto-3g’
multiplicity = 1
charge = 0
With the qubit-mapping carried out by the OpenFermion package, we obtained a 4-qubit Hamiltonian system:
We ran the experiment with simulation time . The CNOT count and circuit depth scalings are displayed in Figure 4(a) and Figure 4(b), respectively. For the same reasons as detailed earlier with the previous application, cyclic-2 offers clear improvements over previous techniques in terms of the circuit complexity.

Figure 4. Performance comparison for the Dihydrogen molecule
The error reduction is presented in Figure 4(c). We can see that for , our scheduling strategy performs the worst, and the most attenuated error is achieved by the DepleteGroups strategy. This is consistent with the findings in [7], as DepleteGroups proved to offer a considerable improvement over other static arrangements regarding the error reduction in the case of molecular applications. However for , our proposal surpasses every other strategy including DepleteGroups. This reveals a peculiar convergence speed which is the expression of the second-order error scaling.
As for the error scaling against the circuit depth (Figure 4(d)), the improvement is further accentuated thanks to the simultaneous diagonalization with cell optimization mechanism. From the graph showing the results, we can for example read that to reach the precision achieved with our scheduling strategy for a circuit depth of about 200, all the other strategies require a circuit depth exceeding 1000.
Transverse-field Ising model
Let us move on to another chemistry application. Here, we consider a spin system that can be described with the transverse-field Ising model:
where designates the number of qubits, quantifies the interaction between two neighboring sites in the lattice and represents the coupling with the external magnetic field. In this scenario, we set , and . The simulation time is taken to be .
The results for the CNOT count are given in Figure 5(a), showing no difference between the scheduling strategies. We suspect this is due to the lack of possible CNOT simplification within the commuting subsets found by our graph coloring problem solver.

Figure 5. Performance comparison for the Ising model (, , )
As for the circuit depth (Figure 5(b)), an improvement can be observed in favor of our strategy similarly to the first two applications. Interestingly, despite the lack of CNOT simplification, the MaxCommuteTSP technique produces a circuit as shallow as the one based on the traditional version of simultaneous diagonalization. We conclude that in this situation, the circuit depth cannot be reduced by the simultaneous diagonalization mechanism, and hence there is no advantage in performing it. However, our proposal provides slightly shorter depths. Because this improvement occurs while neither CNOT gate has been simplified by the CNOT optimization procedure within each commuting subset nor the simultaneous diagonalization has led to a shallower circuits, it can only be explained by gate simplifications that happen at every transition between forward and backward segments. Indeed, thanks to the symmetric structure of the cyclic-2 scheme, the last commuting subset of a forward segment is the same as the first commuting subset of a backward segment, so the uncompute-diagonalization stage of the former followed by the compute-diagonalization stage of the latter reduces to the identity operation. The same naturally applies to a backward-forward transition too.
Disparities in the error reduction appear in Figure 5(c). It is noteworthy that while we recall a rather efficient performance of the DepleteGroups strategy in terms of the error scaling for molecular systems, it performs very poorly for the Ising model, which confirms its very constrained scope. Such limitation does not seem to apply to our proposal, as the second-order error scaling (Fig. 5(c)) gives such an exorbitant advantage for our scheduling strategy in comparison with any other static technique. The results in the practical framework are shown in Figure 5(d), in which our method appears once again to be the most effective.
Heisenberg model
Lastly, we consider the Heisenberg model:
where , and correspond to interactions between two neighboring sites in the lattice in the , and directions respectively, and represents the external magnetic field (assumed to be along the axis). In our experiment, we set for a 8-qubit model, with a simulation time .
From Fig. 6(a), it can be said that the CNOT optimization procedure leads to a slight advantage for our proposal. As for circuit depths however, Fig. 6(b) indicates large disparities between the techniques. Surprisingly, the traditional simultaneous diagonalization approach seems to outperform our strategy. Although the difference is very small, such a result is unexpected, as it arises despite all the arguments we gave when we elaborated on the other Hamiltonian systems (i.e. smaller CNOT counts and gate simplifications in forward-backward and backward-forward transitions), suggesting that our proposal should always yield shorter quantum circuits. We believe this is due to a modification of the arrangement within one or several commuting subsets caused by the CNOT optimization procedure, which may prevent other gate simplifications to occur, especially involving the diagonalization stage.
Figure 6.
That said, the advantage of the second-order error scaling is so overwhelming (Fig. 6(c)) that overall, our proposal still stands as the most effective scheduling strategy for this instance of Hamiltonian simulation (Fig. 6(d)).
Conclusion
In this work, we proposed some scheduling strategies for the implementation of Hamiltonian simulation via product formulas on quantum computers. We numerically found that a particularly useful scheme is “cyclic-2” that uses simultaneous diagonalization with cell optimization as the seed arrangement. Indeed, this cyclic-2 strategy benefits from both advantages of yielding drastically reduced circuit depths and increasing the convergence speed of the Trotter error compared to previous static methods. We also presented the extension of our approach corresponding to the fourth-order Trotter-Suzuki decomposition by introducing the “cyclic-10” mechanism. From our numerical experiments, however, it seemed that the benefit of a fourth-order scaling can only be reached with a very large number of Trotter steps since it did not prove a notable advantage compared to the second-order technique for . Our view is that the cyclic-2 strategy would achieve a satisfactory performance without the need of prior tests on the Hamiltonian of interest, and this regularity is probably the most appealing contribution of this paper.

Figure 6 (PDF p. 9). Performance comparison for the Heisenberg model (, , , , )
Note that, in this work, all the simulations were performed on classical computers, and the complexities of these simulations scale exponentially with the number of qubits, making it impractical to carry out experiments
for Hamiltonian systems of bigger sizes. Thus, further investigations that deal with large numbers of qubits are needed, which will inevitably require to use real quantum hardware. We expect this to provide opportunities to study our scheduling strategy in a more physical context, where the time spent and the energy consumed by the device can directly be regarded as relevant metrics instead of the circuit depth, against which the actual error is assessed. Ultimately, the improvements offered by our method are supposed to reflect on the performance of quantum algorithms with real-world applications that leverage Hamiltonian simulation as a subroutine such as the Quantum Eigenvalue Transformation of unitary matrices (QETU) for ground-state preparation and ground-energy estimation [13].
Note added: While preparing this manuscript, a preprint by Z. Liu et al. appeared on arXiv [14], which addresses a similar problem using a different approach.
Acknowledgments
This work was supported by MEXT Quantum Leap Flagship Program Grants No. JPMXS0118067285 and No. JPMXS0120319794.
References
References
- [1]R. P. Feynman, Simulating physics with computers, Int. J. Theor. Phys. 21 (1982).
- [2]S. Lloyd, Universal quantum simulators, Science 273 (1996).
- [3]D. W. Berry, A. M. Childs, R. Cleve, R. Kothari, and R. D. Somma, Simulating hamiltonian dynamics with a truncated taylor series, Phys. Rev. Lett. 114 (2014).DOI
- [4]G. H. Low and I. L. Chuang, Optimal hamiltonian simulation by quantum signal processing, Phys. Rev. Lett. 118 (2017).DOI
- [5]A. M. Dalzell, S. McArdle, M. Berta, P. Bienias, C.-F. Chen, A. Gilyén, C. T. Hann, M. J. Kastoryano, E. T. Khabiboulline, A. Kubica, G. Salton, S. Wang, and F. G. S. L. Brandão, Quantum algorithms: A survey of applications and end-to-end complexities, Cambridge University Press (2025).DOI
- [6]A. M. Childs, Y. Su, M. C. Tran, N. Wiebe, and S. Zhu, Theory of trotter error with commutator scaling, Phys. Rev. X 11 (2021).DOI
- [7]A. Tranter, P. J. Love, F. Mintert, N. Wiebe, and P. V. Coveney, Ordering of trotterization: Impact on errors in quantum simulation of electronic structure, Entropy 21 (2019).
- [8]E. van den Berg and K. Temme, Circuit optimization of hamiltonian simulation by simultaneous diagonalization of pauli clusters, Quantum 4 (2020).DOI
- [9]T. Tomesh, K. Gui, P. Gokhale, Y. Shi, F. T. Chong, M. Martonosi, and M. Suchara, Optimized quantum pro- gram execution ordering to mitigate errors in simulations of quantum systems, 2021 International Conference on Rebooting Computing (ICRC) (2021).arxiv.org/abs/2203.12713
- [10]M. Suzuki, Decomposition formulas of exponential opera- tors and lie exponentials with some applications to quan- tum mechanics and statistical physics, J. Math. Phys. 26 (1985).DOI
- [11]N. Hatano and M. Suzuki, Finding exponential product formulas of higher orders, Springer, Berlin, Heidelberg (2005).DOI
- [12]J. R. McClean, K. J. Sung, I. D. Kivlichan, Y. Cao, C. Dai, E. S. Fried, C. Gidney, B. Gimby, P. Gokhale, T. Häner, T. Hardikar, V. Havlíček, O. Higgott, C. Huang, J. Izac, Z. Jiang, X. Liu, S. McArdle, M. Neeley, T. O’Brien, B. O’Gorman, I. Ozfidan, M. D. Radin, J. Romero, N. Rubin, N. P. D. Sawaya, K. Setia, S. Sim, D. S. Steiger, M. Steudtner, Q. Sun, W. Sun, D. Wang, F. Zhang, and R. Babbush, Openfermion: The electronic structure package for quantum computers, arXiv:1710.07629 (2017).arxiv.org/abs/1710.07629
- [13]Y. Dong, L. Lin, and Y. Tong, Ground-state preparation and energy estimation on early fault-tolerant quantum computers via quantum eigenvalue transformation of unitary matrices, PRX Quantum 3 (2022).DOI
- [14]Z. Liu, Z.-Y. Wei, M. Foss-Feig, A. V. Gorshkov, and A. M. Childs, Ordering-aware theory of trotter error, arXiv:2610.03672 (2026).arxiv.org/abs/2610.03672