Exploiting the path-integral radius of gyration in open quantum dynamics Andrew C. Hunt, Stuart C. Althorpe Abstract A major challenge in open quantum dynamics is the inclusion of Matsubara-decay terms in the memory kernel, which arise from the quantum-Boltzmann delocalisation of the bath modes. This delocalisation can be quantified by the radius of gyration squared ℛ 2 ​ ( ω ) {\mathcal{R}}^{2}(\omega) of the imaginary-time Feynman paths of the bath modes as a function of the frequency ω \omega . In a Hierarchical Equations of Motion (HEOM) calculation with a Debye–Drude spectral density, ℛ 2 ​ ( ω ) {\mathcal{R}}^{2}(\omega) is the only quantity that is treated approximately (assuming convergence with respect to hierarchy depth). Here, we show that the well-known Ishizaki–Tanimura correction is equivalent to separating smooth from ‘Brownian’ contributions to ℛ 2 ​ ( ω ) {\mathcal{R}}^{2}(\omega) , and that modifying the correction leads to a more efficient HEOM in the case of fast baths. We also develop a simple ‘A4’ adaptation of the ‘AAA’ (Adaptive Antoulas–Anderson) algorithm in order to fit ℛ 2 ​ ( ω ) {\mathcal{R}}^{2}(\omega) to a sum over poles, which results in an extremely efficient implementation of the standard HEOM method at low temperatures. I Introduction Open quantum systems are a major research topic in contemporary chemical physics and beyond. The breadth of this field can be gauged by reviews such as refs. de Vega and Alonso 2017 ; Tanimura 2020 ; Delgado-Granados et al. 2025 ; Makri 2023 , and by recent special issues of this journal. Chin et al. 2025 ; Mukamel et al. 2025 The majority of these calculations use generalised forms of the Caldeira–Leggett model, Caldeira and Leggett 1983 in which a quantum system is coupled to a bath of harmonic oscillators, with the coupling strength characterised by a spectral density. A vast array of methods has been developed to treat open quantum systems. In chemical physics, widely used numerically exact methods 1 1 1 The methods cited below are those that have been used in the majority of numerically exact open-quantum calculations reported recently in the chemical physics literature, but are by no means an exhaustive list. include the Quasiadiabatic Propagator Path Integral (QUAPI), Makri and Makarov 1995a ; Makri and Makarov 1995b Multi-Layer Multi-Configuration Time-Dependent Hartree (ML-MCTDH), Wang 2015 Hierarchical Equations of Motion (HEOM) Ishizaki and Tanimura 2005a ; Shi et al. 2009 and Non-Markovian Quantum State Diffusion (NMQSD)-based methods. Diósi, Gisin, and Strunz 1998 ; Suess, Eisfeld, and Strunz 2014 ; Hartmann and Strunz 2017 ; Lynd and Raccah 2025 ; Stockburger and Mak 1999 Recent applications have included light-harvesting complexes, Kreisbeck, Kramer, and Aspuru-Guzik 2014 ; Tong et al. 2020 ; Ishizaki and Fleming 2009 ; Schröter et al. 2015 molecular spin transport, Fay, Lindoy, and Manolopoulos 2021 ; Fay and Limmer 2021 and exciton models. Citty et al. 2024 ; Varvelo, K. Lynd, and G. Bennett 2021 ; Shi et al. 2018 A challenge common to all these recent calculations is the inclusion of the extra non-Markovian decay terms in the memory kernel, produced by the quantum statistics of the bath. We will assume below that the bath is bosonic (although analogous treatments have been developed for Fermionic baths Cui et al. 2019 ; Chen et al. 2022 ; Dan et al. 2023 ), in which case the non-Markovian terms appear as a series, each member of which decays at a successive Matsubara frequency \omega_{n}=2n\pi/\beta\hbar (where \beta=1/k_{\text{B}}T ). At low temperatures, these terms become especially troublesome, giving a long ‘Matsubara tail’ to the memory kernel. In this article, we explore simple ways to treat and interpret the Matsubara-decay terms which exploit the radius of gyration squared {\mathcal{R}}^{2}(\omega) of the imaginary-time Feynman paths. This quantity is a measure of the delocalisation of the bath modes as a function of the frequency \omega , and appears directly in the part of the memory kernel responsible for the Matsubara decay. The use of {\mathcal{R}}^{2}(\omega) to improve system-bath calculations is therefore not new, and it has been especially useful in the development of the HEOM method. For example, Yan and co-workers have expanded {\mathcal{R}}^{2}(\omega) as sums over poles using Padé Hu, Xu, and Yan 2010 ; Hu et al. 2011 and Fano Cui et al. 2019 approaches, in order to efficiently model the Bose function. Related work has expanded the memory kernel, in the time Chen et al. 2022 ; Ikeda and Scholes 2020 ; Tang et al. 2015 ; Nakamura and Tanimura 2018 ; Duan et al. 2017 and frequency domains. Xu et al. 2022 ; Zhang et al. 2025 However, the interpretation of {\mathcal{R}}^{2}(\omega) as the radius of gyration of the Feynman paths is little discussed in the open-quantum literature, and we show below that this simple observation can give rise to interpretational and methodological advantages. This is especially true for HEOM calculations using a Debye–Drude bath, since in this case {\mathcal{R}}^{2}(\omega) is the only quantity that is approximated (assuming the user has converged with respect to the hierarchy depth). This article will therefore focus on HEOM calculations with a Debye–Drude bath, Bai et al. 2024 using the simplest spin-boson model with as a test case. However, our findings are likely to be useful for more complex systems and spectral densities, and perhaps also for open-quantum methods other than HEOM. We begin in Sec. II with a summary of the Caldeira–Leggett formalism, emphasising the role of {\mathcal{R}}^{2}(\omega) and explaining its path-integral interpretation. Section III contains the new material. We show that the path-integral interpretation of {\mathcal{R}}^{2}(\omega) gives insight into the well-known Ishizaki–Tanimura low-temperature correction Ishizaki and Tanimura 2005b to HEOM, which allows a more accurate modification to be derived. We then show how to fit {\mathcal{R}}^{2}(\omega) as a sum over simple poles, which results in a very efficient set of standard HEOM equations. To carry out the fit we adapt the versatile and powerful ‘AAA’ (Adaptive Antoulas–Anderson) algorithm Nakatsukasa, Sète, and Trefethen 2018 which we call the ‘A4’ approach. The AAA algorithm has already been applied within HEOM by Xu et al., who used it to fit the Fourier transform of the memory kernel, obtaining large efficiency savings at cryogenic temperatures for a sub-Ohmic spectral density. Xu et al. 2022 Here, we show that the (A4) fitting of {\mathcal{R}}^{2}(\omega) gives comparable efficiency savings for a Debye–Drude spectral density (or other few-pole spectral density) across a broad range of temperatures. In Sec. IV, we conclude by suggesting some of the ways in which these findings are likely to generalise to non-Debye–Drude spectral densities. II Background theory: the role of {\boldsymbol{{\mathcal{R}}^{2}(\omega)}} In this Section, we summarise some well-known theory for open quantum systems in way that emphasises the role of {{{\mathcal{R}}^{2}(\omega)}} . To simplify the algebra, we focus mainly on the spin-boson Hamiltonian with a Debye–Drude spectral density, but much of the theory generalises straightforwardly to more complex systems and spectral densities, as indicated below. The spin-boson Hamiltonian is \hat{H}=\hat{H}_{\text{s}}+\hat{H}_{\text{b}}+\hat{\sigma}_{z}\hat{F} (1) where \displaystyle\hat{H}_{\rm s}=\epsilon\hat{\sigma}_{z}+\Delta\hat{\sigma}_{x} \displaystyle\hat{H}_{\text{b}}=\sum_{\alpha}\frac{\hat{p}_{\alpha}^{2}}{2}+\frac{1}{2}\omega_{\alpha}^{2}\hat{x}_{\alpha}^{2} \displaystyle\hat{F}=\sum_{\alpha}c_{\alpha}x_{\alpha} (2) and \hat{\sigma}_{x} and \hat{\sigma}_{z} are Pauli spin matrices. The coefficients c_{\alpha} are obtained from the spectral density J(\omega) using J(\omega)=\frac{\pi}{2}\sum_{\alpha}\frac{c_{\alpha}^{2}}{\omega_{\alpha}}\left[\delta(\omega-\omega_{\alpha})+\delta(\omega+\omega_{\alpha})\right] (3) As is usual in the literature, we assume that the density matrix at time t=0 is a direct product Breuer and Petruccione 2002 of the form \hat{\rho}(0)=\hat{\rho}_{\rm s}(0)\otimes\hat{\rho}_{\rm b} (4) where \hat{\rho}_{\rm b} is the quantum Boltzmann operator for the bath. The time evolution of the reduced density \hat{\rho}_{\rm s}(t)={\rm tr}_{\rm b}\{e^{-i\hat{H}t/\hbar}\hat{\rho}(0)\,e^{i\hat{H}t/\hbar}\} (5) can then be written formally Caldeira and Leggett 1983 as \displaystyle\rho_{t}(s_{t},s_{t}^{\prime})=\int\!\mathcal{D}{\bf s}\int\!\mathcal{D}{\bf s}^{\prime}\;\rho_{0}(s_{0},s_{0}^{\prime})F_{t}[{\bf s},{\bf s}^{\prime}]G_{t}[{\bf s},{\bf s}^{\prime}] (6) where G_{t}[{\bf s},{\bf s}^{\prime}] is the real-time system propagator e^{-i\hat{H}_{\text{s}}t/\hbar}\dots e^{i\hat{H}_{\text{s}}t/\hbar} expanded over forward and backward Feynman paths ( s_{0}\to s_{t};s_{0}^{\prime}\to s_{t}^{\prime} ) (where s denotes spin up or down in the case of the spin-boson), and F_{t}[{\bf s},{\bf s}^{\prime}] is the Feynman-Vernon influence functional. Feynman and Hibbs 1965 ; Feynman and Vernon 1963 All we need to know about F_{t}[{\bf s},{\bf s}^{\prime}] is that it entirely determines the influence of the bath on the system, and that it depends on the bath solely Leggett 1987 through the memory kernel \displaystyle C(t)={\rm tr}\{\hat{\rho}_{\rm b}\,\hat{F}(t)\hat{F}\} (7) Most of the challenges in open-quantum calculations can therefore be traced back to properties of the memory kernel, especially differences betwen the quantum kernel C(t) and its classical counterpart C_{\text{class}}(t) . For example, a Debye–Drude spectral density J(\omega)=\frac{\eta\gamma\omega}{\omega^{2}+\gamma^{2}} (8) gives \displaystyle C_{\text{class}}(t)={\eta\over\beta}e^{-\gamma|t|} (9) whereas C(t)=d_{0}e^{-\gamma|t|}+\sum_{n=1}^{\infty}d_{n}e^{-\omega_{n}|t|} (10) where d_{0} = (\hbar\eta\gamma/2)[\cot(\beta\hbar\gamma/2)-i] , d_{n} = -2\eta\gamma\omega_{n}/[\beta(\gamma^{2}-\omega_{n}^{2})] . In addition to a part that decays at the same rate \gamma as the classical kernel, the quantum kernel has a ‘tail’ of extra non-Markovian terms, each decaying at a successive Matsubara frequency \omega_{n}=2n\pi/\beta\hbar . Other spectral densities give rise to similar tails (with the same frequencies \omega_{n} , but different coefficients d_{n} ). The Matsubara tail is especially problematic for HEOM, since this method propagates a matrix of system operators Tanimura 2020 \hat{\rho}_{\bf m}(t)\equiv\hat{\rho}_{m_{0},m_{1},\dots,m_{K}}(t) (11) of which \hat{\rho}_{0,0,\dots,0}(t) is the reduced density matrix \hat{\rho}_{\text{s}}(t) , and the other elements are the so-called ‘auxiliary density operators’ (ADOs). Each index m_{n} runs from zero to N_{n} , where N_{n} is the depth of the hierarchy associated with the corresponding n -th term in Eq. ( 10 ), with the sum truncated at some n=K . In many calculations (including those we report below in Sec. III), the N_{n} are increased until convergence and are independent of K . The cost of a HEOM calculation thus grows factorially with K , and can become prohibitively expensive at low temperatures. Although this problem is specific to HEOM, other open-quantum methods also become more expensive as the Matsubara tail lengthens at low temperatures. de Vega and Alonso 2017 ; Makri 2023 II.1 Relation of the Matsubara-decay term to {\boldsymbol{{\mathcal{R}}^{2}(\omega)}} The Matsubara terms in Eq. ( 10 ) are caused by the delocalisation of the bath modes, as measured by the radius of gyration squared of the imaginary-time Feynman paths \displaystyle{\mathcal{R}}^{2}(\omega)={\hbar\over 2\omega}\coth{\beta\hbar\omega\over 2}-{1\over\beta\omega^{2}} (12) To show this, one writes the bath kernel C(t) as C(t)={1\over\pi}\int{\rm d}\omega\,J(\omega)\omega B(\omega,t) (13) where \displaystyle B(\omega,t)= \displaystyle\langle{\hat{x}_{\omega}^{2}}\rangle\cos\omega t-{i\hbar\over 2\omega}\sin\omega t (14) is the position autocorrelation function for bath mode \hat{x}_{\omega} , and \displaystyle\langle{\hat{x}_{\omega}^{2}}\rangle={1\over\beta\omega^{2}}+{\mathcal{R}}^{2}(\omega) (15) We have written Eqs. ( 14 ) and ( 15 ) in this way to emphasise the quantum effects in B(\omega,t) , namely the quantum-statistical delocalisation of \hat{x}_{\omega}^{2} , manifested as {\mathcal{R}}^{2}(\omega) , and the quantum dynamics of the commutator, manifested as the sine term (which is independent of the statistics because [\hat{p}_{\omega},\hat{x}_{\omega}] is a constant). Substituting into Eq. ( 13 ), we obtain \displaystyle C(t) \displaystyle=C_{\text{class}}(t)+\frac{1}{\pi}\int{\rm d}\omega\,J(\omega)\omega{\mathcal{R}}^{2}(\omega)\cos\omega t \displaystyle-\frac{i\hbar}{2\pi}\int{\rm d}\omega\,J(\omega)\sin\omega t (16) where \displaystyle C_{\text{class}}(t) \displaystyle=\frac{1}{\pi\beta}\int{\rm d}\omega\,{J(\omega)\over\omega}\cos\omega t (17) is the classical memory kernel. Using the well-known expansion 2 2 2 Obtained by applying \coth z=1/z+2z\sum_{n=1}^{\infty}1/(z^{2}+n^{2}\pi^{2}) to Eq. ( 12 ). \displaystyle{\mathcal{R}}^{2}(\omega)=\lim_{M\to\infty}{\mathcal{R}}_{M}^{2}(\omega) (18) where \displaystyle{\mathcal{R}}_{M}^{2}(\omega)={2\over\beta}\sum_{n=1}^{\overline{M}}{1\over\omega^{2}+\omega_{n}^{2}} (19) with \overline{M}=(M-1)/2 ( M is odd), 3 3 3 The truncation is defined to be \overline{M} rather than M for consistency with Sec. IIC. allows one to evaluate the integrals in Eq. ( II.1 ) by contour integration, and to show that each of the Matsubara terms in Eq. ( 10 ) is caused by the corresponding pole in {\mathcal{R}}^{2}(\omega) . 4 4 4 The classical term C_{\text{class}}(t) contributes to d_{0} because J(\omega)/\omega has a pole at \omega=-i\gamma . The two quantum terms also contribute to d_{0} (for any spectral density J(\omega) ), since J(\omega) and J(\omega)\omega have the same poles as J(\omega)/\omega , provided J(\omega) is a smooth and odd function of \omega . Thus only the poles \omega=-i\omega_{n} in {\mathcal{R}}^{2}(\omega) contribute to the Matsubara decay coefficients d_{n},n>0 . II.2 Explicit path-integral treatment For a direct interpretation of {\mathcal{R}}^{2}(\omega) and of the individual terms in Eq. ( 19 ), we need to represent \langle\hat{x}_{\omega}^{2}\rangle as an imaginary-time path integral. Trotterising the imaginary-time propagator into P equally spaced time slices \beta_{P} (and dropping the \omega subscript from \hat{x}_{\omega} ), we obtain \displaystyle\langle\hat{x}^{2}\rangle=\lim_{P\to\infty}{1\over Z_{P}\cal N}\int{\mathrm{d}}{\bf x}\,e^{-\beta_{P}U({\bf x})}\left[{1\over P}\sum_{k=1}^{P}x_{k}^{2}\right] (20) where {\cal N}=(2\pi\beta_{P}\hbar^{2}/m)^{P/2} , U({\bf x}) is the ‘ring-polymer’ potential \displaystyle U({\bf x})={1\over 2}\sum_{l=1}^{P}\left[\omega^{2}x_{l}^{2}+{(x_{l+1}-x_{l})^{2}\over\beta_{P}\hbar^{2}}\right] (21) with x_{P+1}\equiv x_{1} , and Z_{P} is the ring-polymer approximation to the quantum partition function Ceperley 1995 (obtained by replacing Z_{P} and the term in square brackets by 1 in Eq. ( 20 )). To evaluate the integral, we transform to the normal modes that diagonalise the Hessian of U({\bf x}) , which (for odd P ) can be written \displaystyle X_{0} \displaystyle={1\over P}\sum_{l=1}^{P}x_{l} \displaystyle X_{n} \displaystyle={\sqrt{2}\over P}\sum_{l=1}^{P}x_{l}\sin\left({2n\pi l\over P}\right) \displaystyle X_{-n} \displaystyle={\sqrt{2}\over P}\sum_{l=1}^{P}x_{l}\cos\left({2n\pi l\over P}\right) (22) where n=1,\dots,\overline{P} , with \overline{P}=(P-1)/2 . The ‘centroid mode’ X_{0} is the centre-of-mass of the polymer, and thus becomes the classical coordinate in the high-temperature limit \beta\hbar\to 0 , in which the polymers collapse to classical points. Althorpe 2021 The n\neq 0 modes describe the quantum thermal fluctuations around the centroid at finite temperatures. Equation ( 21 ) then becomes \displaystyle U({\bf X})={P\over 2}\sum_{n=-\overline{P}}^{\overline{P}}(\omega^{2}+\widetilde{\omega}_{n}^{2})X_{n}^{2} (23) where the ‘ring-polymer’ frequencies Craig and Manolopoulos 2004 \widetilde{\omega}_{n} are \displaystyle\widetilde{\omega}_{n}={2\over\beta_{P}\hbar}\sin\left(n\pi\over P\right) (24) and Eq. ( 20 ) transforms to \displaystyle\langle\hat{x}^{2}\rangle \displaystyle=\langle\hat{X}_{0}^{2}\rangle+\sum_{n=1}^{\overline{P}}\langle\hat{X}_{n}^{2}+\hat{X}_{-n}^{2}\rangle \displaystyle={1\over\beta\omega^{2}}+{\mathcal{R}}^{2}_{P}(\omega) (25) where \displaystyle{\mathcal{R}}_{P}^{2}(\omega)={2\over\beta}\sum_{n=1}^{\overline{P}}{1\over\omega^{2}+\widetilde{\omega}_{n}^{2}} (26) which is the thermal expectation value of the radius of gyration squared of the P -bead ring-polymer. Substituting into Eq. ( II.1 ) for the case of the a Debye–Drude bath (Eq. ( 8 )) we obtain the P -bead approximation to the memory kernel, \displaystyle C_{P}(t)={\widetilde{d}}_{0}e^{-\gamma|t|}+\sum_{n=1}^{\overline{P}}{\widetilde{d}}_{n}e^{-\widetilde{\omega}_{n}|t|} (27) where \widetilde{d}_{0}=\eta/\beta-i\hbar\eta\gamma/2+(2\gamma^{2}\eta/\beta)\sum_{n>0}1/(\gamma^{2}-\widetilde{\omega}_{n}^{2}) , and \widetilde{d}_{n}=-2\eta\gamma\widetilde{\omega}_{n}/[\beta(\gamma^{2}-\widetilde{\omega}_{n}^{2})] . Since the path integral is exact in the limit P\to\infty , it follows that \displaystyle\lim_{P\to\infty}{\mathcal{R}}_{P}^{2}(\omega)={\mathcal{R}}^{2}(\omega) (28) where {\mathcal{R}}^{2}(\omega) is given in Eqs. ( 12 ) and ( 18 ). The expansion in terms of \widetilde{\omega}_{n} in Eq. ( 26 ) appears different to the expansion in terms of \omega_{n} in Eq. ( 19 ). However, it can be shown that these two series sum to the same limit, namely {\mathcal{R}}^{2}(\omega) of Eq. ( 12 ). II.3 Matsubara modes The equivalence of Eqs. ( 18 ) and ( 28 ) illustrates a more general property of path integrals. Static averages such as \langle\hat{x}^{2}\rangle can be obtained, either by taking the limit P\to\infty directly, or after Fourier-smoothing the ring-polymers, Coalson 1986 ; Ceperley 1995 such that the beads x_{l},l=1,\dots,P , become a continuous function \displaystyle x(\tau)=X_{0}+\sqrt{2}\sum_{n>0}^{\overline{M}}X_{n}\sin{\omega_{n}\tau}+X_{-n}\cos{\omega_{n}\tau} (29) of imaginary time \tau . To carry out the smoothing, one expands x_{l} in terms of the ring-polymer normal modes (of Eq. ( II.2 )), setting the |n|>\overline{M} modes to zero. One can then take the limit M\to\infty (under the assumption that M\ll P ). The normal mode frequencies (see Eq. ( 24 )) of the M Fourier modes thus become \displaystyle\lim_{P\to\infty}\widetilde{\omega}_{n}={2\pi n\over\beta\hbar}=\omega_{n},\quad|n|\leq M (30) so the M modes are referred to as the ‘Matsubara modes’. Applying the smoothing to the path-integral in Eq. ( 20 ) and using Eq. ( 23 ), we obtain \displaystyle{\mathcal{R}}^{2}(\omega)=\lim_{M\to\infty}{\mathcal{R}}_{M}^{2}(\omega) (31) with \displaystyle{\mathcal{R}}_{M}^{2}(\omega)={\int\!d{\bf X}\left[\prod_{n=-\overline{M}}^{\overline{M}}e^{-\beta(\omega^{2}+\omega_{n}^{2})X_{n}^{2}/2}\right]\left[\sum_{m=-{\overline{M}}}^{\overline{M}}X_{m}^{2}\right]\over\int\!d{\bf X}\left[\prod_{n=-{\overline{M}}}^{\overline{M}}e^{-\beta(\omega^{2}+\omega_{n}^{2})X_{n}^{2}/2}\right]} (32) Tracing back through Eqs. ( 18 ) and ( II.1 ), we see that the n th Matsubara decay-term in the memory kernel of Eq. ( 10 ) reflects the contribution made to {\mathcal{R}}^{2}(\omega) by the \pm n th Matsubara modes in Eq. ( 32 ). Each Matsubara mode can be thought of as providing its own independent bath, Prada, Pós, and Althorpe 2023 , 5 5 5 The smoothed Feynman paths can be shown to follow Newtonian dynamics in the 2M -dimensional phase space of the X_{n} and their conjugate momenta: this is an example of ‘Matsubara dynamics’. with effective spectral density \displaystyle J_{n}(\omega)=J(\omega){\omega^{2}\over\omega^{2}+\omega_{n}^{2}} (33) The factor of {\omega^{2}/(\omega^{2}+\omega_{n}^{2})} , obtained by comparing Eq. ( II.1 ) with Eq. ( 17 ), reflects the increase in delocalisation of \hat{x}_{\omega} with increase in \omega . III Approximating the radius of gyration III.1 Ring-polymer versus Matsubara truncation A HEOM calculation requires {\mathcal{R}}^{2}(\omega) to be approximated using a finite number of poles K in order to limit the dimensionality of the ADO matrix of Eq. ( 11 ). Two such approximations are to use Eq. ( 26 ) with \overline{P}=K , or Eq. ( 18 ) with \overline{M}=K . From Sec. II we know that both approximations converge to {\mathcal{R}}^{2}(\omega) as K is increased. However, it is well known from path-integral simulations Ceperley 1995 ; Althorpe 2021 ; Parrinello and Rahman 1984 ; Chandler and Wolynes 1981 that jagged ring-polymers converge much faster than smooth Matsubara paths to exact thermal expectation values. Since this trend is followed by {\mathcal{R}}^{2}(\omega) (Fig. 1) one might expect that the ring polymer expansion leads to a more efficient HEOM than the Matsubara expansion. Figure 1: Comparison of the Matsubara and ring-polymer expansions of {\mathcal{R}}^{2}(\omega) (Eqs. ( 18 ) and ( 26 )), truncated at \overline{M}=\overline{P}=K=10 terms, with the Ishizaki–Tanimura (IT)-corrected Matsubara expansion (Eq. ( 36 )), as a function of the bath frequency \omega (for \beta=1 ). However, a crude truncation of the Matsubara series at K terms is rarely used. Instead, a Markovian Ishizaki–Tanimura (IT) correction term Ishizaki and Tanimura 2005b is added, so that C(t) is approximated by C_{\rm IT}(t)=d_{0}e^{-\gamma|t|}+\sum_{n=1}^{K}d_{n}e^{-\omega_{n}|t|}+\Gamma_{K}\delta(t) (34) where \Gamma_{K}=-{4\eta\gamma\over\beta}\sum_{n=K\!+\!1}^{\infty}{1\over\gamma^{2}-\omega_{n}^{2}} (35) From the perspective of the system, this correction is a dynamical approximation which assumes that any decay in the memory kernel with a rate faster than \omega_{K} appears to be instantaneous. From the perspective of the bath, however, the IT correction is a statistical approximation, equivalent to replacing {\mathcal{R}}^{2}(\omega) by \mathcal{R}^{2}_{\rm IT}(\omega)=\frac{2}{\beta}\sum_{n=1}^{K}\frac{1}{\omega^{2}+\omega_{n}^{2}}+\frac{2}{\beta}\sum_{n=K\!+\!1}^{\infty}\frac{1}{\omega_{n}^{2}-\gamma^{2}} (36) (as is easily verified by substituting \mathcal{R}^{2}_{\rm IT}(\omega) into Eq. ( II.1 ) and evaluating the contour integral). The n>K correction term in Eq. ( 36 ) is independent of \omega , but this constant term is sufficient to make {\mathcal{R}}^{2}_{\text{IT}}(\omega) a much better approximation than {\mathcal{R}}^{2}_{P}(\omega) to {\mathcal{R}}^{2}(\omega) —see Fig. 1. As a result, the HEOM obtained from the IT-corrected Matsubara expansion is much more accurate than that obtained from the ring-polymer expansion—see Fig. 2. For this reason, we do not recommend the use of the ring-polymer approximation {\mathcal{R}}^{2}_{P}(\omega) , as it results in a less efficient HEOM. Figure 2: Convergence of the truncated ring-polymer and IT-corrected-Matsubara approximations to {\mathcal{R}}^{2}(\omega) , and of the resulting HEOM calculations of \langle\hat{\sigma}_{z}(t)\rangle , as a function of the number of poles K . The HEOM calculations were carried out for the spin-boson system of Eq. ( 2 ), with \epsilon=0,\Delta=1,\gamma=1,\eta=1 , at \beta=8 . III.2 Interpretation and modification of the IT correction Equations ( 32 ) and ( 36 ) show that the IT correction is equivalent to approximating the variances of the |n|>K Matsubara modes by assuming, first, that \omega_{K+1}^{2}\gg\omega^{2} , so that the \omega^{2} -dependence can be dropped from the variances, and, second, that \omega_{K+1}^{2}\gg\gamma^{2} , so that \gamma^{2} can be subtracted. The first step of this approximation is equivalent to the well-known observation that the high-frequency components of an imaginary-time Feynman path resemble random walks in free space. Ceperley 1995 These ‘Brownian’ components of the paths resemble a random walk on the lengthscale of the system, as illustrated in Fig. 3, where the |n|>K ‘Brownian’ modes (black line) contribute a noisy ‘fuzz’ to the path, with an amplitude that is small in comparison with the classical variance (\beta\omega^{2})^{-1}=1 . Figure 3: Decomposition of an imaginary-time Feynman path x(\tau) for a bath mode of frequency \omega=1 , into smooth n\leq K and ‘Brownian’ n>K Matsubara components, for K=10 and \beta=1 . Note the low amplitude of the Brownian path in comparison with the classical variance (=1). The second step, in which \gamma^{2} is subtracted from the variance, is therefore unnecessary. To exploit the Brownian nature of the |n|>K components one only needs to drop the \omega^{2} contribution to the variance, approximating \mathcal{R}^{2}(\omega) by \mathcal{R}^{2}_{\rm mIT}(\omega)=\frac{2}{\beta}\sum_{n=1}^{K}\frac{1}{\omega^{2}+\omega_{n}^{2}}+\frac{2}{\beta}\sum_{n=K\!+\!1}^{\infty}\frac{1}{\omega_{n}^{2}} (37) which results in a modified IT (mIT) correction, with \Gamma_{K} in Eq. ( 34 ) replaced by \Gamma_{K}^{\prime}=-{4\eta\gamma\over\beta}\sum_{n=K\!+\!1}^{\infty}{1\over\omega_{n}^{2}} (38) Evaluation of the leading-order error term \mathcal{R}^{2}(\omega)\approx\mathcal{R}^{2}_{\rm IT}(\omega)+\mathcal{O}\!\left(\frac{\omega^{2}+\gamma^{2}}{\omega^{2}+\omega_{K+1}^{2}}\right) (39) confirms that the modified IT approximation is more accurate than its original form. Furthermore, the modification has removed the unphysical dependence of the radius of gyration (a system-independent property) on the bath parameter \gamma (compare Eqs. ( 36 ) and ( 37 )). Whether this modification gives a significant reduction in the number of ADOs is dependent on the speed of the bath. If the bath is slow enough that \omega_{\text{max}}\gtrsim\gamma (where \omega_{\text{max}} is the largest value of \omega to contribute significantly to the integral in Eq. ( II.1 )), then the condition \omega_{K+1}^{2}\gg\omega^{2} implies \omega_{K+1}^{2}\gg\gamma^{2} , so one expects no noticeable improvement on replacing \Gamma_{K} by \Gamma_{K}^{\prime} . The spin-boson results of Fig. 2 are an example of such a bath (for which the mIT results agree with the IT results to within graphical accuracy and are therefore not shown). However, if the bath is fast enough that \gamma^{2}\gg\omega_{\text{max}}^{2} (i.e. if decay-rates significantly smaller than \gamma appear instantaneous to the system) then replacing \Gamma_{K} by \Gamma_{K}^{\prime} should improve the convergence of the HEOM, since \omega_{K} can be set to a value determined by \omega_{\text{max}} rather than \gamma . Figure 4 gives an example of such a bath, where the switch from IT to mIT results in quicker and cleaner convergence of {\mathcal{R}}^{2}(\omega) and of the resulting HEOM calculations. The value of \gamma in Fig. 4 was chosen to avoid a fortuitous ‘resonance’ of \gamma with one of the Matsubara frequencies \omega_{n} . In the case that \gamma\approx\omega_{n} , the modification gives a drastic improvement in efficiency—see Appendix A. For these reasons, we recommend that the modified form of the Ishizaki–Tanimura truncation correction (Eq. ( 38 )) be used in preference to its original form (Eq. ( 35 )). In addition, the system-independence of \mathcal{R}^{2}_{\rm mIT}(\omega) ensures that it can be substituted into Eq. ( 17 ) to derive analogous truncation corrections for any form of spectral density J(\omega) . Figure 4: Demonstration that the modified version of the IT correction term (Eq. ( 38 )) gives cleaner convergence for a fast bath than the original form (Eq. ( 35 )). All parameters are the same as in Fig. 2 except that \gamma=61.3 and \beta=1 . III.3 Fitting {\boldsymbol{{\mathcal{R}}^{2}(\omega)}} using an ‘A4’ adaption of the AAA algorithm Equations ( 19 ), ( 26 ), ( 36 ) and ( 37 ) are examples of sum-over-poles approximations to \mathcal{R}^{2}(\omega) , of the form \mathcal{R}^{2}(\omega)\approx\sum_{n=1}^{K}\frac{k_{n}}{\omega^{2}+\eta_{n}^{2}}+k_{0} (40) in which the poles are \pm i\eta_{n} , and the coefficients k_{n} are \omega -independent constants. In the examples seen so far, \eta_{n} have been set as either \widetilde{\omega}_{n} or \omega_{n} , but there are a variety of other methods in the HEOM literature which approximate \mathcal{R}^{2}(\omega) using a different choice of \eta_{n} in order to obtain better accuracy. All such methods can be regarded equivalently as fits to the Bose function n_{\beta}(\omega) , to which \mathcal{R}^{2}(\omega) is related by n_{\beta}(\omega)=\frac{1}{\beta\hbar\omega}+\frac{\omega}{\hbar}\mathcal{R}^{2}(\omega)-\frac{1}{2} (41) For example, the powerful [N/N] Padé technique Hu, Xu, and Yan 2010 ; Hu et al. 2011 of Yan and co-workers, 6 6 6 There are other varieties of the Padé method which include the [N-1/N] version (in which k_{0}=0 ) and the [N+1/N] version (in which an \omega^{2} term is added to Eq. ( 40 )). So far as we can determine, [N/N] Padé gives the best results for a Debye–Drude bath. determines \eta_{n} and k_{n} by effectively Taylor expanding \mathcal{R}^{2}(\omega) about \omega=0 . Figure 5 illustrates how well the use of the Padé-determined \eta_{n} and k_{n} improve the accuracy of \mathcal{R}^{2}(\omega) and the HEOM results compared with the IT-truncated Matsubara expansion. Figure 5: Convergence of the IT-corrected Matsubara, [N/N] Padé, and A4 approximations to \mathcal{R}^{2}(\omega) and of the resulting HEOM calculations, with respect to the number of terms K in the sum-over-poles expansion. The system and bath parameters are the same as in Fig. 2 and \beta=50 . Figure 6: Same as Fig. 5, but with \beta=500 . The appearance of \mathcal{R}^{2}(\omega) in Eq. ( II.1 ) implies that even better results than those of the [N/N] Padé method would be obtained if one could fit \mathcal{R}^{2}(\omega) to an expansion of the form of Eq. ( 40 ), over the full range of \omega=[-\omega_{\text{max}},\omega_{\text{max}}] that contributes to the memory kernel. Carrying out such a non-linear fit can be challenging. An interesting recursive algorithm is proposed in ref. Cui et al. 2019 which demonstrates that fitting over the full range of \omega does indeed give marked improvement over the Padé approach. However, this algorithm requires fitting parameters to be specified by the user, and can result in higher-order poles in the expansion which lead to a more complicated HEOM. Here, we suggest a simple, direct, fit which is based on the AAA algorithm, which we will refer to as the ‘A4’ approach. The AAA algorithm fits any rational function to an expansion of the form f(\omega)\approx z_{0}+\sum_{j=1}^{2K}\frac{z_{j}}{\omega-\zeta_{j}} (42) where the poles \zeta_{j} and the residues z_{j} are complex. The only input required is a grid of values of f(\omega) evaluated over the ‘support’ (i.e. the domain in the complex plane over which one wishes to fit f(\omega) ), and the desired tolerance \tau_{\text{tol}} ; the number of poles 2K in the expansion is then determined automatically by the algorithm. The algorithm is stable, fast and easy to implement (using a MATLAB routine distributed by the authors of ref. Nakatsukasa, Sète, and Trefethen 2018 or its Python implementation in SciPy Virtanen et al. 2020 ). It has been applied across a broad range of disciplines, including HEOM: an impressive calculation by Xu et al. used the AAA algorithm to fit S_{\beta}(\omega) (i.e. the Fourier transform of C(t) ) to the form of Eq. ( 42 ), which then allowed HEOM calculations to be done at unprecedentedly low temperatures for a subohmic J(\omega) containing a large number of poles. Xu et al. 2022 This efficiency was achieved by merging the poles in J(\omega) with the poles in \mathcal{R}^{2}(\omega) . However, for a Debye–Drude spectral density (for which J(\omega) has only one pole) no reduction in the number of poles would be obtained by fitting S_{\beta}(\omega) instead of \mathcal{R}^{2}(\omega) . In fact, the resulting HEOM would be a lot more expensive, since S_{\beta}(\omega) has complex poles, which doubles the dimensionality of the resulting ADO matrix (with respect to the matrix obtained from the same number of real poles). Figure 7: Comparison of A4 and raw AAA fits of \mathcal{R}^{2}(\omega) for \beta=50 , K=3 , showing the pole locations in the complex plane (left panel) and the fitting errors (right panel). The mean-square errors of the fits are given in square brackets. We therefore need to adapt the AAA algorithm so that it fits \mathcal{R}^{2}(\omega) to a set of purely imaginary poles—i.e. to the form of Eq. ( 40 ). It turns out that an out-of-the-box application of AAA almost does this job, but not quite. On applying AAA with a value of \tau_{\text{tol}} sufficient to fit \mathcal{R}^{2}(\omega) to graphical accuracy over a dense, equally spaced, grid of support points, distributed in the interval \omega\in[-\omega_{\text{lim}},\omega_{\text{lim}}] , we find that the poles \zeta_{j} are complex, but the imaginary parts are typically much larger than the real parts. The poles are not located in groups of four ( \pm a\pm ib ), as one might expect given that \mathcal{R}^{2}(\omega) is symmetric under \omega\to-\omega ; instead they lie on the positive side of the real axis (in pairs a\pm ib ), suggesting that the real parts of the poles are probably spurious, at least for small K (although for some high- K cases that we tested, the real parts of the poles combined in such a way as to improve the accuracy of the fit slightly over the range of the support). It therefore makes sense to neglect the real parts of the poles, then to refit, so the A4 approach is as follows: 1. Carry out an AAA fit of \mathcal{R}^{2}(\omega) using a dense, equally spaced, grid of support points over \omega=[-\omega_{\text{lim}},\omega_{\text{lim}}] , with \tau_{\text{tol}} set to the smallest value that yields 2K poles in the expansion of Eq. ( 42 ). 2. Discard the residues z_{j} and the real components of the poles \zeta_{j} , then use the purely imaginary components as the poles \pm\eta_{n} in Eq. ( 40 ), and determine the coefficients k_{n} using a linear least-squares fit. A comparison of an A4 fit (at \beta=50 with K=3 ) with the corresponding raw AAA fit is shown in Fig. 7. By discarding the real parts of the AAA complex poles, the A4 procedure has restored the \omega\to-\omega symmetry to the fit, and has also reduced the mean square error. Similar results were obtained at all other temperatures tested (from \beta=1\to 500 ). We have tested the A4 approach in HEOM calculations for the spin-boson system of Eq. ( 2 ), over a broad range of temperatures ( \beta=1\to 500 ). Figures 5 and 6 show the results obtained at \beta=50 and \beta=500 . We used 10^{5} support points with \omega_{\text{lim}}=200 (which was chosen to be sufficiently large that J(\omega_{\text{lim}}) is equal to 1% of its maximum value). An easy-to-use Python implementation of the A4 approach is included in the supplementary material, and is also publicly available on GitHub Hunt 2025a . The A4 approach strongly and consistently outperforms the Padé method, and this advantage accelerates as \beta is increased. By \beta=50 (Fig. 5), the A4 approach converges much more rapidly with K than the Padé method. By \beta=500 (Fig. 6), HEOM calculations can be converged easily using A4 (on a cheap laptop), whereas comparable calculations using the Padé approach would be orders of magnitude more costly. IV Conclusions The radius of gyration \mathcal{R}^{2}(\omega) is solely responsible for the Matsubara terms in the memory kernel, and is the only quantity that is approximated in a HEOM calculation with a Debye–Drude bath (assuming convergence with respect to hierarchy depth). Not surprisingly, therefore, the success or failure of such a calculation depends entirely on the approximation made to \mathcal{R}^{2}(\omega) . We have shown here that the Ishizaki–Tanimura correction approximates \mathcal{R}^{2}(\omega) in a very interesting way, by separating out the noisy ‘Brownian’ components of imaginary-time Feynman paths of the bath. When one realises this, one can modify the correction to make it more efficient in the case of fast baths. At low temperatures, it is far more efficient to approximate \mathcal{R}^{2}(\omega) by fitting it to a sum over poles, as is well known from the success of the Padé method. Hu, Xu, and Yan 2010 ; Hu et al. 2011 However, the latter fits \mathcal{R}^{2}(\omega) about \omega=0 , whereas much better results are obtained by fitting over the full range of values of \omega that contribute to the memory kernel. Previous work Cui et al. 2019 reported such a fit using an iterative approach to a sum over higher-order poles (which results in a generalised HEOM). Here, we show that a direct fit to a sum over simple poles can be done using an ‘A4’ modification of the AAA algorithm, which results in the standard HEOM and is orders of magnitude more efficient than the Padé approach at low temperatures. The A4 fit is easy to implement using the Python script given in the supplementary material. Further work will be required to assess how well the A4 approach works for non-Debye baths. At near-zero temperatures with sub-Ohmic spectral densities, it is likely that approaches which fit the entire bath kernel Chen et al. 2022 ; Tang et al. 2015 ; Ikeda and Scholes 2020 ; Xu et al. 2022 will overtake the A4 approach in efficiency. But at non-cryogenic temperatures with spectral densities that can be represented in terms of relatively few poles (e.g., using the Meier–Tannor approach Meier and Tannor 1999 ), the A4 approach is expected to be very efficient. The A4 approach exploits a fortunate and unexpected feature of the AAA algorithm, namely that it returns poles with small real parts when used to fit \mathcal{R}^{2}(\omega) . 7 7 7 This is not simply a consequence of the \omega\to-\omega symmetry of \mathcal{R}^{2}(\omega) : the use of AAA to fit other symmetric functions often yields complex poles with large real components. This feature is also found when the AAA algorithm is applied to the Fermionic analogue of \mathcal{R}^{2}(\omega) , indicating that the A4 approach should also lead to very efficient HEOM calculations for treating Fermionic baths. However, it is possible that some of the other non-linear fitting techniques available (e.g. those discussed in ref. Takahashi et al. 2024 ) also have this feature. We plan to investigate these possibilities in future work. Supplementary Material See the supplementary material for an easy-to-use Python implementation of the A4 approach for the decomposition of both Bose and Fermi functions. The code is also available on GitHub. Hunt 2025a Author Declarations Conflict of Interest The authors have no conflicts of interest to disclose. Author Contributions A. C. Hunt : Conceptualization (equal); Formal analysis (lead); Investigation (lead); Software (lead); Writing – original draft (lead); Writing – review & editing (equal). S. C. Althorpe : Conceptualization (equal); Formal analysis (supporting); Investigation (supporting); Writing – review & editing (equal). Data Availability Data presented in the paper are available from the corresponding author upon reasonable request. The code used to perform the simulations is publicly available on GitHub. Hunt 2025b Appendix A Singularities in the Ishizaki-Tanimura truncation correction The IT correction term \Gamma_{K} of Eq. ( 35 ) is singular if \gamma=\omega_{n} for one of the terms in the sum. As result, the modification to the IT correction proposed in Sec. IIB, whereby \Gamma_{K} is replaced by \Gamma_{K}^{\prime} , leads to a drastic improvement in the approximation to \mathcal{R}^{2}(\omega) and hence in the efficiency of the resulting HEOM if the bath is fast (i.e. \gamma\gg\omega_{\text{max}} ) and if \gamma is close to one of the Matsubara frequencies for which \omega_{n}>\omega_{\text{max}} . This behaviour is illustrated in Fig. 8, which uses the same parameters as the calculations of Fig. 4, except that \gamma has been tweaked to bring it close to resonance with \omega_{10} . For K<10 , \mathcal{R}_{\text{IT}}^{2}(\omega) is spuriously large and the resulting HEOM calculation is thus very far from convergence; only when K\geq 10 (such that \Gamma_{K} no longer includes the n=10 term) are the IT results reasonable. The mIT calculations, by contrast, do not suffer from this problem, and yield a good approximation to the HEOM results with just K=2 , and convergence to within graphical accuracy with K=4 . 8 8 8 Note that the same \gamma=\omega_{n} singularity appears in the d_{n} coefficient of Eq. ( 10 ) as in \Gamma_{K} , but is cancelled out by a term in the expansion of the \cot(\beta\hbar\gamma/2) term in d_{0} , thus ensuring that the resulting HEOM calculations are well converged. This is another example of the general observation that a good approximation to \mathcal{R}^{2}(\omega) results in a well-converged HEOM. Figure 8: Same as Fig. 4, except that \gamma has been tuned so that \gamma=62.8\approx\omega_{10} .