Open quantum dynamics with variational non-Gaussian states and the truncated Wigner approximation

Liam J. Bond Institute for Theoretical Physics, Institute of Physics, University of Amsterdam, Science Park 904, 1098 XH Amsterdam, the Netherlands QuSoft, Science Park 123, 1098 XG Amsterdam, the Netherlands    Bas Gerritsen Institute for Theoretical Physics, Institute of Physics, University of Amsterdam, Science Park 904, 1098 XH Amsterdam, the Netherlands QuSoft, Science Park 123, 1098 XG Amsterdam, the Netherlands    Jiří Minář Institute for Theoretical Physics, Institute of Physics, University of Amsterdam, Science Park 904, 1098 XH Amsterdam, the Netherlands QuSoft, Science Park 123, 1098 XG Amsterdam, the Netherlands    Jeremy T. Young Institute for Theoretical Physics, Institute of Physics, University of Amsterdam, Science Park 904, 1098 XH Amsterdam, the Netherlands    Johannes Schachenmayer CESQ/ISIS (UMR 7006), CNRS and Université de Strasbourg, 67000    Arghavan Safavi-Naini Institute for Theoretical Physics, Institute of Physics, University of Amsterdam, Science Park 904, 1098 XH Amsterdam, the Netherlands QuSoft, Science Park 123, 1098 XG Amsterdam, the Netherlands
(July 2, 2024)
Abstract

We present a framework for simulating the open dynamics of spin-boson systems by combing variational non-Gaussian states with a quantum trajectories approach. We apply this method to a generic spin-boson Hamiltonian that has both Tavis-Cummings and Holstein type couplings, and which has broad applications to a variety of quantum simulation platforms, polaritonic physics, and quantum chemistry. Additionally, we discuss how the recently developed truncated Wigner approximation for open quantum systems can be applied to the same Hamiltonian. We benchmark the performance of both methods and identify the regimes where each method is best suited to. Finally we discuss strategies to improve each technique.

I Introduction

Advances in the control of quantum systems over the past decade have led to the development of a wide variety of different platforms for investigating almost-coherent quantum dynamics. However, in the absence of robust fault-tolerant operations, studies of these platforms must contend with various sources of noise induced by couplings to an environment. Moreover, these noisy intermediate-scale quantum (NISQ Preskill (2018)) devices can often be arbitrarily controlled, opening possibilities of creating states far out of equilibrium. In light of this, understanding the out-of-equilibrium dynamics of open quantum many-body systems has become of great interest, e.g. for understanding and realizing a quantum advantage in the NISQ era.

A particularly challenging class of problems arises for systems containing both spin and bosonic degrees of freedom with an (even locally) unbounded Hilbert space, applicable to quantum simulation and computation platforms ranging from superconducting circuits to trapped ions Peropadre et al. (2013); Yoshihara et al. (2017); Forn-Díaz et al. (2017); Magazzù et al. (2018); Marcuzzi et al. (2017); Gambetta et al. (2020); Tamura et al. (2020); Skannrup et al. (2020); Méhaignerie et al. (2023); James (2000); Porras and Cirac (2004); Schneider et al. (2012); Kienzler et al. (2015); Lo et al. (2015); Kienzler et al. (2017), to paradigmatic problems in impurity physics Pérez-Ríos (2021); Lous and Gerritsma (2022), quantum chemistry Valahu et al. (2023), or polaritonic chemistry Garcia-Vidal et al. (2021). The ubiquity and complexity of spin-boson Hamiltonians has led to the development of various techniques for their study and characterization. These include methods for the bosonic space, namely path integral techniques Nalbach and Thorwart (2010); Kast and Ankerhold (2013); Nalbach and Thorwart (2013); Otterpohl et al. (2022), effective Hamiltonian formulation Lee et al. (2001); Rychkov and Vitale (2015); Szász-Schagrin and Takács (2022); Rakovszky et al. (2016) or lightcone conformal truncation used predominantly in high-energy physics Anand et al. (2020); Chen et al. (2022); Delacrétaz et al. (2023), as well as methods such as non-equilibrium Monte Carlo or tensor networks del Pino et al. (2018); Wellnitz et al. (2022); Wall et al. (2016), which have allowed for the simulation of (open) out-of-equilibrium dynamics of quantum many-body systems Makri and Makarov (1995); Thorwart et al. (1998, 2000); Schmidt et al. (2008); Schollwöck (2011); Orús (2014); Montangero (2018); White and Feiguin (2004); Schmitteckert (2004); Nuss et al. (2015); Dóra et al. (2017); Zwolak and Vidal (2004); Daley (2014); Preisser et al. (2023), also in large-system scenarios. However, these methods are often constrained to one-dimensional setups, closed systems, or to a mesoscopic number of particles, or a combination thereof.

Refer to caption
Figure 1: (a) Schematic overview of NGS. The ansatz |ψ(z(t)\ket{\psi(\vec{z}(t)}| start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ( italic_t ) end_ARG ⟩ is a point in a manifold embedded in Hilbert space. For different variational parameters, we can describe a variety of quantum states (some example Wigner functions are shown). The action of an operator 𝒪𝒪\mathcal{O}caligraphic_O, which can be a Hamiltonian H𝐻Hitalic_H, non-Hermitian Hamiltonian Heffsubscript𝐻effH_{\text{eff}}italic_H start_POSTSUBSCRIPT eff end_POSTSUBSCRIPT, or quantum jump c𝑐citalic_c, can cause the state to leave the the variational manifold, so the state is projected back to the manifold 𝒫|ψ𝒫ket𝜓\mathcal{P}\ket{\psi}caligraphic_P | start_ARG italic_ψ end_ARG ⟩. (b) Schematic depiction of TWA. (i)𝑖(i)( italic_i ) The initial quantum state of the spin and bosonic degrees of freedom can be represented by the spin Wigner functions Wi(θ0,ϕ0)subscript𝑊𝑖subscript𝜃0subscriptitalic-ϕ0W_{i}(\theta_{0},\phi_{0})italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_θ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , italic_ϕ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT ) and bosonic Wigner functions Wj(A0,A0)subscript𝑊𝑗subscript𝐴0superscriptsubscript𝐴0W_{j}(A_{0},A_{0}^{*})italic_W start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ), respectively. (ii)𝑖𝑖(ii)( italic_i italic_i ) Classical phase space points are individually sampled from the initial Wigner functions for each degree of freedom and (iii)𝑖𝑖𝑖(iii)( italic_i italic_i italic_i ) evolve according to the classical (stochastic) equations of motion. (iv)𝑖𝑣(iv)( italic_i italic_v ) Expectation values of observables are evaluated in phase space by computing the average of the associated Weyl symbols over ntrajsubscript𝑛trajn_{\rm traj}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT phase space trajectories. (c) Both NGS and TWA apply to generic spin-boson systems, but we depict here the system studied in this work: Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT spins-1/2121/21 / 2 interact with a common mode a𝑎aitalic_a with strength g𝑔gitalic_g and particle loss at rate κ𝜅\kappaitalic_κ. Each spin also interacts with a mode b𝑏bitalic_b at strength λ𝜆\lambdaitalic_λ. The spins also undergo collective loss at rate ΓΓ\Gammaroman_Γ. (d) Schematic summary of our results illustrating the regions where each method tends to perform well together with the reference to figures studying the dynamics in the respective parameter regimes, see Fig. 5 and Sec. V for more details.

The number and breadth of the aforementioned approaches illustrates that no single method can tackle the range of systems described by spin-boson type Hamiltonians or even the full parameter space of a specific model. As such, it is important to pinpoint the strengths and shortcomings of each method. In this work, we undertake a comparative study between two methods: (i) the time-dependent variational ansatz using non-Gaussian states (NGS) Shi et al. (2018); Hackl et al. (2020) and (ii) the truncated Wigner approximation (TWA) combined with its generalization to discrete spaces, discrete truncated Wigner approximation (DTWA). Fig. 1(a),(b) shows a schematic of each method. These methods may allow us to circumvent some of the aforementioned limitations Shi et al. (2018); Hackl et al. (2020); Schachenmayer et al. (2015a); Piñeiro Orioli et al. (2017); Zhu et al. (2019) and have recently been generalized to open quantum systems Joubert-Doriol and Izmaylov (2015); Schlegel et al. (2023); Huber et al. (2021, 2022); Singh and Weimer (2022); Mink et al. (2022); Mink and Fleischhauer (2023). Analyzing fundamental quantum effects in macroscopic limits can thus be enabled with NGS and TWA approaches.

In NGS, one exploits the continuous variable structure of bosonic states to build a time-dependent variational wavefunction ansatz of non-Gaussian states. Here, we specifically use a superposition of squeezed displaced bosonic states, which converges to the true wavefunction due to the over-completeness of the set of coherent states. Since each state in the superposition is Gaussian, much of the previously developed machinery for Gaussian states can be re-utilized. This method has been successfully applied to studies of systems ranging from the Kondo impurity problem Ashida et al. (2019a), central spin Ashida et al. (2019b), spin-Holstein models Knörzer et al. (2022), Bose and Fermi polarons Christianen et al. (2022a, b); Dolgirev et al. (2021), and (sub/super) Ohmic spin-boson model Bond et al. (2024). We also note that the closely related Davydov state ansatz has been applied in the studies of molecular crystals and polaritonic physics Chen et al. (2023); Zhao (2023); Sun et al. (2022); Zhou et al. (2015, 2014); Wu et al. (2013).

TWA is a semi-classical approach that factorizes the phase space functions (Weyl symbols) that describe a quantum observable in the phase space representation. As such, TWA is reminiscent of a product-state mean-field ansatz on Hilbert space. Like the latter, TWA allows one to treat systems with very large sizes [(104)ordersuperscript104\order{10^{4}}( start_ARG 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT end_ARG ) particles], while still capturing some essential quantum features such as spin-squeezing or entanglement Schachenmayer et al. (2015a); Lepoutre et al. (2019); Perlin et al. (2020); Franke et al. (2023); Muleady et al. (2023); Young et al. (2024). TWA can be easily adapted to systems with both bosonic and discrete degrees of freedom, combining sampling strategies from continuous Polkovnikov (2010a) and discrete Wigner functions Schachenmayer et al. (2015a); Zhu et al. (2019); Piñeiro Orioli et al. (2017).

Here, we consider the open and closed dynamics of a spin-boson Hamiltonian featuring multiple spins coupled to a discrete set of bosonic modes via Holstein and Tavis-Cummings couplings, thus ensuring broad applicability of our results. We begin by introducing the two methods: the NGS method using our multi-polaron formulation introduced in Ref. Bond et al. (2024) is discussed in Sec. II. We extend the method to open quantum systems using the quantum trajectories method in Sec. III. We discuss TWA with its discrete variant DTWA for closed and open systems in Sec. IV. In Sec. V we introduce the Holstein-Tavis-Cummings spin-boson Hamiltonian, which we use to compare both methods over a range of parameters. Finally in Sec. VI we summarize our findings and discuss how each method can be improved to increase its accuracy and/or applicability both in terms of systems to which they can be applied, and also in terms of the observables that can be accessed.

II Non-Gaussian ansatz for a closed system

We begin by introducing the non-Gaussian ansatz, before discussing how to compute the equations of motion (EOMs) for the variational parameters. We consider a system of Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT spins-1/2 and Nbsubscript𝑁𝑏N_{b}italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT bosonic modes governed by some Hamiltonian H(t)𝐻𝑡H(t)italic_H ( italic_t ). Our wavefunction, |ψ(z)ket𝜓𝑧\ket{\psi(\vec{z})}| start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩, is a variational ansatz in the form of a non-Gaussian state parameterized by a set of real numbers z𝑧\vec{z}over→ start_ARG italic_z end_ARG,

|ψ(z)=σ=12Nsp=1NpUp(σ)|σ,0,ket𝜓𝑧superscriptsubscript𝜎1superscript2subscript𝑁𝑠superscriptsubscript𝑝1subscript𝑁𝑝superscriptsubscript𝑈𝑝𝜎ket𝜎0\displaystyle\ket{\psi(\vec{z})}=\sum_{\sigma=1}^{2^{N_{s}}}\sum_{p=1}^{N_{p}}% {U}_{p}^{(\sigma)}\ket{\sigma,0},| start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ = ∑ start_POSTSUBSCRIPT italic_σ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_p = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | start_ARG italic_σ , 0 end_ARG ⟩ , (1)

where the summation over σ𝜎\sigmaitalic_σ is over all 2Nssuperscript2subscript𝑁𝑠2^{N_{s}}2 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT spin basis states 111 The number of spin configurations in the present ansatz scales exponentially with the number of spins and is the bottleneck in the use of the ansatz in Eq. (1) for many spins. Addressing this issue, such as combining the non-Gaussian ansatz for the bosonic modes with tensor-network techniques for spins, is a matter of future work. We discuss an alternative approach, namely using the Holstein-Primakoff representation of the spins, in Sec. V.1.1. . The summation over p𝑝pitalic_p produces a superposition of Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT bosonic states Up(σ)|0superscriptsubscript𝑈𝑝𝜎ket0U_{p}^{(\sigma)}\ket{0}italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | start_ARG 0 end_ARG ⟩ for each spin degree of freedom. Following Ref. Bond et al. (2024) we refer to these states as polarons, and choose the operator Up(σ)superscriptsubscript𝑈𝑝𝜎U_{p}^{(\sigma)}italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT to be of the form of a Gaussian unitary,

Up(σ)=eκp(σ)+iθp(σ)𝒟(αp(σ))𝒮(ζp(σ)).superscriptsubscript𝑈𝑝𝜎superscript𝑒superscriptsubscript𝜅𝑝𝜎𝑖superscriptsubscript𝜃𝑝𝜎𝒟superscriptsubscript𝛼𝑝𝜎𝒮superscriptsubscript𝜁𝑝𝜎\displaystyle{U}_{p}^{(\sigma)}=e^{\kappa_{p}^{(\sigma)}+i\theta_{p}^{(\sigma)% }}\mathcal{D}(\vec{\alpha}_{p}^{(\sigma)})\mathcal{S}(\vec{\zeta}_{p}^{(\sigma% )}).italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT = italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT + italic_i italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT caligraphic_D ( over→ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT ) caligraphic_S ( over→ start_ARG italic_ζ end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT ) . (2)

The parameters κpsubscript𝜅𝑝\kappa_{p}italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT and θpsubscript𝜃𝑝\theta_{p}italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT determine the weight and phase factors, while the many-mode displacement 𝒟(α)𝒟𝛼\mathcal{D}(\vec{\alpha})caligraphic_D ( over→ start_ARG italic_α end_ARG ) and squeezing 𝒮(ζ)𝒮𝜁\mathcal{S}(\vec{\zeta})caligraphic_S ( over→ start_ARG italic_ζ end_ARG ) operators are defined as,

𝒟(α)𝒟𝛼\displaystyle\mathcal{D}(\vec{\alpha})caligraphic_D ( over→ start_ARG italic_α end_ARG ) =k=1Nb𝒟(αk)=k=1Nbexp[αkakαkak],absentsuperscriptsubscriptproduct𝑘1subscript𝑁𝑏𝒟subscript𝛼𝑘superscriptsubscriptproduct𝑘1subscript𝑁𝑏subscript𝛼𝑘superscriptsubscript𝑎𝑘superscriptsubscript𝛼𝑘subscript𝑎𝑘\displaystyle=\prod_{k=1}^{N_{b}}\mathcal{D}(\alpha_{k})=\prod_{k=1}^{N_{b}}% \exp[\alpha_{k}a_{k}^{\dagger}-\alpha_{k}^{*}a_{k}],= ∏ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUPERSCRIPT caligraphic_D ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) = ∏ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUPERSCRIPT roman_exp [ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT - italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ] , (3a)
𝒮(ζ)𝒮𝜁\displaystyle\mathcal{S}(\vec{\zeta})caligraphic_S ( over→ start_ARG italic_ζ end_ARG ) =k=1Nb𝒮(ζk)=k=1Nbexp[12(ζkak2ζkak2)],absentsuperscriptsubscriptproduct𝑘1subscript𝑁𝑏𝒮subscript𝜁𝑘superscriptsubscriptproduct𝑘1subscript𝑁𝑏12superscriptsubscript𝜁𝑘superscriptsubscript𝑎𝑘2subscript𝜁𝑘superscriptsuperscriptsubscript𝑎𝑘2\displaystyle=\prod_{k=1}^{N_{b}}\mathcal{S}(\zeta_{k})=\prod_{k=1}^{N_{b}}% \exp[\frac{1}{2}\left(\zeta_{k}^{*}a_{k}^{2}-\zeta_{k}{a_{k}^{\dagger}}^{2}% \right)],= ∏ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUPERSCRIPT caligraphic_S ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) = ∏ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUPERSCRIPT roman_exp [ divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) ] , (3b)

where we dropped the σ𝜎\sigmaitalic_σ and p𝑝pitalic_p indices of α,ζ𝛼𝜁\vec{\alpha},\vec{\zeta}over→ start_ARG italic_α end_ARG , over→ start_ARG italic_ζ end_ARG for simplicity. In this article, we always follow the convention that the many-mode operators appear with vector parameters α𝛼\vec{\alpha}over→ start_ARG italic_α end_ARG and ζ𝜁\vec{\zeta}over→ start_ARG italic_ζ end_ARG, i.e. 𝒟(α)𝒟𝛼\mathcal{D}(\vec{\alpha})caligraphic_D ( over→ start_ARG italic_α end_ARG ), 𝒮(ζ)𝒮𝜁\mathcal{S}(\vec{\zeta})caligraphic_S ( over→ start_ARG italic_ζ end_ARG ). Here aksubscript𝑎𝑘a_{k}italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT (aksuperscriptsubscript𝑎𝑘a_{k}^{\dagger}italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT) is the annihilation (creation) operator of the k𝑘kitalic_kth mode satisfying the commutation relations [aj,ak]=δjksubscript𝑎𝑗superscriptsubscript𝑎𝑘subscript𝛿𝑗𝑘[a_{j},a_{k}^{\dagger}]=\delta_{jk}[ italic_a start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ] = italic_δ start_POSTSUBSCRIPT italic_j italic_k end_POSTSUBSCRIPT. The complex numbers αk=xk+iyksubscript𝛼𝑘subscript𝑥𝑘𝑖subscript𝑦𝑘\alpha_{k}=x_{k}+iy_{k}italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = italic_x start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT + italic_i italic_y start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT and ζk=rkeiϕksubscript𝜁𝑘subscript𝑟𝑘superscript𝑒𝑖subscriptitalic-ϕ𝑘\zeta_{k}=r_{k}e^{i\phi_{k}}italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = italic_r start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_POSTSUPERSCRIPT describe the displacement and squeezing amplitudes of the k𝑘kitalic_kth mode respectively. The parameters xk,yk,rksubscript𝑥𝑘subscript𝑦𝑘subscript𝑟𝑘x_{k},\,y_{k},\,r_{k}italic_x start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_y start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_r start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT, and ϕksubscriptitalic-ϕ𝑘\phi_{k}italic_ϕ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT are real, and we collect them, along with κpsubscript𝜅𝑝\kappa_{p}italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT and θpsubscript𝜃𝑝\theta_{p}italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT for each polaron, into a set {κ,θ,x,y,r,ϕ}𝜅𝜃𝑥𝑦𝑟italic-ϕ\{\kappa,\theta,x,y,r,\phi\}{ italic_κ , italic_θ , italic_x , italic_y , italic_r , italic_ϕ } indexed by \ellroman_ℓ. The total set of variational parameters z𝑧\vec{z}over→ start_ARG italic_z end_ARG is indexed by four indices: σ{1,,2Ns}𝜎1superscript2subscript𝑁𝑠\sigma\in\{1,\ldots,2^{N_{s}}\}italic_σ ∈ { 1 , … , 2 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT }, p{1,,Np}𝑝1subscript𝑁𝑝p\in\{1,\ldots,N_{p}\}italic_p ∈ { 1 , … , italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT }, k{1,,Nb}𝑘1subscript𝑁𝑏k\in\{1,\ldots,N_{b}\}italic_k ∈ { 1 , … , italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT } and {1,,6}16\ell\in\{1,\ldots,6\}roman_ℓ ∈ { 1 , … , 6 } . The total number of variational parameters is then M=2NsNp(2+4Nb)𝑀superscript2subscript𝑁𝑠subscript𝑁𝑝24subscript𝑁𝑏M=2^{N_{s}}N_{p}(2+4N_{b})italic_M = 2 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ( 2 + 4 italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT ).

We note that one could choose a more general Gaussian unitary U𝒟(α)exp(iAT𝕄A)proportional-to𝑈𝒟𝛼exp𝑖superscript𝐴𝑇𝕄𝐴{U}\propto\mathcal{D}(\vec{\alpha}){\rm exp}(-iA^{T}\mathbb{M}A)italic_U ∝ caligraphic_D ( over→ start_ARG italic_α end_ARG ) roman_exp ( - italic_i italic_A start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT roman_𝕄 italic_A ) instead of Eq. (2), where A=(a1,,aNb,a1,,aNb)T𝐴superscriptsubscript𝑎1subscript𝑎subscript𝑁𝑏subscriptsuperscript𝑎1subscriptsuperscript𝑎subscript𝑁𝑏𝑇A=(a_{1},\ldots,a_{N_{b}},a^{\dagger}_{1},\ldots,a^{\dagger}_{N_{b}})^{T}italic_A = ( italic_a start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_a start_POSTSUBSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUBSCRIPT , italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT and 𝕄𝕄\mathbb{M}roman_𝕄 is a symmetric matrix Shi et al. (2018); Hackl et al. (2020). In contrast, in Eq. (2) we only consider diagonal squeezing operators, cf. the Eq. (3b). This allows us to significantly simplify all subsequent manipulations while still capturing the relevant features of the Gaussian states, including squeezing. We note that in the limit Npsubscript𝑁𝑝N_{p}\rightarrow\inftyitalic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT → ∞ the ansatz |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ approaches the true wavefunction |ΨketΨ\ket{\Psi}| start_ARG roman_Ψ end_ARG ⟩, as the set of all squeezed coherent states form an over-complete basis for the bosonic Hilbert space. In Fig. 2 and Sec. V we show that this requirement can be further relaxed: a superposition of coherent states, which was considered in Ref. Bond et al. (2024), is often sufficient to describe the relevant physics. Finally, we note that working with a superposition of Gaussian states allows us to use the extensive existing machinery developed for Gaussian states.

We start our analysis by adopting the Dirac-Frenkel variational principle 222 A remark is that instead of the Dirac-Frenkel variational principle one could employ the Lagrangian or McLachlan ones. Importantly these coincide, in that they yield the same equations of motion, if the tangent space 𝒯ψsubscript𝒯𝜓\mathcal{T}_{\psi}caligraphic_T start_POSTSUBSCRIPT italic_ψ end_POSTSUBSCRIPT of the variational manifold is a Kähler space. In this framework, for a given Hamiltonian H(t)𝐻𝑡H(t)italic_H ( italic_t ) one can derive equations of motion for the variational parameters z(t)𝑧𝑡\vec{z}(t)over→ start_ARG italic_z end_ARG ( italic_t ) describing either real- or imaginary-time evolution of the wavefunction Hackl et al. (2020),

Real-timeev.:z˙ν\displaystyle{\rm\text{Real-time}\;ev.:}\;\;\;\dot{z}^{\nu}Real-time roman_ev . : over˙ start_ARG italic_z end_ARG start_POSTSUPERSCRIPT italic_ν end_POSTSUPERSCRIPT =(ωμν)1μE(z,t),absentsuperscriptsubscript𝜔𝜇𝜈1subscript𝜇𝐸𝑧𝑡\displaystyle=-(\omega_{\mu\nu})^{-1}\partial_{\mu}E(\vec{z},t),= - ( italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT italic_E ( over→ start_ARG italic_z end_ARG , italic_t ) , (4a)
Imag-timeev.:z˙ν\displaystyle{\rm\text{Imag-time}\;ev.:}\;\;\;\dot{z}^{\nu}Imag-time roman_ev . : over˙ start_ARG italic_z end_ARG start_POSTSUPERSCRIPT italic_ν end_POSTSUPERSCRIPT =(gμν)1μϵ(z,t),absentsuperscriptsubscript𝑔𝜇𝜈1subscript𝜇italic-ϵ𝑧𝑡\displaystyle=-(g_{\mu\nu})^{-1}\partial_{\mu}\epsilon(\vec{z},t),= - ( italic_g start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT italic_ϵ ( over→ start_ARG italic_z end_ARG , italic_t ) , (4b)

where μ,ν=(σ,p,k,)𝜇𝜈𝜎𝑝𝑘\mu,\nu=(\sigma,p,k,\ell)italic_μ , italic_ν = ( italic_σ , italic_p , italic_k , roman_ℓ ) index the variational parameters z𝑧\vec{z}over→ start_ARG italic_z end_ARG and μ=/zμsubscript𝜇superscript𝑧𝜇\partial_{\mu}=\partial/\partial z^{\mu}∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT = ∂ / ∂ italic_z start_POSTSUPERSCRIPT italic_μ end_POSTSUPERSCRIPT. Here E(z,t)=ψ(z)|H(t)|ψ(z)𝐸𝑧𝑡bra𝜓𝑧𝐻𝑡ket𝜓𝑧E(\vec{z},t)=\bra{\psi(\vec{z})}H(t)\ket{\psi(\vec{z})}italic_E ( over→ start_ARG italic_z end_ARG , italic_t ) = ⟨ start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG | italic_H ( italic_t ) | start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ is the energy and ϵ(z,t)=E(z,t)/ψ(z)|ψ(z)italic-ϵ𝑧𝑡𝐸𝑧𝑡inner-product𝜓𝑧𝜓𝑧\epsilon(\vec{z},t)=E(\vec{z},t)/\bra{\psi(\vec{z})}\ket{\psi(\vec{z})}italic_ϵ ( over→ start_ARG italic_z end_ARG , italic_t ) = italic_E ( over→ start_ARG italic_z end_ARG , italic_t ) / ⟨ start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG | start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ is the normalized energy. We introduce the tangent vectors of the variational manifold at point z𝑧\vec{z}over→ start_ARG italic_z end_ARG,

|vμ=μ|ψ(z).ketsubscript𝑣𝜇subscript𝜇ket𝜓𝑧\ket{v_{\mu}}=\partial_{\mu}\ket{\psi(\vec{z})}.| start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ = ∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT | start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ . (5)

In terms of the tangent vectors, the simplectic form ω𝜔\omegaitalic_ω and the metric of the tangent space g𝑔gitalic_g are defined as,

ωμνsubscript𝜔𝜇𝜈\displaystyle\omega_{\mu\nu}italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT =2Imvμ|vν,absent2inner-productsubscript𝑣𝜇subscript𝑣𝜈\displaystyle=2\imaginary\bra{v_{\mu}}\ket{v_{\nu}},= 2 start_OPERATOR roman_Im end_OPERATOR ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ , (6a)
gμνsubscript𝑔𝜇𝜈\displaystyle g_{\mu\nu}italic_g start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT =2Revμ|vν,absent2inner-productsubscript𝑣𝜇subscript𝑣𝜈\displaystyle=2\real\bra{v_{\mu}}\ket{v_{\nu}},= 2 start_OPERATOR roman_Re end_OPERATOR ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ , (6b)

with their inverses denoted Ωμν(ωμν)1superscriptΩ𝜇𝜈superscriptsubscript𝜔𝜇𝜈1\Omega^{\mu\nu}\equiv\left(\omega_{\mu\nu}\right)^{-1}roman_Ω start_POSTSUPERSCRIPT italic_μ italic_ν end_POSTSUPERSCRIPT ≡ ( italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT and Gμν(gμν)1superscript𝐺𝜇𝜈superscriptsubscript𝑔𝜇𝜈1G^{\mu\nu}\equiv\left(g_{\mu\nu}\right)^{-1}italic_G start_POSTSUPERSCRIPT italic_μ italic_ν end_POSTSUPERSCRIPT ≡ ( italic_g start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT.

Next, we discuss a subtle property of the employed variational principle which is of particular relevance for the open dynamics described in Sec. III.2. Here we follow the discussion in Ref. Hackl et al. (2020). The tangent space 𝒯ψsubscript𝒯𝜓{\cal T}_{\psi}caligraphic_T start_POSTSUBSCRIPT italic_ψ end_POSTSUBSCRIPT of the variational manifold at each point |ψ(z)ket𝜓𝑧\ket{\psi(\vec{z})}| start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ is a real vector space spanned by the tangent vectors |vμketsubscript𝑣𝜇\ket{v_{\mu}}| start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ embedded in complex Hilbert space. Thus, for each basis vector |vμketsubscript𝑣𝜇\ket{v_{\mu}}| start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩, i|vμ𝑖ketsubscript𝑣𝜇i\ket{v_{\mu}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ is not guaranteed to lie in the tangent space and has to be projected onto 𝒯ψsubscript𝒯𝜓{\cal T}_{\psi}caligraphic_T start_POSTSUBSCRIPT italic_ψ end_POSTSUBSCRIPT. This projection takes the form where the complex structure, the representation of the projection of the imaginary unit, is introduced as J\indices=νμGμσωσνJ\indices{{}^{\mu}_{\nu}}=-G^{\mu\sigma}\omega_{\sigma\nu}italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT = - italic_G start_POSTSUPERSCRIPT italic_μ italic_σ end_POSTSUPERSCRIPT italic_ω start_POSTSUBSCRIPT italic_σ italic_ν end_POSTSUBSCRIPT. If J21superscript𝐽21J^{2}\neq-1italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ≠ - 1 the projection is non-trivial, that is, i|vμ𝑖ketsubscript𝑣𝜇i\ket{v_{\mu}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ does not lie in the tangent space. On the other hand, when J2=1superscript𝐽21J^{2}=-1italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - 1 on every tangent space, the variational manifold is Kähler and i|vν=J\indices|vμνμ𝑖ketsubscript𝑣𝜈𝐽\indicessuperscriptsubscriptketsubscript𝑣𝜇𝜈𝜇i\ket{v_{\nu}}=J\indices{{}^{\mu}_{\nu}}\ket{v_{\mu}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ = italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩. In this case, J𝐽Jitalic_J specifies the decomposition of i|vν𝑖ketsubscript𝑣𝜈i\ket{v_{\nu}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ on the tangent space vectors |vμketsubscript𝑣𝜇\ket{v_{\mu}}| start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩.

II.1 Analytic expressions for energies and energy gradients

Having introduced the NGS ansatz in Eq. (1) and its equations of motion in Eq. (4), we now show how to obtain analytic expressions for the two crucial ingredients to the equations of motion: the energy gradients μEsubscript𝜇𝐸\partial_{\mu}E∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT italic_E and the geometric structures g,ω𝑔𝜔g,\omegaitalic_g , italic_ω.

Consider a generic spin-boson Hamiltonian. Any such Hamiltonian can be cast in the form H=(HsHb)𝐻tensor-productsubscript𝐻ssubscript𝐻bH=\sum(H_{\text{s}}\otimes H_{\text{b}})italic_H = ∑ ( italic_H start_POSTSUBSCRIPT s end_POSTSUBSCRIPT ⊗ italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT ), where Hssubscript𝐻sH_{\text{s}}italic_H start_POSTSUBSCRIPT s end_POSTSUBSCRIPT (Hbsubscript𝐻bH_{\text{b}}italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT) describes the spin (bosonic) degrees of freedom.

For a single spin, Ns=1subscript𝑁𝑠1N_{s}=1italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 1, the Pauli matrices {σ0,σx,σy,σz}subscript𝜎0subscript𝜎𝑥subscript𝜎𝑦subscript𝜎𝑧\{\sigma_{0},\sigma_{x},\sigma_{y},\sigma_{z}\}{ italic_σ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , italic_σ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT , italic_σ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT , italic_σ start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT } form a complete basis for Hssubscript𝐻sH_{\text{s}}italic_H start_POSTSUBSCRIPT s end_POSTSUBSCRIPT. For Hs=σzsubscript𝐻ssubscript𝜎𝑧H_{\text{s}}=\sigma_{z}italic_H start_POSTSUBSCRIPT s end_POSTSUBSCRIPT = italic_σ start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT and Hs=σxsubscript𝐻ssubscript𝜎𝑥H_{\text{s}}=\sigma_{x}italic_H start_POSTSUBSCRIPT s end_POSTSUBSCRIPT = italic_σ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT, we obtain, respectively,

σzHbψsubscriptdelimited-⟨⟩subscript𝜎𝑧subscript𝐻b𝜓\displaystyle\langle\sigma_{z}H_{\text{b}}\rangle_{\psi}⟨ italic_σ start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT ⟩ start_POSTSUBSCRIPT italic_ψ end_POSTSUBSCRIPT =18p,pNpUp()HbUp()Up()HbUp(),absent18superscriptsubscript𝑝superscript𝑝subscript𝑁𝑝delimited-⟨⟩superscriptsuperscriptsubscript𝑈superscript𝑝subscript𝐻bsuperscriptsubscript𝑈𝑝delimited-⟨⟩superscriptsuperscriptsubscript𝑈superscript𝑝subscript𝐻bsuperscriptsubscript𝑈𝑝\displaystyle=\frac{1}{8}\sum_{p,p^{\prime}}^{N_{p}}\langle{{{U}_{p^{\prime}}^% {(\uparrow)}}}^{\dagger}H_{\text{b}}{U}_{p}^{(\uparrow)}\rangle-\langle{{{U}_{% p^{\prime}}^{(\downarrow)}}}^{\dagger}H_{\text{b}}{U}_{p}^{(\downarrow)}\rangle,= divide start_ARG 1 end_ARG start_ARG 8 end_ARG ∑ start_POSTSUBSCRIPT italic_p , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⟨ italic_U start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↑ ) end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↑ ) end_POSTSUPERSCRIPT ⟩ - ⟨ italic_U start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↓ ) end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↓ ) end_POSTSUPERSCRIPT ⟩ , (7a)
σxHbψsubscriptdelimited-⟨⟩subscript𝜎𝑥subscript𝐻b𝜓\displaystyle\langle\sigma_{x}H_{\text{b}}\rangle_{\psi}⟨ italic_σ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT ⟩ start_POSTSUBSCRIPT italic_ψ end_POSTSUBSCRIPT =18p,pNpUp()HbUp()+Up()HbUp(),absent18superscriptsubscript𝑝superscript𝑝subscript𝑁𝑝delimited-⟨⟩superscriptsuperscriptsubscript𝑈superscript𝑝subscript𝐻bsuperscriptsubscript𝑈𝑝delimited-⟨⟩superscriptsuperscriptsubscript𝑈superscript𝑝subscript𝐻bsuperscriptsubscript𝑈𝑝\displaystyle=\frac{1}{8}\sum_{p,p^{\prime}}^{N_{p}}\langle{{{U}_{p^{\prime}}^% {(\uparrow)}}}^{\dagger}H_{\text{b}}{U}_{p}^{(\downarrow)}\rangle+\langle{{{U}% _{p^{\prime}}^{(\downarrow)}}}^{\dagger}H_{\text{b}}{U}_{p}^{(\uparrow)}\rangle,= divide start_ARG 1 end_ARG start_ARG 8 end_ARG ∑ start_POSTSUBSCRIPT italic_p , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⟨ italic_U start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↑ ) end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↓ ) end_POSTSUPERSCRIPT ⟩ + ⟨ italic_U start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↓ ) end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( ↑ ) end_POSTSUPERSCRIPT ⟩ , (7b)

where the expectation values on the right-hand side are evaluated with respect to the bosonic vacuum |0ket0|0\rangle| 0 ⟩. Equivalent expressions for Hs=σ0subscript𝐻ssubscript𝜎0H_{\text{s}}=\sigma_{0}italic_H start_POSTSUBSCRIPT s end_POSTSUBSCRIPT = italic_σ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT and Hs=σysubscript𝐻ssubscript𝜎𝑦H_{\text{s}}=\sigma_{y}italic_H start_POSTSUBSCRIPT s end_POSTSUBSCRIPT = italic_σ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT can be obtained using the same procedure. Thus, the computation reduces to evaluating the many-mode overlap 0|Up(σ)HbUp(σ)|0quantum-operator-product0superscriptsuperscriptsubscript𝑈superscript𝑝superscript𝜎subscript𝐻bsuperscriptsubscript𝑈𝑝𝜎0\langle 0|{{{U}_{p^{\prime}}^{(\sigma^{\prime})}}}^{\dagger}H_{\text{b}}{U}_{p% }^{(\sigma)}|0\rangle⟨ 0 | italic_U start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | 0 ⟩ for each p,p,σ,σ𝑝superscript𝑝𝜎superscript𝜎p,p^{\prime},\sigma,\sigma^{\prime}italic_p , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_σ , italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT. Because both the multimode displacement 𝒟(α)𝒟𝛼\mathcal{D}(\vec{\alpha})caligraphic_D ( over→ start_ARG italic_α end_ARG ) and squeezing 𝒮(ζ)𝒮𝜁\mathcal{S}(\vec{\zeta})caligraphic_S ( over→ start_ARG italic_ζ end_ARG ) operators in our ansatz are diagonal in mode operators, we can write the many-mode overlap as a product of single-mode overlaps,

Up(σ)HbUp(σ)=k=1N0|𝒮(ζk(p))𝒟(αk(p))Hb𝒟(αk(p))𝒮(ζk(p))|0.delimited-⟨⟩superscriptsuperscriptsubscript𝑈superscript𝑝superscript𝜎subscript𝐻bsuperscriptsubscript𝑈𝑝𝜎superscriptsubscriptproduct𝑘1𝑁bra0superscript𝒮superscriptsubscript𝜁𝑘superscript𝑝superscript𝒟superscriptsubscript𝛼𝑘superscript𝑝subscript𝐻b𝒟superscriptsubscript𝛼𝑘𝑝𝒮superscriptsubscript𝜁𝑘𝑝ket0\displaystyle\begin{split}&\langle{{{U}_{p^{\prime}}^{(\sigma^{\prime})}}}^{% \dagger}H_{\text{b}}{U}_{p}^{(\sigma)}\rangle\\ &=\prod_{k=1}^{N}\bra{0}\mathcal{S}^{\dagger}(\zeta_{k}^{(p^{\prime})})% \mathcal{D}^{\dagger}(\alpha_{k}^{(p^{\prime})})H_{\text{b}}\mathcal{D}(\alpha% _{k}^{(p)})\mathcal{S}(\zeta_{k}^{(p)})\ket{0}.\end{split}start_ROW start_CELL end_CELL start_CELL ⟨ italic_U start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ∏ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT ⟨ start_ARG 0 end_ARG | caligraphic_S start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT ) caligraphic_D start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT ) italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT caligraphic_D ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_p ) end_POSTSUPERSCRIPT ) caligraphic_S ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_p ) end_POSTSUPERSCRIPT ) | start_ARG 0 end_ARG ⟩ . end_CELL end_ROW (8)

To evaluate the single mode overlaps in Eq. (8) without specifying Hbsubscript𝐻bH_{\text{b}}italic_H start_POSTSUBSCRIPT b end_POSTSUBSCRIPT, we use the following identity,

Θ|aman|Φs=(β)m(β)nχgs(β)|β=0,braΘsuperscript𝑎superscript𝑚superscript𝑎𝑛subscriptketΦ𝑠evaluated-atsuperscript𝛽𝑚superscriptsuperscript𝛽𝑛superscriptsubscript𝜒𝑔𝑠𝛽𝛽0\displaystyle\begin{split}\bra{\Theta}{a^{\dagger^{m}}}a^{n}\ket{\Phi}_{s}=% \left(\frac{\partial}{\partial\beta}\right)^{m}\left(-\frac{\partial}{\partial% \beta^{*}}\right)^{n}\chi_{g}^{s}(\beta)\bigg{|}_{\beta=0},\end{split}start_ROW start_CELL ⟨ start_ARG roman_Θ end_ARG | italic_a start_POSTSUPERSCRIPT † start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT italic_a start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT | start_ARG roman_Φ end_ARG ⟩ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = ( divide start_ARG ∂ end_ARG start_ARG ∂ italic_β end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( - divide start_ARG ∂ end_ARG start_ARG ∂ italic_β start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT end_ARG ) start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT italic_χ start_POSTSUBSCRIPT italic_g end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_s end_POSTSUPERSCRIPT ( italic_β ) | start_POSTSUBSCRIPT italic_β = 0 end_POSTSUBSCRIPT , end_CELL end_ROW (9)

where |Θ,|ΦketΘketΦ\ket{\Theta},\ket{\Phi}| start_ARG roman_Θ end_ARG ⟩ , | start_ARG roman_Φ end_ARG ⟩ are any two quantum states 333note a similar identity holds for open quantum states, obtained by using ρ𝜌\rhoitalic_ρ and the trace and

χgs(β)=Θ|𝒟(β)|Φe(s/2)ββ,superscriptsubscript𝜒𝑔𝑠𝛽braΘ𝒟𝛽ketΦsuperscript𝑒𝑠2𝛽superscript𝛽\displaystyle\chi_{g}^{s}(\beta)=\bra{\Theta}\mathcal{D}(\beta)\ket{\Phi}e^{(s% /2)\beta\beta^{*}},italic_χ start_POSTSUBSCRIPT italic_g end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_s end_POSTSUPERSCRIPT ( italic_β ) = ⟨ start_ARG roman_Θ end_ARG | caligraphic_D ( italic_β ) | start_ARG roman_Φ end_ARG ⟩ italic_e start_POSTSUPERSCRIPT ( italic_s / 2 ) italic_β italic_β start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , (10)

is a generalised s𝑠sitalic_s-ordered characteristic function with s=1𝑠1s=1italic_s = 1 (s=1𝑠1s=-1italic_s = - 1) denoting (anti-)normal ordering of the bosonic operators a,a𝑎superscript𝑎a,a^{\dagger}italic_a , italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT. We note that in the calculation of the single mode overlaps in Eq. (8) using Eq. (9), |ΘketΘ\ket{\Theta}| start_ARG roman_Θ end_ARG ⟩ and |ΦketΦ\ket{\Phi}| start_ARG roman_Φ end_ARG ⟩ are single mode Gaussian states. The overlap between any two single mode Gaussian states can be evaluated analytically Mo/ller et al. (1996), which gives us an analytic expression for χgs(β)superscriptsubscript𝜒𝑔𝑠𝛽\chi_{g}^{s}(\beta)italic_χ start_POSTSUBSCRIPT italic_g end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_s end_POSTSUPERSCRIPT ( italic_β ). Therefore, we can evaluate the partial derivatives in Eq. (9) with respect to β,β𝛽superscript𝛽\beta,\beta^{*}italic_β , italic_β start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT for any m,n𝑚𝑛m,nitalic_m , italic_n and find analytic expressions for the energy of any Hamiltonian that is polynomial in a,a𝑎superscript𝑎a,a^{\dagger}italic_a , italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT operators. From this, we can also obtain analytic expressions for the energy gradients, μEsubscript𝜇𝐸\partial_{\mu}E∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT italic_E, as needed in the EOMs.

Example: Energy gradient of harmonic oscillator To demonstrate the above machinery we compute the energy gradient of the harmonic oscillator H=aa𝐻superscript𝑎𝑎H=a^{\dagger}aitalic_H = italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a with respect to the NGS ansatz. We set Np=2subscript𝑁𝑝2N_{p}=2italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 2 and ζ=0𝜁0\zeta=0italic_ζ = 0 for simplicity, so |ψ=eκ1+iθ1|α1+eκ2+iθ2|α2ket𝜓superscript𝑒subscript𝜅1𝑖subscript𝜃1ketsubscript𝛼1superscript𝑒subscript𝜅2𝑖subscript𝜃2ketsubscript𝛼2\ket{\psi}=e^{\kappa_{1}+i\theta_{1}}\ket{\alpha_{1}}+e^{\kappa_{2}+i\theta_{2% }}\ket{\alpha_{2}}| start_ARG italic_ψ end_ARG ⟩ = italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_i italic_θ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT | start_ARG italic_α start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ + italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_i italic_θ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT | start_ARG italic_α start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩, with αi=xi+iyisubscript𝛼𝑖subscript𝑥𝑖𝑖subscript𝑦𝑖\alpha_{i}=x_{i}+iy_{i}italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_i italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. The energy is

E=H𝐸delimited-⟨⟩𝐻\displaystyle E=\langle H\rangleitalic_E = ⟨ italic_H ⟩ =e2κ1(x12+y12)+e2κ2(x22+y22)absentsuperscript𝑒2subscript𝜅1superscriptsubscript𝑥12superscriptsubscript𝑦12superscript𝑒2subscript𝜅2superscriptsubscript𝑥22superscriptsubscript𝑦22\displaystyle=e^{2\kappa_{1}}(x_{1}^{2}+y_{1}^{2})+e^{2\kappa_{2}}(x_{2}^{2}+y% _{2}^{2})= italic_e start_POSTSUPERSCRIPT 2 italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) + italic_e start_POSTSUPERSCRIPT 2 italic_κ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT )
+(eκ1+κ2+i(θ1θ2)(x1+iy1)(x2iy2)+h.c.),superscript𝑒subscript𝜅1subscript𝜅2𝑖subscript𝜃1subscript𝜃2subscript𝑥1𝑖subscript𝑦1subscript𝑥2𝑖subscript𝑦2h.c.\displaystyle+\left(e^{\kappa_{1}+\kappa_{2}+i(\theta_{1}-\theta_{2})}(x_{1}+% iy_{1})(x_{2}-iy_{2})+\text{h.c.}\right),+ ( italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_i ( italic_θ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_θ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_i italic_y start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ( italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_i italic_y start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) + h.c. ) ,

and its partial derivatives with respect to x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT and κ1subscript𝜅1\kappa_{1}italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT are given by x1E=2e2κ1x1+[eκ1+κ2+i(θ1θ2)(x2iy2)+h.c.]subscriptsubscript𝑥1𝐸2superscript𝑒2subscript𝜅1subscript𝑥1delimited-[]superscript𝑒subscript𝜅1subscript𝜅2𝑖subscript𝜃1subscript𝜃2subscript𝑥2𝑖subscript𝑦2h.c.\partial_{x_{1}}E=2e^{2\kappa_{1}}x_{1}+[e^{\kappa_{1}+\kappa_{2}+i(\theta_{1}% -\theta_{2})}(x_{2}-iy_{2})+\text{h.c.}]∂ start_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E = 2 italic_e start_POSTSUPERSCRIPT 2 italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + [ italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_i ( italic_θ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_θ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_i italic_y start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) + h.c. ] and κ1E=2e2κ1(x12+y12)+[eκ1+κ2+i(θ1θ2)(x1+iy1)(x2iy2)]subscriptsubscript𝜅1𝐸2superscript𝑒2subscript𝜅1superscriptsubscript𝑥12superscriptsubscript𝑦12delimited-[]superscript𝑒subscript𝜅1subscript𝜅2𝑖subscript𝜃1subscript𝜃2subscript𝑥1𝑖subscript𝑦1subscript𝑥2𝑖subscript𝑦2\partial_{\kappa_{1}}E=2e^{2\kappa_{1}}(x_{1}^{2}+y_{1}^{2})+[e^{\kappa_{1}+% \kappa_{2}+i(\theta_{1}-\theta_{2})}(x_{1}+iy_{1})(x_{2}-iy_{2})]∂ start_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E = 2 italic_e start_POSTSUPERSCRIPT 2 italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) + [ italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_i ( italic_θ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_θ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_i italic_y start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ( italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_i italic_y start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) ], respectively. The partial derivatives y1Esubscriptsubscript𝑦1𝐸\partial_{y_{1}}E∂ start_POSTSUBSCRIPT italic_y start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E, x2Esubscriptsubscript𝑥2𝐸\partial_{x_{2}}E∂ start_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E, y2Esubscriptsubscript𝑦2𝐸\partial_{y_{2}}E∂ start_POSTSUBSCRIPT italic_y start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E, κ2Esubscriptsubscript𝜅2𝐸\partial_{\kappa_{2}}E∂ start_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E, θ1Esubscriptsubscript𝜃1𝐸\partial_{\theta_{1}}E∂ start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E, and θ2Esubscriptsubscript𝜃2𝐸\partial_{\theta_{2}}E∂ start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E can be evaluated using the same procedure. We note that these expressions can be straightforwardly extended to any Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT, and to any bosonic Hamiltonian that is polynomial in a,a𝑎superscript𝑎a,a^{\dagger}italic_a , italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT using Eq. (9).

II.2 Tangent vectors and the overlap matrix

Next, we explain how to compute the tangent vectors of the ansatz, |vμ=μ|ψ(z)=σ,p,k,|ψ(z)ketsubscript𝑣𝜇subscript𝜇ket𝜓𝑧subscript𝜎𝑝𝑘ket𝜓𝑧\ket{v_{\mu}}=\partial_{\mu}\ket{\psi(\vec{z})}=\partial_{\sigma,p,k,\ell}\ket% {\psi(\vec{z})}| start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ = ∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT | start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ = ∂ start_POSTSUBSCRIPT italic_σ , italic_p , italic_k , roman_ℓ end_POSTSUBSCRIPT | start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩. Plugging Eq. (1) into Eq. (5) we find,

|vμ=zσ,p,k,Up(σ)|σ,0=kkNb[𝒟(αk)𝒮(ζk)]×zσ,p,k,[eκ+iθ𝒟(αk)𝒮(ζk)]|σ,0.ketsubscript𝑣𝜇subscript𝑧𝜎𝑝𝑘superscriptsubscript𝑈𝑝𝜎ket𝜎0superscriptsubscriptproductsuperscript𝑘𝑘subscript𝑁𝑏delimited-[]𝒟subscript𝛼superscript𝑘𝒮subscript𝜁superscript𝑘subscript𝑧𝜎𝑝𝑘delimited-[]superscript𝑒𝜅𝑖𝜃𝒟subscript𝛼𝑘𝒮subscript𝜁𝑘ket𝜎0\displaystyle\begin{split}\ket{v_{\mu}}&=\frac{\partial}{\partial z_{\sigma,p,% k,\ell}}U_{p}^{(\sigma)}\ket{\sigma,0}\\ &=\prod_{k^{\prime}\neq k}^{N_{b}}\biggl{[}\mathcal{D}(\alpha_{k^{\prime}})% \mathcal{S}(\zeta_{k^{\prime}})\biggr{]}\\ &\hskip 10.0pt\times\frac{\partial}{\partial z_{\sigma,p,k,\ell}}\biggl{[}e^{% \kappa+i\theta}\mathcal{D}(\alpha_{k})\mathcal{S}(\zeta_{k})\biggr{]}\ket{% \sigma,0}.\end{split}start_ROW start_CELL | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ end_CELL start_CELL = divide start_ARG ∂ end_ARG start_ARG ∂ italic_z start_POSTSUBSCRIPT italic_σ , italic_p , italic_k , roman_ℓ end_POSTSUBSCRIPT end_ARG italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | start_ARG italic_σ , 0 end_ARG ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ∏ start_POSTSUBSCRIPT italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ≠ italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUPERSCRIPT [ caligraphic_D ( italic_α start_POSTSUBSCRIPT italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) caligraphic_S ( italic_ζ start_POSTSUBSCRIPT italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL × divide start_ARG ∂ end_ARG start_ARG ∂ italic_z start_POSTSUBSCRIPT italic_σ , italic_p , italic_k , roman_ℓ end_POSTSUBSCRIPT end_ARG [ italic_e start_POSTSUPERSCRIPT italic_κ + italic_i italic_θ end_POSTSUPERSCRIPT caligraphic_D ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) caligraphic_S ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) ] | start_ARG italic_σ , 0 end_ARG ⟩ . end_CELL end_ROW (11)

The multi-mode, multi-polaron calculation now reduces to calculating the tangent vector of a single-mode Gaussian state for a single polaron, i.e. zσ,p,k,eκ+iθ𝒟(αk)𝒮(ζk)|0subscript𝑧𝜎𝑝𝑘superscript𝑒𝜅𝑖𝜃𝒟subscript𝛼𝑘𝒮subscript𝜁𝑘ket0\frac{\partial}{\partial z_{\sigma,p,k,\ell}}e^{\kappa+i\theta}\mathcal{D}(% \alpha_{k})\mathcal{S}(\zeta_{k})\ket{0}divide start_ARG ∂ end_ARG start_ARG ∂ italic_z start_POSTSUBSCRIPT italic_σ , italic_p , italic_k , roman_ℓ end_POSTSUBSCRIPT end_ARG italic_e start_POSTSUPERSCRIPT italic_κ + italic_i italic_θ end_POSTSUPERSCRIPT caligraphic_D ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) caligraphic_S ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) | start_ARG 0 end_ARG ⟩. We proceed as follows: (i) using the disentangled forms of the displacement and squeezing operators, we normal order 𝒟(αk)𝒮(ζk)|0𝒟subscript𝛼𝑘𝒮subscript𝜁𝑘ket0\mathcal{D}(\alpha_{k})\mathcal{S}(\zeta_{k})\ket{0}caligraphic_D ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) caligraphic_S ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) | start_ARG 0 end_ARG ⟩ such that only asuperscript𝑎a^{\dagger}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT operators remain, which (ii) enables us to obtain concise analytic expressions for the tangent vectors of 𝒟(αk)𝒮(ζk)|0𝒟subscript𝛼𝑘𝒮subscript𝜁𝑘ket0\mathcal{D}(\alpha_{k})\mathcal{S}(\zeta_{k})\ket{0}caligraphic_D ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) caligraphic_S ( italic_ζ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) | start_ARG 0 end_ARG ⟩, and (iii) recover the general multi-mode, multi-polaron case and outline the computation of the overlap matrix ωμνsubscript𝜔𝜇𝜈\omega_{\mu\nu}italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT.

The disentangled forms of the single-mode displacement and squeezing operators are given by,

𝒟(α)𝒟𝛼\displaystyle\mathcal{D}(\alpha)caligraphic_D ( italic_α ) =eαaαa=e|α|22eαaeαa,absentsuperscript𝑒𝛼superscript𝑎superscript𝛼𝑎superscript𝑒superscript𝛼22superscript𝑒𝛼superscript𝑎superscript𝑒superscript𝛼𝑎\displaystyle=e^{\alpha a^{\dagger}-\alpha^{*}a}=e^{-\frac{\absolutevalue{% \alpha}^{2}}{2}}e^{\alpha a^{\dagger}}e^{-\alpha^{*}a},= italic_e start_POSTSUPERSCRIPT italic_α italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT - italic_α start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_a end_POSTSUPERSCRIPT = italic_e start_POSTSUPERSCRIPT - divide start_ARG | start_ARG italic_α end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT italic_α italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT - italic_α start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_a end_POSTSUPERSCRIPT , (12)
𝒮(ζ)𝒮𝜁\displaystyle\mathcal{S}(\zeta)caligraphic_S ( italic_ζ ) =e12(ζa2ζa2)=er¯a2erˇ(aa+12)er¯a2,absentsuperscript𝑒12𝜁superscriptsuperscript𝑎2superscript𝜁superscript𝑎2superscript𝑒¯𝑟superscriptsuperscript𝑎2superscript𝑒ˇ𝑟superscript𝑎𝑎12superscript𝑒¯𝑟superscript𝑎2\displaystyle=e^{\frac{1}{2}(\zeta{a^{\dagger}}^{2}-\zeta^{*}a^{2})}=e^{\bar{r% }{a^{\dagger}}^{2}}e^{-{\check{r}}(a^{\dagger}a+\frac{1}{2})}e^{-\bar{r}a^{2}},= italic_e start_POSTSUPERSCRIPT divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( italic_ζ italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - italic_ζ start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_a start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT = italic_e start_POSTSUPERSCRIPT over¯ start_ARG italic_r end_ARG italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT - overroman_ˇ start_ARG italic_r end_ARG ( italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a + divide start_ARG 1 end_ARG start_ARG 2 end_ARG ) end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT - over¯ start_ARG italic_r end_ARG italic_a start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , (13)

where ζ=reiϕ𝜁𝑟superscript𝑒𝑖italic-ϕ\zeta=re^{i\phi}italic_ζ = italic_r italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT, r¯=eiϕtanh(r)/2¯𝑟superscript𝑒𝑖italic-ϕ𝑟2\bar{r}=e^{i\phi}\tanh(r)/2over¯ start_ARG italic_r end_ARG = italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) / 2 and rˇ=ln(cosh(r))ˇ𝑟𝑟\check{r}=\ln(\cosh(r))overroman_ˇ start_ARG italic_r end_ARG = roman_ln ( start_ARG roman_cosh ( start_ARG italic_r end_ARG ) end_ARG ). When applied to |ψ(z)ket𝜓𝑧|\psi(\vec{z})\rangle| italic_ψ ( over→ start_ARG italic_z end_ARG ) ⟩, 𝒮(ζ)𝒮𝜁\mathcal{S}(\zeta)caligraphic_S ( italic_ζ ) always acts directly on the bosonic vacuum which simplifies its action to,

𝒮(ζ)|0=1cosh(r)er¯a2|0.𝒮𝜁ket01𝑟superscript𝑒¯𝑟superscriptsuperscript𝑎2ket0\displaystyle\begin{split}\mathcal{S}(\zeta)\ket{0}&=\frac{1}{\sqrt{\cosh{r}}}% e^{\bar{r}{a^{\dagger}}^{2}}\ket{0}.\end{split}start_ROW start_CELL caligraphic_S ( italic_ζ ) | start_ARG 0 end_ARG ⟩ end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG square-root start_ARG roman_cosh ( start_ARG italic_r end_ARG ) end_ARG end_ARG italic_e start_POSTSUPERSCRIPT over¯ start_ARG italic_r end_ARG italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT | start_ARG 0 end_ARG ⟩ . end_CELL end_ROW (14)

After normal-ordering 𝒟(α)𝒮(ζ)|0𝒟𝛼𝒮𝜁ket0\mathcal{D}(\alpha)\mathcal{S}(\zeta)\ket{0}caligraphic_D ( italic_α ) caligraphic_S ( italic_ζ ) | start_ARG 0 end_ARG ⟩, we arrive at

𝒟(α)𝒮(ζ)|0=e|α|22er¯α2cosh(r)eαaer¯(a22αa)|0,𝒟𝛼𝒮𝜁ket0superscript𝑒superscript𝛼22superscript𝑒¯𝑟superscriptsuperscript𝛼2𝑟superscript𝑒𝛼superscript𝑎superscript𝑒¯𝑟superscriptsuperscript𝑎22superscript𝛼superscript𝑎ket0\displaystyle\begin{split}\mathcal{D}(\alpha)\mathcal{S}(\zeta)\ket{0}&=\frac{% e^{-\frac{\absolutevalue{\alpha}^{2}}{2}}e^{\bar{r}{\alpha^{*}}^{2}}}{\sqrt{% \cosh(r)}}e^{\alpha a^{\dagger}}e^{\bar{r}({a^{\dagger}}^{2}-2\alpha^{*}a^{% \dagger})}\ket{0},\end{split}start_ROW start_CELL caligraphic_D ( italic_α ) caligraphic_S ( italic_ζ ) | start_ARG 0 end_ARG ⟩ end_CELL start_CELL = divide start_ARG italic_e start_POSTSUPERSCRIPT - divide start_ARG | start_ARG italic_α end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT over¯ start_ARG italic_r end_ARG italic_α start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT end_ARG start_ARG square-root start_ARG roman_cosh ( start_ARG italic_r end_ARG ) end_ARG end_ARG italic_e start_POSTSUPERSCRIPT italic_α italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT over¯ start_ARG italic_r end_ARG ( italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - 2 italic_α start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT | start_ARG 0 end_ARG ⟩ , end_CELL end_ROW (15)

where we used the relation exaf(a,a)exa=f(a,a+x)superscript𝑒𝑥𝑎𝑓𝑎superscript𝑎superscript𝑒𝑥𝑎𝑓𝑎superscript𝑎𝑥e^{xa}f(a,a^{\dagger})e^{-xa}=f(a,a^{\dagger}+x)italic_e start_POSTSUPERSCRIPT italic_x italic_a end_POSTSUPERSCRIPT italic_f ( italic_a , italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) italic_e start_POSTSUPERSCRIPT - italic_x italic_a end_POSTSUPERSCRIPT = italic_f ( italic_a , italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT + italic_x ) (Louisell, 1973, §3.3 Theorem 2) and the fact that eαa|0=|0superscript𝑒superscript𝛼𝑎ket0ket0e^{-\alpha^{*}a}\ket{0}=\ket{0}italic_e start_POSTSUPERSCRIPT - italic_α start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_a end_POSTSUPERSCRIPT | start_ARG 0 end_ARG ⟩ = | start_ARG 0 end_ARG ⟩. Note that this expression contains only asuperscript𝑎a^{\dagger}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT and thus all terms commute, enabling us to take the derivative with respect to the variational parameters to obtain the tangent vectors.

Computing tangent vectors. For each p𝑝pitalic_p, σ𝜎\sigmaitalic_σ and k𝑘kitalic_k there are six variational parameters: {κ,θ,x,y,r,ϕ}𝜅𝜃𝑥𝑦𝑟italic-ϕ\{\kappa,\theta,x,y,r,\phi\}{ italic_κ , italic_θ , italic_x , italic_y , italic_r , italic_ϕ }. The tangent vectors for the norm κ𝜅\kappaitalic_κ and phase θ𝜃\thetaitalic_θ are simply

κUp(σ)|σ,0=Up(σ)|σ,0,subscript𝜅superscriptsubscript𝑈𝑝𝜎ket𝜎0superscriptsubscript𝑈𝑝𝜎ket𝜎0\displaystyle\partial_{\kappa}U_{p}^{(\sigma)}\ket{\sigma,0}=U_{p}^{(\sigma)}% \ket{\sigma,0},∂ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | start_ARG italic_σ , 0 end_ARG ⟩ = italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | start_ARG italic_σ , 0 end_ARG ⟩ , (16a)
θUp(σ)|σ,0=iUp(σ)|σ,0,subscript𝜃superscriptsubscript𝑈𝑝𝜎ket𝜎0𝑖superscriptsubscript𝑈𝑝𝜎ket𝜎0\displaystyle\partial_{\theta}U_{p}^{(\sigma)}\ket{\sigma,0}=iU_{p}^{(\sigma)}% \ket{\sigma,0},∂ start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | start_ARG italic_σ , 0 end_ARG ⟩ = italic_i italic_U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_σ ) end_POSTSUPERSCRIPT | start_ARG italic_σ , 0 end_ARG ⟩ , (16b)

and are independent of the mode number k𝑘kitalic_k. We use the normal-ordered form of 𝒟(α)𝒮(ζ)|0𝒟𝛼𝒮𝜁ket0\mathcal{D}(\alpha)\mathcal{S}(\zeta)\ket{0}caligraphic_D ( italic_α ) caligraphic_S ( italic_ζ ) | start_ARG 0 end_ARG ⟩, Eq. (15), and define |α,ζ𝒟(α)𝒮(ζ)|0ket𝛼𝜁𝒟𝛼𝒮𝜁ket0\ket{\alpha,\zeta}\equiv\mathcal{D}(\alpha)\mathcal{S}(\zeta)\ket{0}| start_ARG italic_α , italic_ζ end_ARG ⟩ ≡ caligraphic_D ( italic_α ) caligraphic_S ( italic_ζ ) | start_ARG 0 end_ARG ⟩ to find the tangent vectors for x𝑥xitalic_x, y𝑦yitalic_y, r𝑟ritalic_r and ϕitalic-ϕ\phiitalic_ϕ,

x|α,ζsubscript𝑥ket𝛼𝜁\displaystyle\partial_{x}\ket{\alpha,\zeta}∂ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT | start_ARG italic_α , italic_ζ end_ARG ⟩ =(fx+gxa)|α,ζ,absentsubscript𝑓𝑥subscript𝑔𝑥superscript𝑎ket𝛼𝜁\displaystyle=(f_{x}+g_{x}a^{\dagger})\ket{\alpha,\zeta},= ( italic_f start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT + italic_g start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) | start_ARG italic_α , italic_ζ end_ARG ⟩ , (17a)
y|α,ζsubscript𝑦ket𝛼𝜁\displaystyle\partial_{y}\ket{\alpha,\zeta}∂ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT | start_ARG italic_α , italic_ζ end_ARG ⟩ =(fy+gya)|α,ζ,absentsubscript𝑓𝑦subscript𝑔𝑦superscript𝑎ket𝛼𝜁\displaystyle=(f_{y}+g_{y}a^{\dagger})\ket{\alpha,\zeta},= ( italic_f start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT + italic_g start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) | start_ARG italic_α , italic_ζ end_ARG ⟩ , (17b)
r|α,ζsubscript𝑟ket𝛼𝜁\displaystyle\partial_{r}\ket{\alpha,\zeta}∂ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT | start_ARG italic_α , italic_ζ end_ARG ⟩ =(fr+gra+hra2)|α,ζ,absentsubscript𝑓𝑟subscript𝑔𝑟superscript𝑎subscript𝑟superscriptsuperscript𝑎2ket𝛼𝜁\displaystyle=(f_{r}+g_{r}a^{\dagger}+h_{r}{a^{\dagger}}^{2})\ket{\alpha,\zeta},= ( italic_f start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT + italic_g start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT + italic_h start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) | start_ARG italic_α , italic_ζ end_ARG ⟩ , (17c)
ϕ|α,ζsubscriptitalic-ϕket𝛼𝜁\displaystyle\partial_{\phi}\ket{\alpha,\zeta}∂ start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT | start_ARG italic_α , italic_ζ end_ARG ⟩ =(fϕ+gϕa+hϕa2)|α,ζ,absentsubscript𝑓italic-ϕsubscript𝑔italic-ϕsuperscript𝑎subscriptitalic-ϕsuperscriptsuperscript𝑎2ket𝛼𝜁\displaystyle=(f_{\phi}+g_{\phi}a^{\dagger}+h_{\phi}{a^{\dagger}}^{2})\ket{% \alpha,\zeta},= ( italic_f start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT + italic_g start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT + italic_h start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) | start_ARG italic_α , italic_ζ end_ARG ⟩ , (17d)

where we have introduced the following c𝑐citalic_c-number functions f,g𝑓𝑔f,gitalic_f , italic_g:

fxsubscript𝑓𝑥\displaystyle f_{x}italic_f start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT =eiϕtanh(r)(xiy)x,absentsuperscript𝑒𝑖italic-ϕ𝑟𝑥𝑖𝑦𝑥\displaystyle=e^{i\phi}\tanh(r)(x-iy)-x,= italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) ( italic_x - italic_i italic_y ) - italic_x , (18a)
gxsubscript𝑔𝑥\displaystyle g_{x}italic_g start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT =1eiϕtanh(r),absent1superscript𝑒𝑖italic-ϕ𝑟\displaystyle=1-e^{i\phi}\tanh(r),= 1 - italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) , (18b)
fysubscript𝑓𝑦\displaystyle f_{y}italic_f start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT =eiϕtanh(r)(y+ix)y,absentsuperscript𝑒𝑖italic-ϕ𝑟𝑦𝑖𝑥𝑦\displaystyle=-e^{i\phi}\tanh(r)(y+ix)-y,= - italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) ( italic_y + italic_i italic_x ) - italic_y , (18c)
gysubscript𝑔𝑦\displaystyle g_{y}italic_g start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT =i(1+eiϕtanh(r)),absent𝑖1superscript𝑒𝑖italic-ϕ𝑟\displaystyle=i(1+e^{i\phi}\tanh(r)),= italic_i ( 1 + italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) ) , (18d)
frsubscript𝑓𝑟\displaystyle f_{r}italic_f start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT =(1/2)[tanh(r)+eiϕsech(r)2(xiy)2],absent12delimited-[]𝑟superscript𝑒𝑖italic-ϕsuperscript𝑟2superscript𝑥𝑖𝑦2\displaystyle=(1/2)[-\tanh(r)+e^{i\phi}\sech(r)^{2}(x-iy)^{2}],= ( 1 / 2 ) [ - roman_tanh ( start_ARG italic_r end_ARG ) + italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_sech ( start_ARG italic_r end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_x - italic_i italic_y ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ] , (18e)
grsubscript𝑔𝑟\displaystyle g_{r}italic_g start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT =(1/2)eiϕsech(r)2(2iy2x),absent12superscript𝑒𝑖italic-ϕsuperscript𝑟22𝑖𝑦2𝑥\displaystyle=(1/2)e^{i\phi}\sech(r)^{2}(2iy-2x),= ( 1 / 2 ) italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_sech ( start_ARG italic_r end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( 2 italic_i italic_y - 2 italic_x ) , (18f)
hrsubscript𝑟\displaystyle h_{r}italic_h start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT =(1/2)eiϕsech(r)2,absent12superscript𝑒𝑖italic-ϕsuperscript𝑟2\displaystyle=(1/2)e^{i\phi}\sech(r)^{2},= ( 1 / 2 ) italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_sech ( start_ARG italic_r end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , (18g)
fϕsubscript𝑓italic-ϕ\displaystyle f_{\phi}italic_f start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT =(i/2)eiϕtanh(r)(xiy)2,absent𝑖2superscript𝑒𝑖italic-ϕ𝑟superscript𝑥𝑖𝑦2\displaystyle=(i/2)e^{i\phi}\tanh(r)(x-iy)^{2},= ( italic_i / 2 ) italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) ( italic_x - italic_i italic_y ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , (18h)
gϕsubscript𝑔italic-ϕ\displaystyle g_{\phi}italic_g start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT =(i/2)eiϕtanh(r)(2iy2x),absent𝑖2superscript𝑒𝑖italic-ϕ𝑟2𝑖𝑦2𝑥\displaystyle=(i/2)e^{i\phi}\tanh(r)(2iy-2x),= ( italic_i / 2 ) italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) ( 2 italic_i italic_y - 2 italic_x ) , (18i)
hϕsubscriptitalic-ϕ\displaystyle h_{\phi}italic_h start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT =(i/2)eiϕtanh(r).absent𝑖2superscript𝑒𝑖italic-ϕ𝑟\displaystyle=(i/2)e^{i\phi}\tanh(r).= ( italic_i / 2 ) italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT roman_tanh ( start_ARG italic_r end_ARG ) . (18j)

Note that further simplification of the terms with creation operators in Eqs. (17) in the form of 𝒟(α)𝒮(ζ)|1𝒟𝛼𝒮𝜁ket1\mathcal{D}(\alpha)\mathcal{S}(\zeta)\ket{1}caligraphic_D ( italic_α ) caligraphic_S ( italic_ζ ) | start_ARG 1 end_ARG ⟩ and 𝒟(α)𝒮(ζ)|2𝒟𝛼𝒮𝜁ket2\mathcal{D}(\alpha)\mathcal{S}(\zeta)\ket{2}caligraphic_D ( italic_α ) caligraphic_S ( italic_ζ ) | start_ARG 2 end_ARG ⟩ is not possible as we imposed that 𝒮(ζ)𝒮𝜁\mathcal{S}(\zeta)caligraphic_S ( italic_ζ ) must act directly on the vacuum to obtain the simplified version of 𝒮(ζ)|0𝒮𝜁ket0\mathcal{S}(\zeta)\ket{0}caligraphic_S ( italic_ζ ) | start_ARG 0 end_ARG ⟩ in Eq. (14).

Eqs. (17) are simple analytic expressions for the single mode tangent vectors of 𝒟(α)𝒮(ζ)|0𝒟𝛼𝒮𝜁ket0\mathcal{D}(\alpha)\mathcal{S}(\zeta)\ket{0}caligraphic_D ( italic_α ) caligraphic_S ( italic_ζ ) | start_ARG 0 end_ARG ⟩. When combined with Eq. (11), we can therefore construct all the tangent vectors for any σ𝜎\sigmaitalic_σ, p𝑝pitalic_p and k𝑘kitalic_k.

Computing tangent vector overlaps to construct geometric structures. Having obtained the tangent vectors, we finally briefly comment on the calculation of the overlap matrix vμ|vνinner-productsubscript𝑣𝜇subscript𝑣𝜈\bra{v_{\mu}}\ket{v_{\nu}}⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩, which is used to construct the metric gμνsubscript𝑔𝜇𝜈g_{\mu\nu}italic_g start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT and sympletic form ωμνsubscript𝜔𝜇𝜈\omega_{\mu\nu}italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT. We note that due to Eq. (11), the overlap between two tangent vectors vμ|vνinner-productsubscript𝑣𝜇subscript𝑣𝜈\bra{v_{\mu}}\ket{v_{\nu}}⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ can be written as a product of single-mode overlaps. Each single-mode overlap can be evaluated using the expressions in Eq. (17) and applying Eq. (9) to evaluate expectation values of the type α,ζ|(a)man|α,ζbrasuperscript𝛼superscript𝜁superscriptsuperscript𝑎𝑚superscript𝑎𝑛ket𝛼superscript𝜁\bra{\alpha^{\prime},\zeta^{\prime}}(a^{\dagger})^{m}a^{n}\ket{\alpha,\zeta^{% \prime}}⟨ start_ARG italic_α start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_ζ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_ARG | ( italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_a start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT | start_ARG italic_α , italic_ζ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_ARG ⟩.

Refer to caption
Figure 2: Comparison between multi-polaron ansatz of Eq. (1) with and without squeezing for evolution under the anharmonic oscillator, both with Np=4subscript𝑁𝑝4N_{p}=4italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 4 polarons. The inclusion of squeezing (blue dashed) results in closer agreement with exact numerics (solid black) compared to the absence of squeezing in the ansatz (orange dashed). However, both capture the dynamics with small infidelities 1<𝒪(102)1𝒪superscript1021-\mathcal{F}<\mathcal{O}(10^{-2})1 - caligraphic_F < caligraphic_O ( 10 start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT ). Here (t)=|Ψ(t)|ψ(t)|𝑡inner-productΨ𝑡𝜓𝑡{\cal F}(t)=|\langle\Psi(t)|\psi(t)\rangle|caligraphic_F ( italic_t ) = | ⟨ roman_Ψ ( italic_t ) | italic_ψ ( italic_t ) ⟩ |, where |Ψ(t)ketΨ𝑡\ket{\Psi(t)}| start_ARG roman_Ψ ( italic_t ) end_ARG ⟩ is the quantum state obtained with exact numerics.

Example: Quantum anharmonic oscillator As an example of the results of the above machinery, and to illustrate the role of squeezing in the ansatz, we use Eq. (4) and solve for the dynamics of a simple anharmonic oscillator, H=ωaa+μ(aa)2𝐻𝜔superscript𝑎𝑎𝜇superscriptsuperscript𝑎𝑎2H=\omega a^{\dagger}a+\mu(a^{\dagger}a)^{2}italic_H = italic_ω italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a + italic_μ ( italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT  Milburn (1986); Halpern (1973); Bender and Wu (1973, 1969). Results for the strong coupling regime setting ω=μ=1𝜔𝜇1\omega=\mu=1italic_ω = italic_μ = 1 are shown in Fig. 2 with Np=4subscript𝑁𝑝4N_{p}=4italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 4. We observe that the ansatz containing squeezing (dashed blue line) has a better agreement with the actual state |ΨketΨ\ket{\Psi}| start_ARG roman_Ψ end_ARG ⟩ (solid black line, obtained using exact solution of the Schrödinger equation) than the ansatz without squeezing (dashed orange line). While this observation always depends on the specific system being studied, we observe that for many applications in this work the improvement in accuracy from including squeezing comes at the expense of additional computational resources. Motivated by this, for the remainder of this article we consider a multi-polaron ansatz containing only the (many-mode) coherent states.

III Open Dynamics: Combining NGS with quantum trajectories

To extend the NGS machinery to open dynamics there are several options available. For instance, in Ref. Schlegel et al. (2023), which in turn builds on the developments in Ref. Joubert-Doriol and Izmaylov (2015), an NGS analog for the density matrix was developed. This was then used to formulate the master equation and find the corresponding equations of motion governed by the Lindbladian.

Here, we discuss how the ansatz introduced previously, |ψ(z,t)ket𝜓𝑧𝑡\ket{\psi(\vec{z},t)}| start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG , italic_t ) end_ARG ⟩ in Eq. (1), can be used within the quantum trajectories framework. In Sec. III.1 we recall the basic formulation of the quantum trajectories approach before formulating equations of motion for the effective non-Hermitian Hamiltonian in Sec. III.2. We give a recipe for how to formulate the action of quantum jumps within the NGS ansatz in Sec. III.3, and we finally discuss the relevant issues related to the implementation of the equations of motion in Sec. III.4. To elucidate the formalism, we provide specific examples throughout this section. Our examples are motivated by typical sources of decoherence in spin-boson quantum simulation platforms governed by Hamiltonians of the form introduced in Sec. V.

III.1 Quantum trajectories

Many problems of dynamics of open quantum systems are amenable to the standard time-local master equation in the Lindblad form Breuer and Petruccione (2002); Weiss (2012); Gardiner and Zoller (2004)

ρ˙=i[H,ρ]+mcmρcm12{cmcm,ρ},˙𝜌𝑖𝐻𝜌subscript𝑚subscript𝑐𝑚𝜌superscriptsubscript𝑐𝑚12superscriptsubscript𝑐𝑚subscript𝑐𝑚𝜌\dot{\rho}=-i[H,\rho]+\sum_{m}c_{m}\rho c_{m}^{\dagger}-\frac{1}{2}\left\{c_{m% }^{\dagger}c_{m},\rho\right\},over˙ start_ARG italic_ρ end_ARG = - italic_i [ italic_H , italic_ρ ] + ∑ start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT italic_ρ italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT - divide start_ARG 1 end_ARG start_ARG 2 end_ARG { italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT , italic_ρ } , (19)

where cmsubscript𝑐𝑚c_{m}italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT are the jump operators and {,}\{\cdot,\cdot\}{ ⋅ , ⋅ } the anticommutator.

An alternative approach is to use the quantum trajectories method Dalibard et al. (1992); Mølmer et al. (1993); Plenio and Knight (1998); Daley (2014). Here, rather than evolving the full density matrix described by 22Nssuperscript22subscript𝑁𝑠2^{2N_{s}}2 start_POSTSUPERSCRIPT 2 italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT elements (for Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT spin-1/2 particles), one stochastically evolves a pure quantum state |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ described by 2Nssuperscript2subscript𝑁𝑠2^{N_{s}}2 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT elements. This approach consists of two steps: (i) continuous evolution under the Schrödinger equation with an effective non-Hermitian Hamiltonian, Heff=Hi2mcmcmsubscript𝐻eff𝐻𝑖2subscript𝑚subscriptsuperscript𝑐𝑚subscript𝑐𝑚H_{\text{eff}}=H-\frac{i}{2}\sum_{m}c^{\dagger}_{m}c_{m}italic_H start_POSTSUBSCRIPT eff end_POSTSUBSCRIPT = italic_H - divide start_ARG italic_i end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT italic_c start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT and (ii) discrete evolution under the action of a quantum jump operator cmsubscript𝑐𝑚c_{m}italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT. Such stochastic evolution of the wavefunction |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ constitutes a quantum trajectory. Observables of interest are then evaluated by averaging over ntrajsubscript𝑛trajn_{\rm traj}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT such quantum trajectories. In scenarios where it is possible to obtain the observables of interest with sufficient accuracy using ntraj<2Nssubscript𝑛trajsuperscript2subscript𝑁𝑠n_{\rm traj}<2^{N_{s}}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT < 2 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, quantum trajectories can be more efficient as compared to solving the master equation Mølmer et al. (1993); Daley (2014); Preisser et al. (2023).

Our key contribution is to perform (i) using NGS. The details of the quantum trajectories method, and a step by step description of its implementation, can be found in Ref. Daley (2014).

III.2 Equations of motion for non-Hermitian Hamiltonians

In between the quantum jumps, the wavefunction evolves continuously under the effective non-Hermitian Hamiltonian,

Heff=Hi2mcmcm=HiK.subscript𝐻eff𝐻𝑖2subscript𝑚superscriptsubscript𝑐𝑚subscript𝑐𝑚𝐻𝑖𝐾H_{\rm eff}=H-\frac{i}{2}\sum_{m}c_{m}^{\dagger}c_{m}=H-iK.italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT = italic_H - divide start_ARG italic_i end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT = italic_H - italic_i italic_K . (20)

Here, we follow the procedure in Ref. Yuan et al. (2019) to derive equations of motion for evolution under Heffsubscript𝐻effH_{\rm eff}italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT. The NGS wavefunction evolves according to the Schrödinger equation,

t|ψ=iHeff|ψ.subscript𝑡ket𝜓𝑖subscript𝐻effket𝜓\displaystyle\partial_{t}\ket{\psi}=-iH_{\rm eff}\ket{\psi}.∂ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT | start_ARG italic_ψ end_ARG ⟩ = - italic_i italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT | start_ARG italic_ψ end_ARG ⟩ . (21)

McLachlan’s variational principle requires the variation of the norm resulting from the Schrödinger equation to vanish,

δ(d/dt+iHeff)|ψ=0.𝛿norm𝑑𝑑𝑡𝑖subscript𝐻effket𝜓0\displaystyle\delta||(d/dt+iH_{\rm eff})\ket{\psi}||=0.italic_δ | | ( italic_d / italic_d italic_t + italic_i italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT ) | start_ARG italic_ψ end_ARG ⟩ | | = 0 . (22)

Since it is more convenient to work with the square norm, we rewrite Eq. (22) as δ(d/dt+iHeff)|ψ2=0𝛿superscriptnorm𝑑𝑑𝑡𝑖subscript𝐻effket𝜓20\delta||(d/dt+iH_{\rm eff})\ket{\psi}||^{2}=0italic_δ | | ( italic_d / italic_d italic_t + italic_i italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT ) | start_ARG italic_ψ end_ARG ⟩ | | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 0, obtaining

(d/dt+iHeff)|ψ2=μ,νvμ||vνz˙μz˙ν+(ivμ|Heff|ψz˙μ+h.c.)+ψ|HeffHeff|ψ.superscriptnorm𝑑𝑑𝑡𝑖subscript𝐻effket𝜓2subscript𝜇𝜈brasubscript𝑣𝜇ketsubscript𝑣𝜈subscript˙𝑧𝜇subscript˙𝑧𝜈𝑖brasubscript𝑣𝜇subscript𝐻effket𝜓subscript˙𝑧𝜇h.c.bra𝜓superscriptsubscript𝐻effsubscript𝐻effket𝜓\displaystyle\begin{split}&||(d/dt+iH_{\rm eff})\ket{\psi}||^{2}=\sum_{\mu,\nu% }\bra{v_{\mu}}\ket{v_{\nu}}\dot{z}_{\mu}\dot{z}_{\nu}\\ &+\left(i\bra{v_{\mu}}H_{\rm eff}\ket{\psi}\dot{z}_{\mu}+\text{h.c.}\right)+% \bra{\psi}{H_{\rm eff}}^{\dagger}{H_{\rm eff}}\ket{\psi}.\end{split}start_ROW start_CELL end_CELL start_CELL | | ( italic_d / italic_d italic_t + italic_i italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT ) | start_ARG italic_ψ end_ARG ⟩ | | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = ∑ start_POSTSUBSCRIPT italic_μ , italic_ν end_POSTSUBSCRIPT ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ over˙ start_ARG italic_z end_ARG start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT over˙ start_ARG italic_z end_ARG start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + ( italic_i ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT | start_ARG italic_ψ end_ARG ⟩ over˙ start_ARG italic_z end_ARG start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT + h.c. ) + ⟨ start_ARG italic_ψ end_ARG | italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT | start_ARG italic_ψ end_ARG ⟩ . end_CELL end_ROW (23)

After making the following substitutions

Aμνsubscript𝐴𝜇𝜈\displaystyle A_{\mu\nu}italic_A start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT =vμ|vν,absentinner-productsubscript𝑣𝜇subscript𝑣𝜈\displaystyle=\bra{v_{\mu}}\ket{v_{\nu}},= ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ , (24a)
Cμsubscript𝐶𝜇\displaystyle C_{\mu}italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT =ψ|H|vμ,absentbra𝜓𝐻ketsubscript𝑣𝜇\displaystyle=\bra{\psi}H\ket{v_{\mu}},= ⟨ start_ARG italic_ψ end_ARG | italic_H | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ , (24b)
Dμsubscript𝐷𝜇\displaystyle D_{\mu}italic_D start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT =ψ|K|vμ,absentbra𝜓𝐾ketsubscript𝑣𝜇\displaystyle=\bra{\psi}K\ket{v_{\mu}},= ⟨ start_ARG italic_ψ end_ARG | italic_K | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ , (24c)

the variation of the square of the norm is

δ(d/dt+iHeff)|ψ2=μν(Aμν+h.c.)z˙νδzμ+[i(CμiDμ)+h.c.]δzμ,𝛿superscriptnorm𝑑𝑑𝑡𝑖subscript𝐻effket𝜓2subscript𝜇subscript𝜈subscript𝐴𝜇𝜈h.c.subscript˙𝑧𝜈𝛿subscript𝑧𝜇delimited-[]𝑖superscriptsubscript𝐶𝜇𝑖superscriptsubscript𝐷𝜇h.c.𝛿subscript𝑧𝜇\displaystyle\begin{split}&\delta||(d/dt+iH_{\rm eff})\ket{\psi}||^{2}=\sum_{% \mu}\sum_{\nu}\left(A_{\mu\nu}+\text{h.c.}\right)\dot{z}_{\nu}\delta z_{\mu}\\ &+\left[i(C_{\mu}^{\dagger}-iD_{\mu}^{\dagger})+\text{h.c.}\right]\delta z_{% \mu},\end{split}start_ROW start_CELL end_CELL start_CELL italic_δ | | ( italic_d / italic_d italic_t + italic_i italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT ) | start_ARG italic_ψ end_ARG ⟩ | | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = ∑ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT ( italic_A start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT + h.c. ) over˙ start_ARG italic_z end_ARG start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT italic_δ italic_z start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + [ italic_i ( italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT - italic_i italic_D start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) + h.c. ] italic_δ italic_z start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT , end_CELL end_ROW (25)

which yields equations of motion,

νRe[Aμν]z˙νsubscript𝜈subscript𝐴𝜇𝜈subscript˙𝑧𝜈\displaystyle\sum_{\nu}\real[A_{\mu\nu}]\dot{z}_{\nu}∑ start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT start_OPERATOR roman_Re end_OPERATOR [ italic_A start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT ] over˙ start_ARG italic_z end_ARG start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT =Re[Dμ]+Im[Cμ].absentsubscript𝐷𝜇subscript𝐶𝜇\displaystyle=\real[D_{\mu}]+\imaginary[C_{\mu}].= start_OPERATOR roman_Re end_OPERATOR [ italic_D start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ] + start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ] . (26)

The object 2Re[Aμν]2subscript𝐴𝜇𝜈2\real[A_{\mu\nu}]2 start_OPERATOR roman_Re end_OPERATOR [ italic_A start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT ] is precisely the metric g𝑔gitalic_g of the tangent space [introduced in Eq. (6b)], which we showed how to compute in Sec. II.2. Re[Dμ]subscript𝐷𝜇\real[D_{\mu}]start_OPERATOR roman_Re end_OPERATOR [ italic_D start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ] can be related to μKsubscript𝜇delimited-⟨⟩𝐾\partial_{\mu}\langle K\rangle∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ⟨ italic_K ⟩ via

2Re[vμ|K|ψ]=vμ|K|ψ+h.c.=μK,2brasubscript𝑣𝜇𝐾ket𝜓brasubscript𝑣𝜇𝐾ket𝜓h.c.subscript𝜇delimited-⟨⟩𝐾\displaystyle 2\real[\bra{v_{\mu}}K\ket{\psi}]=\bra{v_{\mu}}K\ket{\psi}+\text{% h.c.}=\partial_{\mu}\langle K\rangle,2 start_OPERATOR roman_Re end_OPERATOR [ ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | italic_K | start_ARG italic_ψ end_ARG ⟩ ] = ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | italic_K | start_ARG italic_ψ end_ARG ⟩ + h.c. = ∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ⟨ italic_K ⟩ , (27)

where we substituted the definition of the tangent vector into the definition of D𝐷Ditalic_D in Eq. (24c), and used the fact that K=K𝐾superscript𝐾K=K^{\dagger}italic_K = italic_K start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT. We showed how to analytically compute the gradient of expectation value such as μKsubscript𝜇delimited-⟨⟩𝐾\partial_{\mu}\langle K\rangle∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ⟨ italic_K ⟩ in Sec. II.1. Although Im[Cμ]subscript𝐶𝜇\imaginary[C_{\mu}]start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ] can be computed by directly calculating the overlaps in the definition in Eq. (24b), if the tangent space is a Kähler manifold (i.e. J2=1superscript𝐽21J^{2}=-1italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - 1), then from the relation J\indices|vμνμ=i|vν𝐽\indicessuperscriptsubscriptketsubscript𝑣𝜇𝜈𝜇𝑖ketsubscript𝑣𝜈J\indices{{}^{\mu}_{\nu}}\ket{v_{\mu}}=i\ket{v_{\nu}}italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ = italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ we can relate Im[Cμ]subscript𝐶𝜇\imaginary[C_{\mu}]start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ] to the complex structure J\indicesνμJ\indices{{}^{\mu}_{\nu}}italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT and the gradient μHsubscript𝜇delimited-⟨⟩𝐻\partial_{\mu}\langle H\rangle∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ⟨ italic_H ⟩ using

2Im[Cν]=ivν|H|ψiψ|H|vν=vμ|(J\indices)νμTH|ψψ|HJ\indices|vμνμ=μJ\indicesμνμE.\displaystyle\begin{split}2\imaginary[C_{\nu}]&=i\bra{v_{\nu}}H\ket{\psi}-i% \bra{\psi}H\ket{v_{\nu}}\\ &=-\bra{v_{\mu}}(J\indices{{}^{\mu}_{\nu}})^{T}H\ket{\psi}-\bra{\psi}HJ% \indices{{}^{\mu}_{\nu}}\ket{v_{\mu}}\\ &=-\sum_{\mu}J\indices{{}^{\mu}_{\nu}}\partial_{\mu}E.\end{split}start_ROW start_CELL 2 start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT ] end_CELL start_CELL = italic_i ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG | italic_H | start_ARG italic_ψ end_ARG ⟩ - italic_i ⟨ start_ARG italic_ψ end_ARG | italic_H | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = - ⟨ start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG | ( italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_H | start_ARG italic_ψ end_ARG ⟩ - ⟨ start_ARG italic_ψ end_ARG | italic_H italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = - ∑ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT ∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT italic_E . end_CELL end_ROW (28)

As such, the non-Hermitian equations of motion in Eq. (26) can be computed from g𝑔gitalic_g, μHsubscript𝜇delimited-⟨⟩𝐻\partial_{\mu}\langle H\rangle∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ⟨ italic_H ⟩, and μKsubscript𝜇delimited-⟨⟩𝐾\partial_{\mu}\langle K\rangle∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ⟨ italic_K ⟩. The total number of elements to compute scales as M2+2Msuperscript𝑀22𝑀M^{2}+2Mitalic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + 2 italic_M, compared to M2+Msuperscript𝑀2𝑀M^{2}+Mitalic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_M for purely real- or imaginary-time evolution, where M𝑀Mitalic_M is the number of variational parameters.

Example: Computing 𝐈𝐦[Cμ]subscript𝐶𝜇\boldsymbol{\imaginary[C_{\mu}]}start_OPERATOR bold_Im end_OPERATOR bold_[ bold_italic_C start_POSTSUBSCRIPT bold_italic_μ end_POSTSUBSCRIPT bold_] for the coherent state ansatz. Here, we relate Im[Cμ]Imdelimited-[]subscript𝐶𝜇{\rm Im}[C_{\mu}]roman_Im [ italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ] to energy gradients μHsubscript𝜇delimited-⟨⟩𝐻\partial_{\mu}\langle H\rangle∂ start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ⟨ italic_H ⟩ for the coherent state ansatz with explicit normalization and phase factors, |ψ=eκ+iθe(x2+y2)/2e(x+iy)a|0ket𝜓superscript𝑒𝜅𝑖𝜃superscript𝑒superscript𝑥2superscript𝑦22superscript𝑒𝑥𝑖𝑦superscript𝑎ket0\ket{\psi}=e^{\kappa+i\theta}e^{-(x^{2}+y^{2})/2}e^{(x+iy)a^{\dagger}}\ket{0}| start_ARG italic_ψ end_ARG ⟩ = italic_e start_POSTSUPERSCRIPT italic_κ + italic_i italic_θ end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT - ( italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) / 2 end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT ( italic_x + italic_i italic_y ) italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT | start_ARG 0 end_ARG ⟩, with z=(κ,θ,x,y)𝑧𝜅𝜃𝑥𝑦\vec{z}=(\kappa,\theta,x,y)\in\mathbb{R}over→ start_ARG italic_z end_ARG = ( italic_κ , italic_θ , italic_x , italic_y ) ∈ roman_ℝ. The tangent vectors corresponding to μ{1,2,3,4}𝜇1234\mu\in\{1,2,3,4\}italic_μ ∈ { 1 , 2 , 3 , 4 } are

|v1ketsubscript𝑣1\displaystyle\ket{v_{1}}| start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ =|ψ,absentket𝜓\displaystyle=\ket{\psi},= | start_ARG italic_ψ end_ARG ⟩ , (29a)
|v2ketsubscript𝑣2\displaystyle\ket{v_{2}}| start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ =i|ψ,absent𝑖ket𝜓\displaystyle=i\ket{\psi},= italic_i | start_ARG italic_ψ end_ARG ⟩ , (29b)
|v3ketsubscript𝑣3\displaystyle\ket{v_{3}}| start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ =(ax)|ψ,absentsuperscript𝑎𝑥ket𝜓\displaystyle=(a^{\dagger}-x)\ket{\psi},= ( italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT - italic_x ) | start_ARG italic_ψ end_ARG ⟩ , (29c)
|v4ketsubscript𝑣4\displaystyle\ket{v_{4}}| start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ =(iay)|ψ.absent𝑖superscript𝑎𝑦ket𝜓\displaystyle=(ia^{\dagger}-y)\ket{\psi}.= ( italic_i italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT - italic_y ) | start_ARG italic_ψ end_ARG ⟩ . (29d)

We begin by relating Im[C1]=Im[ψ|H|v1]subscript𝐶1bra𝜓𝐻ketsubscript𝑣1\imaginary[C_{1}]=\imaginary[\bra{\psi}H\ket{v_{1}}]start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] = start_OPERATOR roman_Im end_OPERATOR [ ⟨ start_ARG italic_ψ end_ARG | italic_H | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ ] to z2Esubscriptsubscript𝑧2𝐸\partial_{z_{2}}E∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E,

Im[C1]=12[iψ|H|v1iv1|H|ψ]=12(ψ|H|v2+v2|H|ψ)=12z2E.subscript𝐶112delimited-[]𝑖bra𝜓𝐻ketsubscript𝑣1𝑖brasubscript𝑣1𝐻ket𝜓12bra𝜓𝐻ketsubscript𝑣2brasubscript𝑣2𝐻ket𝜓12subscriptsubscript𝑧2𝐸\displaystyle\begin{split}\imaginary[C_{1}]&=-\frac{1}{2}[i\bra{\psi}H\ket{v_{% 1}}-i\bra{v_{1}}H\ket{\psi}]\\ &=-\frac{1}{2}(\bra{\psi}H\ket{v_{2}}+\bra{v_{2}}H\ket{\psi})=-\frac{1}{2}% \partial_{z_{2}}E.\end{split}start_ROW start_CELL start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] end_CELL start_CELL = - divide start_ARG 1 end_ARG start_ARG 2 end_ARG [ italic_i ⟨ start_ARG italic_ψ end_ARG | italic_H | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ - italic_i ⟨ start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG | italic_H | start_ARG italic_ψ end_ARG ⟩ ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( ⟨ start_ARG italic_ψ end_ARG | italic_H | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ + ⟨ start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG | italic_H | start_ARG italic_ψ end_ARG ⟩ ) = - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E . end_CELL end_ROW (30)

Similarly for Im[C2]=Im[ψ|H|v2]subscript𝐶2bra𝜓𝐻ketsubscript𝑣2\imaginary[C_{2}]=\imaginary[\bra{\psi}H\ket{v_{2}}]start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = start_OPERATOR roman_Im end_OPERATOR [ ⟨ start_ARG italic_ψ end_ARG | italic_H | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ ], we have

Im[C2]=12z1E.subscript𝐶212subscriptsubscript𝑧1𝐸\displaystyle\imaginary[C_{2}]=\frac{1}{2}\partial_{z_{1}}E.start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = divide start_ARG 1 end_ARG start_ARG 2 end_ARG ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E . (31)

To relate Im[C3]=Im[ψ|H|v3]subscript𝐶3bra𝜓𝐻ketsubscript𝑣3\imaginary[C_{3}]=\imaginary[\bra{\psi}H\ket{v_{3}}]start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] = start_OPERATOR roman_Im end_OPERATOR [ ⟨ start_ARG italic_ψ end_ARG | italic_H | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ ] to the gradients of E𝐸Eitalic_E, we notice that we can write i|v3𝑖ketsubscript𝑣3i\ket{v_{3}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ as a real span of the tangent vectors {vμ}subscript𝑣𝜇\{v_{\mu}\}{ italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT }. That is, i|v3=|v4+y|v1x|v2𝑖ketsubscript𝑣3ketsubscript𝑣4𝑦ketsubscript𝑣1𝑥ketsubscript𝑣2i\ket{v_{3}}=\ket{v_{4}}+y\ket{v_{1}}-x\ket{v_{2}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ = | start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ + italic_y | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ - italic_x | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩. Using this we obtain

Im[C3]=12(z4E+yz1Exz2E),subscript𝐶312subscriptsubscript𝑧4𝐸𝑦subscriptsubscript𝑧1𝐸𝑥subscriptsubscript𝑧2𝐸\displaystyle\imaginary[C_{3}]=-\frac{1}{2}\left(\partial_{z_{4}}E+y\partial_{% z_{1}}E-x\partial_{z_{2}}E\right),start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] = - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E + italic_y ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E - italic_x ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E ) , (32)

and finally for Im[v4|H|ψ]brasubscript𝑣4𝐻ket𝜓\imaginary[\bra{v_{4}}H\ket{\psi}]start_OPERATOR roman_Im end_OPERATOR [ ⟨ start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG | italic_H | start_ARG italic_ψ end_ARG ⟩ ], using i|v4=|v3x|v1y|v2𝑖ketsubscript𝑣4ketsubscript𝑣3𝑥ketsubscript𝑣1𝑦ketsubscript𝑣2i\ket{v_{4}}=-\ket{v_{3}}-x\ket{v_{1}}-y\ket{v_{2}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ = - | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ - italic_x | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ - italic_y | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩, we obtain

Im[v4|H|ψ]=12(z3E+xz1E+yz2E).brasubscript𝑣4𝐻ket𝜓12subscriptsubscript𝑧3𝐸𝑥subscriptsubscript𝑧1𝐸𝑦subscriptsubscript𝑧2𝐸\displaystyle\imaginary[\bra{v_{4}}H\ket{\psi}]=\frac{1}{2}\left(\partial_{z_{% 3}}E+x\partial_{z_{1}}E+y\partial_{z_{2}}E\right).start_OPERATOR roman_Im end_OPERATOR [ ⟨ start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG | italic_H | start_ARG italic_ψ end_ARG ⟩ ] = divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E + italic_x ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E + italic_y ∂ start_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_E ) . (33)

Therefore, we have related the computation of Im[Cμ]subscript𝐶𝜇\imaginary[C_{\mu}]start_OPERATOR roman_Im end_OPERATOR [ italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ] to the energy gradients of E=H𝐸delimited-⟨⟩𝐻E=\langle H\rangleitalic_E = ⟨ italic_H ⟩. In this example, we explicitly noticed that i|vμ𝑖ketsubscript𝑣𝜇i\ket{v_{\mu}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ can be written as a real span of tangent vectors {vμ}subscript𝑣𝜇\{v_{\mu}\}{ italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT }. In the supplementary material Sec. SI, we provide the constructions of gμνsubscript𝑔𝜇𝜈g_{\mu\nu}italic_g start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT, ωμνsubscript𝜔𝜇𝜈\omega_{\mu\nu}italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT and J\indicesνμJ\indices{{}^{\mu}_{\nu}}italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT for this single mode coherent state ansatz, showing that |vν=J\indices|μνμketsubscript𝑣𝜈𝐽\indicessuperscriptsubscriptket𝜇𝜈𝜇\ket{v_{\nu}}=J\indices{{}^{\mu}_{\nu}}\ket{\mu}| start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ = italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT | start_ARG italic_μ end_ARG ⟩, as derived in Eq. (28). We also provide J\indicesνμJ\indices{{}^{\mu}_{\nu}}italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT of the squeezed coherent state and the multipolaron ansatz.

Finally, we provide a simple example of non-Hermitian dynamics using NGS and the equations of motion in Eq. (26) by computing the evolution of the coherent state ansatz for Nb=2subscript𝑁𝑏2N_{b}=2italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT = 2 modes under Heff=j=12ξj(aj+aj)i/2j=12κjajajsubscript𝐻effsuperscriptsubscript𝑗12subscript𝜉𝑗subscript𝑎𝑗subscriptsuperscript𝑎𝑗𝑖2superscriptsubscript𝑗12subscript𝜅𝑗subscriptsuperscript𝑎𝑗subscript𝑎𝑗H_{\rm eff}=\sum_{j=1}^{2}\xi_{j}(a_{j}+a^{\dagger}_{j})-i/2\sum_{j=1}^{2}% \kappa_{j}a^{\dagger}_{j}a_{j}italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT = ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_ξ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_a start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_i / 2 ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT. Since the Hamiltonian is a Gaussian operator, if the initial state of interest can be accurately described by the NGS ansatz with Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT polarons, NGS is exact in that it captures precisely the dynamics at all times also with Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT polarons. The results for an Np=2subscript𝑁𝑝2N_{p}=2italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 2 initial state and a comparison against exact numerics are shown in Fig. 3, depicting perfect agreement as expected.

Refer to caption
Figure 3: Dynamics of the two mode effective Hamiltonian Heff=j=12ξj(aj+aj)i/2j=12κjajajsubscript𝐻effsuperscriptsubscript𝑗12subscript𝜉𝑗subscript𝑎𝑗subscriptsuperscript𝑎𝑗𝑖2superscriptsubscript𝑗12subscript𝜅𝑗subscriptsuperscript𝑎𝑗subscript𝑎𝑗H_{\rm eff}=\sum_{j=1}^{2}\xi_{j}(a_{j}+a^{\dagger}_{j})-i/2\sum_{j=1}^{2}% \kappa_{j}a^{\dagger}_{j}a_{j}italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT = ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_ξ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_a start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_i / 2 ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT with ξ=[0.5,0.3]𝜉0.50.3\vec{\xi}=[0.5,0.3]over→ start_ARG italic_ξ end_ARG = [ 0.5 , 0.3 ], κ=[1.0,0.6]𝜅1.00.6\vec{\kappa}=[1.0,0.6]over→ start_ARG italic_κ end_ARG = [ 1.0 , 0.6 ]. The non-Hermitian term corresponds to a cavity loss jump operatos. The initial state is a random two polaron state. The NGS results (dashed colours) agree perfectly with exact numerics (solid black), including the decay of the norm ψ|ψinner-product𝜓𝜓\innerproduct{\psi}{\psi}⟨ start_ARG italic_ψ end_ARG | start_ARG italic_ψ end_ARG ⟩ due to the non-hermitian term.

III.3 Quantum jumps

We will now incorporate the action of a quantum jump cmsubscript𝑐𝑚c_{m}italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT in the NGS formalism. After each quantum jump the wavefunction may (i) stay in the variational manifold, or (ii) leave it. We discuss these two possibilities using the examples of single particle loss and gain, respectively. We have chosen these two processes as they are often the dominant sources of single particle decoherence in a variety of systems.

(i) Jumps inside the manifold

To demonstrate the machinery of a jump operator that produces a state contained within the variational manifold, we consider single particle loss at rate κ(1)superscript𝜅1\kappa^{(1)}italic_κ start_POSTSUPERSCRIPT ( 1 ) end_POSTSUPERSCRIPT. The jump operator is c=κ(1)a𝑐superscript𝜅1𝑎c=\sqrt{\kappa^{(1)}}aitalic_c = square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 1 ) end_POSTSUPERSCRIPT end_ARG italic_a. The action of c𝑐citalic_c on the single-mode multi-polaron ansatz in Eq. (1) without squeezing, i.e. |ζ|=0p𝜁0for-all𝑝|\vec{\zeta}|=0\;\forall p| over→ start_ARG italic_ζ end_ARG | = 0 ∀ italic_p, is given by,

κ(1)a|ψ=κ(1)apeκp+iθpD(αp)|0=pκ(1)eκp+iθpαpD(αp)|0=peκp+iθpD(αp)|0,superscript𝜅1𝑎ket𝜓superscript𝜅1𝑎subscript𝑝superscript𝑒subscript𝜅𝑝𝑖subscript𝜃𝑝𝐷subscript𝛼𝑝ket0subscript𝑝superscript𝜅1superscript𝑒subscript𝜅𝑝𝑖subscript𝜃𝑝subscript𝛼𝑝𝐷subscript𝛼𝑝ket0subscript𝑝superscript𝑒superscriptsubscript𝜅𝑝𝑖superscriptsubscript𝜃𝑝𝐷subscript𝛼𝑝ket0\displaystyle\begin{split}\sqrt{\kappa^{(1)}}a\ket{\psi}&=\sqrt{\kappa^{(1)}}a% \sum_{p}e^{\kappa_{p}+i\theta_{p}}D(\alpha_{p})\ket{0}\\ &=\sum_{p}\sqrt{\kappa^{(1)}}e^{\kappa_{p}+i\theta_{p}}\alpha_{p}D(\alpha_{p})% \ket{0}\\ &=\sum_{p}e^{\kappa_{p}^{\prime}+i\theta_{p}^{\prime}}D(\alpha_{p})\ket{0},% \end{split}start_ROW start_CELL square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 1 ) end_POSTSUPERSCRIPT end_ARG italic_a | start_ARG italic_ψ end_ARG ⟩ end_CELL start_CELL = square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 1 ) end_POSTSUPERSCRIPT end_ARG italic_a ∑ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + italic_i italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_D ( italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ) | start_ARG 0 end_ARG ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ∑ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 1 ) end_POSTSUPERSCRIPT end_ARG italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + italic_i italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT italic_D ( italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ) | start_ARG 0 end_ARG ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ∑ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT + italic_i italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT italic_D ( italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ) | start_ARG 0 end_ARG ⟩ , end_CELL end_ROW (34)

where we used a|α=α|α𝑎ket𝛼𝛼ket𝛼a\ket{\alpha}=\alpha\ket{\alpha}italic_a | start_ARG italic_α end_ARG ⟩ = italic_α | start_ARG italic_α end_ARG ⟩ and defined the updated norm and phase factors as

κpsuperscriptsubscript𝜅𝑝\displaystyle\kappa_{p}^{\prime}italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT =log(κ(1)eκp|αp|),absentsuperscript𝜅1superscript𝑒subscript𝜅𝑝subscript𝛼𝑝\displaystyle=\log(\sqrt{\kappa^{(1)}}e^{\kappa_{p}}\absolutevalue{\alpha_{p}}),= roman_log ( start_ARG square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 1 ) end_POSTSUPERSCRIPT end_ARG italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT | start_ARG italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_ARG | end_ARG ) , (35a)
θpsuperscriptsubscript𝜃𝑝\displaystyle\theta_{p}^{\prime}italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT =arg(|κ(1)|eiθp+κpαp).absentsuperscript𝜅1superscript𝑒𝑖subscript𝜃𝑝subscript𝜅𝑝subscript𝛼𝑝\displaystyle=\arg(\absolutevalue{\kappa^{(1)}}e^{i\theta_{p}+\kappa_{p}}% \alpha_{p}).= roman_arg ( | start_ARG italic_κ start_POSTSUPERSCRIPT ( 1 ) end_POSTSUPERSCRIPT end_ARG | italic_e start_POSTSUPERSCRIPT italic_i italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ) . (35b)

We can easily extend the above analysis to the two-photon loss case with the jump operator c=κ(2)a2𝑐superscript𝜅2superscript𝑎2c=\sqrt{\kappa^{(2)}}a^{2}italic_c = square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 2 ) end_POSTSUPERSCRIPT end_ARG italic_a start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT, where the updated norm and phase factors are now defined as

κpsuperscriptsubscript𝜅𝑝\displaystyle\kappa_{p}^{\prime}italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT =log(κ(2)eκp|αp|2),absentsuperscript𝜅2superscript𝑒subscript𝜅𝑝superscriptsubscript𝛼𝑝2\displaystyle=\log(\sqrt{\kappa^{(2)}}e^{\kappa_{p}}\absolutevalue{\alpha_{p}}% ^{2}),= roman_log ( start_ARG square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 2 ) end_POSTSUPERSCRIPT end_ARG italic_e start_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT | start_ARG italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) , (36a)
θpsuperscriptsubscript𝜃𝑝\displaystyle\theta_{p}^{\prime}italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT =arg(κ(2)eiθp+κpαp2).absentsuperscript𝜅2superscript𝑒𝑖subscript𝜃𝑝subscript𝜅𝑝superscriptsubscript𝛼𝑝2\displaystyle=\arg(\sqrt{\kappa^{(2)}}e^{i\theta_{p}+\kappa_{p}}\alpha_{p}^{2}).= roman_arg ( square-root start_ARG italic_κ start_POSTSUPERSCRIPT ( 2 ) end_POSTSUPERSCRIPT end_ARG italic_e start_POSTSUPERSCRIPT italic_i italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_α start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) . (36b)

It is important to note that our results rely on the coherent state being the eigenstate of the jump operator considered above. Thus, for any other state, e.g. the squeezed coherent state |α,ζket𝛼𝜁\ket{\alpha,\zeta}| start_ARG italic_α , italic_ζ end_ARG ⟩, the single-particle loss jump operator will take the state out of the variational manifold. This will be a more generic scenario for most jump operators. In the next section we describe how to deal with such situations.

(ii) Jumps outside the manifold

If the state after the jump is not within the variational manifold, we project it back to the manifold by maximizing its fidelity with the variational states. To do so we use gradient descent (GD) as an efficient numerical procedure. We note that while simulated annealing (SA) finds a global extremum of a function in the asymptotic limit of infinitely slow cooling rate, we find that in all cases studied in this work, the performance of GD is comparable to that of SA (the infidelity difference between the post-jump variational state found by each of the two methods is 103less-than-or-similar-toabsentsuperscript103\lesssim 10^{-3}≲ 10 start_POSTSUPERSCRIPT - 3 end_POSTSUPERSCRIPT), with the advantage that it is typically significantly faster.

Again, we consider a single mode multi-polaron ansatz with coherent states only, which we write as

|ψ=i=1Npci|αi,ket𝜓superscriptsubscript𝑖1subscript𝑁𝑝subscript𝑐𝑖ketsubscript𝛼𝑖\displaystyle\ket{\psi}=\sum_{i=1}^{N_{p}}c_{i}\ket{\alpha_{i}},| start_ARG italic_ψ end_ARG ⟩ = ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | start_ARG italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ⟩ , (37)

with complex coefficients cisubscript𝑐𝑖c_{i}italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and complex amplitudes αisubscript𝛼𝑖\alpha_{i}italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. For single photon gain with jump operator c=a𝑐superscript𝑎c=a^{\dagger}italic_c = italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT, the state after applying the jump operator a|ψsuperscript𝑎ket𝜓a^{\dagger}\ket{\psi}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT | start_ARG italic_ψ end_ARG ⟩ is projected back back onto a generic variational state |ψ~ket~𝜓|\tilde{\psi}\rangle| over~ start_ARG italic_ψ end_ARG ⟩ by optimising its variational parameters c~i,α~isubscript~𝑐𝑖subscript~𝛼𝑖\tilde{c}_{i},\tilde{\alpha}_{i}over~ start_ARG italic_c end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , over~ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT to maximize the normalised fidelity given by,

=|ψ~|a|ψ|2|ψ~|ψ~||ψ|aa|ψ|,superscriptquantum-operator-product~𝜓superscript𝑎𝜓2inner-product~𝜓~𝜓quantum-operator-product𝜓𝑎superscript𝑎𝜓\displaystyle\mathcal{F}=\frac{|\langle\tilde{\psi}|a^{\dagger}|\psi\rangle|^{% 2}}{{|\langle\tilde{\psi}|\tilde{\psi}\rangle|}{|\langle\psi|aa^{\dagger}|\psi% \rangle|}},caligraphic_F = divide start_ARG | ⟨ over~ start_ARG italic_ψ end_ARG | italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT | italic_ψ ⟩ | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG | ⟨ over~ start_ARG italic_ψ end_ARG | over~ start_ARG italic_ψ end_ARG ⟩ | | ⟨ italic_ψ | italic_a italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT | italic_ψ ⟩ | end_ARG , (38)

where the un-normalised overlap is

ψ~|a|ψ=i,jNpc~icjα~ie12(|α|2+|α~|2)+α~iαj,quantum-operator-product~𝜓superscript𝑎𝜓superscriptsubscript𝑖𝑗subscript𝑁𝑝superscriptsubscript~𝑐𝑖subscript𝑐𝑗superscriptsubscript~𝛼𝑖superscript𝑒12superscript𝛼2superscript~𝛼2superscriptsubscript~𝛼𝑖subscript𝛼𝑗\displaystyle\langle\tilde{\psi}|a^{\dagger}|\psi\rangle=\sum_{i,j}^{N_{p}}% \tilde{c}_{i}^{*}c_{j}\tilde{\alpha}_{i}^{*}e^{-\frac{1}{2}(|\alpha|^{2}+|% \tilde{\alpha}|^{2})+\tilde{\alpha}_{i}^{*}\alpha_{j}},⟨ over~ start_ARG italic_ψ end_ARG | italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT | italic_ψ ⟩ = ∑ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT over~ start_ARG italic_c end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT over~ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( | italic_α | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + | over~ start_ARG italic_α end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) + over~ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_α start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUPERSCRIPT , (39)

and the normalisation factors are

ψ|ψinner-product𝜓𝜓\displaystyle\bra{\psi}\ket{\psi}⟨ start_ARG italic_ψ end_ARG | start_ARG italic_ψ end_ARG ⟩ =i,jNpcicje12(|αi|2+|αj|2+αiαj),absentsuperscriptsubscript𝑖𝑗subscript𝑁𝑝superscriptsubscript𝑐𝑖subscript𝑐𝑗superscript𝑒12superscriptsubscript𝛼𝑖2superscriptsubscript𝛼𝑗2superscriptsubscript𝛼𝑖subscript𝛼𝑗\displaystyle=\sum_{i,j}^{N_{p}}c_{i}^{*}c_{j}e^{-\frac{1}{2}(|\alpha_{i}|^{2}% +|\alpha_{j}|^{2}+\alpha_{i}^{*}\alpha_{j})},= ∑ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( | italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + | italic_α start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_α start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) end_POSTSUPERSCRIPT , (40a)
ψ|aa|ψbra𝜓𝑎superscript𝑎ket𝜓\displaystyle\bra{\psi}aa^{\dagger}\ket{\psi}⟨ start_ARG italic_ψ end_ARG | italic_a italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT | start_ARG italic_ψ end_ARG ⟩ =i,jNpcicj(1+αiαj)absentsuperscriptsubscript𝑖𝑗subscript𝑁𝑝superscriptsubscript𝑐𝑖subscript𝑐𝑗1superscriptsubscript𝛼𝑖subscript𝛼𝑗\displaystyle=\sum_{i,j}^{N_{p}}c_{i}^{*}c_{j}(1+\alpha_{i}^{*}\alpha_{j})= ∑ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( 1 + italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_α start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT )
×e12(|αi|2+|αj|2)+αiαj.absentsuperscript𝑒12superscriptsubscript𝛼𝑖2superscriptsubscript𝛼𝑗2superscriptsubscript𝛼𝑖subscript𝛼𝑗\displaystyle\times e^{-\frac{1}{2}(|\alpha_{i}|^{2}+|\alpha_{j}|^{2})+\alpha_% {i}^{*}\alpha_{j}}.× italic_e start_POSTSUPERSCRIPT - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( | italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + | italic_α start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) + italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_α start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUPERSCRIPT . (40b)

In the case of Np=1subscript𝑁𝑝1N_{p}=1italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 1, with α=|α|eiφα𝛼𝛼superscripte𝑖subscript𝜑𝛼\alpha=|\alpha|{\rm e}^{i\varphi_{\alpha}}italic_α = | italic_α | roman_e start_POSTSUPERSCRIPT italic_i italic_φ start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, α~=|α~|eiφα~~𝛼~𝛼superscripte𝑖subscript𝜑~𝛼\tilde{\alpha}=|\tilde{\alpha}|{\rm e}^{i\varphi_{\tilde{\alpha}}}over~ start_ARG italic_α end_ARG = | over~ start_ARG italic_α end_ARG | roman_e start_POSTSUPERSCRIPT italic_i italic_φ start_POSTSUBSCRIPT over~ start_ARG italic_α end_ARG end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, Eq.  (39) is maximized for φα~=φαsubscript𝜑~𝛼subscript𝜑𝛼\varphi_{\tilde{\alpha}}=\varphi_{\alpha}italic_φ start_POSTSUBSCRIPT over~ start_ARG italic_α end_ARG end_POSTSUBSCRIPT = italic_φ start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT and for amplitude of α~~𝛼\tilde{\alpha}over~ start_ARG italic_α end_ARG which is the solution to |α~|2|α||α~|1=0superscript~𝛼2𝛼~𝛼10|\tilde{\alpha}|^{2}-|\alpha|\,|\tilde{\alpha}|-1=0| over~ start_ARG italic_α end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - | italic_α | | over~ start_ARG italic_α end_ARG | - 1 = 0. For instance if α=0𝛼0\alpha=0italic_α = 0, |α~|=1,φα~~𝛼1for-allsubscript𝜑~𝛼|\tilde{\alpha}|=1,\;\forall\varphi_{\tilde{\alpha}}| over~ start_ARG italic_α end_ARG | = 1 , ∀ italic_φ start_POSTSUBSCRIPT over~ start_ARG italic_α end_ARG end_POSTSUBSCRIPT, cf. Fig. 4(a), and similarly for α0𝛼0\alpha\neq 0italic_α ≠ 0, cf. Fig. 4(b). The starting point of the gradient descent search is denoted by the red cross and the maximum of the numerically found maximum of the overlap, Eq. (39), by the white cross. We remark that the achievable fidelity after projecting back to the manifold is strongly dependent on the jump operator and the number of polarons. For instance, for the case shown in Fig. 4(a), the state after the jump is a Fock state |1ket1\ket{1}| start_ARG 1 end_ARG ⟩. As such, after projecting it back to a single coherent state, its fidelity is given by e|α~|2/2|α|n/n!e1/20.61superscriptesuperscript~𝛼22superscript𝛼𝑛𝑛superscripte120.61{\rm e}^{-|\tilde{\alpha}|^{2}/2}|\alpha|^{n}/\sqrt{n!}\rightarrow{\rm e}^{-1/% 2}\approx 0.61roman_e start_POSTSUPERSCRIPT - | over~ start_ARG italic_α end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / 2 end_POSTSUPERSCRIPT | italic_α | start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT / square-root start_ARG italic_n ! end_ARG → roman_e start_POSTSUPERSCRIPT - 1 / 2 end_POSTSUPERSCRIPT ≈ 0.61 with n=1𝑛1n=1italic_n = 1 and |α~|=1~𝛼1|\tilde{\alpha}|=1| over~ start_ARG italic_α end_ARG | = 1.

Refer to caption
Figure 4: (a,b) Fidelity of a|αsuperscript𝑎ket𝛼a^{\dagger}\ket{\alpha}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT | start_ARG italic_α end_ARG ⟩ projected back onto the variational manifold here formed by the set of all coherent states |α~=x~+iy~ket~𝛼~𝑥𝑖~𝑦|\tilde{\alpha}=\tilde{x}+i\tilde{y}\rangle| over~ start_ARG italic_α end_ARG = over~ start_ARG italic_x end_ARG + italic_i over~ start_ARG italic_y end_ARG ⟩. The red cross denotes the initial state upon which acts the jump operator asuperscript𝑎a^{\dagger}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT, and the white cross denotes the maximum of Eq. (39) found via gradient descent. The used initial states are (a) |α=0ket𝛼0\ket{\alpha=0}| start_ARG italic_α = 0 end_ARG ⟩ (with a ring of global maxima due to the symmetry of a|0𝑎ket0a\ket{0}italic_a | start_ARG 0 end_ARG ⟩) and (b) |α=0.3+i0.8ket𝛼0.3𝑖0.8\ket{\alpha=0.3+i0.8}| start_ARG italic_α = 0.3 + italic_i 0.8 end_ARG ⟩. (c,d) Difference in optimized fidelities, cf. Eq. (38), found by gradient descent vs. bounded simulated annealing. The jump operators are (c) asuperscript𝑎a^{\dagger}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT and (d) x=a+a𝑥𝑎superscript𝑎x=a+a^{\dagger}italic_x = italic_a + italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT.

In the generic case of the multipolaron ansatz Np>1subscript𝑁𝑝1N_{p}>1italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT > 1, the optimization landscape becomes more complex. In Fig. 4(c)-(d), for Np=1subscript𝑁𝑝1N_{p}=1italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 1 (blue), Np=2subscript𝑁𝑝2N_{p}=2italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 2 (orange) and Np=3subscript𝑁𝑝3N_{p}=3italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 3 (green) we use Eq. (38) and plot the difference in optimized fidelities |GDSA|subscriptGDsubscriptSA|{\cal F}_{\rm GD}-{\cal F}_{\rm SA}|| caligraphic_F start_POSTSUBSCRIPT roman_GD end_POSTSUBSCRIPT - caligraphic_F start_POSTSUBSCRIPT roman_SA end_POSTSUBSCRIPT |, with the optimization performed by gradient descent with backtracking (GDsubscriptGD{\cal F}_{\rm GD}caligraphic_F start_POSTSUBSCRIPT roman_GD end_POSTSUBSCRIPT) and bounded simulated annealing (SAsubscriptSA{\cal F}_{\rm SA}caligraphic_F start_POSTSUBSCRIPT roman_SA end_POSTSUBSCRIPT). We consider two quantum jumps, (c) single-particle gain c=a𝑐superscript𝑎c=a^{\dagger}italic_c = italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT and (d) momentum kicks c=x=a+a𝑐𝑥𝑎superscript𝑎c=x=a+a^{\dagger}italic_c = italic_x = italic_a + italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT. Our choice of single-particle gain is motivated by its relevance to many spin-boson systems (see Secs. V and VI), whilst the momentum kick jump plays a crucial role in laser cooling large ion crystals Gerritsen et al. . We generate 103superscript10310^{3}10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT initial (pre-jump) random states |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩. As the generic variational starting state |ψ~ket~𝜓|\tilde{\psi}\rangle| over~ start_ARG italic_ψ end_ARG ⟩ to be optimized, for GD we use the pre-jump state |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩, whilst for the SA we seed a random starting state |ψ~ket~𝜓|\tilde{\psi}\rangle| over~ start_ARG italic_ψ end_ARG ⟩ whose coefficients (see Eq. (37)) are drawn from a uniform unit distribution {ci,αi,c~i,α~i}[0,1]subscript𝑐𝑖subscript𝛼𝑖subscript~𝑐𝑖subscript~𝛼𝑖01\{c_{i},\alpha_{i},\tilde{c}_{i},\tilde{\alpha}_{i}\}\in[0,1]{ italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , over~ start_ARG italic_c end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , over~ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT } ∈ [ 0 , 1 ]. We set a sufficiently slow SA cooling rate such that the algorithm converges to the same local maxima irrespective of the randomly chosen starting point. For all the studied cases, the fidelities of the states obtained by the two numerical optimizers agree within 103less-than-or-similar-toabsentsuperscript103\lesssim 10^{-3}≲ 10 start_POSTSUPERSCRIPT - 3 end_POSTSUPERSCRIPT.

III.4 Time evolution

We are now equipped to implement the quantum trajectories program for the NGS ansatz outlined in Sec. III.1. In principle, one could evolve the wavefunction |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ between the jumps according to the equations of motion in Eq. (26) while tracking the decay of the norm to identify the time tjsubscript𝑡𝑗t_{j}italic_t start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT of a jump. In practice we find it convenient to Trotterize the time evolution between jumps governed by Heffsubscript𝐻effH_{\rm eff}italic_H start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT, Eq. (20), in the usual way as

ei(HiK)δteiHδt/2eKδt/2superscript𝑒𝑖𝐻𝑖𝐾𝛿𝑡superscript𝑒𝑖𝐻𝛿𝑡2superscript𝑒𝐾𝛿𝑡2\displaystyle e^{-i(H-iK)\delta t}\approx e^{-iH\delta t/2}e^{-K\delta t/2}italic_e start_POSTSUPERSCRIPT - italic_i ( italic_H - italic_i italic_K ) italic_δ italic_t end_POSTSUPERSCRIPT ≈ italic_e start_POSTSUPERSCRIPT - italic_i italic_H italic_δ italic_t / 2 end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT - italic_K italic_δ italic_t / 2 end_POSTSUPERSCRIPT (41)

for sufficiently small δt𝛿𝑡\delta titalic_δ italic_t. The norm during the unitary dynamics under eiHδt/2superscripte𝑖𝐻𝛿𝑡2{\rm e}^{-iH\delta t/2}roman_e start_POSTSUPERSCRIPT - italic_i italic_H italic_δ italic_t / 2 end_POSTSUPERSCRIPT is preserved due to the use of the norm factors κ𝜅\kappaitalic_κ as variational parameters (we note that the opposite case, namely the absence of a global norm factor as a variational parameter, can result in unphysical couplings, see Ref. Hackl et al. (2020)). During the imaginary-time evolution eKδt/2superscripte𝐾𝛿𝑡2{\rm e}^{-K\delta t/2}roman_e start_POSTSUPERSCRIPT - italic_K italic_δ italic_t / 2 end_POSTSUPERSCRIPT we track the decay of the norm caused to determine the time of the jump tjsubscript𝑡𝑗t_{j}italic_t start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT, where we apply the corresponding jump operator cmsubscript𝑐𝑚c_{m}italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT.

IV Truncated Wigner Approximation for spins and bosons

The phase space picture of quantum mechanics provides alternative means to simulate and analyze the quantum many-body dynamics in systems with mixed spin and bosonic degrees of freedom, in particular in a semi-classical framework known as the truncated Wigner approximation (TWA) Polkovnikov (2010a). The Wigner-Weyl transform maps Hilbert space operators O𝑂Oitalic_O of a quantum system to functions of classical phase space variables, known as Weyl symbols OWsubscript𝑂𝑊O_{W}italic_O start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT. The Weyl symbol corresponding to the density matrix is known as the Wigner function and provides a full ensemble description of arbitrary quantum states in terms of a (potentially negative) quasi-probability distribution.

A general Wigner-Weyl transform can be defined using the framework of phase point operators Wootters (1987). For example, considering particles in 1D with positions 𝐱𝐱\mathbf{x}bold_x and momenta 𝐩𝐩\mathbf{p}bold_p, operators 𝒜(𝐱,𝐩)𝒜𝐱𝐩\mathcal{A}(\mathbf{x},\mathbf{p})caligraphic_A ( bold_x , bold_p ) for each point in phase space define the Wigner-Weyl transformation via OW(𝐱,𝐩)=tr[𝒜(𝐱,𝐩)O]/2πsubscript𝑂𝑊𝐱𝐩trdelimited-[]𝒜𝐱𝐩𝑂2𝜋O_{W}(\mathbf{x},\mathbf{p})={\rm tr}[\mathcal{A}(\mathbf{x},\mathbf{p})O]/% \sqrt{2\pi}italic_O start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) = roman_tr [ caligraphic_A ( bold_x , bold_p ) italic_O ] / square-root start_ARG 2 italic_π end_ARG and vice versa O=𝑑𝐱𝑑𝐩OW(𝐱,𝐩)𝒜(𝐱,𝐩)𝑂differential-d𝐱differential-d𝐩subscript𝑂𝑊𝐱𝐩𝒜𝐱𝐩O=\int d\mathbf{x}d\mathbf{p}\,O_{W}(\mathbf{x},\mathbf{p})\mathcal{A}(\mathbf% {x},\mathbf{p})italic_O = ∫ italic_d bold_x italic_d bold_p italic_O start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) caligraphic_A ( bold_x , bold_p ). Given a proper orthonormal definition of phase point operators Wootters (1987), for any state ρ𝜌\rhoitalic_ρ and any observable Q𝑄Qitalic_Q, expectation values can be evaluated from the Wigner function W(𝐱,𝐩)=tr[𝒜(𝐱,𝐩)ρ]/2π𝑊𝐱𝐩trdelimited-[]𝒜𝐱𝐩𝜌2𝜋W(\mathbf{x},\mathbf{p})={\rm tr}[\mathcal{A}(\mathbf{x},\mathbf{p})\rho]/% \sqrt{2\pi}italic_W ( bold_x , bold_p ) = roman_tr [ caligraphic_A ( bold_x , bold_p ) italic_ρ ] / square-root start_ARG 2 italic_π end_ARG via Q=𝑑𝐱𝑑𝐩QW(𝐱,𝐩)W(𝐱,𝐩)delimited-⟨⟩𝑄differential-d𝐱differential-d𝐩subscript𝑄𝑊𝐱𝐩𝑊𝐱𝐩\langle Q\rangle=\int d\mathbf{x}d\mathbf{p}\,Q_{W}(\mathbf{x},\mathbf{p})W(% \mathbf{x},\mathbf{p})⟨ italic_Q ⟩ = ∫ italic_d bold_x italic_d bold_p italic_Q start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) italic_W ( bold_x , bold_p ). Equivalent constructions can be made for spin phase spaces, either using spin-boson map**s (suitable for large spin scenarios) Polkovnikov (2010a), using spherical coordinate representations of spins A(θ,ϕ)𝐴𝜃italic-ϕA(\theta,\phi)italic_A ( italic_θ , italic_ϕ ) Mink et al. (2022), or for phase spaces using only a discrete set of points Wootters (1987).

Closed-system time-evolution equations of motion can be obtained by Wigner-Weyl transforming the Heisenberg equations of motion, which leads to the exact quantum dynamics for Weyl symbols being governed by Q˙W(𝐱,𝐩)={QW(𝐱,𝐩),HW(𝐱,𝐩)}MBsubscript˙𝑄𝑊𝐱𝐩subscriptsubscript𝑄𝑊𝐱𝐩subscript𝐻𝑊𝐱𝐩MB\dot{Q}_{W}(\mathbf{x},\mathbf{p})=\{Q_{W}(\mathbf{x},\mathbf{p}),H_{W}(% \mathbf{x},\mathbf{p})\}_{\rm MB}over˙ start_ARG italic_Q end_ARG start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) = { italic_Q start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) , italic_H start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) } start_POSTSUBSCRIPT roman_MB end_POSTSUBSCRIPT, using the Weyl symbol of the Hamiltonian HWsubscript𝐻𝑊H_{W}italic_H start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT, and the Moyal bracket defined as {QW,HW}=2QWsin(𝚲/𝟐)HWsubscript𝑄𝑊subscript𝐻𝑊2subscript𝑄𝑊𝚲2subscript𝐻𝑊\{Q_{W},H_{W}\}=2Q_{W}\sin(\mathbf{\Lambda/2})H_{W}{ italic_Q start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT , italic_H start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT } = 2 italic_Q start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT roman_sin ( start_ARG bold_Λ / bold_2 end_ARG ) italic_H start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT, with 𝚲𝚲\mathbf{\Lambda}bold_Λ the symplectic operator (with 1Planck-constant-over-2-pi1\hbar\equiv 1roman_ℏ ≡ 1) 𝚲=ixipipixi𝚲subscript𝑖subscript𝑥𝑖subscript𝑝𝑖subscript𝑝𝑖subscript𝑥𝑖\mathbf{\Lambda}=\sum_{i}\frac{\overleftarrow{\partial}}{\partial x_{i}}\frac{% \overrightarrow{\partial}}{\partial p_{i}}-\frac{\overleftarrow{\partial}}{% \partial p_{i}}\frac{\overrightarrow{\partial}}{\partial x_{i}}bold_Λ = ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT divide start_ARG over← start_ARG ∂ end_ARG end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG divide start_ARG over→ start_ARG ∂ end_ARG end_ARG start_ARG ∂ italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG - divide start_ARG over← start_ARG ∂ end_ARG end_ARG start_ARG ∂ italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG divide start_ARG over→ start_ARG ∂ end_ARG end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG. Expanding the sine function in the Moyal bracket at the lowest order is know as TWA and leads to a classical evolution of Weyl symbols Q˙W(𝐱,𝐩){QW(𝐱,𝐩),HW(𝐱,𝐩)}Psubscript˙𝑄𝑊𝐱𝐩subscriptsubscript𝑄𝑊𝐱𝐩subscript𝐻𝑊𝐱𝐩P\dot{Q}_{W}(\mathbf{x},\mathbf{p})\approx\{Q_{W}(\mathbf{x},\mathbf{p}),H_{W}(% \mathbf{x},\mathbf{p})\}_{\rm P}over˙ start_ARG italic_Q end_ARG start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) ≈ { italic_Q start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) , italic_H start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x , bold_p ) } start_POSTSUBSCRIPT roman_P end_POSTSUBSCRIPT, where {,}PsubscriptP\{\cdot,\cdot\}_{\rm P}{ ⋅ , ⋅ } start_POSTSUBSCRIPT roman_P end_POSTSUBSCRIPT now denotes the classical Poisson bracket. The Poisson bracket ensures that the Weyl symbols for any complex observable will always factorize into phase space variables, and therefore in TWA it suffices to only compute the classical evolution of the phase space variables Zhu et al. (2019). This makes TWA a very practical and efficient numerical method for the case of a positive initial Wigner function: Random positions and momenta can be sampled from the Wigner function and evolved in parallel using classical equations of motion giving 𝐱η(t)subscript𝐱𝜂𝑡\mathbf{x}_{\eta}(t)bold_x start_POSTSUBSCRIPT italic_η end_POSTSUBSCRIPT ( italic_t ) and 𝐩η(t)subscript𝐩𝜂𝑡\mathbf{p}_{\eta}(t)bold_p start_POSTSUBSCRIPT italic_η end_POSTSUBSCRIPT ( italic_t ) for trajectory η𝜂\etaitalic_η. Expectation values in TWA are then statistically approximated by Q1ntrajηntrajQW(𝐱η(t),𝐩η(t))delimited-⟨⟩𝑄1subscript𝑛trajsuperscriptsubscript𝜂subscript𝑛trajsubscript𝑄𝑊subscript𝐱𝜂𝑡subscript𝐩𝜂𝑡\langle Q\rangle\approx\frac{1}{n_{\rm traj}}\sum_{\eta}^{n_{\rm traj}}Q_{W}(% \mathbf{x}_{\eta}(t),\mathbf{p}_{\eta}(t))⟨ italic_Q ⟩ ≈ divide start_ARG 1 end_ARG start_ARG italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT end_ARG ∑ start_POSTSUBSCRIPT italic_η end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_Q start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( bold_x start_POSTSUBSCRIPT italic_η end_POSTSUBSCRIPT ( italic_t ) , bold_p start_POSTSUBSCRIPT italic_η end_POSTSUBSCRIPT ( italic_t ) ), using ntrajsubscript𝑛trajn_{\rm traj}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT trajectories.

Importantly, for small-spin systems, and in particular for spin-1/2 models as considered here, TWA can be drastically improved when using a sampling of the initial Wigner function using only a discrete set of initial phase points Schachenmayer et al. (2015a). Considering a system consisting of a single spin-1/2 described by the Pauli operators 𝝈=(σx,σy,σz)𝝈subscript𝜎𝑥subscript𝜎𝑦subscript𝜎𝑧\bm{\sigma}=\left(\sigma_{x},\sigma_{y},\sigma_{z}\right)bold_italic_σ = ( italic_σ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT , italic_σ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT , italic_σ start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT ), we define the corresponding phase space variables as 𝒮=(Sx,Sy,Sz)𝒮subscript𝑆𝑥subscript𝑆𝑦subscript𝑆𝑧{\mathcal{S}}=\left(S_{x},S_{y},S_{z}\right)caligraphic_S = ( italic_S start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT , italic_S start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT , italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT ). One can then define discrete Wigner functions which are only defined for for the 8 different discrete points 𝒮0=(±1,±1,±1)subscript𝒮0plus-or-minus1plus-or-minus1plus-or-minus1\mathbf{\mathcal{S}}_{0}=(\pm 1,\pm 1,\pm 1)caligraphic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = ( ± 1 , ± 1 , ± 1 ). For example, taking a state of Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT spin-1/2 particles of the form |ψ=i=1Ns|iket𝜓superscriptsubscripttensor-product𝑖1subscript𝑁𝑠subscriptket𝑖\ket{\psi}=\bigotimes_{i=1}^{N_{s}}\ket{\downarrow}_{i}| start_ARG italic_ψ end_ARG ⟩ = ⨂ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT | start_ARG ↓ end_ARG ⟩ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, it is straightforward to show that any possible observable can be exactly described by sampling each spin from a discrete Wigner function with the only non-zero values of Wi(Sx=±1,Sy=±1,Sz=1)=1/4subscriptsuperscript𝑊𝑖formulae-sequencesubscript𝑆𝑥plus-or-minus1formulae-sequencesubscript𝑆𝑦plus-or-minus1subscript𝑆𝑧114W^{\downarrow}_{i}(S_{x}=\pm 1,S_{y}=\pm 1,S_{z}=-1)=1/4italic_W start_POSTSUPERSCRIPT ↓ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_S start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT = ± 1 , italic_S start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT = ± 1 , italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT = - 1 ) = 1 / 4. Correspondingly, the state |isubscriptket𝑖\ket{\uparrow}_{i}| start_ARG ↑ end_ARG ⟩ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is exactly described by the discrete distribution with non-zero elements Wi(Sx=±1,Sy=±1,Sz=+1)=1/4superscriptsubscript𝑊𝑖formulae-sequencesubscript𝑆𝑥plus-or-minus1formulae-sequencesubscript𝑆𝑦plus-or-minus1subscript𝑆𝑧114W_{i}^{\uparrow}(S_{x}=\pm 1,S_{y}=\pm 1,S_{z}=+1)=1/4italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ↑ end_POSTSUPERSCRIPT ( italic_S start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT = ± 1 , italic_S start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT = ± 1 , italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT = + 1 ) = 1 / 4.

Furthermore, it can be shown in general that equivalent discrete sampling strategies can lead to exact quantum state descriptions for general discrete D𝐷Ditalic_D-level systems and for eigenstates of general spin-S𝑆Sitalic_S operators, in the sense that the measurement statistics for any observable can be exactly reproduced from sampling the Wigner function Zhu et al. (2019). Discrete sampling in combination with classical evolution is known as (generalized) discrete truncated Wigner approximation, (G)DTWA Schachenmayer et al. (2015a); Zhu et al. (2019). Classical equations of motion for the spin-variables can be derived by Wigner-Weyl transforming the Heisenberg equations of motion while factorizing the Weyl symbols into the phase space variables. (G)DTWA has been shown to capture quantum features in spin-model dynamics in several theory settings Schachenmayer et al. (2015b); Acevedo et al. (2017); Kunimi et al. (2021); Perlin et al. (2020); Muleady et al. (2023), and in comparison with experiments Lepoutre et al. (2019); Orioli et al. (2018); Franke et al. (2023); Alaoui et al. (2024).

Below we will consider a system consisting not only of spins but also of bosonic a(a)𝑎superscript𝑎a\left(a^{\dagger}\right)italic_a ( italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) degrees of freedom. For the bosonic part we will consider the complex numbers aA𝑎𝐴a\rightarrow Aitalic_a → italic_A and aAsuperscript𝑎superscript𝐴a^{\dagger}\rightarrow A^{*}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT → italic_A start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT as the classical phase space. We note that for additional bosonic degrees of freedom with operators denoted as b(b)𝑏superscript𝑏b\left(b^{\dagger}\right)italic_b ( italic_b start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) one can introduce a corresponding classical phase space with b(b)B(B)𝑏superscript𝑏𝐵superscript𝐵b\left(b^{\dagger}\right)\to B\left(B^{*}\right)italic_b ( italic_b start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) → italic_B ( italic_B start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) (see for example Sec. V). Then, considering a system with Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT spin-1/2 particles coupled to Na/bsubscript𝑁𝑎𝑏N_{a/b}italic_N start_POSTSUBSCRIPT italic_a / italic_b end_POSTSUBSCRIPT bosonic modes a/b𝑎𝑏a/bitalic_a / italic_b, computing expectation values of an observable Q(𝝈i,aj,bk)𝑄subscript𝝈𝑖subscript𝑎𝑗subscript𝑏𝑘Q(\bm{\sigma}_{i},a_{j},b_{k})italic_Q ( bold_italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_a start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) with TWA at time t𝑡titalic_t corresponds to numerically evaluating

O\displaystyle\langle O⟨ italic_O (t;{𝝈i,aj,bk})i=1Nsj=1Nak=1Nbd𝒮0id2A0jd2B0k\displaystyle\left(t;\{\bm{\sigma}_{i},a_{j},b_{k}\}\right)\rangle\approx\int% \prod_{i=1}^{N_{s}}\prod_{j=1}^{N_{a}}\prod_{k=1}^{N_{b}}d\mathbf{\mathcal{S}}% _{0}^{i}d^{2}A_{0}^{j}d^{2}B_{0}^{k}( italic_t ; { bold_italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_a start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT } ) ⟩ ≈ ∫ ∏ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ∏ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ∏ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_d caligraphic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT italic_d start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT italic_d start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT (42)
Wi(𝒮0i)Wj(A0i)Wk(B0k)OW({𝒮cli(t),Aclj(t),Bclk(t)}),subscript𝑊𝑖superscriptsubscript𝒮0𝑖subscript𝑊𝑗superscriptsubscript𝐴0𝑖subscript𝑊𝑘superscriptsubscript𝐵0𝑘subscript𝑂𝑊superscriptsubscript𝒮cl𝑖𝑡superscriptsubscript𝐴cl𝑗𝑡subscriptsuperscript𝐵𝑘cl𝑡\displaystyle W_{i}(\mathbf{\mathcal{S}}_{0}^{i})W_{j}(A_{0}^{i})W_{k}(B_{0}^{% k})O_{W}\left(\{\mathbf{\mathcal{S}}_{\rm cl}^{i}(t),{A}_{\rm cl}^{j}(t),{B}^{% k}_{\rm cl}(t)\}\right),italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( caligraphic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ) italic_W start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ) italic_W start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( italic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT ) italic_O start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( { caligraphic_S start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ( italic_t ) , italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT ( italic_t ) , italic_B start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ( italic_t ) } ) ,

where d𝒮0=dS0xdS0ydS0z𝑑subscript𝒮0𝑑superscriptsubscript𝑆0𝑥𝑑superscriptsubscript𝑆0𝑦𝑑superscriptsubscript𝑆0𝑧d\mathbf{\mathcal{S}}_{0}=dS_{0}^{x}dS_{0}^{y}dS_{0}^{z}italic_d caligraphic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = italic_d italic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_x end_POSTSUPERSCRIPT italic_d italic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_y end_POSTSUPERSCRIPT italic_d italic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_z end_POSTSUPERSCRIPT, d2A0=dReA0dImA0/πsuperscript𝑑2subscript𝐴0𝑑Resubscript𝐴0𝑑Imsubscript𝐴0𝜋d^{2}A_{0}=d{\rm{Re}}A_{0}d{\rm{Im}}A_{0}/\piitalic_d start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = italic_d roman_Re italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT italic_d roman_Im italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT / italic_π, and the subscript 00 indicates the initial values at t=0𝑡0t=0italic_t = 0. The classical variables for spin i𝑖iitalic_i and bosons j𝑗jitalic_j and k𝑘kitalic_k are sampled from the initial Wigner functions Wi(𝒮0i)subscript𝑊𝑖superscriptsubscript𝒮0𝑖W_{i}(\mathbf{\mathcal{S}}_{0}^{i})italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( caligraphic_S start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ), Wj(A0j)subscript𝑊𝑗superscriptsubscript𝐴0𝑗W_{j}(A_{0}^{j})italic_W start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT ), and Wk(B0k)subscript𝑊𝑘superscriptsubscript𝐵0𝑘W_{k}(B_{0}^{k})italic_W start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( italic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT ), respectively. Note that we always assume an initial product state between all degrees of freedoms such that the Wigner functions factorize. For the spins we will use the discrete distributions Wi/subscriptsuperscript𝑊absent𝑖W^{\uparrow/\downarrow}_{i}italic_W start_POSTSUPERSCRIPT ↑ / ↓ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT defined above, while for the bosonic modes we use standard continuous Wigner functions, in particular

Wj(A0j)=12πwj2exp(|Ajα¯j|2/(2wj2)),subscript𝑊𝑗superscriptsubscript𝐴0𝑗12𝜋superscriptsubscript𝑤𝑗2superscriptsubscript𝐴𝑗subscript¯𝛼𝑗22superscriptsubscript𝑤𝑗2W_{j}(A_{0}^{j})=\frac{1}{2\pi w_{j}^{2}}\exp{-\absolutevalue{A_{j}-\bar{% \alpha}_{j}}^{2}/(2w_{j}^{2})},italic_W start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_A start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT ) = divide start_ARG 1 end_ARG start_ARG 2 italic_π italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG roman_exp ( start_ARG - | start_ARG italic_A start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - over¯ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / ( 2 italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) end_ARG ) , (43)

where wj2=(n¯j+1/2)/2superscriptsubscript𝑤𝑗2subscript¯𝑛𝑗122w_{j}^{2}=(\bar{n}_{j}+1/2)/2italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = ( over¯ start_ARG italic_n end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + 1 / 2 ) / 2 and α𝛼\alphaitalic_α center of the Wigner function. For the vacuum state n¯j=α¯j=0subscript¯𝑛𝑗subscript¯𝛼𝑗0\bar{n}_{j}=\bar{\alpha}_{j}=0over¯ start_ARG italic_n end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = over¯ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = 0, while for a coherent state |αket𝛼\ket{\alpha}| start_ARG italic_α end_ARG ⟩, n¯j=0subscript¯𝑛𝑗0\bar{n}_{j}=0over¯ start_ARG italic_n end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = 0 and α¯j=αsubscript¯𝛼𝑗𝛼\bar{\alpha}_{j}=\alphaover¯ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_α (see Refs. Polkovnikov (2010b); Piñeiro Orioli et al. (2017) for more details). OW({𝒮cli(t),Aclj(t),Bclk(t)})subscript𝑂𝑊superscriptsubscript𝒮cl𝑖𝑡superscriptsubscript𝐴cl𝑗𝑡subscriptsuperscript𝐵𝑘cl𝑡O_{W}\left(\{\mathbf{\mathcal{S}}_{\rm cl}^{i}(t),{A}_{\rm cl}^{j}(t),{B}^{k}_% {\rm cl}(t)\}\right)italic_O start_POSTSUBSCRIPT italic_W end_POSTSUBSCRIPT ( { caligraphic_S start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ( italic_t ) , italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT ( italic_t ) , italic_B start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ( italic_t ) } ) is the Weyl symbol corresponding to the observable of interest. We use the subscript cl on the time-dependent variables 𝐒cli(t)subscriptsuperscript𝐒𝑖cl𝑡\mathbf{S}^{i}_{\rm cl}(t)bold_S start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ( italic_t ), Aclj(t)subscriptsuperscript𝐴𝑗cl𝑡A^{j}_{\rm cl}(t)italic_A start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ( italic_t ), and Bclk(t)subscriptsuperscript𝐵𝑘cl𝑡B^{k}_{\rm cl}(t)italic_B start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ( italic_t ) to indicate that they obey the classical equations of motion for spin i𝑖iitalic_i, boson j𝑗jitalic_j, and boson k𝑘kitalic_k, respectively. In Sec. V below we will provide the full classical equations of motion for our problem of interest for examples of both closed and open system dynamics. (G)DTWA methods have been recently developed further to also include open-system dynamics under Lindblad master equations Huber et al. (2021, 2022); Singh and Weimer (2022); Mink et al. (2022); Mink and Fleischhauer (2023). For our simulations we follow the procedure in Ref. Mink et al. (2022) and use a spherical coordinate parametrization of the phase space for spin i𝑖iitalic_i with phase point operators defined as

𝒜i(θi,ϕi)=12[𝟙i+𝐬(θi,ϕi)𝝈i],subscript𝒜𝑖subscript𝜃𝑖subscriptitalic-ϕ𝑖12delimited-[]subscriptdouble-struck-𝟙𝑖𝐬subscript𝜃𝑖subscriptitalic-ϕ𝑖subscript𝝈𝑖\mathcal{A}_{i}(\theta_{i},\phi_{i})=\frac{1}{2}[\mathbb{1}_{i}+\mathbf{s}(% \theta_{i},\phi_{i})\cdot\bm{\sigma}_{i}],caligraphic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) = divide start_ARG 1 end_ARG start_ARG 2 end_ARG [ blackboard_𝟙 start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + bold_s ( italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) ⋅ bold_italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] , (44)

where we use the vector on the surface of a sphere with radius 33\sqrt{3}square-root start_ARG 3 end_ARG, 𝐬i=3(sin(θi)cos(ϕi),sin(θi)sin(ϕi),cos(θi))subscript𝐬𝑖3superscriptsubscript𝜃𝑖subscriptitalic-ϕ𝑖subscript𝜃𝑖subscriptitalic-ϕ𝑖subscript𝜃𝑖\mathbf{s}_{i}=\sqrt{3}\left(\sin{\theta_{i}}\cos{\phi_{i}},-\sin{\theta_{i}}% \sin{\phi_{i}},-\cos{\theta_{i}}\right)^{\intercal}bold_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = square-root start_ARG 3 end_ARG ( roman_sin ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) roman_cos ( start_ARG italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) , - roman_sin ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) roman_sin ( start_ARG italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) , - roman_cos ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) ) start_POSTSUPERSCRIPT ⊺ end_POSTSUPERSCRIPT.

In Mink et al. (2022) it was shown that for open spin-1/2 models, it is convenient to work with flattened Wigner functions of the form χi(θi,ϕi)Wi(θi,ϕi)sinθi2πsubscript𝜒𝑖subscript𝜃𝑖subscriptitalic-ϕ𝑖subscript𝑊𝑖subscript𝜃𝑖subscriptitalic-ϕ𝑖subscript𝜃𝑖2𝜋\chi_{i}(\theta_{i},\phi_{i})\equiv W_{i}(\theta_{i},\phi_{i})\frac{\sin\theta% _{i}}{2\pi}italic_χ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) ≡ italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) divide start_ARG roman_sin italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG start_ARG 2 italic_π end_ARG. The equations of motion for an open system can then be found by deriving correspondence rules (reminiscent of Bopp representations for for bosonic systems Polkovnikov (2010a)), i.e. rules for map** terms such as Xiρisubscript𝑋𝑖subscript𝜌𝑖X_{i}\rho_{i}italic_X start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_ρ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, ρiXisubscript𝜌𝑖subscript𝑋𝑖\rho_{i}X_{i}italic_ρ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, or XiρiXisubscript𝑋𝑖subscript𝜌𝑖superscriptsubscript𝑋𝑖X_{i}\rho_{i}X_{i}^{\dagger}italic_X start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_ρ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT with Pauli operators X=σix,y,z𝑋superscriptsubscript𝜎𝑖𝑥𝑦𝑧X=\sigma_{i}^{x,y,z}italic_X = italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_x , italic_y , italic_z end_POSTSUPERSCRIPT to the phase space, which leads to terms incorporating the 4 linearly independent differential operations 𝟙,ddθi,ddϕi,d2dϕi2double-struck-𝟙𝑑𝑑subscript𝜃𝑖𝑑𝑑subscriptitalic-ϕ𝑖superscript𝑑2𝑑superscriptsubscriptitalic-ϕ𝑖2\mathbb{1},\frac{d}{d\theta_{i}},\frac{d}{d\phi_{i}},\frac{d^{2}}{d\phi_{i}^{2}}blackboard_𝟙 , divide start_ARG italic_d end_ARG start_ARG italic_d italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG , divide start_ARG italic_d end_ARG start_ARG italic_d italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG , divide start_ARG italic_d start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_d italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG acting on χ(θi,ϕi)𝜒subscript𝜃𝑖subscriptitalic-ϕ𝑖\chi(\theta_{i},\phi_{i})italic_χ ( italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ). It can be shown that the resulting EOMs lead to standard Fokker-Planck equations. This is only valid, without further approximations, for systems of non-interacting spins or if the initial state is a large coherent spin state. In these scenarios, the dynamics are given by the solution to the Fokker-Planck equations.

In our discrete sampling we select the initial angles θi,ϕisubscript𝜃𝑖subscriptitalic-ϕ𝑖\theta_{i},\phi_{i}italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT according to the parametrization given in Eq. (43). However, rather than sampling from the discrete Wi/superscriptsubscript𝑊𝑖absentW_{i}^{\uparrow/\downarrow}italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ↑ / ↓ end_POSTSUPERSCRIPT Wigner distribution, we sample from a slightly modified flattened Wigner function

χ/(θ,ϕ)=12πδ(θ±arccos(13)),superscript𝜒absent𝜃italic-ϕ12𝜋𝛿plus-or-minus𝜃arccosine13\chi^{\uparrow/\downarrow}(\theta,\phi)=\frac{1}{2\pi}\delta(\theta\pm\arccos{% \frac{1}{\sqrt{3}}}),italic_χ start_POSTSUPERSCRIPT ↑ / ↓ end_POSTSUPERSCRIPT ( italic_θ , italic_ϕ ) = divide start_ARG 1 end_ARG start_ARG 2 italic_π end_ARG italic_δ ( italic_θ ± roman_arccos ( start_ARG divide start_ARG 1 end_ARG start_ARG square-root start_ARG 3 end_ARG end_ARG end_ARG ) ) , (45)

which is generated by rotating the discrete Wigner function Wi/superscriptsubscript𝑊𝑖absentW_{i}^{\uparrow/\downarrow}italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ↑ / ↓ end_POSTSUPERSCRIPT around the z-axis. This initial Wigner function is uniform in ϕitalic-ϕ\phiitalic_ϕ and thus guarantees that 2ϕm(θnθn+1)superscript2subscriptitalic-ϕ𝑚subscript𝜃𝑛subscript𝜃𝑛1\frac{\partial^{2}}{\partial\phi_{m}\partial(\theta_{n}-\theta_{n+1})}divide start_ARG ∂ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ∂ italic_ϕ start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT ∂ ( italic_θ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT - italic_θ start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT ) end_ARG cross diffusion terms, which are dropped in TWA, vanish at t=0𝑡0t=0italic_t = 0 Mink et al. (2022). For more details, we refer the reader to Ref. Mink et al. (2022) and Sec. V where the detailed equations for our problem of interest are introduced.

V Results

Refer to caption
Figure 5: Schematic of the performance of TWA and NGS for (a) closed and (b) open dynamics. In the present study NGS is limited to at most Np=16subscript𝑁𝑝16N_{p}=16italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 16 polarons and no squeezing. (a) The performance in gλ𝑔𝜆g-\lambdaitalic_g - italic_λ parameter space for closed dynamics. When g,λ1less-than-or-similar-to𝑔𝜆1g,\lambda\lesssim 1italic_g , italic_λ ≲ 1, TWA performs well, whilst when g1,λ1formulae-sequenceless-than-or-similar-to𝑔1greater-than-or-equivalent-to𝜆1g\lesssim 1,\lambda\gtrsim 1italic_g ≲ 1 , italic_λ ≳ 1, NGS is the better choice. When g1greater-than-or-equivalent-to𝑔1g\gtrsim 1italic_g ≳ 1, TWA captures short-time dynamics, but can produce incorrect mid- to late-time results. In comparison, NGS typically does not capture quantitative details beyond the first spin relaxation, but does provide qualitative insights into the dynamics by correctly capturing the magnitude of the persistent spin-cavity dynamics. (b) Open dynamics. We operate in the g1less-than-or-similar-to𝑔1g\lesssim 1italic_g ≲ 1, λ1greater-than-or-equivalent-to𝜆1\lambda\gtrsim 1italic_λ ≳ 1 region, so NGS outperforms TWA at small κ𝜅\kappaitalic_κ. At large κ𝜅\kappaitalic_κ, TWA performs well again, with both NGS and TWA agreeing. When evolving under only HTCsubscript𝐻TCH_{\rm TC}italic_H start_POSTSUBSCRIPT roman_TC end_POSTSUBSCRIPT with the spins decaying collectively at rate ΓΓ\Gammaroman_Γ, NGS and TWA agree when using the large Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT Holstein-Primakoff (HP) transformation at small ΓΓ\Gammaroman_Γ. At large ΓΓ\Gammaroman_Γ the collective spin quickly decays to the ground state, which is inaccessible as the first order expansion of the root in HP is no longer sufficient near the ground state since it was expanded around the excited state (small aasuperscript𝑎𝑎a^{\dagger}aitalic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a), so neither method is able to capture intermediate- to late-time dynamics.

To evaluate the performance of our two numerical methods, we consider the disordered Holstein-Tavis-Cummings model describing a system of Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT spins σ𝜎\sigmaitalic_σ coupled to a single bosonic mode (a𝑎aitalic_a), representing a coupling to a cavity mode, and Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT local vibrational modes (bisubscript𝑏𝑖b_{i}italic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT) associated with each spin. The system is described by the Hamiltonian Wellnitz et al. (2022):

H=HTC+Hvib+HH+Hdis,𝐻subscript𝐻TCsubscript𝐻vibsubscript𝐻Hsubscript𝐻disH=H_{\rm TC}+H_{\rm vib}+H_{\rm H}+H_{\rm dis},italic_H = italic_H start_POSTSUBSCRIPT roman_TC end_POSTSUBSCRIPT + italic_H start_POSTSUBSCRIPT roman_vib end_POSTSUBSCRIPT + italic_H start_POSTSUBSCRIPT roman_H end_POSTSUBSCRIPT + italic_H start_POSTSUBSCRIPT roman_dis end_POSTSUBSCRIPT , (46)

where

HTCsubscript𝐻TC\displaystyle H_{\rm TC}italic_H start_POSTSUBSCRIPT roman_TC end_POSTSUBSCRIPT =Δ2j=1Ns(σjz+𝟙)+gNsj=1Nsaσj++aσj,absentΔ2superscriptsubscript𝑗1subscript𝑁𝑠subscriptsuperscript𝜎𝑧𝑗double-struck-𝟙𝑔subscript𝑁𝑠superscriptsubscript𝑗1subscript𝑁𝑠𝑎superscriptsubscript𝜎𝑗superscript𝑎superscriptsubscript𝜎𝑗\displaystyle=\frac{\Delta}{2}\sum_{j=1}^{N_{s}}(\sigma^{z}_{j}+\mathbb{1})+% \frac{g}{\sqrt{N_{s}}}\sum_{j=1}^{N_{s}}a\sigma_{j}^{+}+a^{\dagger}\sigma_{j}^% {-},= divide start_ARG roman_Δ end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( italic_σ start_POSTSUPERSCRIPT italic_z end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + blackboard_𝟙 ) + divide start_ARG italic_g end_ARG start_ARG square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG end_ARG ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_a italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT + italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT , (47a)
Hvibsubscript𝐻vib\displaystyle H_{\rm vib}italic_H start_POSTSUBSCRIPT roman_vib end_POSTSUBSCRIPT =νj=1Nsbjbj,absent𝜈superscriptsubscript𝑗1subscript𝑁𝑠subscriptsuperscript𝑏𝑗subscript𝑏𝑗\displaystyle=\nu\sum_{j=1}^{N_{s}}b^{\dagger}_{j}b_{j},= italic_ν ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_b start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_b start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , (47b)
HHsubscript𝐻H\displaystyle H_{\rm H}italic_H start_POSTSUBSCRIPT roman_H end_POSTSUBSCRIPT =λν2j=1Ns(bj+bj)(σjz+𝟙),absent𝜆𝜈2superscriptsubscript𝑗1subscript𝑁𝑠subscript𝑏𝑗superscriptsubscript𝑏𝑗superscriptsubscript𝜎𝑗𝑧double-struck-𝟙\displaystyle=-\frac{\lambda\nu}{2}\sum_{j=1}^{N_{s}}(b_{j}+b_{j}^{\dagger})(% \sigma_{j}^{z}+\mathbb{1}),= - divide start_ARG italic_λ italic_ν end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( italic_b start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + italic_b start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT ) ( italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_z end_POSTSUPERSCRIPT + blackboard_𝟙 ) , (47c)
Hdissubscript𝐻dis\displaystyle H_{\rm dis}italic_H start_POSTSUBSCRIPT roman_dis end_POSTSUBSCRIPT =12j=1Nsϵj(σjz+𝟙),absent12superscriptsubscript𝑗1subscript𝑁𝑠subscriptitalic-ϵ𝑗subscriptsuperscript𝜎𝑧𝑗double-struck-𝟙\displaystyle=-\frac{1}{2}\sum_{j=1}^{N_{s}}\epsilon_{j}(\sigma^{z}_{j}+% \mathbb{1}),= - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_ϵ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_σ start_POSTSUPERSCRIPT italic_z end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + blackboard_𝟙 ) , (47d)

where ΔΔ\Deltaroman_Δ describes the detuning of the spin transition frequency relative to the cavity mode, g/Ns𝑔subscript𝑁𝑠g/\sqrt{N_{s}}italic_g / square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG the single-spin coupling to the cavity, ν𝜈\nuitalic_ν the frequency of the vibrational modes, λ𝜆\lambdaitalic_λ the relative strength of the Holstein coupling, and ϵjsubscriptitalic-ϵ𝑗\epsilon_{j}italic_ϵ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT the disorder in the transition frequency for spin j𝑗jitalic_j.

The dynamics of the Holstein-Tavis-Cummings model, in particular in the presence of disorder, has importance e.g. in the field of polaritonic chemistry Herrera and Spano (2016). It has been previously studied using a matrix product state method Wellnitz et al. (2022), and also using a similar non-Gaussian state framework to the one discussed here Sun et al. (2022). By tuning the relative strength of the various terms, this Hamiltonian can be reduced to spin-boson Hamiltonians applicable e.g. to trapped ion quantum simulators, impurity models, and quantum chemistry. The relative strength of g,λ,𝑔𝜆g,\lambda,italic_g , italic_λ , and ν𝜈\nuitalic_ν allows us to go from the weak coupling regime between the spin and bosonic degrees of freedom, to a model governed by a Tavis-Cummings type interaction, a Holstein coupling, or a combination thereof. We illustrate the performance of our methods in these regimes schematically in Fig. 5(a).

Furthermore, we investigate how both methods perform in the presence of sources of decoherence. In this case, we are interested in the evolution of the density matrix ρ𝜌\rhoitalic_ρ as described by the Lindblad master equation,

ρ˙=i[H,ρ]+mcmρcm12{cmcm,ρ},˙𝜌𝑖𝐻𝜌subscript𝑚subscript𝑐𝑚𝜌superscriptsubscript𝑐𝑚12superscriptsubscript𝑐𝑚subscript𝑐𝑚𝜌\dot{\rho}=-i[H,\rho]+\sum_{m}c_{m}\rho c_{m}^{\dagger}-\frac{1}{2}\left\{c_{m% }^{\dagger}c_{m},\rho\right\},over˙ start_ARG italic_ρ end_ARG = - italic_i [ italic_H , italic_ρ ] + ∑ start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT italic_ρ italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT - divide start_ARG 1 end_ARG start_ARG 2 end_ARG { italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT , italic_ρ } ,

where cmsubscript𝑐𝑚c_{m}italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT are the jump operators and {,}\{\cdot,\cdot\}{ ⋅ , ⋅ } is the anticommutator. We study open dynamics with the following types of Lindblad jump operators:

  • Cavity decay (rate κ)\kappa)italic_κ ): cm=κasubscript𝑐𝑚𝜅𝑎c_{m}=\sqrt{\kappa}aitalic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT = square-root start_ARG italic_κ end_ARG italic_a,

  • Single spin decay (rate γ𝛾\gammaitalic_γ): cm=γσisubscript𝑐𝑚𝛾subscriptsuperscript𝜎𝑖c_{m}=\sqrt{\gamma}\sigma^{-}_{i}italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT = square-root start_ARG italic_γ end_ARG italic_σ start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, and

  • Collective spin decay (rate ΓΓ\Gammaroman_Γ) cm=Γiσisubscript𝑐𝑚Γsubscript𝑖subscriptsuperscript𝜎𝑖c_{m}=\sqrt{\Gamma}\sum_{i}\sigma^{-}_{i}italic_c start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT = square-root start_ARG roman_Γ end_ARG ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_σ start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT.

We summarize the performance of the two methods in the presence of these decoherence sources schematically in Fig. 5(b).

V.1 Details of NGS and TWA simulations

We consider two scenarios for evolution under the Hamiltonian (46). In the first case (ϵ,λ=0italic-ϵ𝜆0\epsilon,\,\lambda=0italic_ϵ , italic_λ = 0), the evolution reduces to evolution under HTCsubscript𝐻TCH_{\rm TC}italic_H start_POSTSUBSCRIPT roman_TC end_POSTSUBSCRIPT and therefore takes places in the collective Tavis-Cummings manifold as HTCsubscript𝐻TCH_{\rm TC}italic_H start_POSTSUBSCRIPT roman_TC end_POSTSUBSCRIPT conserves the total excitation number Nex=aa+iσizsubscript𝑁exsuperscript𝑎𝑎subscript𝑖superscriptsubscript𝜎𝑖𝑧N_{\rm ex}=a^{\dagger}a+\sum_{i}\sigma_{i}^{z}italic_N start_POSTSUBSCRIPT roman_ex end_POSTSUBSCRIPT = italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a + ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_z end_POSTSUPERSCRIPT. Away from this limit, when ϵ0italic-ϵ0\epsilon\neq 0italic_ϵ ≠ 0 or λ0𝜆0\lambda\neq 0italic_λ ≠ 0, the spins can no longer be treated as a large collective spin and thus must be treated as an interacting collection of single spin-1/2121/21 / 2 systems.

V.1.1 Tavis-Cummings

When the evolution is under HTCsubscript𝐻TCH_{\rm TC}italic_H start_POSTSUBSCRIPT roman_TC end_POSTSUBSCRIPT we can use the Holstein-Primakoff (HP) transformation to map the collective spin S𝑆Sitalic_S to a single bosonic mode,

S+subscript𝑆\displaystyle S_{+}italic_S start_POSTSUBSCRIPT + end_POSTSUBSCRIPT =2saaa,absent2𝑠superscript𝑎𝑎𝑎\displaystyle=\sqrt{2s-a^{\dagger}a}\,a,= square-root start_ARG 2 italic_s - italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a end_ARG italic_a , (48a)
Szsubscript𝑆𝑧\displaystyle S_{z}italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT =saa,absent𝑠superscript𝑎𝑎\displaystyle=s-a^{\dagger}a,= italic_s - italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a , (48b)

where sNs/2𝑠subscript𝑁𝑠2s\equiv N_{s}/2italic_s ≡ italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT / 2. We use a Taylor series to expand the square root in powers of 1/s1𝑠1/s1 / italic_s to first order. The NGS simulation then proceeds using the multipolaron ansatz with Nb=2subscript𝑁𝑏2N_{b}=2italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT = 2 bosonic modes. We can include collective spin decay iσisubscript𝑖superscriptsubscript𝜎𝑖\sum_{i}\sigma_{i}^{-}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT at strength ΓΓ\Gammaroman_Γ using the manifold projection technique described in Sec. (III.3).

For the TWA simulations, the equations of motion for the cavity mode A𝐴Aitalic_A and the large spin HP mode B𝐵Bitalic_B are,

A˙clsubscript˙𝐴cl\displaystyle\dot{A}_{\rm cl}over˙ start_ARG italic_A end_ARG start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT =κ2Aclig22sBcl(4sNB,cl),absent𝜅2subscript𝐴cl𝑖𝑔22𝑠superscriptsubscript𝐵cl4𝑠subscript𝑁𝐵cl\displaystyle=-\frac{\kappa}{2}A_{\rm cl}-i\frac{g}{2\sqrt{2s}}B_{\rm cl}^{*}% \left(4s-N_{B,\rm cl}\right),= - divide start_ARG italic_κ end_ARG start_ARG 2 end_ARG italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT - italic_i divide start_ARG italic_g end_ARG start_ARG 2 square-root start_ARG 2 italic_s end_ARG end_ARG italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( 4 italic_s - italic_N start_POSTSUBSCRIPT italic_B , roman_cl end_POSTSUBSCRIPT ) , (49a)
N˙A,clsubscript˙𝑁𝐴cl\displaystyle\dot{N}_{A,\rm cl}over˙ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_A , roman_cl end_POSTSUBSCRIPT =κNA,clg2sIm[AclBcl](4sNB,cl),absent𝜅subscript𝑁𝐴cl𝑔2𝑠subscript𝐴clsubscript𝐵cl4𝑠subscript𝑁𝐵cl\displaystyle=-\kappa N_{A,\rm cl}-\frac{g}{\sqrt{2s}}\imaginary[A_{\rm cl}B_{% \rm cl}]\left(4s-N_{B,\rm cl}\right),= - italic_κ italic_N start_POSTSUBSCRIPT italic_A , roman_cl end_POSTSUBSCRIPT - divide start_ARG italic_g end_ARG start_ARG square-root start_ARG 2 italic_s end_ARG end_ARG start_OPERATOR roman_Im end_OPERATOR [ italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ] ( 4 italic_s - italic_N start_POSTSUBSCRIPT italic_B , roman_cl end_POSTSUBSCRIPT ) , (49b)
B˙cl=ΓBcl[s18s+NB,cl(|Bcl|216s12)]+ig22s[AclBcl22Acl(2sNB,cl)]+iΔBcl,subscript˙𝐵clΓsubscript𝐵cldelimited-[]𝑠18𝑠subscript𝑁𝐵clsuperscriptsubscript𝐵cl216𝑠12𝑖𝑔22𝑠delimited-[]subscript𝐴clsuperscriptsubscript𝐵cl22superscriptsubscript𝐴cl2𝑠subscript𝑁𝐵cl𝑖Δsubscript𝐵cl\displaystyle\begin{split}\dot{B}_{\rm cl}&=\Gamma B_{\rm cl}\left[s-\frac{1}{% 8s}+N_{B,\rm cl}\left(\frac{\absolutevalue{B_{\rm cl}}^{2}}{16s}-\frac{1}{2}% \right)\right]\\ &\hphantom{={}}+\frac{ig}{2\sqrt{2s}}\left[A_{\rm cl}B_{\rm cl}^{2}-2A_{\rm cl% }^{*}\left(2s-N_{B,\rm cl}\right)\right]+i\Delta B_{\rm cl},\end{split}start_ROW start_CELL over˙ start_ARG italic_B end_ARG start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT end_CELL start_CELL = roman_Γ italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT [ italic_s - divide start_ARG 1 end_ARG start_ARG 8 italic_s end_ARG + italic_N start_POSTSUBSCRIPT italic_B , roman_cl end_POSTSUBSCRIPT ( divide start_ARG | start_ARG italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 16 italic_s end_ARG - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ) ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + divide start_ARG italic_i italic_g end_ARG start_ARG 2 square-root start_ARG 2 italic_s end_ARG end_ARG [ italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - 2 italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( 2 italic_s - italic_N start_POSTSUBSCRIPT italic_B , roman_cl end_POSTSUBSCRIPT ) ] + italic_i roman_Δ italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT , end_CELL end_ROW (49c)
N˙clsubscript˙𝑁cl\displaystyle\dot{N}_{\rm cl}over˙ start_ARG italic_N end_ARG start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT =Γ[2S+NB,cl(14s+2(s1)+(Bcl))]absentΓdelimited-[]2𝑆subscript𝑁𝐵cl14𝑠2𝑠1subscript𝐵cl\displaystyle=\Gamma\left[2S+N_{B,\rm cl}\left(\frac{1}{4s}+2\left(s-1\right)+% \mathcal{F}(B_{\rm cl})\right)\right]= roman_Γ [ 2 italic_S + italic_N start_POSTSUBSCRIPT italic_B , roman_cl end_POSTSUBSCRIPT ( divide start_ARG 1 end_ARG start_ARG 4 italic_s end_ARG + 2 ( italic_s - 1 ) + caligraphic_F ( italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ) ) ]
g2sIm[AclBcl](4sNB,cl),𝑔2𝑠subscript𝐴clsubscript𝐵cl4𝑠subscript𝑁𝐵cl\displaystyle-\frac{g}{\sqrt{2s}}\imaginary[A_{\rm cl}B_{\rm cl}](4s-N_{B,\rm cl% }),- divide start_ARG italic_g end_ARG start_ARG square-root start_ARG 2 italic_s end_ARG end_ARG start_OPERATOR roman_Im end_OPERATOR [ italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ] ( 4 italic_s - italic_N start_POSTSUBSCRIPT italic_B , roman_cl end_POSTSUBSCRIPT ) , (49d)

where we introduce the function (Bcl)=18s|Bcl|2(48s+|Bcl2|)subscript𝐵cl18𝑠superscriptsubscript𝐵cl248𝑠superscriptsubscript𝐵cl2\mathcal{F}(B_{\rm cl})=\frac{1}{8s}\absolutevalue{B_{\rm cl}}^{2}\left(4-8s+% \absolutevalue{B_{\rm cl}^{2}}\right)caligraphic_F ( italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ) = divide start_ARG 1 end_ARG start_ARG 8 italic_s end_ARG | start_ARG italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( 4 - 8 italic_s + | start_ARG italic_B start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG | ). We sample the cavity (mode A) assuming a coherent state |α=1ket𝛼1\ket{\alpha=1}| start_ARG italic_α = 1 end_ARG ⟩ and sample the large spin (mode B) assuming the spins are polarised pointing up, which corresponds to sampling the vacuum for mode B.

Our results using this approach, including collective spin decay, are shown in Fig. 12 in the lines labeled as TWA (HP) and NGS (HP).

V.1.2 Holstein Tavis-Cummings

In principle the NGS ansatz can be used directly to treat the spin degrees of freedom. However, to avoid the explicit exponential scaling with Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT, we again use a Holstein-Primakoff transformation to map each spin-1/2121/21 / 2 to a bosonic mode. We use a different form of the HP transformation Vogl et al. (2020),

S+subscript𝑆\displaystyle S_{+}italic_S start_POSTSUBSCRIPT + end_POSTSUBSCRIPT =(1aa)a,absent1superscript𝑎𝑎𝑎\displaystyle=(1-a^{\dagger}a)a,= ( 1 - italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a ) italic_a , (50a)
Szsubscript𝑆𝑧\displaystyle S_{z}italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT =1/2aa,absent12superscript𝑎𝑎\displaystyle=1/2-a^{\dagger}a,= 1 / 2 - italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a , (50b)

as unlike the usual HP transformation used above in Eq. (48), it is exact for spin-1/2121/21 / 2. As such, the dynamics are restricted to the |0|eket0ket𝑒\ket{0}\equiv\ket{e}| start_ARG 0 end_ARG ⟩ ≡ | start_ARG italic_e end_ARG ⟩ and |1|gket1ket𝑔\ket{1}\equiv\ket{g}| start_ARG 1 end_ARG ⟩ ≡ | start_ARG italic_g end_ARG ⟩ subspace, with |gg|=aa𝑔𝑔superscript𝑎𝑎\outerproduct{g}{g}=a^{\dagger}a| start_ARG italic_g end_ARG ⟩ ⟨ start_ARG italic_g end_ARG | = italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a and |ee|=1aa𝑒𝑒1superscript𝑎𝑎\outerproduct{e}{e}=1-a^{\dagger}a| start_ARG italic_e end_ARG ⟩ ⟨ start_ARG italic_e end_ARG | = 1 - italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a. The vacuum is a Gaussian state and can therefore be described using only Np=1subscript𝑁𝑝1N_{p}=1italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 1. The Fock state |1ket1\ket{1}| start_ARG 1 end_ARG ⟩ can be described using Np=2subscript𝑁𝑝2N_{p}=2italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 2, by |1=1/𝒩limα0(|α|α)ket11𝒩subscript𝛼0ket𝛼ket𝛼\ket{1}=1/\mathcal{N}\lim_{\alpha\rightarrow 0}(\ket{\alpha}-\ket{-\alpha})| start_ARG 1 end_ARG ⟩ = 1 / caligraphic_N roman_lim start_POSTSUBSCRIPT italic_α → 0 end_POSTSUBSCRIPT ( | start_ARG italic_α end_ARG ⟩ - | start_ARG - italic_α end_ARG ⟩ ), where 𝒩𝒩\mathcal{N}caligraphic_N is a normalization factor Marshall and Anand (2023), with α0.001similar-to𝛼0.001\alpha\sim 0.001italic_α ∼ 0.001 sufficient to describe the state with high fidelity. As such, each spin can be captured using Np=3subscript𝑁𝑝3N_{p}=3italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 3 polarons.

For the NGS simulations, we employ the NGS ansatz with Nb=2Ns+1subscript𝑁𝑏2subscript𝑁𝑠1N_{b}=2N_{s}+1italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT = 2 italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT + 1 modes. We include cavity decay at strength γ𝛾\gammaitalic_γ using the simple parameter-update prescription outlined in Sec. V Note that as a consequence of this map**, the ansatz is not well-suited to some scenarios. For example, there is no spin-spin coupling when evolving under only Hdissubscript𝐻disH_{\rm dis}italic_H start_POSTSUBSCRIPT roman_dis end_POSTSUBSCRIPT, so an unentangled initial state will evolve as a tensor product of single spins, each requiring Np=3subscript𝑁𝑝3N_{p}=3italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 3. The number of polarons therefore scales exponentially in the number of spins, 3Nssuperscript3subscript𝑁𝑠3^{N_{s}}3 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT. This limitation could potentially be circumvented by modifying the ansatz to be a superposition of squeezing displaced Fock states Schlegel et al. (2023).

For the TWA simulations, to more accurately capture the dynamics of the cavity and vibrational modes, we extend the set of TWA equations by including the classical equations of motion for the mode excitation numbers aaNA,bkbkNBkformulae-sequencesuperscript𝑎𝑎subscript𝑁𝐴superscriptsubscript𝑏𝑘subscript𝑏𝑘subscript𝑁subscript𝐵𝑘a^{\dagger}a\rightarrow N_{A},b_{k}^{\dagger}b_{k}\rightarrow N_{B_{k}}italic_a start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_a → italic_N start_POSTSUBSCRIPT italic_A end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT → italic_N start_POSTSUBSCRIPT italic_B start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT. Including all three sources of decoherence described above, the equations of motion for the spin degrees of freedom are,

θ˙i,cl=(Γ+γ)(cotθi,clcscθi,cl3)+2gNsIm[eiϕi,clAcl]Γ32jcos((ϕi,clϕj,cl))sin(θj,cl),subscript˙𝜃𝑖clΓ𝛾subscript𝜃𝑖clsubscript𝜃𝑖cl32𝑔subscript𝑁𝑠superscript𝑒𝑖subscriptitalic-ϕ𝑖clsubscript𝐴clΓ32subscript𝑗subscriptitalic-ϕ𝑖clsubscriptitalic-ϕ𝑗clsubscript𝜃𝑗cl\displaystyle\begin{split}\dot{\theta}_{i,\rm cl}&=(\Gamma+\gamma)(\cot\theta_% {i,\rm cl}-\frac{\csc\theta_{i,\rm cl}}{\sqrt{3}})\\ &+\frac{2g}{\sqrt{N_{s}}}\imaginary[e^{-i\phi_{i,\rm cl}}A_{\rm cl}]\\ &-\frac{\Gamma\sqrt{3}}{2}\sum_{j}\cos{(\phi_{i,\rm cl}-\phi_{j,\rm cl})}\sin{% \theta_{j,\rm cl}},\end{split}start_ROW start_CELL over˙ start_ARG italic_θ end_ARG start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_CELL start_CELL = ( roman_Γ + italic_γ ) ( roman_cot italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT - divide start_ARG roman_csc italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG start_ARG square-root start_ARG 3 end_ARG end_ARG ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + divide start_ARG 2 italic_g end_ARG start_ARG square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG end_ARG start_OPERATOR roman_Im end_OPERATOR [ italic_e start_POSTSUPERSCRIPT - italic_i italic_ϕ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL - divide start_ARG roman_Γ square-root start_ARG 3 end_ARG end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT roman_cos ( start_ARG ( italic_ϕ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT - italic_ϕ start_POSTSUBSCRIPT italic_j , roman_cl end_POSTSUBSCRIPT ) end_ARG ) roman_sin ( start_ARG italic_θ start_POSTSUBSCRIPT italic_j , roman_cl end_POSTSUBSCRIPT end_ARG ) , end_CELL end_ROW (51a)
dϕi,cl=(Δ+ϵn+2λνRe[Bi,cl]2gNscot(θi,cl)Re[Acleiϕi,cl]Γ32jcot(θi,cl)sin(θj,cl)sin((ϕi,clϕj,cl)))dt+(Γ+γ)f(θi,cl)dWϕi,𝑑subscriptitalic-ϕ𝑖clΔsubscriptitalic-ϵ𝑛2𝜆𝜈subscript𝐵𝑖cl2𝑔subscript𝑁𝑠subscript𝜃𝑖clsubscript𝐴clsuperscript𝑒𝑖subscriptitalic-ϕ𝑖clΓ32subscript𝑗subscript𝜃𝑖clsubscript𝜃𝑗clsubscriptitalic-ϕ𝑖clsubscriptitalic-ϕ𝑗cl𝑑𝑡Γ𝛾𝑓subscript𝜃𝑖cl𝑑subscript𝑊subscriptitalic-ϕ𝑖\displaystyle\begin{split}d\phi_{i,\rm cl}&=\big{(}-\Delta+\epsilon_{n}+2% \lambda\nu\real[B_{i,\rm cl}]\\ &-\frac{2g}{\sqrt{N_{s}}}\cot{\theta_{i,\rm cl}}\real[A_{\rm cl}e^{-i\phi_{i,% \rm cl}}]\\ &-\frac{\Gamma\sqrt{3}}{2}\sum_{j}\cot{\theta_{i,\rm cl}}\sin{\theta_{j,\rm cl% }}\sin{(\phi_{i,\rm cl}-\phi_{j,\rm cl})}\big{)}dt\\ &+\sqrt{(\Gamma+\gamma)f(\theta_{i,\rm cl})}dW_{\phi_{i}},\end{split}start_ROW start_CELL italic_d italic_ϕ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_CELL start_CELL = ( - roman_Δ + italic_ϵ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT + 2 italic_λ italic_ν start_OPERATOR roman_Re end_OPERATOR [ italic_B start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL - divide start_ARG 2 italic_g end_ARG start_ARG square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG end_ARG roman_cot ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG ) start_OPERATOR roman_Re end_OPERATOR [ italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT - italic_i italic_ϕ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL - divide start_ARG roman_Γ square-root start_ARG 3 end_ARG end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT roman_cot ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG ) roman_sin ( start_ARG italic_θ start_POSTSUBSCRIPT italic_j , roman_cl end_POSTSUBSCRIPT end_ARG ) roman_sin ( start_ARG ( italic_ϕ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT - italic_ϕ start_POSTSUBSCRIPT italic_j , roman_cl end_POSTSUBSCRIPT ) end_ARG ) ) italic_d italic_t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + square-root start_ARG ( roman_Γ + italic_γ ) italic_f ( italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT ) end_ARG italic_d italic_W start_POSTSUBSCRIPT italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT , end_CELL end_ROW (51b)

where we introduced the function f(θi,cl)=1+2cot(θi,cl)22cot(θi,cl)csc(θi,cl)/3𝑓subscript𝜃𝑖cl12superscriptsubscript𝜃𝑖cl22subscript𝜃𝑖clsubscript𝜃𝑖cl3f(\theta_{i,\rm cl})=1+2\cot{\theta_{i,\rm cl}}^{2}-2\cot{\theta_{i,\rm cl}}% \csc{\theta_{i,\rm cl}}/\sqrt{3}italic_f ( italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT ) = 1 + 2 roman_cot ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - 2 roman_cot ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG ) roman_csc ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG ) / square-root start_ARG 3 end_ARG. The equations of motion for the bosonic degrees of freedom are given by

Acl˙˙subscript𝐴cl\displaystyle\dot{A_{\rm cl}}over˙ start_ARG italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT end_ARG =κ2Acli3g2Nsieiϕi,clsin(θi,cl),absent𝜅2subscript𝐴cl𝑖3𝑔2subscript𝑁𝑠subscript𝑖superscript𝑒𝑖subscriptitalic-ϕ𝑖clsubscript𝜃𝑖cl\displaystyle=-\frac{\kappa}{2}A_{\rm cl}-i\frac{\sqrt{3}g}{2\sqrt{N_{s}}}\sum% _{i}e^{i\phi_{i,\rm cl}}\sin{\theta_{i,\rm cl}},= - divide start_ARG italic_κ end_ARG start_ARG 2 end_ARG italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT - italic_i divide start_ARG square-root start_ARG 3 end_ARG italic_g end_ARG start_ARG 2 square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG end_ARG ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT italic_i italic_ϕ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_POSTSUPERSCRIPT roman_sin ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG ) , (52a)
N˙A,clsubscript˙𝑁𝐴cl\displaystyle\dot{N}_{A,\rm cl}over˙ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_A , roman_cl end_POSTSUBSCRIPT =κNA,cl3gNsisin(θi,cl)Im[Acleiϕi,cl],absent𝜅subscript𝑁𝐴cl3𝑔subscript𝑁𝑠subscript𝑖subscript𝜃𝑖clsubscript𝐴clsuperscript𝑒𝑖subscriptitalic-ϕ𝑖cl\displaystyle=-\kappa N_{A,\rm cl}-\frac{\sqrt{3}g}{\sqrt{N_{s}}}\sum_{i}\sin{% \theta_{i,\rm cl}}\imaginary[A_{\rm cl}e^{-i\phi_{i,\rm cl}}],= - italic_κ italic_N start_POSTSUBSCRIPT italic_A , roman_cl end_POSTSUBSCRIPT - divide start_ARG square-root start_ARG 3 end_ARG italic_g end_ARG start_ARG square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG end_ARG ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT roman_sin ( start_ARG italic_θ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_ARG ) start_OPERATOR roman_Im end_OPERATOR [ italic_A start_POSTSUBSCRIPT roman_cl end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT - italic_i italic_ϕ start_POSTSUBSCRIPT italic_i , roman_cl end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ] , (52b)
B˙k,clsubscript˙𝐵𝑘cl\displaystyle\dot{B}_{k,\rm cl}over˙ start_ARG italic_B end_ARG start_POSTSUBSCRIPT italic_k , roman_cl end_POSTSUBSCRIPT =iνBk,cl+iλν2(13cos(θk,cl)),absent𝑖𝜈subscript𝐵𝑘cl𝑖𝜆𝜈213subscript𝜃𝑘cl\displaystyle=-i\nu B_{k,\rm cl}+i\frac{\lambda\nu}{2}\left(1-\sqrt{3}\cos{% \theta_{k,\rm cl}}\right),= - italic_i italic_ν italic_B start_POSTSUBSCRIPT italic_k , roman_cl end_POSTSUBSCRIPT + italic_i divide start_ARG italic_λ italic_ν end_ARG start_ARG 2 end_ARG ( 1 - square-root start_ARG 3 end_ARG roman_cos ( start_ARG italic_θ start_POSTSUBSCRIPT italic_k , roman_cl end_POSTSUBSCRIPT end_ARG ) ) , (52c)
N˙Bk,clsubscript˙𝑁subscript𝐵𝑘cl\displaystyle\dot{N}_{B_{k,\rm cl}}over˙ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_B start_POSTSUBSCRIPT italic_k , roman_cl end_POSTSUBSCRIPT end_POSTSUBSCRIPT =λν(13cos(θk,cl))Im[Bk,cl].absent𝜆𝜈13subscript𝜃𝑘clsubscript𝐵𝑘cl\displaystyle=\lambda\nu\left(1-\sqrt{3}\cos{\theta_{k,\rm cl}}\right)% \imaginary[B_{k,\rm cl}].= italic_λ italic_ν ( 1 - square-root start_ARG 3 end_ARG roman_cos ( start_ARG italic_θ start_POSTSUBSCRIPT italic_k , roman_cl end_POSTSUBSCRIPT end_ARG ) ) start_OPERATOR roman_Im end_OPERATOR [ italic_B start_POSTSUBSCRIPT italic_k , roman_cl end_POSTSUBSCRIPT ] . (52d)

Finally, we note that the initial state used for all NGS simulations includes a small amount of randomness for each variational parameter to break the degeneracy of the Gaussian states. We draw random values from a flat distribution between (0,104)0superscript104(0,10^{-4})( 0 , 10 start_POSTSUPERSCRIPT - 4 end_POSTSUPERSCRIPT ). We find that this is sufficient to ensre each Gaussian state in the superposition evolves independently, whilst ensuring extremely small infidelity with the true initial state, 1(t=0)<𝒪(106)1𝑡0𝒪superscript1061-\mathcal{F}(t=0)<\mathcal{O}(10^{-6})1 - caligraphic_F ( italic_t = 0 ) < caligraphic_O ( 10 start_POSTSUPERSCRIPT - 6 end_POSTSUPERSCRIPT ), as seen in Fig. S1 of the supplementary material.

V.2 Closed system dynamics

In this section we compare the performance of the two numerical methods. We consider a system with Ns=3subscript𝑁𝑠3N_{s}=3italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 3 spins, the corresponding three phonon modes, and one cavity mode. For this system size and suitable initial states and Hamiltonian parameters, choosing a moderate Fock state truncation 10similar-toabsent10\sim 10∼ 10 allows us to compare our results to exact numerics. Our initial state is spins polarized up, the vibrational modes in the vacuum, and the cavity in a coherent state, |ψ(0)=|Ns|α=1a|0bNsket𝜓0superscriptkettensor-productabsentsubscript𝑁𝑠subscriptket𝛼1𝑎superscriptsubscriptket0𝑏tensor-productabsentsubscript𝑁𝑠|\psi(0)\rangle=|{\uparrow}\rangle^{\otimes N_{s}}|\alpha=1\rangle_{a}|0% \rangle_{b}^{\otimes N_{s}}| italic_ψ ( 0 ) ⟩ = | ↑ ⟩ start_POSTSUPERSCRIPT ⊗ italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT | italic_α = 1 ⟩ start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT | 0 ⟩ start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊗ italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT. Note in contrast to Ref. Sun et al. (2022) our initial state is a superposition of several excitation manifolds precluding further simplifications to the ansatz.

Refer to caption
Figure 6: Closed dynamics: g=λ=0.1𝑔𝜆0.1g=\lambda=0.1italic_g = italic_λ = 0.1, Δ=0Δ0\Delta=0roman_Δ = 0. Top row: without disorder. Both NGS and TWA capture the initial spin relaxation, but NGS incorrectly predicts a slower revival. Bottom row: disordered, ϵ=[2g,3g,4g]italic-ϵ2𝑔3𝑔4𝑔\vec{\epsilon}=[2g,3g,4g]over→ start_ARG italic_ϵ end_ARG = [ 2 italic_g , 3 italic_g , 4 italic_g ]. Here, TWA captures the dynamics more accurately compared to NGS. NGS is with Np=4subscript𝑁𝑝4N_{p}=4italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 4, TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.
Refer to caption
Figure 7: Closed dynamics: g=0.1,λ=1formulae-sequence𝑔0.1𝜆1g=0.1,\lambda=1italic_g = 0.1 , italic_λ = 1, Δ=0Δ0\Delta=0roman_Δ = 0. Top row: without disorder. Neither TWA nor NGS completely capture the spin-cavity observables, but NGS more closely tracks the dynamics Bottom row: disordered, ϵ=[2g,3g,4g]italic-ϵ2𝑔3𝑔4𝑔\vec{\epsilon}=[2g,3g,4g]over→ start_ARG italic_ϵ end_ARG = [ 2 italic_g , 3 italic_g , 4 italic_g ]. NGS performs well, capturing all dynamics with small error. Interestingly, here TWA over estimates the magnitude of changes in the spin-cavity observables. Here NGS uses Np=12subscript𝑁𝑝12N_{p}=12italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 12, TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.
Refer to caption
Figure 8: Closed dynamics: g=1𝑔1g=1italic_g = 1, λ=0.1𝜆0.1\lambda=0.1italic_λ = 0.1, Δ=0Δ0\Delta=0roman_Δ = 0. Top row: without disorder. Beyond initial spin relaxation, both TWA and NGS perform relatively poorly. TWA incorrectly predicts equilibration of the spin-cavity dynamics. NGS does continue to produce spin-cavity dynamics, but overestimates the magnitude of the oscillations. Bottom row: disordered, ϵ=[2.6g,3.2g,4.2g]italic-ϵ2.6𝑔3.2𝑔4.2𝑔\vec{\epsilon}=[2.6g,3.2g,4.2g]over→ start_ARG italic_ϵ end_ARG = [ 2.6 italic_g , 3.2 italic_g , 4.2 italic_g ]. TWA incorrectly predicts equilibration of both spin and cavity observables after the first oscillation, whilst NGS produces qualitatively correct dynamics, even with only Np=4subscript𝑁𝑝4N_{p}=4italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 4 polarons. Here NGS uses Np=2subscript𝑁𝑝2N_{p}=2italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 2 for the first row and Np=4subscript𝑁𝑝4N_{p}=4italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 4 for the second row, and TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.
Refer to caption
Figure 9: Closed dynamics: g=1𝑔1g=1italic_g = 1, λ=1𝜆1\lambda=1italic_λ = 1, Δ=0Δ0\Delta=0roman_Δ = 0. Top row: without disorder. TWA accurately captures the dynamics at early times as compared to the NGS. Bottom row: disordered, ϵ=[2.6g,3.2g,4.2g]italic-ϵ2.6𝑔3.2𝑔4.2𝑔\vec{\epsilon}=[2.6g,3.2g,4.2g]over→ start_ARG italic_ϵ end_ARG = [ 2.6 italic_g , 3.2 italic_g , 4.2 italic_g ]. TWA correctly captures key oscillations, even at late times. NGS also captures some of these features, but less accurately. Both methods perform similarly for the vibrational dynamics. Here NGS uses Np=4subscript𝑁𝑝4N_{p}=4italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 4, TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.

For all closed dynamics simulations, we set Δ=0Δ0\Delta=0roman_Δ = 0. For evolution under the Holstein-Tavis-Cummings model in Eq. (46), we find that while both methods are good at capturing the short time dynamics, at later times they out-perform one another in different parameter regimes. We summarise our findings in Fig. 5(a), where we qualitatively depict the performance for different parameter regimes in the absence of decoherence. More detailed dynamics for each regime are plotted in Figs. 6-9, with the first and second rows of each figure showing dynamics without and with disorder ϵitalic-ϵ\epsilonitalic_ϵ, respectively.

We begin in the weak coupling regime g=λ=0.1𝑔𝜆0.1g=\lambda=0.1italic_g = italic_λ = 0.1, shown in Fig. 6. Here the dynamics is slow on the considered time-scale. In both the disorder-free (first row) and disordered (second row) settings, NGS and TWA accurately capture the small fluctuations of the vibrational modes at all times. Both methods also capture the initial spin relaxation, however NGS misses the revival time. TWA’s ability to capture the first oscillation appears universally in all of the parameter regimes considered in this work. This behaviour can be understood as follows: due to our choice of a factorisable initial state with a corresponding positive semi-definite Wigner function, the TWA sampling is able to reproduce the initial state, and the mean-field and low order correlations that are generated during the short-time dynamics.

A generic feature of TWA is that when extending into the medium- to long-time dynamics, the potential buildup of higher order correlations is not captured by the method. While this not visible in Fig. 6, it can be seen clearly in the figures corresponding to the regimes discussed below.

The second regime we consider is the strong spin-vibrational coupling λgmuch-greater-than𝜆𝑔\lambda\gg gitalic_λ ≫ italic_g, shown in Fig. 7. Here we expect NGS to perform well, as NGS is exact with any polaron number for HHsubscript𝐻HH_{\rm H}italic_H start_POSTSUBSCRIPT roman_H end_POSTSUBSCRIPT. In the disorder-free regime (top row), although NGS with Np=12subscript𝑁𝑝12N_{p}=12italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 12 does not fully capture the dynamics at late times, it does outperform TWA, which majorly underestimates the spin decay. In this case, the lack of disorder is challenging for our multi-polaron NGS ansatz: each spin evolves identically, requiring the multi-polarons to be factored into a product. This symmetry is broken when introducing disorder (second row), and we see that NGS captures accurately the dynamics for all considered times, including the initial decay and then revival of Szdelimited-⟨⟩subscript𝑆𝑧\langle S_{z}\rangle⟨ italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT ⟩. For TWA, although the numerics match better for the vibrational dynamics in the presence of disorder, this is primarily a consequence of the fact that the disorder causes the Holstein interactions to dominate, and the spin and cavity dynamics continue to disagree with the exact solution.

Thirdly, we move to the strong spin-cavity coupling regime, gλmuch-greater-than𝑔𝜆g\gg\lambdaitalic_g ≫ italic_λ, shown in Fig. 8. After accurately capturing the first oscillation, the TWA spin dynamics equilibrate about Sz0similar-todelimited-⟨⟩subscript𝑆𝑧0\langle S_{z}\rangle\sim 0⟨ italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT ⟩ ∼ 0 unlike the exact dynamics which, although they do oscillate about Sz0similar-todelimited-⟨⟩subscript𝑆𝑧0\langle S_{z}\rangle\sim 0⟨ italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT ⟩ ∼ 0, exhibit persistent oscillations with magnitude Sz1/2similar-todelimited-⟨⟩subscript𝑆𝑧12\langle S_{z}\rangle\sim 1/2⟨ italic_S start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT ⟩ ∼ 1 / 2. Similarly, NGS with Np=4subscript𝑁𝑝4N_{p}=4italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 4 polarons fails to capture any of the spin, vibration, or cavity dynamics. This is unsurprising because, in this regime where the Tavis-Cummings term dominates, we expect the number of polarons required to scale as 3Nssimilar-toabsentsuperscript3subscript𝑁𝑠\sim 3^{N_{s}}∼ 3 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, as each spin must be described using Np=3subscript𝑁𝑝3N_{p}=3italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 3 polarons. Although increasing Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT would eventually improve the accuracy, we found that increasing it up to Np16less-than-or-similar-tosubscript𝑁𝑝16N_{p}\lesssim 16italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ≲ 16 did not provide a substantial increase in accuracy, whilst increasing the computational cost. In principle, TWA does not suffer from the same problem. However, if one needs to access higher order correlations with TWA, the introduction of higher order cumulants and the BBGKY hierarchy may become necessary. This poses an analogous problem to the polaron number: an exponentially increasing number of equations and potential numerical instabilities 444In the numerical implementation of NGS we observe that for certain initial states the equations of motion become numerically unstable, which we attribute to the singularity of the metric g𝑔gitalic_g and the associated need to perform a pseudoinverse instead of the inverse in the evaluation of G=g1𝐺superscript𝑔1G=g^{-1}italic_G = italic_g start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT. Dealing with this issue is a matter of current and future work.

Refer to caption
Figure 10: Open dynamics. g=0.1𝑔0.1g=0.1italic_g = 0.1, λ=1𝜆1\lambda=1italic_λ = 1, Δ=0Δ0\Delta=0roman_Δ = 0 and cavity decay κ=g𝜅𝑔\kappa=gitalic_κ = italic_g. Top row: without disorder. Bottom row: with disorder ϵ=[2g,3g,4g]italic-ϵ2𝑔3𝑔4𝑔\vec{\epsilon}=[2g,3g,4g]over→ start_ARG italic_ϵ end_ARG = [ 2 italic_g , 3 italic_g , 4 italic_g ]. NGS and TWA capture the same short-time dynamics, but disagree beyond νt5similar-to𝜈𝑡5\nu t\sim 5italic_ν italic_t ∼ 5. Based on the corresponding closed dynamics results Fig. 7, we expect NGS to be more reliable in this regime. Exact numerics is challenging for open dynamics of systems of this size, see Fig. S2 for benchmarking of smaller systems. Here NGS uses Np=8subscript𝑁𝑝8N_{p}=8italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 8 and ntraj=40subscript𝑛traj40n_{\rm traj}=40italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 40 with standard error indicated by the error bars, TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.
Refer to caption
Figure 11: Open dynamics. g=0.1𝑔0.1g=0.1italic_g = 0.1, λ=1𝜆1\lambda=1italic_λ = 1, Δ=0Δ0\Delta=0roman_Δ = 0 and cavity decay κ=10g𝜅10𝑔\kappa=10gitalic_κ = 10 italic_g. Top row: without disorder. Bottom row: with disorder ϵ=[2g,3g,4g]italic-ϵ2𝑔3𝑔4𝑔\vec{\epsilon}=[2g,3g,4g]over→ start_ARG italic_ϵ end_ARG = [ 2 italic_g , 3 italic_g , 4 italic_g ]. We observe compatible results for the spins and a remarkable agreement between NGS and TWA for the vibrational and cavity dynamics, including the small amplitude oscillations in ncavdelimited-⟨⟩subscript𝑛cav\langle n_{\rm cav}\rangle⟨ italic_n start_POSTSUBSCRIPT roman_cav end_POSTSUBSCRIPT ⟩ at late times. Here NGS uses Np=8subscript𝑁𝑝8N_{p}=8italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 8 and ntraj=40subscript𝑛traj40n_{\rm traj}=40italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 40 with standard error indicated by the error bars, TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.

Fourthly, we consider the strong spin-cavity and spin-vibration regime λ=g=1𝜆𝑔1\lambda=g=1italic_λ = italic_g = 1, shown in Fig. 9. Without disorder, both methods struggle to capture the dynamics at late times, although TWA in particular is able to capture qualitative features with reasonable accuracy. Introducing disorder breaks the collective nature of the spins, enabling both methods to more accurately track the dynamics. TWA is able to qualitatively reproduce the periodic peaks in the spin and cavity dynamics at even later times than NGS. Both methods correctly obtain the vibrational dynamics.

Finally, we note that an advantage of NGS is the accessibility of the wavefunction. This means that any desired quantity, including entanglement entropy, can be computed. Furthermore, for small systems, strict performance measures such as the fidelity can be easily computed. These are shown in Fig. S1 for the four different coupling regimes (g,λ)𝑔𝜆(g,\lambda)( italic_g , italic_λ ) considered in Figs. 6-9. The analogous plots for TWA cannot be generated.

V.3 Open system dynamics

Next, we introduce decoherence to our simulations. Figs. 10 and 11 show the spin and bosonic dynamics for Ns=3subscript𝑁𝑠3N_{s}=3italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 3 in the presence of cavity loss a𝑎aitalic_a at strength κ=g𝜅𝑔\kappa=gitalic_κ = italic_g (Fig. 10) and κ=10g𝜅10𝑔\kappa=10gitalic_κ = 10 italic_g (Fig. 11), and in the regime λgmuch-greater-than𝜆𝑔\lambda\gg gitalic_λ ≫ italic_g, where NGS provides more accurate predictions in the closed setting (cf. Fig. 7). In the top row we set the disorder ϵ=0italic-ϵ0\epsilon=0italic_ϵ = 0, while the bottom row shows the dynamics in the presence of disorder, ϵ=[2g,3g,4g]italic-ϵ2𝑔3𝑔4𝑔\vec{\epsilon}=[2g,3g,4g]over→ start_ARG italic_ϵ end_ARG = [ 2 italic_g , 3 italic_g , 4 italic_g ]. Although exact dynamics were accessible for a closed system of this size, obtaining exact results in this open dynamics setting is challenging. In Fig. S2 we compare the two methods with exact results for a smaller system.

For these parameters, we find that, perhaps unsurprisingly, NGS continues to perform well in both κ=g𝜅𝑔\kappa=gitalic_κ = italic_g and κ=10g𝜅10𝑔\kappa=10gitalic_κ = 10 italic_g decoherence regimes. In the weaker decay limit shown in Fig. 10, NGS and TWA agree only at short times. The under- and over-estimation of spin-cavity dynamics by TWA in the non-disordered and disordered systems respectively is consistent with the behaviour of TWA in the closed system, see Fig. 7. In the large decay limit shown in Fig. 11, NGS and TWA are in reasonable agreement with one another for the spin dynamics and in near total agreement for the vibrational and cavity dynamics. Both show fast decay of the cavity to the vacuum, and remarkably both capture small oscillatory dynamics at late times with excellent agreement. Physically, both methods demonstrate that strong cavity decay stabilises the spin dynamics, which we attribute to the reduction of the effective Tavis-Cummings coupling strength and the prevention of the build up of correlations in the system between the spins, as well as spin-boson correlations, due to the loss of cavity excitations.

Refer to caption
Figure 12: Collective spin dynamics. ν=ϵ=λ=0𝜈italic-ϵ𝜆0\nu=\epsilon=\lambda=0italic_ν = italic_ϵ = italic_λ = 0, Δ=1Δ1\Delta=1roman_Δ = 1, g=0.1𝑔0.1g=0.1italic_g = 0.1. Top row: Γ=0.1g/NsΓ0.1𝑔subscript𝑁𝑠\Gamma=0.1g/\sqrt{N_{s}}roman_Γ = 0.1 italic_g / square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG. NGS (HP) and TWA (HP) use the Holstein-Primakoff representation of the collective spin and agree excellently with exact numerics (EXA). On the other hand, when TWA treats the spins individually, the collective decay dynamics TWA (CD) agrees with the single spin decay dynamics TWA (SSD), but both deviate from the exact evolution due to TWA’s failure to capture the correlations. Bottom row: Γ=g/NsΓ𝑔subscript𝑁𝑠\Gamma=g/\sqrt{N_{s}}roman_Γ = italic_g / square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG. NGS (HP) and TWA (HP) agree with exact numerics (EXA) until tν5similar-to𝑡𝜈5t\nu\sim 5italic_t italic_ν ∼ 5, when the first order Taylor series expansion of the HP map** breaks down. Here NGS uses Np=8subscript𝑁𝑝8N_{p}=8italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 8 and ntraj=40subscript𝑛traj40n_{\rm traj}=40italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 40 with standard error indicated by the error bars, TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.

Next, we consider the effect of spin decay. We consider the scenario where the Hamiltonian evolution is only under HTCsubscript𝐻TCH_{\rm TC}italic_H start_POSTSUBSCRIPT roman_TC end_POSTSUBSCRIPT and the spins decay collectively at a rate ΓΓ\Gammaroman_Γ. We set Δ=1Δ1\Delta=1roman_Δ = 1 and g=0.1𝑔0.1g=0.1italic_g = 0.1. Within the TWA formalism we treat the dynamics using two methods. First, we continue to treat the system as a collection of individual spins, as described in Sec. IV. In Fig. 12 we plot the resulting dynamics where TWA (CD) refers to implementing this sampling in the presence of collective spin decay at Γ=0.1g/NsΓ0.1𝑔subscript𝑁𝑠\Gamma=0.1g/\sqrt{N_{s}}roman_Γ = 0.1 italic_g / square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG and g/Ns𝑔subscript𝑁𝑠g/\sqrt{N_{s}}italic_g / square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG. TWA (SSD) uses the same sampling but the decay mechanism is single spin at the corresponding rate. The agreement between the two, and the disagreement with exact numerics (EXA) indicates that treating the spins individually with either of these two methods is inadequate to simulate collective spin decay.

This motivates our second strategy, described in Sec. V.1.1, where we use the HP formalism for large spins, which we apply to both NGS and TWA. In the weak spin decay limit Γ=0.1g/NsΓ0.1𝑔subscript𝑁𝑠\Gamma=0.1g/\sqrt{N_{s}}roman_Γ = 0.1 italic_g / square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG, both NGS (HP) and TWA (HP) are in excellent agreement with the exact numerics (EXA). NGS in particular captures the cavity dynamics with little error, whilst the error bars on the spin dynamics are still somewhat large due to our use of relatively few trajectories, ntraj=40subscript𝑛traj40n_{\rm traj}=40italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 40. In the large decay limit Γ=g/NsΓ𝑔subscript𝑁𝑠\Gamma=g/\sqrt{N_{s}}roman_Γ = italic_g / square-root start_ARG italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG, both NGS and TWA correctly capture the rapid spin decay until νt5similar-to𝜈𝑡5\nu t\sim 5italic_ν italic_t ∼ 5. Beyond this point, the first order Taylor series expansion of the HP map** breaks down, as highly excited Fock states are populated. One can potentially circumvent this issue by simulating collective spin decay as was done in Ref. Young et al. (2024) with DTWA. There, the spins were collectively coupled to a single cavity whose cavity loss was much stronger than the collective spin-cavity coupling, resulting in effective collective spin decay and without the utilization of the HP map**. Comparing the performance of these approaches in different parameter regimes and for different models, e.g., for more complex forms of collective spin decay, represents an interesting future direction.

VI Conclusions and outlook

Summary and conclusions: In this work, we presented a non-Gaussian variational ansatz approach to studying the dynamics of open quantum systems composed of spin and bosonic degrees of freedom. While several other works in recent years have utilized NGS to study the time evolution of open quantum systems, previous efforts have focused on develo** an equivalent ansatz for the density matrix and simulating the Lindblad equations. Here, we utilized the quantum trajectories method, allowing us to take advantage of the previously developed machinery and analytic expressions obtained for real- and imaginary-time dynamics.

In addition to providing a comprehensive overview of this method, we performed extensive numerical simulations over a broad range of parameters of a spin-boson Hamiltonian [Eq. (46)] with Tavis-Cummings (TC) and Holstein couplings, which is applicable to a broad range of quantum simulation platforms as well as problems of interest in quantum chemistry, atomic physics and condensed matter theory. We compared the performance of NGS with a method using the truncated Wigner approximation for systems with mixed bosonic and spin degrees of freedom, extended to open quantum systems following the approach in Ref. Mink et al. (2022).

In the absence of decoherence our findings are as follows: for strong TC coupling, TWA is the more accurate method, while for strong Holstein couplings NGS is the better choice. When neither term dominates, for both weak and strong coupling regimes, TWA captures the short-time dynamics, while NGS generally displays the correct qualitative behaviour, even at late times. After introducing spin disorder the performance of NGS typically improves, whilst for TWA the vibrational dynamics match the exact dynamics better, which is attributable to the fact that disorder causes the Holstein interaction to dominate.

For open quantum dynamics we focused on the regime where the Holstein term dominates and considered the effect of cavity loss. At weak decay rates the NGS continues to perform well. TWA improves as the cavity decay rate increases due to the loss of quantum correlations, with both NGS and TWA showing excellent agreement. In the presence of collective spin decay we considered the TC model only, finding that in the limit of small collective decay, both methods perform well when using a Holstein-Primakoff transformation for the large spin. In the limit of large collective decay, NGS and TWA both only capture the short time dynamics as the Holstein-Primakoff transformation is no longer accurate at later times. Using TWA we were able to also treat each spin individually. However, TWA does not capture the collective nature of the decay, with the results closely matching the effect of single spin decay.

Further considerations should also be made when deciding between the two methods. Although the NGS ansatz can be made less computationally demanding by reducing the polaron number Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT, in general TWA methods are easier to implement and require fewer computational resources. The resource requirement and the complexity of NGS is offset by the advantages that it is a controlled approximation and gives access to the wavefunction, allowing one to access any observable, including higher-order correlations. The TWA framework needs to be amended if one hopes to capture these correlations accurately. A potential strategy to remedy this can be to use a cluster TWA approach Wurtz et al. (2018). There, several sub-system parts are grouped into a single (discrete or continuous) large sub-system that, provided a proper sampling strategy, follows the fully exact quantum evolution, while correlations between clusters are approximated in TWA. Such approaches allow to use the cluster size as controllable parameter to enhance the simulation towards the exact one.

Outlook: The extension of NGS to open quantum systems using the quantum trajectories formulation that we presented in this work is perhaps the most natural pathway. For Hermitian jump operators, an alternative approach and a simple extension of this work would be to instead solve the stochastic partial differential equations that result from the unravelling of the master equation. Furthermore, one could explore the impact of the chosen unraveling on the performance of the NGS method at a fixed Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT, as it has been shown that this choice can have a large effect on the entanglement buildup in the trajectory Vovk and Pichler (2022, 2024).

Another limitation of the present formulation is that the spin states in Eq. (1) are exact and span the full spin Hilbert space of dimension 2Nssuperscript2subscript𝑁𝑠2^{N_{s}}2 start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, thus limiting the use of the ansatz to a handful of spins unless approximations such as the large Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT expansion in the Holstein-Primakoff map** used in Sec. V.1.1 are invoked. On the one hand, studies using a fermionic Gaussian state representation of spins have been performed Kaicher et al. (2023), and these might be combined in principle in a straightforward way with the multipolaron ansatz for bosons Shi et al. (2018). On the other hand, it would be highly interesting to combine the multipolaron ansatz with other variational techniques highly suitable for the spins such as tensor network based approaches Schollwöck (2011); Orús (2014); Montangero (2018). Furthermore, similar to the present comparison between NGS and TWA, it would be beneficial to apply the here-presented non-Gaussian ansatz to the study of other systems which might be challenging to simulate otherwise. These include for instance purely bosonic models, such as the Bose-Hubbard model, with disorder and on non-regular lattices Gottlob and Schneider (2023). Such extensive studies will allow for a comparison between our approach and the corresponding master equation approach based on extending the ansatz of Eq. (1) to density matrices Schlegel et al. (2023); Joubert-Doriol and Izmaylov (2015).

Finally, we note that a particular promising application field of the methodologies introduced here could be in the emerging field of polaritonic chemistry Hutchison et al. (2012); Simpkins et al. (2021); Wang and Yelin (2021); Campos-Gonzalez-Angulo et al. (2023). There, recent experiments have demonstrated that large collective strong cavity couplings (e.g. gc=gNsubscript𝑔𝑐𝑔𝑁g_{c}=g\sqrt{N}italic_g start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = italic_g square-root start_ARG italic_N end_ARG) can be functionalized to modify chemical reactivity. A theoretical understanding for such modifications are currently centered around the question how delocalized polaritonic state can play a role for changing chemistry on the single-molecule level, as local amplitudes of collective polaritons vanish in the thermodynamic limit. In spin-boson approximations to the problems, in particular for the disordered Holstein-Tavis-Cummings Herrera and Spano (2016) model that we studied here, it was recently discovered that the interplay of disorder and collective cavity couplings can give rise to robust local quantum effects in the large-N𝑁Nitalic_N limit in the form of non-Gaussian distributions of the nuclear coordinate Wellnitz et al. (2022). Using matrix product state methods, it was possible to push simulations to systems with 160 effective molecules, but in particular the TWA approach discussed here would allow access to much larger systems. Typical parameter regimes discussed here are well covered by the TWA approach (e.g. the typical parameters from Wellnitz et al. (2022) corresponds to λ0.1νsimilar-to𝜆0.1𝜈\lambda\sim 0.1\nuitalic_λ ∼ 0.1 italic_ν and gνmuch-less-than𝑔𝜈g\ll\nuitalic_g ≪ italic_ν) and thus hint to a general applicability of the method in the relevant regime. Further, the TWA approach can be straightforwardly adapted to simulate nuclear dynamics not only on harmonic but also arbitrary potential energy surfaces, whilst the NGS ansatz using the machinery presented here can also model anharmonic Hamiltonian terms. In the future this may allow for the analysis of quantum effects in realistic chemical reaction models, even in a macroscopic limit.

Acknowledgements.
A.S.N., B.G., L.J.B., and J.M. are supported by the Dutch Research Council (NWO/OCW), as part of the Quantum Software Consortium programme (project number 024.003.037), Quantum Delta NL (project number NGF.1582.22.030), and ENW-XL grant (project number OCENW.XL21.XL21.122). J.M. was partly supported by a Proof of Concept grant through the Innovation Exchange Amsterdam (IXA) and the NWO Take-off Phase 1 grant (project number 20593). J.T.Y. is supported by the NWO Talent Programme (project number VI.Veni.222.312), which is (partly) financed by the Dutch Research Council (NWO). J.S. is supported by the Interdisciplinary Thematic Institute QMat, as part of the ITI 2021-2028 program of the University of Strasbourg, CNRS and Inserm, and was supported by IdEx Unistra (ANR-10-IDEX-0002), SFRI STRAT’US project (ANR-20-SFRI-0012), and EUR QMAT ANR-17-EURE-0024 under the framework of the French Investments for the Future Program. Work was supported by the CNRS through the EMERGENCE@INC2024 project DINOPARC and by the French National Research Agency under the Investments of the Future Program project ANR-21-ESRE-0032 (aQCess).

References

  • Preskill (2018) J. Preskill, Quantum 2, 79 (2018)arXiv:1801.00862 .
  • Peropadre et al. (2013) B. Peropadre, D. Zueco, D. Porras,  and J. J. García-Ripoll, Phys. Rev. Lett. 111, 243602 (2013).
  • Yoshihara et al. (2017) F. Yoshihara, T. Fuse, S. Ashhab, K. Kakuyanagi, S. Saito,  and K. Semba, Nature Physics 13, 44 (2017).
  • Forn-Díaz et al. (2017) P. Forn-Díaz, J. J. García-Ripoll, B. Peropadre, J.-L. Orgiazzi, M. Yurtalan, R. Belyansky, C. M. Wilson,  and A. Lupascu, Nature Physics 13, 39 (2017).
  • Magazzù et al. (2018) L. Magazzù, P. Forn-Díaz, R. Belyansky, J.-L. Orgiazzi, M. Yurtalan, M. R. Otto, A. Lupascu, C. Wilson,  and M. Grifoni, Nature communications 9, 1403 (2018).
  • Marcuzzi et al. (2017) M. Marcuzzi, J. c. v. Minář, D. Barredo, S. de Léséleuc, H. Labuhn, T. Lahaye, A. Browaeys, E. Levi,  and I. Lesanovsky, Phys. Rev. Lett. 118, 063606 (2017).
  • Gambetta et al. (2020) F. M. Gambetta, W. Li, F. Schmidt-Kaler,  and I. Lesanovsky, Phys. Rev. Lett. 124, 043402 (2020).
  • Tamura et al. (2020) H. Tamura, T. Yamakoshi,  and K. Nakagawa, Phys. Rev. A 101, 043421 (2020).
  • Skannrup et al. (2020) R. V. Skannrup, R. Gerritsma,  and S. Kokkelmans, arXiv:2008.13622  (2020).
  • Méhaignerie et al. (2023) P. Méhaignerie, C. Sayrin, J.-M. Raimond, M. Brune,  and G. Roux, arXiv:2303.12150  (2023).
  • James (2000) D. James, Quantum Computation and Quantum Information Theory: Reprint Volume with Introductory Notes for ISI TMR Network School, 12-23 July 1999, Villa Gualino, Torino, Italy 66, 345 (2000).
  • Porras and Cirac (2004) D. Porras and J. I. Cirac, Phys. Rev. Lett. 93, 263602 (2004).
  • Schneider et al. (2012) C. Schneider, D. Porras,  and T. Schaetz, Reports on Progress in Physics 75, 024401 (2012).
  • Kienzler et al. (2015) D. Kienzler, H.-Y. Lo, B. Keitch, L. De Clercq, F. Leupold, F. Lindenfelser, M. Marinelli, V. Negnevitsky,  and J. Home, Science 347, 53 (2015).
  • Lo et al. (2015) H.-Y. Lo, D. Kienzler, L. de Clercq, M. Marinelli, V. Negnevitsky, B. C. Keitch,  and J. P. Home, Nature 521, 336 (2015).
  • Kienzler et al. (2017) D. Kienzler, H.-Y. Lo, V. Negnevitsky, C. Flühmann, M. Marinelli,  and J. P. Home, Phys. Rev. Lett. 119, 033602 (2017).
  • Pérez-Ríos (2021) J. Pérez-Ríos, Molecular Physics 119, e1881637 (2021)https://doi.org/10.1080/00268976.2021.1881637 .
  • Lous and Gerritsma (2022) R. S. Lous and R. Gerritsma, in Advances in Atomic, Molecular, and Optical Physics, Advances In Atomic, Molecular, and Optical Physics, Vol. 71, edited by L. F. DiMauro, H. Perrin,  and S. F. Yelin (Academic Press, 2022) pp. 65–133.
  • Valahu et al. (2023) C. H. Valahu, V. C. Olaya-Agudelo, R. J. MacDonell, T. Navickas, A. D. Rao, M. J. Millican, J. B. Pérez-Sánchez, J. Yuen-Zhou, M. J. Biercuk, C. Hempel, T. R. Tan,  and I. Kassal, Nature Chemistry 15, 1503 (2023).
  • Garcia-Vidal et al. (2021) F. J. Garcia-Vidal, C. Ciuti,  and T. W. Ebbesen, Science 373 (2021), 10.1126/science.abd0336.
  • Nalbach and Thorwart (2010) P. Nalbach and M. Thorwart, Phys. Rev. B 81, 054308 (2010).
  • Kast and Ankerhold (2013) D. Kast and J. Ankerhold, Phys. Rev. Lett. 110, 010402 (2013).
  • Nalbach and Thorwart (2013) P. Nalbach and M. Thorwart, Phys. Rev. B 87, 014116 (2013).
  • Otterpohl et al. (2022) F. Otterpohl, P. Nalbach,  and M. Thorwart, Phys. Rev. Lett. 129, 120406 (2022).
  • Lee et al. (2001) D. Lee, N. Salwen,  and D. Lee, Physics Letters B 503, 223 (2001).
  • Rychkov and Vitale (2015) S. Rychkov and L. G. Vitale, Phys. Rev. D 91, 085011 (2015).
  • Szász-Schagrin and Takács (2022) D. Szász-Schagrin and G. Takács, Phys. Rev. D 106, 025008 (2022).
  • Rakovszky et al. (2016) T. Rakovszky, M. Mestyán, M. Collura, M. Kormos,  and G. Takács, Nuclear Physics B 911, 805 (2016).
  • Anand et al. (2020) N. Anand, A. L. Fitzpatrick, E. Katz, Z. U. Khandker, M. T. Walters,  and Y. Xin, arXiv:2005.13544  (2020).
  • Chen et al. (2022) H. Chen, A. L. Fitzpatrick,  and D. Karateev, Journal of High Energy Physics 2022, 1 (2022).
  • Delacrétaz et al. (2023) L. V. Delacrétaz, A. L. Fitzpatrick, E. Katz,  and M. T. Walters, Journal of High Energy Physics 2023, 1 (2023).
  • del Pino et al. (2018) J. del Pino, F. A. Y. N. Schröder, A. W. Chin, J. Feist,  and F. J. Garcia-Vidal, Phys. Rev. Lett. 121, 227401 (2018).
  • Wellnitz et al. (2022) D. Wellnitz, G. Pupillo,  and J. Schachenmayer, Commun. Phys. 5, 1 (2022).
  • Wall et al. (2016) M. L. Wall, A. Safavi-Naini,  and A. M. Rey, Phys. Rev. A 94, 053637 (2016).
  • Makri and Makarov (1995) N. Makri and D. E. Makarov, The Journal of chemical physics 102, 4611 (1995).
  • Thorwart et al. (1998) M. Thorwart, P. Reimann, P. Jung,  and R. Fox, Chemical physics 235, 61 (1998).
  • Thorwart et al. (2000) M. Thorwart, P. Reimann,  and P. Hänggi, Phys. Rev. E 62, 5808 (2000).
  • Schmidt et al. (2008) T. L. Schmidt, P. Werner, L. Mühlbacher,  and A. Komnik, Phys. Rev. B 78, 235110 (2008).
  • Schollwöck (2011) U. Schollwöck, Annals of physics 326, 96 (2011).
  • Orús (2014) R. Orús, Annals of Physics 349, 117 (2014).
  • Montangero (2018) S. Montangero, Introduction to Tensor Network Methods (Springer, 2018).
  • White and Feiguin (2004) S. R. White and A. E. Feiguin, Phys. Rev. Lett. 93, 076401 (2004).
  • Schmitteckert (2004) P. Schmitteckert, Phys. Rev. B 70, 121302 (2004).
  • Nuss et al. (2015) M. Nuss, M. Ganahl, E. Arrigoni, W. von der Linden,  and H. G. Evertz, Phys. Rev. B 91, 085127 (2015).
  • Dóra et al. (2017) B. Dóra, M. A. Werner,  and C. P. Moca, Phys. Rev. B 96, 155116 (2017).
  • Zwolak and Vidal (2004) M. Zwolak and G. Vidal, Phys. Rev. Lett. 93, 207205 (2004).
  • Daley (2014) A. J. Daley, Adv. Phys. 63, 77 (2014).
  • Preisser et al. (2023) G. Preisser, D. Wellnitz, T. Botzung,  and J. Schachenmayer, Phys. Rev. A 108, 012616 (2023).
  • Shi et al. (2018) T. Shi, E. Demler,  and J. Ignacio Cirac, Annals of Physics 390, 245 (2018).
  • Hackl et al. (2020) L. Hackl, T. Guaita, T. Shi, J. Haegeman, E. Demler,  and I. Cirac, SciPost Physics 9, 048 (2020).
  • Schachenmayer et al. (2015a) J. Schachenmayer, A. Pikovski,  and A. M. Rey, Phys. Rev. X 5, 011022 (2015a)arXiv:1408.4441 .
  • Piñeiro Orioli et al. (2017) A. Piñeiro Orioli, A. Safavi-Naini, M. L. Wall,  and A. M. Rey, Phys. Rev. A 96, 033607 (2017).
  • Zhu et al. (2019) B. Zhu, A. M. Rey,  and J. Schachenmayer, New J. Phys. 21, 082001 (2019).
  • Joubert-Doriol and Izmaylov (2015) L. Joubert-Doriol and A. F. Izmaylov, The Journal of Chemical Physics 142 (2015).
  • Schlegel et al. (2023) D. S. Schlegel, F. Minganti,  and V. Savona, arXiv:2306.13708  (2023).
  • Huber et al. (2021) J. Huber, P. Kirton,  and P. Rabl, SciPost Phys. 10, 045 (2021)arXiv:2011.10049 .
  • Huber et al. (2022) J. Huber, A. M. Rey,  and P. Rabl, Phys. Rev. A 105, 013716 (2022)arXiv:2105.00004 .
  • Singh and Weimer (2022) V. P. Singh and H. Weimer, Phys. Rev. Lett. 128, 200602 (2022)arXiv:2108.07273 .
  • Mink et al. (2022) C. D. Mink, D. Petrosyan,  and M. Fleischhauer, Phys. Rev. Res. 4, 043136 (2022).
  • Mink and Fleischhauer (2023) C. D. Mink and M. Fleischhauer, SciPost Phys. 15, 1 (2023).
  • Ashida et al. (2019a) Y. Ashida, T. Shi, R. Schmidt, H. R. Sadeghpour, J. I. Cirac,  and E. Demler, Phys. Rev. A 100, 043618 (2019a).
  • Ashida et al. (2019b) Y. Ashida, T. Shi, R. Schmidt, H. R. Sadeghpour, J. I. Cirac,  and E. Demler, Phys. Rev. Lett. 123, 183001 (2019b).
  • Knörzer et al. (2022) J. Knörzer, T. Shi, E. Demler,  and J. I. Cirac, Phys. Rev. Lett. 128, 120404 (2022).
  • Christianen et al. (2022a) A. Christianen, J. I. Cirac,  and R. Schmidt, Phys. Rev. Lett. 128, 183401 (2022a).
  • Christianen et al. (2022b) A. Christianen, J. I. Cirac,  and R. Schmidt, Phys. Rev. A 105, 053302 (2022b).
  • Dolgirev et al. (2021) P. E. Dolgirev, Y.-F. Qu, M. B. Zvonarev, T. Shi,  and E. Demler, Phys. Rev. X 11, 041015 (2021).
  • Bond et al. (2024) L. J. Bond, A. Safavi-Naini,  and J. c. v. Minář, Phys. Rev. Lett. 132, 170401 (2024).
  • Chen et al. (2023) L. Chen, Y. Yan, M. F. Gelin,  and Z. Lü, The Journal of Chemical Physics 158 (2023).
  • Zhao (2023) Y. Zhao, The Journal of Chemical Physics 158 (2023).
  • Sun et al. (2022) K. Sun, C. Dou, M. F. Gelin,  and Y. Zhao, The Journal of Chemical Physics 156 (2022).
  • Zhou et al. (2015) N. Zhou, L. Chen, D. Xu, V. Chernyak,  and Y. Zhao, Phys. Rev. B 91, 195129 (2015).
  • Zhou et al. (2014) N. Zhou, L. Chen, Y. Zhao, D. Mozyrsky, V. Chernyak,  and Y. Zhao, Phys. Rev. B 90, 155135 (2014).
  • Wu et al. (2013) N. Wu, L. Duan, X. Li,  and Y. Zhao, The Journal of Chemical Physics 138, 084111 (2013).
  • Lepoutre et al. (2019) S. Lepoutre, J. Schachenmayer, L. Gabardos, B. Zhu, B. Naylor, E. Maréchal, O. Gorceix, A. M. Rey, L. Vernac,  and B. Laburthe-Tolra, Nat. Commun. 10, 1 (2019).
  • Perlin et al. (2020) M. A. Perlin, C. Qu,  and A. M. Rey, Phys. Rev. Lett. 125, 223401 (2020)arXiv:2006.00723 .
  • Franke et al. (2023) J. Franke, S. R. Muleady, R. Kaubruegger, F. Kranzl, R. Blatt, A. M. Rey, M. K. Joshi,  and C. F. Roos, Nature (London) 621, 740 (2023)arXiv:2303.10688 .
  • Muleady et al. (2023) S. R. Muleady, M. Yang, S. R. White,  and A. M. Rey, Phys. Rev. Lett. 131, 150401 (2023)arXiv:2305.17242 .
  • Young et al. (2024) J. T. Young, E. Chaparro, A. P. Orioli, J. K. Thompson,  and A. M. Rey,   (2024)arXiv:2401.06222 .
  • Polkovnikov (2010a) A. Polkovnikov, Ann. Phys. (N. Y.) 325, 1790 (2010a)arXiv:0905.3384 .
  • Note (1) The number of spin configurations in the present ansatz scales exponentially with the number of spins and is the bottleneck in the use of the ansatz in Eq. (1) for many spins. Addressing this issue, such as combining the non-Gaussian ansatz for the bosonic modes with tensor-network techniques for spins, is a matter of future work. We discuss an alternative approach, namely using the Holstein-Primakoff representation of the spins, in Sec. V.1.1.
  • Note (2) A remark is that instead of the Dirac-Frenkel variational principle one could employ the Lagrangian or McLachlan ones. Importantly these coincide, in that they yield the same equations of motion, if the tangent space 𝒯ψsubscript𝒯𝜓\mathcal{T}_{\psi}caligraphic_T start_POSTSUBSCRIPT italic_ψ end_POSTSUBSCRIPT of the variational manifold is a Kähler space.
  • Note (3) Note a similar identity holds for open quantum states, obtained by using ρ𝜌\rhoitalic_ρ and the trace.
  • Mo/ller et al. (1996) K. B. Mo/ller, T. G. Jo/rgensen,  and J. P. Dahl, Phys. Rev. A 54, 5378 (1996).
  • Louisell (1973) W. Louisell, Quantum Statistical Properties of Radiation, A Wiley-Interscience publication (Wiley, 1973).
  • Milburn (1986) G. J. Milburn, Phys. Rev. A 33, 674 (1986).
  • Halpern (1973) F. R. Halpern, Journal of Mathematical Physics 14, 219 (1973).
  • Bender and Wu (1973) C. M. Bender and T. T. Wu, Phys. Rev. D 7, 1620 (1973).
  • Bender and Wu (1969) C. M. Bender and T. T. Wu, Phys. Rev. 184, 1231 (1969).
  • Breuer and Petruccione (2002) H.-P. Breuer and F. Petruccione, The theory of open quantum systems (Oxford university press, 2002).
  • Weiss (2012) U. Weiss, Quantum dissipative systems (World Scientific, 2012).
  • Gardiner and Zoller (2004) C. Gardiner and P. Zoller, Quantum noise (Springer, 2004).
  • Dalibard et al. (1992) J. Dalibard, Y. Castin,  and K. Mølmer, Phys. Rev. Lett. 68, 580 (1992).
  • Mølmer et al. (1993) K. Mølmer, Y. Castin,  and J. Dalibard, J. Opt. Soc. Am. B 10, 524 (1993).
  • Plenio and Knight (1998) M. B. Plenio and P. L. Knight, Rev. Mod. Phys. 70, 101 (1998).
  • Yuan et al. (2019) X. Yuan, S. Endo, Q. Zhao, Y. Li,  and S. Benjamin, Quantum 3, 191 (2019)arxiv:1812.08767 [quant-ph] .
  • (96) B. Gerritsen, L. Bond, J. Minar, R. Spreeuw, R. Gerritsma,  and A. Safavi-Naini, In preparation .
  • Wootters (1987) W. K. Wootters, Ann. Phys. 176, 1 (1987).
  • Schachenmayer et al. (2015b) J. Schachenmayer, A. Pikovski,  and A. M. Rey, New J. Phys. 17, 065009 (2015b)arXiv:1501.06593 .
  • Acevedo et al. (2017) O. L. Acevedo, A. Safavi-Naini, J. Schachenmayer, M. L. Wall, R. Nandkishore,  and A. M. Rey, Phys. Rev. A 96, 033604 (2017).
  • Kunimi et al. (2021) M. Kunimi, K. Nagao, S. Goto,  and I. Danshita, Phys. Rev. Res. 3, 013060 (2021).
  • Orioli et al. (2018) A. P. Orioli, A. Signoles, H. Wildhagen, G. Günter, J. Berges, S. Whitlock,  and M. Weidemüller, Phys. Rev. Lett. 120, 063601 (2018).
  • Alaoui et al. (2024) Y. A. Alaoui, S. R. Muleady, E. Chaparro, Y. Trifa, A. M. Rey, T. Roscilde, B. Laburthe-Tolra,  and L. Vernac,  , 1 (2024)arXiv:2404.10531 .
  • Polkovnikov (2010b) A. Polkovnikov, Annals of Physics 325, 1790 (2010b).
  • Herrera and Spano (2016) F. Herrera and F. C. Spano, Phys. Rev. Lett. 116, 238301 (2016).
  • Vogl et al. (2020) M. Vogl, P. Laurell, H. Zhang, S. Okamoto,  and G. A. Fiete, Phys. Rev. Res. 2, 043243 (2020).
  • Marshall and Anand (2023) J. Marshall and N. Anand, Optica Quantum 1, 78 (2023).
  • Note (4) In the numerical implementation of NGS we observe that for certain initial states the equations of motion become numerically unstable, which we attribute to the singularity of the metric g𝑔gitalic_g and the associated need to perform a pseudoinverse instead of the inverse in the evaluation of G=g1𝐺superscript𝑔1G=g^{-1}italic_G = italic_g start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT. Dealing with this issue is a matter of current and future work.
  • Wurtz et al. (2018) J. Wurtz, A. Polkovnikov,  and D. Sels, Ann. Phys. 395, 341 (2018).
  • Vovk and Pichler (2022) T. Vovk and H. Pichler, Phys. Rev. Lett. 128, 243601 (2022).
  • Vovk and Pichler (2024) T. Vovk and H. Pichler, “Quantum trajectory entanglement in various unravelings of markovian dynamics,”  (2024), arXiv:2404.12167 [quant-ph] .
  • Kaicher et al. (2023) M. P. Kaicher, D. Vodola,  and S. B. Jäger, Phys. Rev. B 107, 165144 (2023).
  • Gottlob and Schneider (2023) E. Gottlob and U. Schneider, Phys. Rev. B 107, 144202 (2023).
  • Hutchison et al. (2012) J. A. Hutchison, T. Schwartz, C. Genet, E. Devaux,  and T. W. Ebbesen, Angew. Chem. Int. Ed. 51, 1592 (2012).
  • Simpkins et al. (2021) B. S. Simpkins, A. D. Dunkelberger,  and J. C. Owrutsky, J. Phys. Chem. C 125, 19081 (2021).
  • Wang and Yelin (2021) D. S. Wang and S. F. Yelin, ACS Photonics 8, 2818 (2021).
  • Campos-Gonzalez-Angulo et al. (2023) J. A. Campos-Gonzalez-Angulo, Y. R. Poh, M. Du,  and J. Yuen-Zhou, J. Chem. Phys. 158 (2023), 10.1063/5.0143253.

Supplemental Material

SI On the complex structure of the multipolaron ansatz

In this section we specify the geometric structures for special cases of the general NGS ansatz. We begin with the example of a coherent state ansatz with explicit normalization and phase factors, |ψ(z)=eκ+iθ𝒟(x+iy)|0ket𝜓𝑧superscript𝑒𝜅𝑖𝜃𝒟𝑥𝑖𝑦ket0\ket{\psi(\vec{z})}=e^{\kappa+i\theta}\mathcal{D}(x+iy)\ket{0}| start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ = italic_e start_POSTSUPERSCRIPT italic_κ + italic_i italic_θ end_POSTSUPERSCRIPT caligraphic_D ( italic_x + italic_i italic_y ) | start_ARG 0 end_ARG ⟩, with z={κ,θ,x,y}𝑧𝜅𝜃𝑥𝑦\vec{z}=\{\kappa,\theta,x,y\}over→ start_ARG italic_z end_ARG = { italic_κ , italic_θ , italic_x , italic_y }. The tangent vectors for this ansatz were given in Eq. (29a), from which we can compute the metric and symplectic forms,

gμν=(100001z4z30z41+z42z3z40z3z3z41+z32),ωμν=(01z4z31000z4000z3010)formulae-sequencesubscript𝑔𝜇𝜈100001subscript𝑧4subscript𝑧30subscript𝑧41superscriptsubscript𝑧42subscript𝑧3subscript𝑧40subscript𝑧3subscript𝑧3subscript𝑧41superscriptsubscript𝑧32subscript𝜔𝜇𝜈01subscript𝑧4subscript𝑧31000subscript𝑧4000subscript𝑧3010\displaystyle\qquad g_{\mu\nu}=\left(\begin{array}[]{cccc}1&0&0&0\\ 0&1&-z_{4}&z_{3}\\ 0&-z_{4}&1+z_{4}^{2}&-z_{3}z_{4}\\ 0&z_{3}&-z_{3}z_{4}&1+z_{3}^{2}\end{array}\right),\qquad\omega_{\mu\nu}=\left(% \begin{array}[]{cccc}0&1&-z_{4}&z_{3}\\ -1&0&0&0\\ z_{4}&0&0&0\\ -z_{3}&0&-1&0\end{array}\right)italic_g start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT = ( start_ARRAY start_ROW start_CELL 1 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 1 end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL 1 + italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL 1 + italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_CELL end_ROW end_ARRAY ) , italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT = ( start_ARRAY start_ROW start_CELL 0 end_CELL start_CELL 1 end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL - 1 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL start_CELL 0 end_CELL start_CELL - 1 end_CELL start_CELL 0 end_CELL end_ROW end_ARRAY ) (S9)

as well as their respective inverses

G=(100001+z32+z42z4z30z4100z301),Ω=(010010z3z40z3010z410).formulae-sequence𝐺100001superscriptsubscript𝑧32superscriptsubscript𝑧42subscript𝑧4subscript𝑧30subscript𝑧4100subscript𝑧301Ω010010subscript𝑧3subscript𝑧40subscript𝑧3010subscript𝑧410\displaystyle\qquad G=\left(\begin{array}[]{cccc}1&0&0&0\\ 0&1+z_{3}^{2}+z_{4}^{2}&z_{4}&-z_{3}\\ 0&z_{4}&1&0\\ 0&-z_{3}&0&1\end{array}\right),\qquad\Omega=\left(\begin{array}[]{cccc}0&-1&0&% 0\\ 1&0&-z_{3}&-z_{4}\\ 0&z_{3}&0&-1\\ 0&z_{4}&1&0\end{array}\right).italic_G = ( start_ARRAY start_ROW start_CELL 1 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 1 + italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_CELL start_CELL italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL 1 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL start_CELL 0 end_CELL start_CELL 1 end_CELL end_ROW end_ARRAY ) , roman_Ω = ( start_ARRAY start_ROW start_CELL 0 end_CELL start_CELL - 1 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 1 end_CELL start_CELL 0 end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL start_CELL 0 end_CELL start_CELL - 1 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL 1 end_CELL start_CELL 0 end_CELL end_ROW end_ARRAY ) . (S18)

Note that here the use of the pseudo-inverse would give the same as the inverse, as ωμνsubscript𝜔𝜇𝜈\omega_{\mu\nu}italic_ω start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT and gμνsubscript𝑔𝜇𝜈g_{\mu\nu}italic_g start_POSTSUBSCRIPT italic_μ italic_ν end_POSTSUBSCRIPT are not singular for any values of the variational parameters z𝑧\vec{z}over→ start_ARG italic_z end_ARG. We can also compute the complex structure, J\indices=νμGμσωσνJ\indices{{}^{\mu}_{\nu}}=-G^{\mu\sigma}\omega_{\sigma\nu}italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT = - italic_G start_POSTSUPERSCRIPT italic_μ italic_σ end_POSTSUPERSCRIPT italic_ω start_POSTSUBSCRIPT italic_σ italic_ν end_POSTSUBSCRIPT,

J\indices=νμ(01z4z310z3z400010010),\displaystyle J\indices{{}^{\mu}_{\nu}}=\left(\begin{array}[]{cccc}0&-1&z_{4}&% -z_{3}\\ 1&0&-z_{3}&z_{4}\\ 0&0&0&-1\\ 0&0&1&0\end{array}\right),italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT = ( start_ARRAY start_ROW start_CELL 0 end_CELL start_CELL - 1 end_CELL start_CELL italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 1 end_CELL start_CELL 0 end_CELL start_CELL - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_CELL start_CELL italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL - 1 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 1 end_CELL start_CELL 0 end_CELL end_ROW end_ARRAY ) , (S23)

and verify that J2=𝟙superscript𝐽2double-struck-𝟙J^{2}=-\mathbb{1}italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - blackboard_𝟙. Using the relation i|vν=J\indices|vμνμ𝑖ketsubscript𝑣𝜈𝐽\indicessuperscriptsubscriptketsubscript𝑣𝜇𝜈𝜇i\ket{v_{\nu}}=J\indices{{}^{\mu}_{\nu}}\ket{v_{\mu}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT end_ARG ⟩ = italic_J start_FLOATSUPERSCRIPT italic_μ end_FLOATSUPERSCRIPT start_POSTSUBSCRIPT italic_ν end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ which holds if the tangent space of the variational manifold is a Kähler manifold as is the case here, we directly obtain the relations

i|v1𝑖ketsubscript𝑣1\displaystyle i\ket{v_{1}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ =|v2,absentketsubscript𝑣2\displaystyle=\ket{v_{2}},= | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ , (S24)
i|v2𝑖ketsubscript𝑣2\displaystyle i\ket{v_{2}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ =i|v1,absent𝑖ketsubscript𝑣1\displaystyle=-i\ket{v_{1}},= - italic_i | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ , (S25)
i|v3𝑖ketsubscript𝑣3\displaystyle i\ket{v_{3}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ =z4|v1z3|v2+|v4,absentsubscript𝑧4ketsubscript𝑣1subscript𝑧3ketsubscript𝑣2ketsubscript𝑣4\displaystyle=z_{4}\ket{v_{1}}-z_{3}\ket{v_{2}}+\ket{v_{4}},= italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ + | start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ , (S26)
i|v4𝑖ketsubscript𝑣4\displaystyle i\ket{v_{4}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ =z3|v1+z4|v2|v3,absentsubscript𝑧3ketsubscript𝑣1subscript𝑧4ketsubscript𝑣2ketsubscript𝑣3\displaystyle=-z_{3}\ket{v_{1}}+z_{4}\ket{v_{2}}-\ket{v_{3}},= - italic_z start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ + italic_z start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ - | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ , (S27)

which we derived explicitly and used in the main text to compute Im[Cμ]Imdelimited-[]subscript𝐶𝜇\text{Im}[C_{\mu}]Im [ italic_C start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT ], see Sec. III.2.

Next, we compute the complex structure of the squeezed coherent state, including norm and phase factors, |ψ(z)=eκ+iθ|α,ζ=eκ+iθD(α)ξ(ζ)|0ket𝜓𝑧superscripte𝜅𝑖𝜃ket𝛼𝜁superscripte𝜅𝑖𝜃𝐷𝛼𝜉𝜁ket0\ket{\psi(\vec{z})}={\rm e}^{\kappa+i\theta}\ket{\alpha,\zeta}={\rm e}^{\kappa% +i\theta}D(\alpha)\xi(\zeta)\ket{0}| start_ARG italic_ψ ( over→ start_ARG italic_z end_ARG ) end_ARG ⟩ = roman_e start_POSTSUPERSCRIPT italic_κ + italic_i italic_θ end_POSTSUPERSCRIPT | start_ARG italic_α , italic_ζ end_ARG ⟩ = roman_e start_POSTSUPERSCRIPT italic_κ + italic_i italic_θ end_POSTSUPERSCRIPT italic_D ( italic_α ) italic_ξ ( italic_ζ ) | start_ARG 0 end_ARG ⟩, such that z=(κ,θ,x,y,r,ϕ)𝑧𝜅𝜃𝑥𝑦𝑟italic-ϕ\vec{z}=(\kappa,\theta,x,y,r,\phi)over→ start_ARG italic_z end_ARG = ( italic_κ , italic_θ , italic_x , italic_y , italic_r , italic_ϕ ) with α=x+iy𝛼𝑥𝑖𝑦\alpha=x+iyitalic_α = italic_x + italic_i italic_y, ζ=reiϕ𝜁𝑟superscripte𝑖italic-ϕ\zeta=r{\rm e}^{i\phi}italic_ζ = italic_r roman_e start_POSTSUPERSCRIPT italic_i italic_ϕ end_POSTSUPERSCRIPT. Using the expressions in Eqs. (17), (18) we arrive at

J=(01yx0sinh2(r)/210t1t2tanh(r)/2000sinh(2r)sin(ϕ)sinh(2r)cos(ϕ)+cosh(2r)0000sinh(2r)cos(ϕ)cosh(2r)sinh(2r)sin(ϕ)0000000sinh(r)cosh(r)0000csch(r)sech(r)0),𝐽01𝑦𝑥0superscript2𝑟210subscript𝑡1subscript𝑡2𝑟20002𝑟italic-ϕ2𝑟italic-ϕ2𝑟00002𝑟italic-ϕ2𝑟2𝑟italic-ϕ0000000𝑟𝑟0000csch𝑟𝑟0\displaystyle J=\left(\begin{array}[]{cccccc}0&1&-y&x&0&\sinh^{2}(r)/2\\ -1&0&t_{1}&t_{2}&\tanh(r)/2&0\\ 0&0&-\sinh(2r)\sin(\phi)&\sinh(2r)\cos(\phi)+\cosh(2r)&0&0\\ 0&0&\sinh(2r)\cos(\phi)-\cosh(2r)&\sinh(2r)\sin(\phi)&0&0\\ 0&0&0&0&0&\sinh(r)\cosh(r)\\ 0&0&0&0&-\text{csch}(r)\sech(r)&0\\ \end{array}\right),italic_J = ( start_ARRAY start_ROW start_CELL 0 end_CELL start_CELL 1 end_CELL start_CELL - italic_y end_CELL start_CELL italic_x end_CELL start_CELL 0 end_CELL start_CELL roman_sinh start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_r ) / 2 end_CELL end_ROW start_ROW start_CELL - 1 end_CELL start_CELL 0 end_CELL start_CELL italic_t start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_CELL start_CELL italic_t start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_CELL start_CELL roman_tanh ( start_ARG italic_r end_ARG ) / 2 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL - roman_sinh ( 2 italic_r ) roman_sin ( start_ARG italic_ϕ end_ARG ) end_CELL start_CELL roman_sinh ( 2 italic_r ) roman_cos ( start_ARG italic_ϕ end_ARG ) + roman_cosh ( start_ARG 2 italic_r end_ARG ) end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL roman_sinh ( 2 italic_r ) roman_cos ( start_ARG italic_ϕ end_ARG ) - roman_cosh ( start_ARG 2 italic_r end_ARG ) end_CELL start_CELL roman_sinh ( 2 italic_r ) roman_sin ( start_ARG italic_ϕ end_ARG ) end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL roman_sinh ( italic_r ) roman_cosh ( start_ARG italic_r end_ARG ) end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL - csch ( italic_r ) roman_sech ( start_ARG italic_r end_ARG ) end_CELL start_CELL 0 end_CELL end_ROW end_ARRAY ) , (S34)

where we introduced t1=cosh2(r)[xtanh2(r)+x2tanh(r)(xcos(ϕ)+ysin(ϕ))]subscript𝑡1superscript2𝑟delimited-[]𝑥superscript2𝑟𝑥2𝑟𝑥italic-ϕ𝑦italic-ϕt_{1}=\cosh^{2}(r)\left[x\tanh^{2}(r)+x-2\tanh(r)(x\cos(\phi)+y\sin(\phi))\right]italic_t start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = roman_cosh start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_r ) [ italic_x roman_tanh start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_r ) + italic_x - 2 roman_tanh ( start_ARG italic_r end_ARG ) ( italic_x roman_cos ( start_ARG italic_ϕ end_ARG ) + italic_y roman_sin ( start_ARG italic_ϕ end_ARG ) ) ] and t2=sinh(2r)(ycos(ϕ)xsin(ϕ))+ycosh(2r)subscript𝑡22𝑟𝑦italic-ϕ𝑥italic-ϕ𝑦2𝑟t_{2}=\sinh(2r)(y\cos(\phi)-x\sin(\phi))+y\cosh(2r)italic_t start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = roman_sinh ( 2 italic_r ) ( italic_y roman_cos ( start_ARG italic_ϕ end_ARG ) - italic_x roman_sin ( start_ARG italic_ϕ end_ARG ) ) + italic_y roman_cosh ( start_ARG 2 italic_r end_ARG ). It is straightforward to verify that

J2=1,superscript𝐽21\displaystyle J^{2}=-1,italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - 1 , (S35)

i.e. the tangent space of the single-polaron single-mode ansatz is a Kähler space. A technical remark is in order. We note that

det(g)=det(ω)sinh(2r)2,\displaystyle\det(g)=\det(\omega)\propto\sinh(2r)^{2},roman_det ( start_ARG italic_g end_ARG ) = roman_det ( start_ARG italic_ω end_ARG ) ∝ roman_sinh ( 2 italic_r ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , (S36)

which vanishes in the limit of vanishing squeezing r0𝑟0r\rightarrow 0italic_r → 0 and consequently G=g1𝐺superscript𝑔1G=g^{-1}italic_G = italic_g start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT is ill-defined (an alternative way of seeing this is an overparametrization of the tangent vector space as |v6ketsubscript𝑣6\ket{v_{6}}| start_ARG italic_v start_POSTSUBSCRIPT 6 end_POSTSUBSCRIPT end_ARG ⟩ vanishes, cf. the Eqs. (S37) below). When such situation occurs, one can use instead the Moore-Penrose pseudo-inverse, as suggested in Hackl et al. (2020), to evaluate g1superscript𝑔1g^{-1}italic_g start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT. In this case we recover J2=1superscript𝐽21J^{2}=-1italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - 1 and thus the Kähler space. Finally, when using Eq. (S34) in Eq. (LABEL:eq:projection) we arrive at the following tangent vectors (in addition to {|vμ}ketsubscript𝑣𝜇\{\ket{v_{\mu}}\}{ | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ })

i|v1𝑖ketsubscript𝑣1\displaystyle i\ket{v_{1}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ =|v2,absentketsubscript𝑣2\displaystyle=\ket{v_{2}},= | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ , (S37a)
i|v2𝑖ketsubscript𝑣2\displaystyle i\ket{v_{2}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ =|v1,absentketsubscript𝑣1\displaystyle=-\ket{v_{1}},= - | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ , (S37b)
i|v3=y|v1[xcosh(2r)(xcos(ϕ)+ysin(ϕ))sinh(2r)]|v2+sin(ϕ)sinh(2r)|v3+[cosh(2r)cos(ϕ)sinh(2r)]|v4,𝑖ketsubscript𝑣3𝑦ketsubscript𝑣1delimited-[]𝑥2𝑟𝑥italic-ϕ𝑦italic-ϕ2𝑟ketsubscript𝑣2italic-ϕ2𝑟ketsubscript𝑣3delimited-[]2𝑟italic-ϕ2𝑟ketsubscript𝑣4\displaystyle\begin{split}i\ket{v_{3}}&=y\ket{v_{1}}-[x\cosh(2r)-(x\cos(\phi)+% y\sin(\phi))\sinh(2r)]\ket{v_{2}}\\ &+\sin(\phi)\sinh(2r)\ket{v_{3}}+[\cosh(2r)-\cos(\phi)\sinh(2r)]\ket{v_{4}},% \end{split}start_ROW start_CELL italic_i | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ end_CELL start_CELL = italic_y | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ - [ italic_x roman_cosh ( start_ARG 2 italic_r end_ARG ) - ( italic_x roman_cos ( start_ARG italic_ϕ end_ARG ) + italic_y roman_sin ( start_ARG italic_ϕ end_ARG ) ) roman_sinh ( 2 italic_r ) ] | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + roman_sin ( start_ARG italic_ϕ end_ARG ) roman_sinh ( 2 italic_r ) | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ + [ roman_cosh ( start_ARG 2 italic_r end_ARG ) - roman_cos ( start_ARG italic_ϕ end_ARG ) roman_sinh ( 2 italic_r ) ] | start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ , end_CELL end_ROW (S37c)
i|v4=x|v1[ycosh(2r)+[ycos(ϕ)xsin(ϕ)]sinh(2r)]|v2[cosh2(r)+sinh2(r)+cos(ϕ)sinh(2r)]|v3sin(ϕ)sinh(2r)|v4,𝑖ketsubscript𝑣4𝑥ketsubscript𝑣1delimited-[]𝑦2𝑟delimited-[]𝑦italic-ϕ𝑥italic-ϕ2𝑟ketsubscript𝑣2delimited-[]superscript2𝑟superscript2𝑟italic-ϕ2𝑟ketsubscript𝑣3italic-ϕ2𝑟ketsubscript𝑣4\displaystyle\begin{split}i\ket{v_{4}}&=-x\ket{v_{1}}-[y\cosh(2r)+[y\cos(\phi)% -x\sin(\phi)]\sinh(2r)]\ket{v_{2}}\\ &-[\cosh^{2}(r)+\sinh^{2}(r)+\cos(\phi)\sinh(2r)]\ket{v_{3}}-\sin(\phi)\sinh(2% r)\ket{v_{4}},\end{split}start_ROW start_CELL italic_i | start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ end_CELL start_CELL = - italic_x | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ - [ italic_y roman_cosh ( start_ARG 2 italic_r end_ARG ) + [ italic_y roman_cos ( start_ARG italic_ϕ end_ARG ) - italic_x roman_sin ( start_ARG italic_ϕ end_ARG ) ] roman_sinh ( 2 italic_r ) ] | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL - [ roman_cosh start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_r ) + roman_sinh start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_r ) + roman_cos ( start_ARG italic_ϕ end_ARG ) roman_sinh ( 2 italic_r ) ] | start_ARG italic_v start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_ARG ⟩ - roman_sin ( start_ARG italic_ϕ end_ARG ) roman_sinh ( 2 italic_r ) | start_ARG italic_v start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_ARG ⟩ , end_CELL end_ROW (S37d)
i|v5𝑖ketsubscript𝑣5\displaystyle i\ket{v_{5}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT end_ARG ⟩ =12tanh(r)|v2+sech2(r)tanh(r)|v6,absent12𝑟ketsubscript𝑣2superscript2𝑟𝑟ketsubscript𝑣6\displaystyle=-\frac{1}{2}\tanh(r)\ket{v_{2}}+\frac{\sech^{2}(r)}{\tanh(r)}% \ket{v_{6}},= - divide start_ARG 1 end_ARG start_ARG 2 end_ARG roman_tanh ( start_ARG italic_r end_ARG ) | start_ARG italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_ARG ⟩ + divide start_ARG roman_sech start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_r ) end_ARG start_ARG roman_tanh ( start_ARG italic_r end_ARG ) end_ARG | start_ARG italic_v start_POSTSUBSCRIPT 6 end_POSTSUBSCRIPT end_ARG ⟩ , (S37e)
i|v6𝑖ketsubscript𝑣6\displaystyle i\ket{v_{6}}italic_i | start_ARG italic_v start_POSTSUBSCRIPT 6 end_POSTSUBSCRIPT end_ARG ⟩ =12sech2(r)|v1tanh(r)sech(r)2|v5.absent12superscript2𝑟ketsubscript𝑣1𝑟superscript𝑟2ketsubscript𝑣5\displaystyle=-\frac{1}{2}\sech^{2}(r)\ket{v_{1}}-\frac{\tanh(r)}{\sech(r)^{2}% }\ket{v_{5}}.= - divide start_ARG 1 end_ARG start_ARG 2 end_ARG roman_sech start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_r ) | start_ARG italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_ARG ⟩ - divide start_ARG roman_tanh ( start_ARG italic_r end_ARG ) end_ARG start_ARG roman_sech ( start_ARG italic_r end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG | start_ARG italic_v start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT end_ARG ⟩ . (S37f)

It is apparent from the above equations that the set {i|vμ}𝑖ketsubscript𝑣𝜇\{i\ket{v_{\mu}}\}{ italic_i | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ } lies in the tangent space spanned by {|vμ}ketsubscript𝑣𝜇\{\ket{v_{\mu}}\}{ | start_ARG italic_v start_POSTSUBSCRIPT italic_μ end_POSTSUBSCRIPT end_ARG ⟩ } as a consequence of it being the Kähler manifold, J2=1superscript𝐽21J^{2}=-1italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - 1.

The same procedure then generalizes to the construction of tangent vectors for each polaron p{1,,Np}𝑝1subscript𝑁𝑝p\in\{1,\ldots,N_{p}\}italic_p ∈ { 1 , … , italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT } and each mode k{1,,Nb}𝑘1subscript𝑁𝑏k\in\{1,\ldots,N_{b}\}italic_k ∈ { 1 , … , italic_N start_POSTSUBSCRIPT italic_b end_POSTSUBSCRIPT } such that the tangent space remains Kähler manifold also in the generic many-polaron multi-mode case. In this case the complex structure J𝐽Jitalic_J takes a block-diagonal form, where each block is labeled by the polaron and mode number (p,k)𝑝𝑘(p,k)( italic_p , italic_k ) with the property J2=1superscript𝐽21J^{2}=-1italic_J start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - 1, which we could also verify numerically.

SII Benchmarking dynamics with single spin

A key advantage of NGS is that it provides access to the wavefunction |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩, meaning that any desired quantity can be computed, including for example the entanglement entropy. We provide a simple example of this utility by computing the infidelity 1(t)=1|ψ(t)|Ψ(t)|21𝑡1superscriptinner-product𝜓𝑡Ψ𝑡21-\mathcal{F}(t)=1-|\innerproduct{\psi(t)}{\Psi(t)}|^{2}1 - caligraphic_F ( italic_t ) = 1 - | ⟨ start_ARG italic_ψ ( italic_t ) end_ARG | start_ARG roman_Ψ ( italic_t ) end_ARG ⟩ | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT between NGS wavefunction |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ with Np=8subscript𝑁𝑝8N_{p}=8italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 8 and the exact wavefunction |ΨketΨ\ket{\Psi}| start_ARG roman_Ψ end_ARG ⟩ for closed real-time dynamics. This is shown in Fig. S1 for Ns=1subscript𝑁𝑠1N_{s}=1italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 1 for the four parameter regimes studied in Figs. 6-9 (there with Ns=3subscript𝑁𝑠3N_{s}=3italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 3). Note that such a comparison for more spins becomes challenging as we cannot access exact numerics. We find that in all regimes except g=λ=1𝑔𝜆1g=\lambda=1italic_g = italic_λ = 1, the infidelity of NGS is low, with 1<𝒪(102)1𝒪superscript1021-\mathcal{F}<\mathcal{O}(10^{-2})1 - caligraphic_F < caligraphic_O ( 10 start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT ). We also note that the infidelity is not accessible in TWA.

Refer to caption
Figure S1: Infidelity 1(t)=1|ψ(t)|Ψ(t)|21𝑡1superscriptinner-product𝜓𝑡Ψ𝑡21-\mathcal{F}(t)=1-|\innerproduct{\psi(t)}{\Psi(t)}|^{2}1 - caligraphic_F ( italic_t ) = 1 - | ⟨ start_ARG italic_ψ ( italic_t ) end_ARG | start_ARG roman_Ψ ( italic_t ) end_ARG ⟩ | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT of real-time dynamics for Ns=1subscript𝑁𝑠1N_{s}=1italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 1 between NGS |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ using Np=8subscript𝑁𝑝8N_{p}=8italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 8 and exact |ΨketΨ\ket{\Psi}| start_ARG roman_Ψ end_ARG ⟩ for the same four parameter regimes studied in the main text. The initial infidelity is due to introducing a tiny randomness in the NGS initial state of the bosonic modes, which is a strategy we adopt to lift the degeneracy between the different polarons to avoid overparametrization of the equations of motion, cf. Bond et al. (2024). In all regions except g=λ=1𝑔𝜆1g=\lambda=1italic_g = italic_λ = 1 where the rapid decrease in infidelity leads to unstable NGS EOMs, NGS captures the dynamics even at late times with excellent infidelity, 1<𝒪(102)1𝒪superscript1021-\mathcal{F}<\mathcal{O}(10^{-2})1 - caligraphic_F < caligraphic_O ( 10 start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT ).

Next, we benchmark both TWA and NGS against exact numerics for open real-time dynamics. In Fig. S2, we consider Ns=1subscript𝑁𝑠1N_{s}=1italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 1 in the same parameter regime as the main text g=0.1,λ=1formulae-sequence𝑔0.1𝜆1g=0.1,\lambda=1italic_g = 0.1 , italic_λ = 1 with cavity loss κa𝜅𝑎\sqrt{\kappa}asquare-root start_ARG italic_κ end_ARG italic_a at rates κ=g𝜅𝑔\kappa=gitalic_κ = italic_g (top row) and κ=10g𝜅10𝑔\kappa=10gitalic_κ = 10 italic_g (bottom row). For weaker cavity loss κ=g𝜅𝑔\kappa=gitalic_κ = italic_g we find that NGS with Np=8subscript𝑁𝑝8N_{p}=8italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 8 polarons more closely tracks the exact numerics than TWA, particularly for the cavity dynamics which shows excellent agreement. At strong cavity decay rates κ=10g𝜅10𝑔\kappa=10gitalic_κ = 10 italic_g both methods accurately capture the cavity dynamics, with NGS also capturing the spin decay, albeit with large error bars as only ntraj=40subscript𝑛traj40n_{\rm traj}=40italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 40 trajectories were used.

Refer to caption
Figure S2: Benchmarking NGS and TWA against exact numerics. We use Ns=1subscript𝑁𝑠1N_{s}=1italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 1 spin in the g=0.1𝑔0.1g=0.1italic_g = 0.1, λ=1𝜆1\lambda=1italic_λ = 1 regime with cavity loss κa𝜅𝑎\sqrt{\kappa}asquare-root start_ARG italic_κ end_ARG italic_a, i.e. the same parameters considered in the main text (there with Ns=3subscript𝑁𝑠3N_{s}=3italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = 3). Top row: weaker cavity decay κ=g𝜅𝑔\kappa=gitalic_κ = italic_g. NGS accurately captures the cavity dynamics, and captures the spin and vibrational mode decay until νt15similar-to𝜈𝑡15\nu t\sim 15italic_ν italic_t ∼ 15. TWA significantly under-estimates the spin and vibrational decay, while over-estimating the cavity decay. Bottom row: strong cavity decay κ=10g𝜅10𝑔\kappa=10gitalic_κ = 10 italic_g. Both methods capture the decay of cavity population and subsequent small oscillations, as well as the vibrational loss. NGS now agrees with exact numerics for the spin decay (albeit with large error bars due to the limited ntraj)n_{\rm traj})italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT ). TWA still underestimates this observable, although the agreement is closer. We attribute this to the loss of quantum correlations due to the decoherence which makes it easier for the TWA to capture the true quantum state. Here NGS uses Np=8subscript𝑁𝑝8N_{p}=8italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 8 and ntraj=40subscript𝑛traj40n_{\rm traj}=40italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 40 with standard error indicated by the error bars, TWA is with ntraj=104subscript𝑛trajsuperscript104n_{\rm traj}=10^{4}italic_n start_POSTSUBSCRIPT roman_traj end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT with standard error shaded.