Introduction

Quantum computers promise to have a transformative impact on computing, as quantum algorithms are believed to solve certain computational problems significantly faster—potentially offering super-polynomial speed-ups over their classical counterparts. However, it is important to recognise that such substantial quantum advantages are far from generic. Among the most promising areas of application is the simulation of quantum many-body systems1. While quantum approaches to understanding the zero-temperature ground state physics of quantum many-body systems date back to the early days of quantum computing2, recent progress in theoretical computer science has introduced new algorithmic techniques for preparing quantum Gibbs states at non-zero temperature. In particular, simulated Lindbladian evolution within the quantum circuit model has emerged as a powerful tool for this task3. These so-called quantum Gibbs samplers represent the non-commutative analogues of the classically successful Markov chain Monte Carlo (MCMC) methods4, and are expected to offer efficient access to non-zero temperature properties of quantum many-body systems, especially in regimes that are classically intractable.

Starting from the algorithmic breakthrough result3, there is the physical intuition that quantum Gibbs samplers can perform well for some specific case instances relevant to computational physics and computational chemistry. This is contrasted to known worst-case hardness results2,5,6,7, as well as to previously proposed intricate non-zero temperature quantum methods that are (partially) missing rigorous guarantees8,9,10,11,12,13,14 or are believed to be computationally expensive on relevant finite-size instances for finite temperature15,16,17,18,19. The guiding idea behind the latest algorithmic Lindbladian constructions is to efficiently simulate thermalisation processes in nature, as, e.g., modelled by the Davies generator20,21. In particular, it is possible to bring together algorithmic efficiency with an exact notion of quantum detailed balance, and we refer to the recent quantum Gibbs sampler frameworks22,23 as well as references therein for an extended discussion.

Classical MCMC algorithms are termed efficient when they converge to the Gibbs state in time polynomial or even logarithmic in system size4. In contrast, the recently proposed quantum Gibbs samplers based on algorithmic Lindbladian evolution are solely efficient in the sense that all algorithmic steps are implemented efficiently, but the complexity or overall runtime crucially relies on the so-called mixing time, which specifies for how long we need to conduct the evolution to get ϵ-close to the Gibbs state. For an efficient algorithm, we would then require the Lindbladian to undergo fast mixing in time scaling polynomially with system size. This then has to be resolved for each physical system of interest on a case-by-case basis. The situation is akin to quantum adiabatic algorithms, where the runtime is governed by the Hamiltonian gap along the adiabatic path24 and careful analytical studies are typically challenging.

With classical MCMC methods it is well-understood that rigorous bounds on the convergence time as studied in mathematical physics25,26,27,28,29 often vastly overestimate the observed convergence times when running the algorithms in practice and reading out physical information, such as the partition function, relevant observables, or correlation functions. However, it is by design challenging to numerically run quantum Gibbs samplers to estimate practical mixing times—after all, we do not (yet) have reliable large-scale quantum computers and the classical simulation thereof is believed to be hard. As such, analytical bounds on mixing times are the first main tool to start our efficiency analysis. They would also serve as valuable benchmarks for future empirical studies of these models on fault-tolerant quantum computers, extending beyond the regimes with analytical guarantees.

In order to witness decisive quantum advantages, our goal is to provide quantum many-body systems with instances of quantum Gibbs samplers where

  1. (i)

    Classical methods are not sufficient to conclusively determine the physics at non-zero temperature.

  2. (ii)

    We can derive rigorous and efficient bounds on the mixing time, at least for certain non-trivial parameter regimes.

  3. (iii)

    We can subsequently give informed heuristics on how to fine-tune quantum Gibbs samplers to see efficient mixing times for relevant specific case parameter regimes beyond analytical worst-case guarantees.

As an example, previous general results on efficient quantum mixing times have been recently obtained in the high-temperature limit30,31, where, however, classical methods are proven to also be efficient32. Other problem-specific abstract results on efficient mixing time bounds from the theoretical computer science literature include random sparse Hamiltonians33, random local Hamiltonians34, the toric code35, and parent Hamiltonians of shallow quantum circuits36,37.

In contrast, here we focus on the quantum simulation of fermionic systems of practical relevance—specifically the Fermi-Hubbard model on D-dimensional lattices—and establish rigorous bounds on its corresponding mixing times in both the weakly and strongly interacting regimes. This model enjoys widespread applications in science, for example, to the Mott metal-insulator transition and to high-temperature superconductivity38, while at the same time remaining challenging for classical methods39,40. As such, it further serves as a standard benchmark for computational methods41, including quantum simulations using ultra-cold atoms42. There is also evidence that, in contrast to quantumly hard, glassy spin systems, interacting fermionic systems are computationally challenging due to their entanglement structure43—which is believed to be amenable to quantum methods (in regimes where classical ones might not be). Lastly, we emphasise again that the sought-after efficiency for specific cases and typical finite system sizes would not be in contradiction with the known worst-case hardness results for fermionic systems6,7.

Results

Fermionic systems

We start with the recent algorithmic work3, which derives that the mixing time of Lindbladian quantum Gibbs samplers can be upper bounded by giving lower bounds on the spectral gap of the Lindbladian. This spectral gap, in turn, is equal to the spectral gap of a corresponding parent Hamiltonian, which we analyse. Our approach is to first study free fermions, governed by the quadratic Hamiltonian

$$H={H}_{0}={\sum }_{i,j=1}^{2n}{\omega }_{i}{h}_{ij}{\omega }_{j}\,,\quad \,{\mbox{with}}\,\,\{{\omega }_{i},{\omega }_{j}\}=2{\delta }_{ij}\,,\,{\omega }_{i}^{{\dagger} }={\omega }_{i}\,,$$

written in terms of Majorana fermions ωi. Note that the single-particle Hamiltonian h includes the chemical potential terms, which effectively control the number of fermions in the system. Since our ensuing results allow for arbitrary chemical potentials, these methods can be used to study systems with desired levels of hole doping. We follow the general algorithmic quantum Gibbs sampler framework of ref. 22, which we review in detail in Supplementary Information, but the key point of the quantum algorithm is to simulate dynamics generated by an algorithmic Lindbladian of the form

$${{{\mathcal{L}}}}^{{\dagger} }[\rho ]=-i[G,\rho ]+{\sum}_{a\in {{\mathcal{A}}}}\left({L}_{a}\rho {L}_{a}^{{\dagger} }-\frac{1}{2}\{{L}_{a}^{{\dagger} }{L}_{a},\rho \}\right)\,,$$

which is fully specified after choosing a suitable set of jump operators Aa and corresponding filter functions fa. The Lindblad operators La are then filtered operator Fourier transforms of the jump operators, while the coherent term G is uniquely determined from the detailed-balance condition; this is the condition that guarantees the Gibbs state to be a fixed point of the Lindbladian evolution. Intuitively, these choices are akin to establishing the set of proposals and their acceptance probabilities in the Metropolis-Hastings algorithm. We make the specific design choice of Majorana jump operators, \({\{{A}^{a}={\omega }_{a}\}}_{a=1}^{2n}\), and equal Gaussian filter functions fa = f, obeying the required conditions. In particular, this allows us to exactly compute the finite spectral gap of the free fermionic parent Hamiltonian via Prosen’s third quantisation formalism44 as (see Methods)

$${\Delta }_{0}=2\cdot {e}^{-4{\beta }^{2}\parallel h{\parallel }^{2}}\cosh (2\beta \parallel h\parallel )\,,$$
(1)

where β = T−1 is the inverse temperature. This is lower bounded due to the locality of the system ensuring \(\parallel h\parallel \le {{\mathcal{O}}}(1)\). On top of this, recognising that the dynamics is restricted to that of Gaussian states if we start from a Gaussian state, we calculate the covariance matrix of the evolved state, which, together with optimal trace norm bounds45 allows us to prove a logarithmic upper bound on the mixing time for free fermions

$${t}_{{{\rm{mix}}}}\le \frac{1}{2{\Delta }_{0}}\log \left(\frac{2n}{\epsilon }\right)\,.$$

For the first time, this thus proves rapid mixing in logarithmic time of non-commuting Hamiltonians at any temperature.

Then, after observing that the free fermionic parent Hamiltonian in third quantisation itself simplifies to a (different) free fermionic Hamiltonian, we make use of Hastings’ stability result46,47,48 on the spectral gap of free fermions under perturbation in order to quantitatively extend the finite spectral gap in the thermodynamic limit to the interacting parent Hamiltonian (Theorem 1). To lift the locality of interactions from the fermionic Hamiltonian to the Lindbladian’s parent Hamiltonian, we use Lieb-Robinson bounds and employ matrix analysis methods and identities such as Duhamel’s formula.

Our main finding is phrased most generally for lattice fermionic Hamiltonians with exponentially decaying interactions, henceforth termed quasi-local. Namely, we show that for such systems and at any constant temperature T > 0, there exists a constant maximal interaction strength below which the corresponding purified Gibbs states can be prepared efficiently. This result can be summarised in the following theorem and corollary:

Theorem 1

For any interacting quasi-local fermionic Hamiltonian H = H0 + λV at any temperature T > 0, there exists a positive system-size-independent value \({\uplambda }_{\max }\) such that the Lindbladian \({{{\mathcal{L}}}}^{{\dagger} }\) for Gibbs state preparation has a spectral gap Δ lower bounded by a constant for any \(| \uplambda | \le {\uplambda }_{\max }\), closing at most linearly in λ from that of the non-interacting case H0.

Corollary 1.1

The mixing time of the Gibbs state preparation is upper bounded by \({t}_{{{\rm{mix}}}}={{\mathcal{O}}}(n+\log (1/\epsilon ))\), and the overall quantum complexity to create the quantum Gibbs state is \(\widetilde{{{\mathcal{O}}}}({n}^{3}\,{\mbox{polylog}}\,(1/\epsilon ))\) and requires \({{\mathcal{O}}}(n)\) qubits; where n denotes the system size and ϵ > 0 the desired accuracy in trace norm.

Crucially, the constant on the interaction strength is independent of the system size, and thus we conclude that (weakly) interacting fermionic systems in fixed dimension and at any constant temperature can be efficiently simulated on quantum computers. Although free fermions are efficiently solvable, to the best of our knowledge, there is no provably efficient classical algorithm for the weakly-interacting regime, leading to a potential exponential quantum advantage. This is in contrast to the previously studied case of high temperatures30,31, where they have shown stability around the infinite temperature limit, hence offering only a polynomial quantum advantage32,49.

Our results apply, in particular, to the Fermi-Hubbard model. Its spinful version on a D-dimensional lattice is governed by the Hamiltonian

$${H}_{{{\rm{FH}}}}=-t{\sum}_{\langle i,j\rangle,\sigma }\left({a}_{i,\sigma }^{{\dagger} }{a}_{j,\sigma }+{a}_{j,\sigma }^{{\dagger} }{a}_{i,\sigma }\right)+U{\sum}_{i}{a}_{i,\uparrow }^{{\dagger} }{a}_{i,\uparrow }{a}_{i,\downarrow }^{{\dagger} }{a}_{i,\downarrow },$$

where 〈 , 〉 denotes neighbouring sites on the lattice, σ {} the spins, and \({a}_{i,\sigma }^{({\dagger} )}\) the fermionic annihilation and creation operators on site i with spin σ. The weakly-interacting limit corresponds to U/t 139,40,41, which can then serve as an analytical starting point for further numerical investigations. Furthermore, while the Fermi-Hubbard model is exactly solvable for the D = 1 case50, we emphasise that our results are equally valid in any dimension. We refer to ref. 39 for a recent review of exact and heuristic results for the Hubbard model. In particular, the state-of-the-art in powerful heuristic methods, such as tensor networks, allows one to study the ground state of the Fermi-Hubbard model up to lattices of size 16 × 1651. Notably, in two-dimensional systems with next-nearest-neighbour hopping, even the weak-coupling regime exhibits rich behaviour as the chemical potential is varied, with multiple competing instabilities emerging near the van Hove singularity40. Our algorithm enables the study of such phenomena with, in principle, arbitrarily high theoretical precision.

Applications, extensions, and numerical simulations

As an application of Gibbs sampling, we adapt ref. 31, [Theorem 8] to calculate partition functions for the considered systems. Hence, this provides the means to resolve the physics in thermal equilibrium of the underlying quantum many-body system in an end-to-end fashion:

Proposition 2

For any interacting quasi-local fermionic Hamiltonian H = H0 + λV at any temperature T > 0, there exists a positive system-size-independent value \({\uplambda }_{\max }\) such that for any \(| \uplambda | \le {\uplambda }_{\max }\) the corresponding partition function Z is determined in quantum complexity \(\widetilde{{{\mathcal{O}}}}({n}^{5}{\epsilon }^{-2})\), with success probability at least 3/4 and up to a relative error ϵ > 0.

Further, our methods equally apply to the opposite regime U/t 1 of the Fermi-Hubbard model. Here, we start by exactly solving the atomic limit t = 0 case of no hopping with the same choices of jump operators and filter functions (see Supplementary Information B3), after which we use adapted eigenvalue perturbation techniques to control finite t > 0. This result can be summarised in the following theorem:

Theorem 3

For any quasi-local perturbed atomic Hamiltonian H = Hatomic + λV at any temperature T > 0, there exists a positive system-size-independent value \({\uplambda }_{\max }\) such that the Lindbladian \({{{\mathcal{L}}}}^{{\dagger} }\) for Gibbs state preparation has a spectral gap Δ lower bounded by a constant for any \(| \uplambda | \le {\uplambda }_{\max }\); closing at most as \({{\mathcal{O}}}(| \uplambda {| }^{\alpha })\) with arbitrary α < 1 from that of the atomic case Hatomic.

We again find that at any finite temperature, there exists a constant (system-size-independent) maximal t below which the corresponding Gibbs states can be algorithmically created with the complexities as stated in Corollary 1.1. We emphasise that the flexibility of our proof techniques naturally lends itself to future explorations of other quantum many-body systems in various regimes, such as spin systems in external fields, where the spin-spin interaction is treated as the perturbation. Here, one has to take into account that provably efficient classical algorithms exist for quantum perturbations of atomic Hamiltonians also at low temperatures52.

We perform small-scale exact classical simulations for the weakly-interacting spinless and spinful Fermi-Hubbard model in order to trial the hidden asymptotic constants in our analytical result. We find reasonable finite-gap behaviour and confirm, in particular, the predicted system size-independent scaling. Next, we aim to heuristically improve the algorithmic choices in order to shorten the mixing times beyond our theoretical guarantees. In general, the temperature dependence scales unfavourably in our analytical result, and this becomes at first equally visible in the numerical analysis. However, varying the choice of the jump operators from Majoranas to Paulis and the filter functions from Gaussian to Metropolis (see Supplementary Information Equation (A8)), we observe a spectral gap of the Lindbladian whose magnitude is no longer decreasing when lowering the temperature for the small system sizes we simulate. This would make the overall algorithmic dependence on the inverse temperature β only quasi-quadratic, significantly broadening the practical applicability of the algorithm.

To probe beyond the weakly-interacting regime covered by our analytical bounds, we investigate intermediate coupling strengths with 2 U/t 6 for spinless D = 1, 2 systems at different temperatures. Our numerical results suggest that, for one-dimensional and nearly one-dimensional cases, the algorithm remains efficient even at arbitrary coupling strength, incurring only a small additional cost that scales poly-logarithmically with U/t. For higher dimensions, however, the diversity of physical phenomena exceeds the scope of our simulations, currently preventing any definitive conclusions beyond our theoretical analysis. Details are provided in Figs. 1 and 2, and the corresponding simulation code is available at ref. 53.

Fig. 1: Numerical results beyond our analytical guarantees.
figure 1

Plotting the gap Δ of the full Lindbladian \({{{\mathcal{L}}}}^{{\dagger} }\) associated with the spinless D = 2 Fermi-Hubbard thermal state with design choices beyond our analytical results—when using the Metropolis filter function and single site Pauli jump operators instead—as a function of the coupling strength U. Here we plot different system sizes separately, for the case β = 1 and t = 1, demonstrating a large spectral gap in the regime of intermediate coupling 2 U/t 6, which also does not seem to close with growing inverse temperature β (see Supplementary Figs. 7 and 9). At what coupling strength the gap closes is controlled by the support of the filter function, incurring only polylogarithmic additional algorithmic cost in U/t.

Fig. 2: Numerical results confirming our analytical findings.
figure 2

Plotting the slope \(\tilde{d}=\mp {\left.\frac{\partial \Delta }{\partial U}\right\vert }_{U={0}^{\pm }}\) under which the spectral gap Δ of the full Lindbladian \({{{\mathcal{L}}}}^{{\dagger} }\) closes from that of the unperturbed Lindbladian \({{{\mathcal{L}}}}_{0}^{{\dagger} }\) in the analytically bounded regime, as the system size n grows, at β = 1. As per our main result (Theorem 1), leading to the complexities as stated in Corollary 1.1, this quantity has to be upper-bounded uniformly in n. We refer to Supplementary Figs. for data for more sets of parameters exhibiting different types of behaviours.

Discussion

We have shown for the first time that the Gibbs states of weakly-interacting fermions in any dimension and at any constant temperature can be efficiently prepared in polynomial time on quantum computers. We have further demonstrated that this allows us to directly determine physical properties of the underlying systems—such as the partition function—in an end-to-end fashion while staying in polynomial quantum complexity. This is in contrast to, e.g., phase estimation-based quantum methods, which suffer from the so-called state preparation complexity bottleneck that generically hides large complexity overheads1,41. As such, we believe that the presented methods have great potential for resolving the relevant non-zero-temperature physics of the Fermi-Hubbard and other fermionic models in classically challenging regimes, hence shedding light on the unknown parts of their phase diagrams. Other applications of efficient quantum Gibbs samplers to be explored are in quantum approaches to optimisation54,55 and quantum machine learning56.

Going forward, it would be interesting to improve the exact dependencies on all the relevant parameters in our main result, as well as to work out all the hidden constants therein. One might then also fine-tune the choice of jump operators and filter functions for specific systems and parameter regimes, hopefully even improving on the current cubic complexity in system size, potentially all the way down to quasi-linear. The rapid mixing of free fermions serves as a good indication for the weakly-interacting case to also mix rapidly, which would already bring down one factor of n. As we have seen, the cubic dependency on the system size is then mainly due to the quadratic dependence on the number of jump operators taken, which needs to be linear so that the Lindbladian dynamics can be irreducible and ergodic. However, we could potentially use different sets of jump operators at different times, consisting of as few as a single jump operator at any given time. The generated dynamics then could not be described by a single quantum Markov semigroup, and any one of the corresponding Lindbladians would not be able to get us from an arbitrary starting position to the Gibbs state; however, the combination of all of them could create a complicated path in the state space eventually getting us to the Gibbs state, with potentially significantly better dependency on the system size.

In order to determine the classical-quantum efficiency boundary for the Fermi-Hubbard model in the absence of reasonable quantum computers, it would be important to perform larger-scale classical simulations of the quantum Gibbs samplers, with varying design parameters to estimate the relevant spectral gap (e.g., based on tensor network methods51,57,58). Especially for translationally invariant systems in D = 1, for which the parent Hamiltonian would also inherit the invariance, one could use the imaginary-time iTEBD algorithm to simulate the evolution or iDMRG to calculate the spectral gap for infinite-sized systems. Any such findings should then be compared to the state-of-the-art classical results39,40 to make statements about large quantum advantages for practically relevant problems.

Finally, our presented proof methods based on eigenvalue perturbation techniques also seem promising to explore other quantum many-body systems in different regimes, including, for example, bosonic systems. As a first step, the extensions presented in Supplementary Information B3 are easily shown to hold for any Hamiltonians that are separable in the lattice sites.

Methods

Free fermions

Let’s consider a free fermionic Hamiltonian \({H}_{0}={{{\boldsymbol{\omega }}}}^{T}\cdot h\cdot {{\boldsymbol{\omega }}}={\sum }_{i,j=1}^{2n}{\omega }_{i}{h}_{ij}{\omega }_{j}\) given in terms of Majorana fermions, with h being a Hermitian and anti-symmetric matrix. We denote these operators using bold matrix-vector notation for convenience. We start by choosing the jump operators in the algorithmic Lindbladian to be Majorana fermions, \({\{{A}^{a}={\omega }_{a}\}}_{a=1}^{2n}\), and the filter functions fa to be equal and real in the Fourier space. Note that the conditions on the filter function then say that \({\hat{f}}^{a}(\nu )=\hat{f}(\nu )=q(\nu )\cdot {e}^{-\beta \nu /4}\) with q(ν) real and even.

We readily find the Heisenberg time-evolved jump operators as

$${{\bf{A}}}(t)={e}^{i{H}_{0}t}{{\bf{A}}}{e}^{-i{H}_{0}t}={e}^{i{H}_{0}t}{{\boldsymbol{\omega }}}{e}^{-i{H}_{0}t}={e}^{-4iht}\cdot {{\boldsymbol{\omega }}}\,,$$

and the Lindblad operators are then just

$${{\bf{L}}}=\int_{\!\!\!\!-\infty }^{\infty }f(t){e}^{-4iht}\,{{\rm{d}}}t\cdot {{\boldsymbol{\omega }}}=\hat{f}(-4h)\cdot {{\boldsymbol{\omega }}}\,.$$

Hence we find that

$$\mathop{\sum}_{a\in {{\mathcal{A}}}}{L}_{a}^{{\dagger} }{L}_{a}={{{\boldsymbol{\omega }}}}^{T}\cdot q{(4h)}^{2}\cdot \sinh (2\beta h)\cdot {{\boldsymbol{\omega }}}+\,{\mbox{Tr}}\,\left(\hat{f}{(-4h)}^{2}\right)\,,$$

but since [ωTBωωTCω] = ωT [BC] ω, this sum will commute with the Hamiltonian H0. This, in turn, means it is invariant under time evolution, and so the coherent term G will be proportional to \(\hat{g}(0)\), as

$$G=\int_{\!\!\!\!-\infty }^{\infty }g(t)\cdot {\sum}_{a\in {{\mathcal{A}}}}{L}_{a}^{{\dagger} }{L}_{a}\,{{\rm{d}}}t\propto \hat{g}(0)\,.$$

But since \(\hat{g}(\nu )\propto \tanh (\beta \nu /4)\), this means that the coherent term vanishes, G = 0.

For future convenience, before analysing the spectrum of the Lindbladian, let’s consider the similarity transformation \({{{\mathcal{H}}}}_{0}[\rho ]={\sigma }_{\beta }^{-1/4}\cdot {{{\mathcal{L}}}}_{0}^{{\dagger} }[{\sigma }_{\beta }^{1/4}\cdot \rho \cdot {\sigma }_{\beta }^{1/4}]\cdot {\sigma }_{\beta }^{-1/4}\) into the parent Hamiltonian. This superoperator is Hermitian due to the quantum detailed-balance condition. As this is a similarity transformation, the spectrum of \({{{\mathcal{H}}}}_{0}\) will be the same as of \({{{\mathcal{L}}}}_{0}^{{\dagger} }\). We can calculate that

$${\sigma }_{\beta }^{-1/4}{{\bf{L}}}{\sigma }_{\beta }^{1/4}=\hat{f}(-4h)\cdot {e}^{-\beta h}\cdot {{\boldsymbol{\omega }}},$$

and the QDB condition also ensures \({\sigma }_{\beta }^{-1/4}{L}_{a}{\sigma }_{\beta }^{1/4}={\sigma }_{\beta }^{1/4}{L}_{a}^{{\dagger} }{\sigma }_{\beta }^{-1/4}\). Bringing these calculations together and following Prosen’s third quantisation44, which we review in Supplementary Section A3, the parent Hamiltonian simplifies to

$$\begin{array}{rcl}{{{\mathcal{H}}}}_{0}&\cong &-{{{\bf{c}}}}^{{\dagger} }\cdot S\cdot {{\bf{c}}}+{{\bf{c}}}\cdot S\cdot {{{\bf{c}}}}^{{\dagger} }+{{{\bf{c}}}}^{{\dagger} }\cdot A\cdot {{{\bf{c}}}}^{{\dagger} }+{{\bf{c}}}\cdot A\cdot {{\bf{c}}}-\,{{\mbox{Tr}}}\,\left(\sqrt{{S}^{2}+{A}^{2}}\right)\,.\end{array}$$

Here we have restricted the Hilbert space to that of physical states with even numbers of Majorana fermions; and S = q(4h)2, \(A=q{(4h)}^{2}\sinh (2\beta h)\), and \({\{{c}_{i}^{{\dagger} },{c}_{i}\}}_{i=1}^{2n}\) is a set of 2n canonical fermionic creation and annihilation operators. This is just a quadratic fermionic operator, and hence its complete spectrum, which is the same as that of \({{{\mathcal{L}}}}_{0}^{{\dagger} }\), is straightforwardly calculable as

$$\,{\mbox{spec}}\,({{{\mathcal{L}}}}_{0}^{{\dagger} })={\left\{{\sum }_{i=1}^{2n}(-1+{(-1)}^{{x}_{i}})\cdot q{(4{\epsilon }_{i})}^{2}\cosh (2\beta {\epsilon }_{i})\right\}}_{x\in {\{0,1\}}^{2n}}\,,$$

where ϵi spec(h). In particular, the corresponding spectral gap between the highest and second-highest eigenvalue is

$${\Delta }_{0}=2\cdot {\min }_{i}q{(4{\epsilon }_{i})}^{2}\cosh (2\beta {\epsilon }_{i})\,.$$

Taking the Gaussian filter function, \(q(\nu )={e}^{-{\beta }^{2}{\nu }^{2}/8}\), the spectral gap would be monotonically decaying with h, and hence lower bounded by a constant for local systems obeying \(\parallel h\parallel \le {{\mathcal{O}}}(1)\). This argument also assures that the Gibbs state is the unique fixed point of the dynamics generated by \({{{\mathcal{L}}}}_{0}^{{\dagger} }\).

On top of this, by recognising that when we start with a Gaussian state ρ0 and evolve it with a quadratic Lindbladian, we will stay within the subspace of Gaussian states, we can restrict our view to the evolution of the covariance matrix \({\Gamma }_{ij}(t)=\frac{i}{2}\,{\mbox{Tr}}\,([{\omega }_{i},{\omega }_{j}]\rho (t))\). Denoting the initial covariance matrix by Γ0, we can straightforwardly solve its equation of motion59 and get that \(\Gamma (t)=\frac{i}{2}\tanh (2\beta h)+{e}^{-2q{(4h)}^{2}\cosh (2\beta h)\cdot t}\cdot \left({\Gamma }_{0}-\frac{i}{2}\tanh (2\beta h)\right)\cdot {e}^{-2q{(4h)}^{2}\cosh (2\beta h)\cdot t}\). We can also check that the covariance matrix of the Gibbs state σβ is \({\Gamma }_{{\sigma }_{\beta }}=\frac{i}{2}\tanh (2\beta h)=\Gamma (\infty )\), and so the evolution indeed converges to the Gibbs state.

Finally, we can use optimal trace norm bounds obtained in ref. 45, which tell us that \({\left\Vert \rho (t)-{\sigma }_{\beta }\right\Vert }_{{{\rm{Tr}}}}\le \frac{1}{2}{\parallel \Gamma (t)-{\Gamma }_{{\sigma }_{\beta }}\parallel }_{{{\rm{Tr}}}}\), which we can set smaller to ϵ and solve for t and hence deduce that

$${t}_{{{\rm{mix}}}}\le \frac{1}{4{\min }_{i}q{(4{\epsilon }_{i})}^{2}\cosh (2\beta {\epsilon }_{i})}\log \left(\frac{2n}{\epsilon }\right)\,.$$

Locality of parent Hamiltonians

Ref. 22 shows that if H is a geometrically local Hamiltonian, Aa are local, and the filter function is Gaussian, then the Lindblad operators La are quasi-local and G is a sum of quasi-local terms. Here, we extend this result and discuss the locality properties of the parent Hamiltonian for fermionic systems and systems with exponentially decaying interactions. The quasi-locality of the parent Hamiltonian will be an important ingredient in the proofs of gap stability we present below.

We shall again consider the (general) transformation into the parent Hamiltonian

$${{\mathcal{H}}}[\rho ]={\sigma }_{\beta }^{-1/4}\cdot {{{\mathcal{L}}}}^{{\dagger} }\left[{\sigma }_{\beta }^{1/4}\cdot \rho \cdot {\sigma }_{\beta }^{1/4}\right]\cdot {\sigma }_{\beta }^{-1/4}\,,$$
(4.1)

and also define the transformed operators appearing therein by \({\tilde{L}}_{a}={\sigma }_{\beta }^{-1/4}{L}_{a}{\sigma }_{\beta }^{1/4}\) and \(\tilde{G}={\sigma }_{\beta }^{-1/4}G{\sigma }_{\beta }^{1/4}\).

Proposition 4

Consider a Hamiltonian H with interactions that decay at least exponentially, and local jump operators Aa with Gaussian filter functions. Then the parent Hamiltonian (4.1) is a sum of quasi-local terms.

Proof

We define local approximations of \({\tilde{L}}_{a}\) and \(\tilde{G}\) using

$${\tilde{L}}_{a}^{(r)} =\int_{-\infty }^{\infty }{f}^{a}(t+i\beta /4){e}^{i{H}_{{B}_{r}(a)}t}{A}^{a}{e}^{-i{H}_{{B}_{r}(a)}t}\,{{\rm{d}}}t\,,\\ {\tilde{G}}_{a}^{(r)} =\int_{-\infty }^{\infty }g(t+i\beta /4){e}^{i{H}_{{B}_{r}(a)}t}\left({L}_{a}^{(r){\dagger} }{L}_{a}^{(r)}\right){e}^{-i{H}_{{B}_{r}(a)}t}\,{{\rm{d}}}t\,,$$

where Br(a) is a ball of radius r around the support of Aa and \({H}_{\Omega }={\sum }_{I| I\cap \Omega \ne {{\emptyset}}}{h}_{I}\) is the truncated Hamiltonian to the region Ω. The conjugation by the Gibbs state translates into the shift of the functional arguments in the integrands, and is explained in Supplementary Information A2, D.

Here we shall use a weaker version of the Lieb-Robinson bound than the one for local systems from ref. 60 [Lemma 5] used in ref. 22 [Prop. 20], which also holds for exponentially decaying Hamiltonian interactions, and tells us that

$$\begin{array}{l}\left\Vert {e}^{iHt}{A}^{a}{e}^{-iHt}-{e}^{i{H}_{{B}_{r}(a)}t}{A}^{a}{e}^{-i{H}_{{B}_{r}(a)}t}\right\Vert \\ \le \parallel {A}^{a}\parallel \min \left\{2,J{e}^{-\mu r}({e}^{\mu v| t| }-1)\right\}\end{array}$$
(4.2)

for some constants J, v, and μ. From now on, we shall assume Aa ≤ 1. Using the Gaussian filter, it will follow that

$$\begin{array}{rcl}\parallel {\tilde{L}}_{a}-{\tilde{L}}_{a}^{(r)}\parallel \le C{e}^{-\mu r}\,,\\ \parallel {\tilde{G}}_{a}-{\tilde{G}}_{a}^{(r)}\parallel \le \tilde{C}{e}^{-\tilde{\mu }r}\,;\end{array}$$

calculations of which are detailed in the Supplementary Information A4.

Note that the Lieb-Robinson bound, which follows from the bound on the commutator with the Hamiltonian terms, is true in our fermionic setting independently of whether Aa is even or odd in the number of fermions, since the constituent Hamiltonian terms are always even, so that (4.2) still holds. We refer to ref. 61 for more on Lieb-Robinson bounds and locality for fermions.

Bounds on the strength of the perturbation

In this section, we shall think of the parent Hamiltonian \({{\mathcal{H}}}\) of the interacting system as a perturbation of the free fermionic parent Hamiltonian \({{{\mathcal{H}}}}_{0}\). The expectation is that for a small enough interaction strength λ of the system’s Hamiltonian H = H0 + λV, the spectral gap of the parent Hamiltonian \({{\mathcal{H}}}\) should remain constant. To prove this idea, we will make use of results about stability of spectral gap under perturbation for free fermions46,47,48, but before that we would need to understand how the strength of the parent Hamiltonian perturbation \({{\mathcal{V}}}={{\mathcal{H}}}-{{{\mathcal{H}}}}_{0}\) depends on λ.

We start by deriving the following Lemma from Duhamel’s formula (see Supplementary Information D):

Lemma 5

For any operator O, Hermitian operators H0V, and \(\uplambda,\alpha \in {\mathbb{C}}\), we have

$$\begin{array}{l}\left\Vert {e}^{\alpha ({H}_{0}+\uplambda V)}O{e}^{-\alpha ({H}_{0}+\uplambda V)}-{e}^{\alpha {H}_{0}}O{e}^{-\alpha {H}_{0}}\right\Vert \\ \le | \uplambda | \,| \alpha | \,\mathop{\max }_{s\in [0,1]}\left\Vert \left[V,{e}^{s\alpha {H}_{0}}O{e}^{-s\alpha {H}_{0}}\right]\right\Vert \,.\end{array}$$

As previously, we shall denote the operators appearing in the full parent Hamiltonian by \({\tilde{L}}_{a}\) and \(\tilde{G}\), and we shall also denote their corresponding counterparts appearing in the free fermionic parent Hamiltonian by \({\tilde{L}}_{a}^{0}\) and \({\tilde{G}}^{0}\). Then to understand the strength of \({{\mathcal{V}}}={{\mathcal{H}}}-{{{\mathcal{H}}}}_{0}\), we will need to bound \(\parallel {\tilde{L}}_{a}-{\tilde{L}}_{a}^{0}\parallel\) and \(\parallel {\tilde{G}}_{a}-{\tilde{G}}_{a}^{0}\parallel\).

Using our Lemma together with the exact solution for time evolution in the free fermionic case, we find that

$$\begin{array}{r}\left\Vert {e}^{H(\beta /4+it)}{A}^{a}{e}^{-H(\beta /4+it)}-{e}^{{H}_{0}(\beta /4+it)}{A}^{a}{e}^{{H}_{0}(\beta /4+it)}\right\Vert \\ \le {c}_{1}| \uplambda | \cdot | \beta /4+it| \cdot {e}^{{c}_{2}| \beta /4+it| }\,,\end{array}$$

where we have assumed that \(\parallel h{\parallel }_{\infty }\le {{\mathcal{O}}}(1)\) and that the Hamiltonian contains only terms with even numbers of fermions. Importantly, the constants appearing in this expression are independent of the system size.

Hence, it immediately follows that

$$\parallel {\tilde{L}}_{a}-{\tilde{L}}_{a}^{0}\parallel \le | \uplambda | \int_{\!\!\!\!-\infty }^{\infty }| {\, f}^{a}(t)| {c}_{1}| \beta /4+it| {e}^{{c}_{2}| \beta /4+it| }{{\rm{d}}}t={c}_{3}| \uplambda | \,,$$

for some constant c3 independent of the system size. As the dissipative part of the perturbation \({{\mathcal{V}}}\) is a sum over different products or tensor products of this or equivalent expressions, we can conclude that the strength of this part grows linearly in λ, independently of the system size (see Supplementary Information B2 for details).

Now looking at the coherent term, we shall split it up into quasi-local contributions G = ∑aGa with \({G}_{a}=\int_{-\infty }^{\infty }g(t){e}^{iHt}{L}_{a}^{{\dagger} }{L}_{a}{e}^{-iHt}\,{{\rm{d}}}t\). Then we similarly need to bound \(\parallel {\tilde{G}}_{a}-{\tilde{G}}_{a}^{0}\parallel\), which we will split into a part depending on \(\left\Vert {L}_{a}^{{\dagger} }{L}_{a}-{L}_{a}^{0{\dagger} }{L}_{a}^{0}\right\Vert\) and a part depending on

$$\left\Vert {e}^{H(\beta /4+it)}{L}_{a}^{0{\dagger} }{L}_{a}^{0}{e}^{-H(\beta /4+it)}-{e}^{{H}_{0}(\beta /4+it)}{L}_{a}^{0{\dagger} }{L}_{a}^{0}{e}^{-{H}_{0}(\beta /4+it)}\right\Vert\,.$$

Here we can again use our Lemma to bound this second contribution by

$$| \uplambda | | \beta /4+it| {\max }_{s\in [0,1]}\left\Vert \left[V,{e}^{s(\beta /4+it){H}_{0}}{L}_{a}^{0{\dagger} }{L}_{a}^{0}{e}^{-s(\beta /4+it){H}_{0}}\right]\right\Vert \,.$$

Using the exact solution \({L}_{a}^{0}={\sum }_{i}\hat{f}{(-4h)}_{ai}{\omega }_{i}\), we can upper-bound this further like

$$\begin{array}{r}{\max }_{s\in [0,1]}\left\Vert \left[V,{e}^{s(\beta /4+it){H}_{0}}{L}_{a}^{0{\dagger} }{L}_{a}^{0}{e}^{-s(\beta /4+it){H}_{0}}\right]\right\Vert \\ \le 2{c}_{2}{e}^{{c}_{3}\beta /4}\cdot {w}_{h}(t)\cdot \parallel \hat{f}(-4h){\parallel }_{\infty }^{2}\,,\end{array}$$

where wh(t) is system-size-independent function growing subexponentially in t (as discussed in Supplementary Information E). Observe that the previous argument for bounding the conjugated expression \(\left\Vert {\sigma }_{\beta }^{-1/4}{L}_{a}^{{\dagger} }{L}_{a}{\sigma }_{\beta }^{1/4}-{\sigma }_{\beta,0}^{-1/4}{L}_{a}^{0{\dagger} }{L}_{a}^{0}{\sigma }_{\beta,0}^{1/4}\right\Vert\) also shows that \(\left\Vert {L}_{a}^{{\dagger} }{L}_{a}-{L}_{a}^{0{\dagger} }{L}_{a}^{0}\right\Vert \le {c}_{4}| \uplambda |\). Finally, this means that

$$\parallel {\tilde{G}}_{a}-{\tilde{G}}_{a}^{0}\parallel \\ \le \int_{-\infty }^{\infty }| g(t)| \cdot \left({c}_{4}| \uplambda |+| \uplambda | | \beta /4+it| {c}_{5}{w}_{h}(t)\right)\,{{\rm{d}}}t={c}_{6}| \uplambda |,$$

where the convergence is ensured by the decay bounds of g(t) obtained in ref. 22 [Lemma 30].

This proves that the strength of the perturbation of the parent Hamiltonian is upper bounded by a constant multiple of the strength of the perturbation of the system’s Hamiltonian, uniformly in system size, i.e., that \({{{\mathcal{V}}}}_{a}\), where \({{\mathcal{V}}}={\sum }_{a\in {{\mathcal{A}}}}{{{\mathcal{V}}}}_{a}\), is upper bounded like \(\parallel {{{\mathcal{V}}}}_{a}\parallel \le c| \uplambda |\). To match the locality definition we will need to use exactly, we would further make a standard argument by writing this perturbation as a telescoping sum over different radii (see Supplementary Information B2).

In Supplementary Lemma E.1, we also present a slightly weaker notion of this result, with the strength bounded by λα for an arbitrary constant α < 1 for small enough λ, which works for general Hamiltonians, and hence can be used to obtain our secondary result for perturbations around the atomic limit.

Constant gap and fast mixing

In our previous sections, we have proven that for a quasi-local interacting fermionic Hamiltonian H = H0 + λV and with our algorithmic choices, the parent Hamiltonian \({{{\mathcal{H}}}}_{0}\) has [Jν]-decay and the perturbation \({{\mathcal{V}}}\) has (cλ, μ)-decay as per Definitions 1 and 2 of ref. 46 (see Supplementary Information B2 for review). Hence, we can finish our discussion of the stability of the spectral gap by using [ref. 46, Corollary 1] to show that the gap of \({{\mathcal{H}}}\) closes at most linearly in λ from that of \({{{\mathcal{H}}}}_{0}\) – uniformly in system size—and hence is lower bounded by a constant as per our main Theorem 1.

Finally, this result allows us to bound the mixing time tmix of the Lindbladian \({{{\mathcal{L}}}}^{{\dagger} }\), defined as the minimal time necessary to get us ϵ-close to the Gibbs state from an arbitrary initial position, and show fast mixing in polynomial time bounded by

$${t}_{{{\rm{mix}}}}\le \frac{\log \left(\frac{2}{\epsilon }\parallel {\sigma }_{\beta }^{-1/2}\parallel \right)}{\Delta }={{\mathcal{O}}}(n+\log (1/\epsilon )).$$

Together with the complexity analysis from ref. 22 [Theorem 34], this gives us the overall time complexity of the algorithm as stated in Corollary 1.1.

Calculating the partition function

As a possible application of the efficient Gibbs state preparation, we adapt the strategy from ref. 31 for calculating partition functions \({Z}_{\beta }({\uplambda }_{i})=\,{\mbox{Tr}}\,({e}^{-\beta H({\uplambda }_{i})})\) to the case of interacting fermionic systems, where we have denoted H(λi) = H0 + λiV. Note that we can calculate the non-interacting partition function explicitly as

$${Z}_{\beta }(0)={\prod }_{i=1}^{n}2\cosh (2\beta {\epsilon }_{i})\,,$$

where the product is taken only over one ϵi spec(h) from each symplectic pair  ± ϵi. By measuring the observable \({e}^{\beta H({\uplambda }_{i})}{e}^{-\beta H({\uplambda }_{i+1})}\) in the state σβ(λi), we would obtain the ratio \(\frac{{Z}_{\beta }({\uplambda }_{i+1})}{{Z}_{\beta }({\uplambda }_{i})}\). Preparing this observable and the Gibbs state will require access to block encodings of H0 and V, from which we get a block encoding for H(λi) via LCU, and hence a block encoding for the observable and the Hamiltonian simulation via QSVT. By choosing a schedule 0 = t1 ≤ t2 ≤   ≤ tl−1 ≤ tl = λ and denoting \({\uplambda }_{i}={t}_{i}\frac{\uplambda }{| \uplambda | }\), we can calculate Zβ(λ) as a telescoping product

$${Z}_{\beta }(\uplambda )={Z}_{\beta }(0){\prod }_{i=1}^{l-1}\frac{{Z}_{\beta }({\uplambda }_{i+1})}{{Z}_{\beta }({\uplambda }_{i})}\,.$$

We refer to ref. 31 [Appendix C] for the details of these calculations, the gist of which lies in choosing the schedule such that ti+1 − ti = Θ(n−1), and so l = Θ(n) as λ = Θ(1). Then we would prepare the Gibbs states σβ(λi) and measure the expectation values of the observables \({e}^{\beta H({\uplambda }_{i})}{e}^{-\beta H({\uplambda }_{i+1})}\) for each i [l−1] at least Θ(nϵ−2) times. Averaging these measurements and calculating the partition function using the telescoping product would yield the result in Proposition 2.