This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Adiabatic quantum imaginary time evolution

Kasra Hejazi Division of Chemistry and Chemical Engineering, California Institute of Technology, Pasadena, California 91125, USA    Mario Motta IBM Quantum, Almaden Research Center, San Jose, California 95120, USA    Garnet Kin-Lic Chan Division of Chemistry and Chemical Engineering, California Institute of Technology, Pasadena, California 91125, USA
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 |Ψ0\left|\Psi_{0}\right\rangle of a Hamiltonian HH. 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 H(0)H(0), whose ground-state is simple to prepare, and defines an adiabatic path H(s),0s1H(s),0\leq s\leq 1 with H(1)HH(1)\equiv H, the desired Hamiltonian Farhi et al. (2000). To prepare the ground-state to sufficient accuracy, H(s)H(s) must change slowly; an estimate of the adiabatic runtime is Messiah (2014); Albash and Lidar (2018) Tmaxs,j|Ψj(s)|dH/ds|Ψ0(s)|Δ2T\sim\max_{s,j}\frac{\left|\left\langle\Psi_{j}(s)\right|dH/ds\left|\Psi_{0}(s)\right\rangle\right|}{\Delta^{2}}, where |Ψ0(s)\left|\Psi_{0}(s)\right\rangle, |Ψj(s)|\Psi_{j}(s)\rangle, with j1j\geq 1, denote the instantaneous ground and excited states of H(s)H(s) and Δ(s)\Delta(s) is the energy gap between the ground-state and the first excited state. For ASP to be efficient, H(s)H(s) must be chosen such that minsΔ(s)\min_{s}\Delta(s) is not too small, e.g. at worst 1/poly(L)1/\mathrm{poly}(L) in system size LL, for a polynomial cost algorithm.

The QITE algorithm Motta et al. (2020) on the other hand, applies eHτe^{-H\tau} (τ>0\tau>0) to boost the overlap of a candidate state with the ground-state of HH; for this work, we consider Hamiltonians that are sums of local terms H=αhαH=\sum_{\alpha}h_{\alpha}, where hαh_{\alpha} is geometrically local (i.e. each term hαh_{\alpha} 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

|Ψ(τ)=eHτ|Ψ(0)/eHτ|Ψ(0),\displaystyle|\Psi(\tau)\rangle=e^{-H\tau}|\Psi(0)\rangle\ /\ \left\lVert e^{-H\tau}\left|\Psi(0)\right\rangle\right\lVert, (1)

without employing any ancillae or postselection. The method is efficient if |Ψ(τ)|\Psi(\tau)\rangle has finite correlation volume CC for all earlier imaginary times, in which case |Ψ(τ)|\Psi(\tau)\rangle can be prepared by implementing a series of local unitaries acting on O(C)O(C) 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 |Ψ(τ)|\Psi(\tau)\rangle over regions of volume CC. Although the measurement and processing cost is polynomial in system size, it can still be prohibitive for large CC. 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 Ψ(τ)\Psi(\tau) as generated by an adiabatic process under a particular Hamiltonian H~(τ)\tilde{H}(\tau). 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 H~\tilde{H} reproduces imaginary time evolution when performed adiabatically (i.e., one stays in the ground-state of H~(τ)\tilde{H}(\tau)), this is different to the usual ASP, because H~\tilde{H} does not approach HH 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 H~\tilde{H} as a function of imaginary time (as these determine the cost of integrating the classical equation to determine H~\tilde{H} as well to implement the adiabatic quantum simulation under H~\tilde{H}). H~(τ)\tilde{H}(\tau) becomes increasingly non-local with time, and we introduce a geometric locality heuristic to truncate terms in H~\tilde{H}, 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 HH. We desire an adiabatic Hamiltonian H~(τ)\tilde{H}(\tau) whose ground-state at every τ\tau is given by Eq. (1). Consider an infinitesimally imaginary time evolved state from τ\tau to τ+dτ\tau+d\tau:

|Ψ(τ+dτ)=|Ψ(τ)dτQH|Ψ(τ)+O(dτ2),\left|\Psi(\tau+d\tau)\right\rangle=\left|\Psi(\tau)\right\rangle-d\tau\;QH\left|\Psi(\tau)\right\rangle+O(d\tau^{2}), (2)

where Q=1|Ψ(τ)Ψ(τ)|Q=1-\left|\Psi(\tau)\right\rangle\left\langle\Psi(\tau)\right| projects out the ground-subspace. Now, suppose |Ψ(τ)\left|\Psi(\tau)\right\rangle is the ground-state of H~(τ)\tilde{H}(\tau), one should determine H~(τ+dτ)=H~(τ)+δH~\tilde{H}(\tau+d\tau)=\tilde{H}(\tau)+\delta\tilde{H} such that |Ψ(τ+dτ)\left|\Psi(\tau+d\tau)\right\rangle is its ground-state: perturbation theory determines the ground-state of H~(τ+dτ)\tilde{H}(\tau+d\tau) as |Ψ(τ)+[E~0H~(τ)]1QδH~|Ψ(τ)\left|\Psi(\tau)\right\rangle+[\tilde{E}_{0}-\tilde{H}(\tau)]^{-1}Q\ \delta\tilde{H}\left|\Psi(\tau)\right\rangle, where E~0\tilde{E}_{0} is the smallest eigenvalue of H~\tilde{H}. We will be working with evolution schemes for H~\tilde{H} that start with and maintain E~0=0\tilde{E}_{0}=0 (more on this below). Thus using (2) we should have:

δH~|Ψ(τ)=dτH~H|Ψ(τ)+O(dτ2),\delta\tilde{H}\left|\Psi(\tau)\right\rangle=d\tau\,\tilde{H}H\left|\Psi(\tau)\right\rangle+O(d\tau^{2}), (3)

where we have used H~Q=QH~=H~\tilde{H}Q=Q\tilde{H}=\tilde{H}.

Eq. (3) is the main equation the adiabatic Hamiltonian H~\tilde{H} should satisfy. However, it does not uniquely determine δH~\delta\tilde{H}, and so there are many generating equations for H~\tilde{H}. A simple choice is

dH~dτ=H~H+HH~,\frac{d\tilde{H}}{d\tau}=\tilde{H}H+H\tilde{H}, (4)

where we have used H~|Ψ(τ)=0\tilde{H}\left|\Psi(\tau)\right\rangle=0 (see above Eq. (5) for justification) and added the term HH~H\tilde{H} to make the right-hand side Hermitian. This has the formal solution H~(τ)=eHτH~(0)eHτ\tilde{H}(\tau)=e^{H\tau}\tilde{H}(0)e^{H\tau} (where H~(0)\tilde{H}(0) is chosen so that Ψ(0)\Psi(0) is its ground-state with zero eigenvalue). The above scheme can, in principle, be implemented as a hybrid quantum-classical algorithm, where H~\tilde{H} 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 H~(τ)\tilde{H}(\tau) along the adiabatic path τ=0β\tau=0\ldots\beta, which, if performed slowly (see below) will guarantee that one remains in the ground-state of H~(τ)\tilde{H}(\tau); 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 H~(τ)\tilde{H}(\tau) to prepare states beyond eβH|Ψ(0)e^{-\beta H}|\Psi(0)\rangle, generalising to the class of states 𝒯e0β𝑑τL(τ)|Ψ(0)\mathcal{T}e^{-\int_{0}^{\beta}d\tau^{\prime}L(\tau^{\prime})}|\Psi(0)\rangle, where L(τ)L(\tau^{\prime}) is an arbitrary operator that need not even be Hermitian. This can be seen by considering each time-step of propagating L(τ)L(\tau) separately and decomposing LL into a sum of Hermitian and anti-Hermitian parts LH+LAHL_{\text{H}}+L_{\text{AH}}. The time evolution reads dH~/dτ={H~(τ),LH(τ)}+[H~(τ),LAH(τ)]d\tilde{H}/d\tau=\{\tilde{H}(\tau),L_{\text{H}}(\tau)\}+[\tilde{H}(\tau),L_{\text{AH}}(\tau)]. 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 H~\tilde{H} renders it nonlocal (both geometrically and in terms of the lengths of the Pauli strings in H~\tilde{H}) and increasingly complicated. For example, even if H=αhαH=\sum_{\alpha}h_{\alpha} and H~=βh~β\tilde{H}=\sum_{\beta}\tilde{h}_{\beta} are geometrically local, the time derivative introduces geometrically nonlocal terms like hαh~βh_{\alpha}\tilde{h}_{\beta}, 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 hαh_{\alpha}) up till the maximum number of 4L4^{L} where LL is the size of the lattice. This renders both the classical determination of H~(τ)\tilde{H}(\tau), and the quantum implementation of state evolution under H~(τ)\tilde{H}(\tau) inefficient for large τ\tau.

There is also a second set of problems arising from the norm of H~\tilde{H} and its spectrum. We use the symbol |ϕ~i(τ)|\tilde{\phi}_{i}(\tau)\rangle to denote the instantaneous eigenstate of H~(τ)\tilde{H}(\tau) with eigenvalue E~i(τ)\tilde{E}_{i}(\tau) (if H~\tilde{H} implements the imaginary time evolution perfectly, then |ϕ~0(τ)=|Ψ(τ)|\tilde{\phi}_{0}(\tau)\rangle=|\Psi(\tau)\rangle). Taking expectation values of Eq. (4) with |ϕ~i|\tilde{\phi}_{i}\rangle, the eigenvalues of H~\tilde{H} evolve as dE~idτ=2E~iϕ~i|H|ϕ~i\frac{d\tilde{E}_{i}}{d\tau}=2\tilde{E}_{i}\langle{\tilde{\phi}_{i}}|H|{\tilde{\phi}_{i}}\rangle. If H~\tilde{H} is initialized with zero ground-state energy, the evolution will keep it vanishing. However, the other eigenvalues evolve as

E~i(τ)\displaystyle\tilde{E}_{i}(\tau) =exp[20τ𝑑τϕ~i(τ)|H|ϕ~i(τ)]E~i(τ=0)\displaystyle=\exp\left[2\int_{0}^{\tau}d\tau^{\prime}\langle{\tilde{\phi}_{i}(\tau^{\prime})}|H|{\tilde{\phi}_{i}(\tau^{\prime})}\rangle\right]\tilde{E}_{i}(\tau=0) (5)

To see the potential problems with this, consider the example where HH has a finite spectrum with all eigenvalues above (or below) 0. In that case, we clearly see that the eigenvalues E~i,i>0\tilde{E}_{i},i>0 are always growing (shrinking) with time, potentially exponentially fast. Thus there is the possibility for numerical issues at long times in determining H~\tilde{H} and implementing evolution under it, as we now discuss.

The integration of the classical differential equation for H~\tilde{H} and the corresponding time evolution under H~\tilde{H} will carry some finite numerical error which depends on H~||\tilde{H}||. This means that rather than obtaining the exact H~(τ)\tilde{H}(\tau), we obtain H~(τ)+V\tilde{H}(\tau)+V; if one uses e.g. a finite-order Runge-Kutta method, then VH~||V||\propto||\tilde{H}||. Depending on the dynamics of the eigenvalues, this may introduce a large deviation from the instantaneous ground-state, for example, if |ϕ0~|V|ϕi~/Δ~i|1|\langle\tilde{\phi_{0}}|V|\tilde{\phi_{i}}\rangle/\tilde{\Delta}_{i}|\gg 1 (where Δ~i\tilde{\Delta}_{i} is the instantaneous gap to the iith state of H~\tilde{H}). Similarly, the quantum adiabatic evolution time depends on H~(τ)||\tilde{H}(\tau)||: since maxsdH~/ds/Δ~(s)2βHmaxτH~(τ)/Δ~(τ)2\max_{s}||d\tilde{H}/ds/\tilde{\Delta}(s)^{2}||\propto\beta\|H\|\,\max_{\tau}||\tilde{H}(\tau)/\tilde{\Delta}(\tau)^{2}||, the total adiabatic evolution time TβHmaxτH~(τ)/Δ~(τ)2T\propto\beta\|H\|\,\max_{\tau}||\tilde{H}(\tau)/\tilde{\Delta}(\tau)^{2}||, 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 H~(τ)\|\tilde{H}(\tau)\| and Δ~(τ)\tilde{\Delta}(\tau) numerically below (especially their behavior with total imaginary time and length). Finally, the implementation of Hamiltonian simulation under H~(τ)\tilde{H}(\tau) also introduces errors that grow polynomially with H~||\tilde{H}|| (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 β\beta\to\infty 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.

\begin{overpic}[height=162.6075pt]{I_tau_H.pdf} \put(0.0,175.0){(a)} \put(0.0,90.0){(b)} \end{overpic}
\begin{overpic}[height=162.6075pt]{Delta_and_normH_H.pdf} \put(0.0,175.0){(c)} \put(0.0,90.0){(d)} \end{overpic}
Figure 1: Adiabatic evolution under the Hamiltonian H~\tilde{H} for a Heisenberg XXZ system of length L=8L=8. H~\tilde{H} is generated by integrating Eq. (4) with second-order Runge-Kutta and time-step ϵ\epsilon, which is varied here. II^{\infty}, IτI^{\tau}: infidelities with the ground-state of HH and with the exact imaginary time evolved state; Δ~\tilde{\Delta}: instantaneous gap of H~\tilde{H}; H~||\tilde{H}||: norm of H~\tilde{H}. The same color is used in all of the plots for each value of ϵ\epsilon, even though we have shown each ϵ\epsilon only once.
\begin{overpic}[height=177.78578pt]{I_tau_h_L.pdf} \put(5.0,195.0){(a)} \put(5.0,100.0){(b)} \end{overpic}
\begin{overpic}[height=177.78578pt]{Delta_and_normH_h_L.pdf} \put(5.0,195.0){(c)} \put(5.0,100.0){(d)} \end{overpic}
Figure 2: Adiabatic evolution under H~\tilde{H} generated by Eq. (6), for the Heisenberg XXZ system as a function of chain length LL. H~\tilde{H} is generated using second-order Runge-Kutta and a timestep of ϵ=0.05\epsilon=0.05. Quantities are same as in Fig. 1.

II.2 Locality heuristic

To address the growing non-locality of H~\tilde{H} we first write a modified generating equation for H~\tilde{H}, with separate differential equations for the individual terms h~β\tilde{h}_{\beta}. We choose |Ψ(0)|\Psi(0)\rangle such that it is annihilated by each h~β(0)\tilde{h}_{\beta}(0), and the evolution preserves this annihilation condition, analogous to Eq. (4). We consider

dh~βdτ=α{h~β,hα},\frac{d\tilde{h}_{\beta}}{d\tau}=\sum_{\alpha}\left\{\tilde{h}_{\beta},h_{\alpha}\right\}^{\prime}, (6)

where {a,b}\{a,b\}^{\prime} denotes the anticommutator of aa and bb 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 |Ψ(τ)\left|\Psi(\tau)\right\rangle; so far no heuristic has been introduced. The expression {h~β,hα}\{\tilde{h}_{\beta},h_{\alpha}\}^{\prime} means that H~\tilde{H} no longer contains geometrically non-local terms: each h~β\tilde{h}_{\beta} grows its support from the contribution of terms hαh_{\alpha} 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 α\alpha in Eq. (6) so that only a subset of terms hαh_{\alpha} are retained for each h~β\tilde{h}_{\beta}. More precisely, a neighborhood block is assigned to every h~β\tilde{h}_{\beta} term which is a region with a given spatial extent ww that surrounds the location of h~β\tilde{h}_{\beta} at τ=0\tau=0; every hαh_{\alpha} term that lies in the neighborhood block of h~β\tilde{h}_{\beta} is retained in Eq. (6). In this approximation, H~\tilde{H} remains strictly ww-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 H~\tilde{H} which do not modify the imaginary time evolution trajectory but which can, in principle, affect H~||\tilde{H}|| and its spectrum. Consider, for example,

dh~βdτ=α{h~β,hα}+f(h~β),\displaystyle\frac{d\tilde{h}_{\beta}}{d\tau}=\sum_{\alpha}\left\{\tilde{h}_{\beta},h_{\alpha}\right\}^{\prime}+f(\tilde{h}_{\beta}), (7)

where f(h~β(τ))f(\tilde{h}_{\beta}(\tau)) annihilates Ψ(τ)\Psi(\tau). This ensures that the ground-state of H~\tilde{H} is a zero eigenstate for all τ\tau (although it does not ensure that it is always the ground-state). We can then optimize f(h~β)f(\tilde{h}_{\beta}) to control the gap and norm. Specifically, in tests below, we consider f(h~β)=u1h~βu2h~β2f(\tilde{h}_{\beta})=u_{1}\tilde{h}_{\beta}-u_{2}\tilde{h}_{\beta}^{2}. The u1u_{1} term is equivalent to adding a constant shift to HH 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 f(u)f(u) ahead of time, but it may be chosen in a heuristic manner, or f(uf(u) may be chosen as part of a variational ansatz for Ψ(τ)\Psi(\tau) at finite τ\tau.

\begin{overpic}[height=173.44534pt]{I_w_5_varying_epsilon.pdf} \put(0.0,180.0){(a)} \put(0.0,90.0){(b)} \end{overpic}
\begin{overpic}[height=173.44534pt]{I_tau_h_L_w_5.pdf} \put(0.0,180.0){(c)} \put(0.0,90.0){(d)} \end{overpic}
\begin{overpic}[height=173.44534pt]{Delta_and_Lambda_h_L_w_5.pdf} \put(5.0,180.0){(e)} \put(5.0,90.0){(f)} \end{overpic}
\begin{overpic}[height=173.44534pt]{Delta_and_Lambda_length.pdf} \put(5.0,180.0){(g)} \put(5.0,90.0){(h)} \end{overpic}
Figure 3: Adiabatic evolution under H~\tilde{H} generated by Eq. (6), using a locality truncation with block size w=5w=5, for Heisenberg XXZ chains of various lengths. (a) and (b) show infidelities for different values of ϵ\epsilon and L=8L=8. Note that the infidelities are defined in the same way as in Fig. 1. (c) and (d) show the behavior of the infidelities for different lengths, second-order Runge-Kutta, ϵ=0.05\epsilon=0.05. (e) and (f) depict the gap and norm for different lengths, the same colors as the second column are used. (g) and (h) denote the norm and the gap of the adiabatic Hamiltonianas a function of length. The data is consistent with power-law behaviors for both.

III Numerical Simulations

We now study the imaginary time trajectory generated by the H~\tilde{H} dynamics, including the locality and gauge modifications described above. We classically propagate H~\tilde{H} 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 HH into account separately for H~\tilde{H}, so each time step consists of a sequence of substeps, each one propagating for time ϵ\epsilon with a single term of HH. with a finite time step ϵ\epsilon (error O(ϵ3)O(\epsilon^{3}) per time-step; note we use ϵ\epsilon rather than dτd\tau here to emphasize a finite step) and then diagonalize H~(τ)\tilde{H}(\tau) to study the trajectory of the ground-state Φ0(τ)\Phi_{0}(\tau). We then monitor various quantities, such as H~(τ)||\tilde{H}(\tau)||, the gap Δ~(τ)\tilde{\Delta}(\tau), the infidelity with the exact imaginary time propagated state Iτ(τ)=1|ϕ~0(τ)|Ψ(τ)|2I^{\tau}(\tau)=1-|\langle\tilde{\phi}_{0}(\tau)|\Psi(\tau)\rangle|^{2}, and the infidelity with the ground-state of HH, I(τ)=1|ϕ~0(τ)|Ψ()|2I^{\infty}(\tau)=1-|\langle\tilde{\phi}_{0}(\tau)|\Psi(\infty)\rangle|^{2}, i.e. the outcome of the infinite imaginary time evolution.

We study the antiferromagnetic Heisenberg XXZ model in one dimension with open boundary conditions:

Hλz=jSjxSj+1x+SjySj+1y+λzSjzSj+1z,H_{\lambda_{z}}=\sum_{j}S^{x}_{j}S^{x}_{j+1}+S^{y}_{j}S^{y}_{j+1}+\lambda_{z}S^{z}_{j}S^{z}_{j+1}, (8)

with λz=2\lambda_{z}=2 which results in an Ising-like anisotropy. To generate a simple initial state, we initialize the adiabatic Hamiltonian H~\tilde{H} as a staggered transverse field: H~(τ=0)=j[(1)jSjx+12]\tilde{H}(\tau=0)=\sum_{j}\left[(-1)^{j}S^{x}_{j}+\frac{1}{2}\right] (where each term in brackets separately annihilates the ground-state); the resulting initial state is thus a product state. We then determine H~\tilde{H} under the dynamics generated by Eqs. (4), (6), and  (7), and study various properties of H~\tilde{H} and its instantaneous ground-state ϕ~0(τ)\tilde{\phi}_{0}(\tau) which is intended to produce the imaginary-time trajectory. H~\tilde{H} has the symmetry iSix\prod_{i}S^{x}_{i}, under which ϕ~0(τ)\tilde{\phi}_{0}(\tau) has a definite eigenvalue. Note that Hλz=2H_{\lambda_{z}=2} has symmetry broken ground-states with long range order Orbach (1958); Mikeska and Kolezhuk (2004), but we take |Ψ()\left|\Psi(\infty)\right\rangle to belong to the same symmetry sector as ϕ~0(τ)\tilde{\phi}_{0}(\tau).

In Fig. 1 we first consider H~\tilde{H} generated by Eq. (4), and the infidelities I(τ)I(\tau), I(τ)I^{\infty}(\tau), H~(τ)||\tilde{H}(\tau)|| and Δ~(τ)\tilde{\Delta}(\tau) as a function of time-step ϵ\epsilon used in the classical integration of Eq. (4). As seen, for all step-sizes, at early times the infidelity with the ground-state of HH, I(τ)I^{\infty}(\tau), decreases exponentially quickly, to 10210^{-2} or less. (Although this is a small system, we note that achieving finite infidelities of O(101)O(10^{-1}) 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 ϵ\epsilon is decreased towards an infinitesimal step size in the classical integrator, which would give Iτ(τ)=0I^{\tau}(\tau)=0 at all times and I(τ)0I^{\infty}(\tau)\to 0 at long times. For a finite step size ϵ\epsilon, we see I(τ)I^{\infty}(\tau) reaches a minimum value while Iτ(τ)I^{\tau}(\tau) first increases with time, reaches a maximum and then plateaus. The time for the minimum II^{\infty} is close to (slightly after) the time for the maximum IτI^{\tau}; we refer to this (approximate) time as τc\tau_{c}. H~||\tilde{H}|| increases exponentially, while Δ~\tilde{\Delta} decreases exponentially until about τc\tau_{c}, 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 τc\tau_{c} .

Refer to caption
Figure 4: The infidelity with the desired ground-state for both the adiabatic QITE and the original QITE algorithm. Even values of ww correspond to the original QITE algorithm and the odd ww values and the varying case correspond to the adiabatic QITE. The time steps are taken as 0.05 for A-QITE and 0.08 for QITE. The varying ww case starts with w=3w=3, then changes to w=5w=5 and ultimately to w=7w=7. The position of the transitions are shown by vertical dotted lines.

We next study H~\tilde{H} generated by the exact Eq. (6), i.e. without enforcing locality, as a function of system size LL, and a fixed classical time step ϵ=0.05\epsilon=0.05 in Fig. 2. The results are similar to those using H~\tilde{H}; both formally generate the exact imaginary-time trajectory for infinitesimal step size. Using a finite time-step, examining I,IτI^{\infty},I^{\tau}, we see the same behaviour of reaching a minimum II^{\infty} and a maximum IτI^{\tau} at some approximate time τc\tau_{c}. Surprisingly, this does not seem to change the maximum reliable propagation time, τc1.8\tau_{c}\approx 1.8, between L=612L=6-12.

\begin{overpic}[height=177.78578pt]{I_w_5_uful.pdf} \put(5.0,195.0){(a)} \put(5.0,100.0){(b)} \end{overpic}
\begin{overpic}[height=177.78578pt]{Delta_and_Lambda_w_5_uful.pdf} \put(5.0,195.0){(c)} \put(5.0,100.0){(d)} \end{overpic}
\begin{overpic}[height=177.78578pt]{Delta_and_Lambda_length_gauged.pdf} \put(0.0,195.0){(e)} \put(0.0,100.0){(f)} \end{overpic}
Figure 5: Adiabatic evolution under H~\tilde{H} generated by Eq. (7) with u1=2,u2=0.5u_{1}=2,u_{2}=0.5, block size w=5w=5, second-order Runge-Kutta, ϵ=0.05\epsilon=0.05, for the Heisenberg XXZ system for various lengths. Quantities same as in Fig. 1. (e) and (f) denote the norm and the gap of the adiabatic Hamiltonian as a function of length. The data is consistent with power-law behaviors for both.

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 H~(τ)||\tilde{H}(\tau)|| and Δ~(τ)\tilde{\Delta}(\tau). We now study the impact of heuristics at controlling these quantities. We first apply the locality heuristic for the generation of H~\tilde{H}, implemented using Eq. (6) with finite width w=5w=5 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 102\sim 10^{-2} or less. Overall, the infidelity dynamics shows similar behaviour to previous examples, and at longer times there is a τc\tau_{c} corresponding to a change in the behaviour of the infidelities and gaps. However, as the time-step goes to 0, the minimum II_{\infty} 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 H~\tilde{H} dynamics. In particular, H~\|\tilde{H}\| grows orders of magnitude more slowly with τ\tau, and (for fixed τ\tau) close to linearly with LL, while Δ~\tilde{\Delta} appears to decrease like poly(1/L)\mathrm{poly}(1/L).

In Fig. 4, we show H~\tilde{H} generated by Eq. (6), using the locality heuristic with widths 3,5,73,5,7, and timestep ϵ=0.05\epsilon=0.05, 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 2,4,62,4,6 and for time step ϵ=0.08\epsilon=0.08. As expected, the best achievable fidelity with the exact state I(τ)I^{\infty}(\tau) increases with ww, however, the best I()I(\infty) in fact decreases moving from w=5w=5 to w=7w=7. Compared to the original QITE scheme, the achievable infidelity appears to be better (i.e. lower) using the adiabatic Hamiltonian H~\tilde{H} with a similar locality definition. Further work is required to establish a more precise relationship between these approximations.

We additionally consider the modified H~\tilde{H} generated in a different gauge using Eq. (7). As an illustrative example, we consider the case u1=1/2u_{1}=1/2, u2=2u_{2}=2, with the locality constraint w=5w=5. In Fig. 5, we see that although the behaviour of the infidelities II_{\infty} and IτI^{\tau} are qualitatively similar to what we have seen previously (corresponding to u1=u2=0u_{1}=u_{2}=0) with a similar τc\tau_{c}, the detailed form is different; for example, the infidelity has a flatter plateau region. In addition, H||H|| grows even more slowly with τ\tau (with a flattened region between 1<τ<3\sim 1<\tau<3) while still being close to linear in LL, while Δ\Delta (at τc\tau_{c}) again appears to have a poly(1/L)\mathrm{poly}(1/L) behaviour. This indicates that a suitable choice of f(u)f(u) 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 ww 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 ww-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 τ\tau. The (limited) numerical data above on the scaling of H~\tilde{H} and Δ~\tilde{\Delta} when using the heuristic modifications in the Ising problem suggests that (for given τ\tau) the total adiabatic evolution time is polynomial in system size (as H,H~||H||,||\tilde{H}|| scale like poly(L)\mathrm{poly}(L) and Δ~poly(1/L)\tilde{\Delta}\sim\mathrm{poly}(1/L)). The Hamiltonian simulation is still likely the most challenging aspect of the algorithm for near-term hardware. However, for modest widths, e.g. w=3w=3, 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 H~\tilde{H} 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 HH into account separately for H~\tilde{H}, so each time step consists of a sequence of substeps, each one propagating for time ϵ\epsilon with a single term of HH.
  • 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).