Adiabatic quantum imaginary time evolution
Abstract
We introduce an adiabatic state preparation protocol which implements quantum imaginary time evolution under the Hamiltonian of the system. Unlike the original quantum imaginary time evolution algorithm, adiabatic quantum imaginary time evolution does not require quantum state tomography during its runtime, and unlike standard adiabatic state preparation, the final Hamiltonian is not the system Hamiltonian. Instead, the algorithm obtains the adiabatic Hamiltonian by integrating a classical differential equation that ensures that one follows the imaginary time evolution state trajectory. We introduce some heuristics that allow this protocol to be implemented on quantum architectures with limited resources. We explore the performance of this algorithm via classical simulations in a one-dimensional spin model and highlight essential features that determine its cost, performance, and implementability for longer times, and compare to the original quantum imaginary time evolution for ground-state preparation. More generally, our algorithm expands the range of states accessible to adiabatic state preparation methods beyond those that are expressed as ground-states of simple explicit Hamiltonians.
I Introduction
A central step in the quantum simulation of physical systems is to prepare a relevant initial state. Taking ground-state simulation as an example, we typically wish to prepare a state with sufficient overlap with the desired ground-state of a Hamiltonian . In the context of near-term quantum algorithms Preskill (2018), which minimize both qubits/ancillae and gate resources, many protocols for such ground-state preparation have been proposed. Examples include variational ansatz preparation Bauer et al. (2020); Peruzzo et al. (2014); Farhi et al. (2014); McClean et al. (2016); Schön et al. (2007); Romero et al. (2018), adiabatic state preparation (ASP) Albash and Lidar (2018); Babbush et al. (2014); Veis and Pittner (2014), and variational McArdle et al. (2019) and quantum imaginary time evolution (QITE) Motta et al. (2020); Sun et al. (2021); Yeter-Aydeniz et al. (2020); Gomes et al. (2020); Nishi et al. (2021); Kamakari et al. (2022); Yeter-Aydeniz et al. (2022), the latter being the subject of this work.
Because ground-state preparation is in general formally hard, all these methods rely on some assumptions. For example, ASP starts from an initial Hamiltonian , whose ground-state is simple to prepare, and defines an adiabatic path with , the desired Hamiltonian Farhi et al. (2000). To prepare the ground-state to sufficient accuracy, must change slowly; an estimate of the adiabatic runtime is Messiah (2014); Albash and Lidar (2018) , where , , with , denote the instantaneous ground and excited states of and is the energy gap between the ground-state and the first excited state. For ASP to be efficient, must be chosen such that is not too small, e.g. at worst in system size , for a polynomial cost algorithm.
The QITE algorithm Motta et al. (2020) on the other hand, applies () to boost the overlap of a candidate state with the ground-state of ; for this work, we consider Hamiltonians that are sums of local terms , where is geometrically local (i.e. each term acts on a constant number of adjacent qubits regardless of system size). Ref. Motta et al., 2020 introduced a near-term quantum algorithm to obtain the states
(1) |
without employing any ancillae or postselection. The method is efficient if has finite correlation volume for all earlier imaginary times, in which case can be prepared by implementing a series of local unitaries acting on qubits on the candidate state. By using this technique which reproduces the imaginary time trajectory, one can also use QITE as a subroutine in other ground-state algorithms, as well as to prepare non-ground-states and thermal (Gibbs) states, for example by reintroducing ancillae Kamakari et al. (2022), or by sampling Motta et al. (2020).
However, to find the unitaries in QITE one needs to perform tomography Motta et al. (2020) of the reduced density matrices of over regions of volume . Although the measurement and processing cost is polynomial in system size, it can still be prohibitive for large . Despite various improvements in the QITE idea in terms of the algorithm and implementation, this remains a practical drawback Sun et al. (2021). (We briefly note also some other near-term imaginary time evolution algorithms, such as the variational ansatz-based quantum imaginary time evolution, introduced in Ref. McArdle et al. (2019), which reproduces the imaginary time evolution trajectory in the limit of an infinitely flexible variational ansatz, as well as the probabilistic imaginary time evolution algorithm (PITE) Kosugi et al. (2022), whose probability of success decreases exponentially with evolution time).
Here, we introduce an alternative near-term, ancilla-free, quantum method that generates the imaginary time evolution of a quantum state without any tomography. It thus eliminates one of the resource bottlenecks of the original QITE. The idea is to consider the imaginary time trajectory as generated by an adiabatic process under a particular Hamiltonian . This adiabatic Hamiltonian is approximated by the solution of an auxiliary dynamical equation that can be solved for entirely classically, i.e. without any feedback from the quantum simulation. Although propagation under reproduces imaginary time evolution when performed adiabatically (i.e., one stays in the ground-state of ), this is different to the usual ASP, because does not approach at the end of the path, even though it shares the same final ground-state. We thus refer to this algorithm as adiabatic quantum imaginary time evolution, or A-QITE.
Like QITE, the application of A-QITE for sufficiently long imaginary time formally prepares the ground-state. But also like QITE, the imaginary time trajectory generated by A-QITE has other applications. The ability to reproduce non-unitary evolution enables applications to Lindblad simulation Kamakari et al. (2022), while for finite imaginary time, it can naturally be applied to prepare thermal states (either in a purified formulation Kamakari et al. (2022) or via sampling Motta et al. (2020); Sun et al. (2021)) or be used in a subspace expansion method for excited states Motta et al. (2020). Generally speaking, the A-QITE algorithm turns the preparation of any state that can be reached by the differential evolution of an initially known ground-state into an adiabatic state preparation process. In this work, however, we primarily focus on the generation of the imaginary time trajectory itself, and its long-time limit relevant to physical ground-state preparation.
We examine the feasibility and performance of A-QITE for the illustrative case of the Ising-like Heisenberg XXZ model in a transverse field. There we study the behaviour of the instantaneous gap and norm of as a function of imaginary time (as these determine the cost of integrating the classical equation to determine as well to implement the adiabatic quantum simulation under ). becomes increasingly non-local with time, and we introduce a geometric locality heuristic to truncate terms in , which we compare to the original inexact QITE procedure. We finish with some observations on the cost and practical implementation of the algorithm.
II Formalism
II.1 General theory
Consider a lattice system described by a Hamiltonian . We desire an adiabatic Hamiltonian whose ground-state at every is given by Eq. (1). Consider an infinitesimally imaginary time evolved state from to :
(2) |
where projects out the ground-subspace. Now, suppose is the ground-state of , one should determine such that is its ground-state: perturbation theory determines the ground-state of as , where is the smallest eigenvalue of . We will be working with evolution schemes for that start with and maintain (more on this below). Thus using (2) we should have:
(3) |
where we have used .
Eq. (3) is the main equation the adiabatic Hamiltonian should satisfy. However, it does not uniquely determine , and so there are many generating equations for . A simple choice is
(4) |
where we have used (see above Eq. (5) for justification) and added the term to make the right-hand side Hermitian. This has the formal solution (where is chosen so that is its ground-state with zero eigenvalue). The above scheme can, in principle, be implemented as a hybrid quantum-classical algorithm, where is first determined by the classical integration of Eq. (4), and then used to implement adiabatic state evolution quantumly. (In other words, we carry out Hamiltonian dynamics with along the adiabatic path , which, if performed slowly (see below) will guarantee that one remains in the ground-state of ; the dynamics can be translated into a circuit using standard Hamiltonian simulation techniques Bauer et al. (2020)). As is clear, this procedure does not involve any feedback from the quantum simulation, and thus does not involve tomography, unlike the original QITE.
In addition, the above procedure can be used to generate an adiabatic Hamiltonian to prepare states beyond , generalising to the class of states , where is an arbitrary operator that need not even be Hermitian. This can be seen by considering each time-step of propagating separately and decomposing into a sum of Hermitian and anti-Hermitian parts . The time evolution reads . Thus a wide class of states, beyond ground-states or physical imaginary time-evolved states, become accessible through an adiabatic state evolution (assuming a non-vanishing gap).
However, this naive scheme has some potential problems. One set is analogous to that encountered in the original quantum imaginary time evolution scheme, namely, the time evolution of renders it nonlocal (both geometrically and in terms of the lengths of the Pauli strings in ) and increasingly complicated. For example, even if and are geometrically local, the time derivative introduces geometrically nonlocal terms like , and the number of such terms grows exponentially with time (the exponent in the rate of increase of Pauli strings with significant coefficients depends on the details of ) up till the maximum number of where is the size of the lattice. This renders both the classical determination of , and the quantum implementation of state evolution under inefficient for large .
There is also a second set of problems arising from the norm of and its spectrum. We use the symbol to denote the instantaneous eigenstate of with eigenvalue (if implements the imaginary time evolution perfectly, then ). Taking expectation values of Eq. (4) with , the eigenvalues of evolve as . If is initialized with zero ground-state energy, the evolution will keep it vanishing. However, the other eigenvalues evolve as
(5) |
To see the potential problems with this, consider the example where has a finite spectrum with all eigenvalues above (or below) . In that case, we clearly see that the eigenvalues are always growing (shrinking) with time, potentially exponentially fast. Thus there is the possibility for numerical issues at long times in determining and implementing evolution under it, as we now discuss.
The integration of the classical differential equation for and the corresponding time evolution under will carry some finite numerical error which depends on . This means that rather than obtaining the exact , we obtain ; if one uses e.g. a finite-order Runge-Kutta method, then . Depending on the dynamics of the eigenvalues, this may introduce a large deviation from the instantaneous ground-state, for example, if (where is the instantaneous gap to the th state of ). Similarly, the quantum adiabatic evolution time depends on : since , the total adiabatic evolution time , which can diverge if the numerator is exponentially growing or the denominator is exponentially decreasing. As a result, we will be focused on studying the behavior of and numerically below (especially their behavior with total imaginary time and length). Finally, the implementation of Hamiltonian simulation under also introduces errors that grow polynomially with (see e.g. Corollary 2 of Childs et al. (2021)).
The appearance of such problems might be considered natural given that reproducing the imaginary time trajectory as is equivalent to the (formally) intractable problem of exact ground-state preparation. However, as faithful imaginary time evolution produces an exponentially decaying infidelity with the final state, the long-time algorithm may not be needed if sufficient fidelity is already reached. For finite imaginary time, as needed in thermal state simulation or to prepare the more general class of states discussed above, the concerns are also less relevant. In addition, various heuristics may be used to ameliorate these above concerns. We now turn to the discussion of heuristics, before studying the potential issues at finite and at long imaginary times, through numerical simulations.
II.2 Locality heuristic
To address the growing non-locality of we first write a modified generating equation for , with separate differential equations for the individual terms . We choose such that it is annihilated by each , and the evolution preserves this annihilation condition, analogous to Eq. (4). We consider
(6) |
where denotes the anticommutator of and if they do not commute and zero if they do. Eq. (6) also satisfies the adiabatic trajectory of Eq. (3) because (4) and (6) only differ by terms that annihilate ; so far no heuristic has been introduced. The expression means that no longer contains geometrically non-local terms: each grows its support from the contribution of terms that overlap with the boundary of its support at every step.
We can then introduce a heuristic to control the width of support. In particular, we can truncate summation over in Eq. (6) so that only a subset of terms are retained for each . More precisely, a neighborhood block is assigned to every term which is a region with a given spatial extent that surrounds the location of at ; every term that lies in the neighborhood block of is retained in Eq. (6). In this approximation, remains strictly -geometrically local with time. We note that this above heuristic is different from the locality approximation in the original QITE algorithm, as it is a direct restriction on the operator, rather than the correlation length of the imaginary-time-evolved state. The relationship between the two is studied numerically below.
II.3 Gauge degree of freedom
We can introduce other modifications to the generating equation of which do not modify the imaginary time evolution trajectory but which can, in principle, affect and its spectrum. Consider, for example,
(7) |
where annihilates . This ensures that the ground-state of is a zero eigenstate for all (although it does not ensure that it is always the ground-state). We can then optimize to control the gap and norm. Specifically, in tests below, we consider . The term is equivalent to adding a constant shift to in Eq. (4). While we do not expect this gauge choice to remove the fundamental difficulties of preparing states for infinite imaginary times, we can expect to improve the preparation of states for finite imaginary time. In practice, we do not know how to choose ahead of time, but it may be chosen in a heuristic manner, or ) may be chosen as part of a variational ansatz for at finite .
III Numerical Simulations
We now study the imaginary time trajectory generated by the dynamics, including the locality and gauge modifications described above. We classically propagate by a second-order Runge-Kutta method 111In the same fashion as Ref. Motta et al. (2020), we take the effect of separate terms of into account separately for , so each time step consists of a sequence of substeps, each one propagating for time with a single term of . with a finite time step (error per time-step; note we use rather than here to emphasize a finite step) and then diagonalize to study the trajectory of the ground-state . We then monitor various quantities, such as , the gap , the infidelity with the exact imaginary time propagated state , and the infidelity with the ground-state of , , i.e. the outcome of the infinite imaginary time evolution.
We study the antiferromagnetic Heisenberg XXZ model in one dimension with open boundary conditions:
(8) |
with which results in an Ising-like anisotropy. To generate a simple initial state, we initialize the adiabatic Hamiltonian as a staggered transverse field: (where each term in brackets separately annihilates the ground-state); the resulting initial state is thus a product state. We then determine under the dynamics generated by Eqs. (4), (6), and (7), and study various properties of and its instantaneous ground-state which is intended to produce the imaginary-time trajectory. has the symmetry , under which has a definite eigenvalue. Note that has symmetry broken ground-states with long range order Orbach (1958); Mikeska and Kolezhuk (2004), but we take to belong to the same symmetry sector as .
In Fig. 1 we first consider generated by Eq. (4), and the infidelities , , and as a function of time-step used in the classical integration of Eq. (4). As seen, for all step-sizes, at early times the infidelity with the ground-state of , , decreases exponentially quickly, to or less. (Although this is a small system, we note that achieving finite infidelities of is already important for ground-state preparation applications as it enables variants of quantum phase estimation adapted to the near-term setting Ding and Lin (2023)). The achieved infidelities decrease as is decreased towards an infinitesimal step size in the classical integrator, which would give at all times and at long times. For a finite step size , we see reaches a minimum value while first increases with time, reaches a maximum and then plateaus. The time for the minimum is close to (slightly after) the time for the maximum ; we refer to this (approximate) time as . increases exponentially, while decreases exponentially until about , before slowly increasing again. The above is consistent with our analysis that for a finite time-step it is only possible to determine the adiabatic Hamiltonian accurately up to a maximum time .

We next study generated by the exact Eq. (6), i.e. without enforcing locality, as a function of system size , and a fixed classical time step in Fig. 2. The results are similar to those using ; both formally generate the exact imaginary-time trajectory for infinitesimal step size. Using a finite time-step, examining , we see the same behaviour of reaching a minimum and a maximum at some approximate time . Surprisingly, this does not seem to change the maximum reliable propagation time, , between .
The above two numerical studies illustrate the formal exactness of the A-QITE procedure, as well as the numerical challenges in its implementation arising from the behaviour of and . We now study the impact of heuristics at controlling these quantities. We first apply the locality heuristic for the generation of , implemented using Eq. (6) with finite width in Fig. 3. We study range of system sizes and integration time-steps. Although the finite width means that we no longer follow the imaginary-time trajectory exactly (even for infinitesimal time step), we still see exponential decay of the infidelity with the ground-state to useful values of or less. Overall, the infidelity dynamics shows similar behaviour to previous examples, and at longer times there is a corresponding to a change in the behaviour of the infidelities and gaps. However, as the time-step goes to , the minimum does not keep decreasing, because of the finite width error. From the perspective of the classical integration and quantum implementation, the dynamics generated under the locality heuristic is much more favourable than under the exact A-QITE dynamics. In particular, grows orders of magnitude more slowly with , and (for fixed ) close to linearly with , while appears to decrease like .
In Fig. 4, we show generated by Eq. (6), using the locality heuristic with widths , and timestep , as well as a protocol where the width is increased at increasing times. For comparison, we also show data from the original quantum imaginary time evolution scheme with widths and for time step . As expected, the best achievable fidelity with the exact state increases with , however, the best in fact decreases moving from to . Compared to the original QITE scheme, the achievable infidelity appears to be better (i.e. lower) using the adiabatic Hamiltonian with a similar locality definition. Further work is required to establish a more precise relationship between these approximations.
We additionally consider the modified generated in a different gauge using Eq. (7). As an illustrative example, we consider the case , , with the locality constraint . In Fig. 5, we see that although the behaviour of the infidelities and are qualitatively similar to what we have seen previously (corresponding to ) with a similar , the detailed form is different; for example, the infidelity has a flatter plateau region. In addition, grows even more slowly with (with a flattened region between ) while still being close to linear in , while (at ) again appears to have a behaviour. This indicates that a suitable choice of can meaningfully modify the dynamics and the achievable infidelities at finite times.
We now briefly discuss the implications for implementations in the near-term setting. For a given width and Trotter time-step, the gate cost of implementing an A-QITE time-step is the same as that of QITE, namely it is the cost to implement a time-step under a -qubit unitary, and importantly the A-QITE time-step requires no measurements. However, one difference with the original QITE is the need to maintain adiabaticity during the A-QITE simulation, which governs the time of Hamiltonian simulation for the given . The (limited) numerical data above on the scaling of and when using the heuristic modifications in the Ising problem suggests that (for given ) the total adiabatic evolution time is polynomial in system size (as scale like and ). The Hamiltonian simulation is still likely the most challenging aspect of the algorithm for near-term hardware. However, for modest widths, e.g. , implementing the A-QITE protocol is similar to implementing ASP with geometric 3-local Hamiltonians, which has already been demonstrated on near-term hardware using error mitigation and circuit recompilation Tan et al. (2023). Alternatively, it may be beneficial to relax the adiabaticity requirement by employing A-QITE within a version of the quantum approximation optimization algorithm (QAOA) Farhi et al. (2014); Blekos et al. (2024), where provides the form of the operators in the ansatz.
IV Conclusions
We have described an adiabatic state preparation protocol that implements the imaginary time evolution trajectory without any need for quantum tomography or ancilla resources. This hybrid algorithm involves a classical time integration to generate the adiabatic Hamiltonian, but does not require any measurements on the quantum system. When implemented faithfully, the algorithm leads to an exponential decrease of the infidelity with the ground-state of a desired Hamiltonian with adiabatic time. However, the cost of evolving exactly to long imaginary times grows rapidly with imaginary time both in the classical and quantum parts of the protocol. The growth in cost as a function of imaginary time arises from several sources, including the nonlocality of the derived adiabatic Hamiltonian. We introduce a heuristic to control this nonlocality by truncating terms in the adiabatic Hamiltonian. Another source of growing cost at long imaginary time is related to the norm of the adiabatic Hamiltonian and its gap. We show that modifying the generating equation of the adiabatic Hamiltonian can be used to control these quantities at finite imaginary times. Both heuristics enable one to propagate for short times and to observe a large improvement in the approximate ground-state.
In the near-term quantum hardware setting, one advantage of the current approach is that each time-step can be implemented without measurements. On the other hand, preserving the strict adiabatic formulation may lead to long Hamiltonian simulation times for some problems.
More generally, the A-QITE procedure we have introduced extends the types of states that be generated using an adiabatic simulation protocol; the target state need not be expressed as the ground-state of a known Hamiltonian, but rather can be expressed implicitly through the differential evolution of a known ground-state. In addition, with respect to standard ground-state adiabatic state preparation, A-QITE expands the set of possible adiabatic paths. This potentially allows for introduction of new quantum adiabatic routines consisting of composite adiabatic paths (with A-QITE as one of them) with applications such as the introduction of novel adiabatic catalysts Albash and Lidar (2018); Farhi et al. (2002), as directions to be explored in the future.
V Acknowledgments
We thank Yu Tong, Alex Dalzell and Anthony Chen for helpful discussions.
KH and GKC were supported by the US Department of Energy, Office of Science, Basic Energy Sciences, under grant no. DE-SC-0019374.
GKC acknowledges support from the Simons Foundation.
References
- Preskill (2018) J. Preskill, Quantum 2, 79 (2018).
- Bauer et al. (2020) B. Bauer, S. Bravyi, M. Motta, and G. K.-L. Chan, Chemical Reviews 120, 12685 (2020).
- Peruzzo et al. (2014) A. Peruzzo, J. McClean, P. Shadbolt, M.-H. Yung, X.-Q. Zhou, P. J. Love, A. Aspuru-Guzik, and J. L. O’brien, Nature communications 5, 4213 (2014).
- Farhi et al. (2014) E. Farhi, J. Goldstone, and S. Gutmann, arXiv preprint arXiv:1411.4028 (2014).
- McClean et al. (2016) J. R. McClean, J. Romero, R. Babbush, and A. Aspuru-Guzik, New Journal of Physics 18, 023023 (2016).
- Schön et al. (2007) C. Schön, K. Hammerer, M. M. Wolf, J. I. Cirac, and E. Solano, Physical Review A 75, 032311 (2007).
- Romero et al. (2018) J. Romero, R. Babbush, J. R. McClean, C. Hempel, P. J. Love, and A. Aspuru-Guzik, Quantum Science and Technology 4, 014008 (2018).
- Albash and Lidar (2018) T. Albash and D. A. Lidar, Reviews of Modern Physics 90, 015002 (2018).
- Babbush et al. (2014) R. Babbush, P. J. Love, and A. Aspuru-Guzik, Scientific reports 4, 1 (2014).
- Veis and Pittner (2014) L. Veis and J. Pittner, The Journal of Chemical Physics 140, 214111 (2014).
- McArdle et al. (2019) S. McArdle, T. Jones, S. Endo, Y. Li, S. C. Benjamin, and X. Yuan, npj Quantum Information 5, 75 (2019).
- Motta et al. (2020) M. Motta, C. Sun, A. T. Tan, M. J. O’Rourke, E. Ye, A. J. Minnich, F. G. Brandão, and G. K. Chan, Nature Physics 16, 205 (2020).
- Sun et al. (2021) S.-N. Sun, M. Motta, R. N. Tazhigulov, A. T. Tan, G. K.-L. Chan, and A. J. Minnich, PRX Quantum 2, 010317 (2021).
- Yeter-Aydeniz et al. (2020) K. Yeter-Aydeniz, R. C. Pooser, and G. Siopsis, npj Quantum Information 6, 63 (2020).
- Gomes et al. (2020) N. Gomes, F. Zhang, N. F. Berthusen, C.-Z. Wang, K.-M. Ho, P. P. Orth, and Y. Yao, Journal of Chemical Theory and Computation 16, 6256 (2020).
- Nishi et al. (2021) H. Nishi, T. Kosugi, and Y.-i. Matsushita, npj Quantum Information 7, 85 (2021).
- Kamakari et al. (2022) H. Kamakari, S.-N. Sun, M. Motta, and A. J. Minnich, PRX Quantum 3, 010320 (2022).
- Yeter-Aydeniz et al. (2022) K. Yeter-Aydeniz, E. Moschandreou, and G. Siopsis, Physical Review A 105, 012412 (2022).
- Farhi et al. (2000) E. Farhi, J. Goldstone, S. Gutmann, and M. Sipser, arXiv preprint quant-ph/0001106 (2000).
- Messiah (2014) A. Messiah, Quantum mechanics (Courier Corporation, 2014).
- Kosugi et al. (2022) T. Kosugi, Y. Nishiya, H. Nishi, and Y.-i. Matsushita, Physical Review Research 4, 033121 (2022).
- Childs et al. (2021) A. M. Childs, Y. Su, M. C. Tran, N. Wiebe, and S. Zhu, Physical Review X 11, 011020 (2021).
- Note (1) In the same fashion as Ref. Motta et al. (2020), we take the effect of separate terms of into account separately for , so each time step consists of a sequence of substeps, each one propagating for time with a single term of .
- Orbach (1958) R. Orbach, Physical Review 112, 309 (1958).
- Mikeska and Kolezhuk (2004) H.-J. Mikeska and A. K. Kolezhuk, Quantum magnetism , 1 (2004).
- Ding and Lin (2023) Z. Ding and L. Lin, PRX Quantum 4, 020331 (2023).
- Tan et al. (2023) A. T. Tan, S.-N. Sun, R. N. Tazhigulov, G. K.-L. Chan, and A. J. Minnich, Physical Review A 107, 032614 (2023).
- Blekos et al. (2024) K. Blekos, D. Brand, A. Ceschini, C.-H. Chou, R.-H. Li, K. Pandya, and A. Summer, Physics Reports 1068, 1 (2024).
- Farhi et al. (2002) E. Farhi, J. Goldstone, and S. Gutmann, arXiv preprint quant-ph/0208135 (2002).