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

Quantum Thermodynamics: Inside-Outside Perspective

Jiayang Zhou Department of Chemistry & Biochemistry, University of California San Diego, La Jolla, CA 92093, USA    Anqi Li Department of Chemistry & Biochemistry, University of California San Diego, La Jolla, CA 92093, USA    Michael Galperin [email protected] Department of Chemistry & Biochemistry, University of California San Diego, La Jolla, CA 92093, USA
Abstract

We introduce an energy-resolved variant of quantum thermodynamics for open systems strongly coupled to their baths. The approach generalizes the Landauer-Buttiker inside-outside duality method [Phys. Rev. Lett. 120, 107701 (2018)] to interacting systems subjected to arbitrary external driving. It is consistent with the underlying dynamical quantum transport description and is capable of overcoming limitations of the only other consistent approach [New J. Phys. 12, 013013 (2010)]. We illustrate viability of the generalized inside-outside method with numerical simulations for generic junction models.

Introduction. Construction of quantum molecular devices became a reality due to the advancement of experimental techniques at nanoscale Jezouin et al. (2013); Pekola (2015); Hartman et al. (2018); Klatzow et al. (2019). This development poses a challenge to theory making thermodynamic formulation at nanoscale important from both fundamental and applicational perspectives. Indeed, besides purely academic interest, such formulation is at the heart of any efficiency estimate of thermoelectric nano-devices Reddy et al. (2007); Lee et al. (2013); Kim et al. (2014); Zotti et al. (2014); Cui et al. (2017a, b, 2018, 2019). Existing theories rely on figure of merit concept which stems from classical macroscopic formulation. It is restricted to equilibrium considerations (linear response) and completely disregards quantum fluctuations.

Significant progress was achieved in theoretical formulations of quantum thermodynamics for systems weakly coupled to their baths. Analogs of traditional thermodynamics which focuses on average system characteristics as well as considerations of quantum fluctuations (thermodynamic fluctuation theorems) are available in the literature Esposito et al. (2009, 2014).

In nanoscale devices, molecule usually forms a covalent bond with contacts on at least one of its interfaces which results in hybridization of molecular states with those of the contacts. This appears as system-bath interaction of a strength comparable to energy of the isolated system. Therefore, thermodynamic formulation of systems strongly coupled to their baths (i.e. situation where energy of system-bath interaction cannot be disregarded) becomes a practical necessity. Contrary to weakly coupled situation, thermodynamic formulations for strongly coupled systems are still at their infancy with most of discussion focused on formulations involving system averages. Only a few publications on steady-state regime considered quantum fluctuations in such systems Esposito et al. (2015a), while fluctuation theorems formulated so far were shown to be violated in strongly coupled systems Brandner et al. (2018).

Here, we focus on thermodynamic theory of averages for systems strongly coupled to their baths keeping in mind that for future attempts of stochastic thermodynamic formulation for strongly coupled systems one of the guiding principles of the formulation should be consistency between thermodynamic and microscopic dynamical descriptions Kosloff (2013). As far as we know, only one consistent thermodynamic formulation is available in the literature today. It postulates the von Neumann entropy expression for reduced density matrix of the system as proper thermodynamics entropy. The approach was originally proposed in Refs. Lindblad, 1983; Peres, 2002; Esposito et al., 2010 and later used in a number of studies Sagawa (2012); Kato and Tanimura (2016); Strasberg et al. (2017); Seshadri and Galperin (2021). The formulation guarantees that in a thermodynamic process which starts from decoupled system and baths entropy production is positive (i.e. integrated form of the second law of thermodynamics is satisfied) while entropy production rate is non-monotonic (i.e. differential form of the second law is not guaranteed) Esposito et al. (2010). When a thermodynamic process does not start from the decoupled state, the second law is not guaranteed in any form.

We argued Seshadri and Galperin (2021) that the deficiency of this von Neumann formulation is due to its neglect of energy resolution in system entropy: the von Neumann expression operates with reduced density matrix, which is a time-local (integrated in energy) object. Here, we introduce a general energy-resolved thermodynamic formulation for systems strongly coupled to their baths which is consistent with underlying microscopic dynamics. This is done by employing nonequilibrium Green’s function method in reformulating the inside-outside approach in Ref. Bruch et al., 2018 originally developed for noninteracting systems under adiabatic driving. We extend the theory to interacting systems under arbitrary driving. The resulting formulation is capable of overcoming limitations of the von Neumann formulation in Ref. Esposito et al., 2010.

Refer to caption
Figure 1: (Color online) Sketch of the Carnot cycle in the resonant level junction model.

Model. First, we introduce a generic model of open quantum system and mention several concepts from its microscopic dynamics (quantum transport) description which will be necessary for thermodynamic formulation.

We consider a system SS strongly coupled to a number of baths {B}\{B\} and subjected to arbitrary external driving applied to the system and system-baths couplings. Hamiltonian of the model is

H^(t)=H^S(t)+B(H^B+V^SB(t))\hat{H}(t)=\hat{H}_{S}(t)+\sum_{B}\left(\hat{H}_{B}+\hat{V}_{SB}(t)\right) (1)

where Hamiltonian of the system H^S(t)\hat{H}_{S}(t) contains any intra-system interactions, and

H^B=k,αBεkαc^kαc^kαV^SB(t)=mSk,αB(Vm,kα(t)d^mc^k+H.c.)\begin{split}\hat{H}_{B}&=\sum_{k,\alpha\in B}\varepsilon_{k\alpha}\hat{c}_{k\alpha}^{\dagger}\hat{c}_{k\alpha}\\ \hat{V}_{SB}(t)&=\sum_{m\in S}\sum_{k,\alpha\in B}\left(V_{m,k\alpha}(t)\hat{d}_{m}^{\dagger}\hat{c}_{k}+\mbox{H.c.}\right)\end{split} (2)

describe bath BB and its coupling to the system. Here, d^m\hat{d}_{m}^{\dagger} (d^m\hat{d}_{m}) and c^kα\hat{c}_{k\alpha}^{\dagger} (c^kα\hat{c}_{k\alpha}) creates (annihilates) an electron in orbital mm of the system SS and state kk in channel α\alpha of the bath BB, respectively.

For description of the system microscopic dynamics we employ the nonequilibrium Green’s function (NEGF) method Haug and Jauho (2008); Stefanucci and van Leeuwen (2013), which is routinely employed in quantum transport formulations for open nanoscale systems. Thermodynamic formulation below requires several basic concepts of the quantum transport theory. In particular, we utilize the single-particle Green’s function defined on the Keldysh contour,

Gm1m2(τ1,τ2)iTcd^m1(τ1)d^m2(τ2)G_{m_{1}m_{2}}(\tau_{1},\tau_{2})\equiv-i\langle T_{c}\,\hat{d}_{m_{1}}(\tau_{1})\,\hat{d}_{m_{2}}^{\dagger}(\tau_{2})\rangle (3)

(here and below e=kB==1e=k_{B}=\hbar=1), and expressions for particle IBN(t)I_{B}^{N}(t) and energy IBE(t)I_{B}^{E}(t) fluxes at the interface with bath BB Jauho et al. (1994); Galperin et al. (2007)

IBN(t)=αBdE2πiα(t,E)IBE(t)=αBdE2πEiα(t,E)\begin{split}I_{B}^{N}(t)&=\sum_{\alpha\in B}\int\frac{dE}{2\pi}\,i_{\alpha}(t,E)\\ I_{B}^{E}(t)&=\sum_{\alpha\in B}\int\frac{dE}{2\pi}\,E\,i_{\alpha}(t,E)\end{split} (4)

Here,

iα(t,E)\displaystyle i_{\alpha}(t,E) 2Imm,m1St𝑑t1eiE(t1t)\displaystyle\equiv-2\,\mbox{Im}\sum_{m,m_{1}\in S}\int_{-\infty}^{t}dt_{1}\,e^{-iE(t_{1}-t)} (5)
×2πρα(E)Vm1,α(E,t1)Vα,m(E,t)\displaystyle\times 2\pi\rho_{\alpha}(E)\,V_{m_{1},\alpha}(E,t_{1})\,V_{\alpha,m}(E,t)
×(Gmm1<(t,t1)+fα(E)Gmm1r(t,t1))\displaystyle\times\bigg{(}G_{mm_{1}}^{<}(t,t_{1})+f_{\alpha}(E)\,G_{mm_{1}}^{r}(t,t_{1})\bigg{)}

is the unitless energy-resolved particle flux in channel α\alpha, TcT_{c} is the contour ordering operator, fα(E)f_{\alpha}(E) is the Fermi-Dirac distribution in channel α\alpha, << and rr are the lesser and retarded projections of the system Green’s function (3), ρα(E)\rho_{\alpha}(E) is the density of states in channel α\alpha, and Vm,kα(t)=Vm,α(εkα,t)V_{m,k\alpha}(t)=V_{m,\alpha}(\varepsilon_{k\alpha},t). Finally, we use expression for heat flux Q˙B(t)\dot{Q}_{B}(t) from the quantum transport theory Esposito et al. (2015a)

Q˙B(t)=αBdE2π(EμB)iα(t,E)\dot{Q}_{B}(t)=\sum_{\alpha\in B}\int\frac{dE}{2\pi}\left(E-\mu_{B}\right)\,i_{\alpha}(t,E) (6)

With these definitions we are ready to discuss thermodynamic formulation for systems strongly coupled to their baths.

Quantum thermodynamics. For systems strongly coupled to their baths the main problem is formulation of the second law of thermodynamics in terms of quantities used in dynamical description (fluxes and populations of states). Differential form of the second law is

ddtS(t)=BβBQ˙B(t)+S˙i(t)S˙i(t)0\frac{d}{dt}S(t)=\sum_{B}\beta_{B}\dot{Q}_{B}(t)+\dot{S}_{i}(t)\qquad\dot{S}_{i}(t)\geq 0 (7)

where S(t)S(t) is system entropy, Q˙B(t)\dot{Q}_{B}(t) is heat flux at system interface with bath BB, and S˙i(t)\dot{S}_{i}(t) is entropy production. In this expression only heat flux is clearly defined by the microscopic theory, Eq.(6).

To define entropy and entropy production we employ the following observations from the quantum transport theory:

  1. 1.

    Overall (system plus baths) dynamics is unitary. Thus, entropy of the universe given by the von Neumann expression for the total density operator ρ^(t)\hat{\rho}(t), Stot(t)Tr[ρ^(t)lnρ^(t)]S_{tot}(t)\equiv-\mbox{Tr}\left[\hat{\rho}(t)\,\ln\hat{\rho}(t)\right], does not change during evolution: ddtStot(t)=0\frac{d}{dt}S_{tot}(t)=0.

  2. 2.

    Particle fluxes from baths into system are thermal. Non-thermal fluxes from system into baths do not return into the system. Indeed, within the NEGF dynamics of the system is governed by the Dyson equation - equation-of-motion for the Green’s function (3). This dynamical law is exact. Effect of the baths enters the Dyson equation through corresponding self-energies which only contain information on thermal distribution in the baths.

  3. 3.

    Thermalization processes take place far away from the system. They do not affect the system dynamics.

Below we use these observation to develop thermodynamic formulation for systems strongly coupled to their baths.

The first observation allows to define system entropy S(t)S(t) from total baths entropy SB,tot(t)S_{B,tot}(t) as 111We note that Eq.(8) is not a manifestation of additivity of system and baths contributions to the total entropy (due to entanglement the contributions are clearly not additive); rather it is definition of the system entropy. That is, one considers evolution of the total universe (system plus baths) and separately evolution of the baths alone; difference between results of the two evolutions is defined as a quantity characterizing system entropy. Please note that such way of defining properties of systems strongly coupled to baths goes back to works by Kirkwood Kirkwood (2004) and was used in many previous thermodynamic considerations Talkner and Hänggi (2020); Bruch et al. (2016); Ochoa et al. (2016); Bruch et al. (2018).

ddtStot(t)ddtS(t)+ddtSB,tot(t)=0\frac{d}{dt}S_{tot}(t)\equiv\frac{d}{dt}S(t)+\frac{d}{dt}S_{B,tot}(t)=0 (8)

Defining system quantity from baths characteristics is at the heart of the inside-outside approach first introduced in Ref. Bruch et al., 2018. Original (Landauer-Buttiker) formulation of Ref. Bruch et al., 2018 is restricted to noninteracting systems under adiabatic driving. Here, we generalize it to interacting systems and to arbitrary driving, thus providing a general thermodynamic formulation applicable in any transport regime and for any system. Technically, the generalization requires employing the NEGF method in place of single-particle scattering theory, utilizing independent current-carrying states in the baths in place of scattering states, and accounting for correlations between states of different energies in addition to inter-channel correlations.

The second observation allows to separate total particle flux into incoming thermal, ϕin(E)\phi^{in}(E), and outgoing non-thermal, ϕout(t,E)\phi^{out}(t,E), contributions

iα(t,E)=ϕαin(E)ϕαout(t,E)i_{\alpha}(t,E)=\phi^{in}_{\alpha}(E)-\phi^{out}_{\alpha}(t,E) (9)

Here, iα(t,E)i_{\alpha}(t,E) is energy-resolved particle flux defined in Eq.(5), ϕαin(E)\phi^{in}_{\alpha}(E) is thermal population of incoming state in channel α\alpha of the baths, and ϕαout(t,E)\phi^{out}_{\alpha}(t,E) is non-thermal population of outgoing state in channel α\alpha of the baths. To account for system-induced coherences between states of different energies and different channels in the baths, in addition to populations one has to consider also coherences in the energy and channel spaces: ϕαβout(t;Eα,Eβ)\phi^{out}_{\alpha\beta}(t;E_{\alpha},E_{\beta}). Their explicit form can be obtained from equation-of-motion for the baths density matrix (see Appendix A for derivation)

ϕαβin(Eα,Eβ)2πδα,βδ(EαEβ)fα(Eα)ϕαβout(t;Eα,Eβ)ϕαβin(Eα,Eβ)i(2π)2ρα(Eα)ρβ(Eβ)m,m1St𝑑t1(eiEβ(t1t)Vα,m(Eα,t)Vm1,β(Eβ,t1)×[Gmm1<(t,t1)+Gmm1r(t,t1)fβ(Eβ)]+e+iEα(tt1)Vα,m1(Eα,t1)Vm,β(Eβ,t)×[Gm1m<(t1,t)Gm1ma(t1,t)fα(Eα)])(2π)2ρα(Eα)ρβ(Eβ)(EαEβ)GEα,Eβ<(t,t)\begin{split}&\phi_{\alpha\beta}^{in}(E_{\alpha},E_{\beta})\equiv 2\pi\delta_{\alpha,\beta}\,\delta\left(E_{\alpha}-E_{\beta}\right)f_{\alpha}(E_{\alpha})\\ &\phi_{\alpha\beta}^{out}(t;E_{\alpha},E_{\beta})\equiv\phi_{\alpha\beta}^{in}(E_{\alpha},E_{\beta})\\ &-i(2\pi)^{2}\rho_{\alpha}(E_{\alpha})\rho_{\beta}(E_{\beta})\sum_{m,m_{1}\in S}\int_{-\infty}^{t}dt_{1}\,\\ &\bigg{(}e^{-iE_{\beta}(t_{1}-t)}\,V_{\alpha,m}(E_{\alpha},t)\,V_{m_{1},\beta}(E_{\beta},t_{1})\\ &\quad\times\left[G^{<}_{mm_{1}}(t,t_{1})+G^{r}_{mm_{1}}(t,t_{1})\,f_{\beta}(E_{\beta})\right]\\ &\,\,\,+e^{+iE_{\alpha}(t-t_{1})}\,V_{\alpha,m_{1}}(E_{\alpha},t_{1})\,V_{m,\beta}(E_{\beta},t)\\ &\quad\times\left[G^{<}_{m_{1}m}(t_{1},t)-G^{a}_{m_{1}m}(t_{1},t)\,f_{\alpha}(E_{\alpha})\right]\bigg{)}\\ &-(2\pi)^{2}\rho_{\alpha}(E_{\alpha})\rho_{\beta}(E_{\beta})(E_{\alpha}-E_{\beta})G^{<}_{E_{\alpha},E_{\beta}}(t,t)\end{split} (10)

Here, ρα(Eα)\rho_{\alpha}(E_{\alpha}) and ρβ(Eβ)\rho_{\beta}(E_{\beta}) are densities of states of channels α\alpha and β\beta of the baths, respectively. While our approach is general, at steady-state Eq.(10) reduces to the Landauer-Buttiker scattering theory result.

Having expressions for populations and coherences, Eq.(10), one can define rate of entropy change in the baths as difference between entropy flux outgoing from the system and entropy flux incoming to the system

ddtSB,tot(t)Trc,E{σ[ϕout(t)]σ[ϕin]}\frac{d}{dt}S_{B,tot}(t)\equiv\mbox{Tr}_{c,E}\bigg{\{}\sigma\left[\mathbf{\phi}^{out}(t)\right]-\sigma\left[\mathbf{\phi}^{in}\right]\bigg{\}} (11)

Here, SB,totS_{B,tot} is the total entropy of all the baths, Trc,E{}\mbox{Tr}_{c,E}\{\ldots\} is trace over channels and energies in the baths, and

σ[ϕ]ϕln(ϕ)(𝐈ϕ)ln(𝐈ϕ)\mathbf{\sigma}\left[\mathbf{\phi}\right]\equiv-\mathbf{\phi}\,\ln(\mathbf{\phi})-(\mathbf{I}-\mathbf{\phi})\,\ln(\mathbf{I}-\mathbf{\phi}) (12)

is the von Neumann expression for entropy in the baths.

The third observation indicates that neither thermalization process affects physics of the system, nor system participates in the process. Thus, entropy production, which takes place during thermalization, can be modeled as a process of reducing non-thermal distribution over bath states ϕout\phi^{out} to thermal distribution ϕin\phi^{in}. Following Ref. Vedral, 2002 entropy production can be rationalized as information erasure due to measurement of non-thermal baths by set of thermal super-baths weakly coupled to the baths. The process leads to entropy production in the universe which consists of entropy change in the baths, Trc,E{σ[ϕin]σ[ϕout(t)]}\mbox{Tr}_{c,E}\left\{\sigma\left[\phi^{in}\right]-\sigma\left[\phi^{out}(t)\right]\right\}, and heat flux into the super-baths, BβBQ˙B(t)-\sum_{B}\beta_{B}\dot{Q}_{B}(t). Adding the two contributions leads to expression for entropy production

S˙i(t)Trc,E{ϕout(t)[lnϕout(t)lnϕin]+(𝐈ϕout(t))[ln(𝐈ϕout(t))ln(𝐈ϕin)]}\begin{split}&\dot{S}_{i}(t)\equiv\mbox{Tr}_{c,E}\bigg{\{}\phi^{out}(t)\,\big{[}\ln\phi^{out}(t)-\ln\phi^{in}\big{]}\\ &+\left(\mathbf{I}-\phi^{out}(t)\right)\,\big{[}\ln\left(\mathbf{I}-\phi^{out}(t)\right)-\ln\left(\mathbf{I}-\phi^{in}\right)\big{]}\bigg{\}}\end{split} (13)

Note that contrary to formulation of Ref. Esposito et al., 2010 entropy production rate in the inside-outside approach is always positive Sagawa (2012); Esposito et al. (2015b).

Finally, using (11) and (13) in (8) leads to the differential form of the second law of thermodynamics for entropy of the system S(t)S(t), Eq.(7) (see Appendix B for derivation).

This completes thermodynamic formulation for system strongly coupled to its baths. Note that the introduced formulation readily yields access to energy-resolved version of the second law as discussed in Ref Seshadri and Galperin, 2021.

Refer to caption
Figure 2: (Color online) Entropy production rate for an isothermal process in resonant level model with the level shifted from 0.20.2 to 0.2-0.2. Calculations are done within the inside-outside approach (see Eq.(13), solid blue line) and within the von Neumann approach of Refs. Lindblad, 1983; Peres, 2002; Esposito et al., 2010 (see Eq.(9) of Ref. Seshadri and Galperin, 2021, dotted red line). See text for parameters.

Numerical results. We now illustrate the inside-outside approach for the resonant level model of phonon assisted tunneling where a single molecular level ε0\varepsilon_{0} represents a junction connecting two electron reservoirs (LL and RR) while being also coupled to a single harmonic mode ω0\omega_{0}. The mode represents molecular vibration and is coupled to a thermal (phonon) bath (PP). Hamiltonian of the system is given in Eq.(1) with

H^S(t)=ε0(t)d^d^+ω0a^a^+M(a^+a^)d^d^\hat{H}_{S}(t)=\varepsilon_{0}(t)\hat{d}^{\dagger}\hat{d}+\omega_{0}\hat{a}^{\dagger}\hat{a}+M\left(\hat{a}+\hat{a}^{\dagger}\right)\hat{d}^{\dagger}\hat{d} (14)

and B{L,R,P}B\in\{L,R,P\} where

H^K=kKεkc^kc^k(K=L,R)V^SK(t)=kK(Vk(t)d^c^k+Vk(t)c^kd^)H^P=pPωαb^pb^pV^SP=pP(Upa^b^p+Upb^pa^)\begin{split}\hat{H}_{K}&=\sum_{k\in K}\varepsilon_{k}\hat{c}_{k}^{\dagger}\hat{c}_{k}\qquad(K=L,R)\\ \hat{V}_{SK}(t)&=\sum_{k\in K}\left(V_{k}(t)\hat{d}^{\dagger}\hat{c}_{k}+V_{k}^{*}(t)\hat{c}_{k}^{\dagger}\hat{d}\right)\\ \hat{H}_{P}&=\sum_{p\in P}\omega_{\alpha}\hat{b}_{p}^{\dagger}\hat{b}_{p}\\ \hat{V}_{SP}&=\sum_{p\in P}\left(U_{p}\hat{a}^{\dagger}\hat{b}_{p}+U_{p}^{*}\hat{b}_{p}^{\dagger}\hat{a}\right)\end{split} (15)

Driving is performed in the position of the level, ε0(t)\varepsilon_{0}(t), and in system-fermionic baths coupling strengths, Vk(t)u(t)VkV_{k}(t)\equiv u(t)V_{k}. To simplify simulations we assume the wide-band approximation (WBA) which allows to reduce the general expressions (10) to energy diagonal form (see Appendix C). Also, incorporation of the bosonic bath PP requires slight generalization of the thermodynamic formulation (see Appendix D). Electron-phonon interaction MM is treated within the self-consistent Born approximation (SCBA) Park and Galperin (2011).

Parameters of the simulation are given in terms of arbitrary unit of energy E0E_{0} and corresponding unit of time t0=2π/E0t_{0}=2\pi/E_{0}. Unless stated otherwise, the parameters are as follows. Vibrational frequency ω0=0.05\omega_{0}=0.05, electron-phonon interaction M=0.01M=0.01, temperature T=0.05T=0.05, electron escape rate Γ02πkK|Vk|2δ(Eεk)=0.1\Gamma_{0}\equiv 2\pi\sum_{k\in K}\lvert V_{k}\rvert^{2}\delta(E-\varepsilon_{k})=0.1, and energy dissipation rate γ(ω)2πpP|Uα|2δ(ωωα)=θ(ω)γ0ω2ω02exp(1ω/ω0)\gamma(\omega)\equiv 2\pi\sum_{p\in P}\lvert U_{\alpha}\rvert^{2}\delta(\omega-\omega_{\alpha})=\theta(\omega)\,\gamma_{0}\,\frac{\omega^{2}}{\omega_{0}^{2}}exp(1-\omega/\omega_{0}), where γ0=0.1\gamma_{0}=0.1. The junction is not biased, the Fermi energy is taken as origin, EF=0E_{F}=0, and the temperatures in the fermionic and bosonic baths are assumed to be the same. Simulations are performed on energy grid with 40014001 points spanning a range from 2-2 to 22 with step size 10310^{-3}. FFTW fast Fourier transform library Frigo and Johnson (2005) was employed in the simulations (see Appendix E for details).

Figure 2 shows entropy production rate for the resonant level coupled to a reservoir and driven from 0.20.2 to 0.2-0.2 position with the constant rate ε0˙=1.6×103E0/t0\dot{\varepsilon_{0}}=1.6\times 10^{-3}\,E_{0}/t_{0}. The simulation is performed in the absence of electron-phonon coupling, M=0M=0. We compare our results with the von Neumann approach in Refs. Lindblad, 1983; Peres, 2002; Esposito et al., 2010. One can see that the lack of energy resolution in the von Neumann approach results in appearance of negative entropy production rate. As a result, integrating over part of the thermodynamic process may yield negative entropy production which contradicts the second law of thermodynamics. Note that our inside-outside approach yields positive entropy production for an arbitrary initial state.

Refer to caption
Figure 3: (Color online) The Carnot cycle for the resonant junction model with (filled markers) and without (empty markers) intra-system interaction. Shown are (a) entropy production during hot (red line, circles) and cold (blue line, triangles) isothermal parts of the cycle and (b) efficiency (blue line, circles) of the Carnot cycle vs. driving rate. Dashed red line shows the Carnot efficiency of the cycle. See text for parameters.

We now consider the Carnot cycle in the resonant junction model (see Fig. 1 for a sketch). In step 1 (isothermal part of the cycle with a constant coupling strength to the hot reservoir) the resonant level is driven from 0.20.2 to 0.10.1 with a variety of driving rates. For simplicity, step 2 (decoupling from the hot and subsequent coupling to the cold reservoir) is performed adiabatically slow. This allows to find an analytical connection between rates u˙\dot{u} and ε˙0\dot{\varepsilon}_{0} from the requirement that Q˙=0\dot{Q}=0 during the process (see Appendix F for details). Also, this guarantees zero entropy production during the step. Step 3 is performed under the same rate ε˙0\dot{\varepsilon}_{0} as step 1. Finally, step 4 is again performed adiabatically slow. Temperature of the hot reservoir is TH=0.1T_{H}=0.1, and the cold reservoir has temperature TC=0.05T_{C}=0.05. Figure 3 shows results for the Carnot cycle vs. resonant level driving rate with (filled markers) and without (empty markers) electron-phonon interaction. Panel (a) shows entropy productions during the isothermal parts of the cycle. As anticipated, entropy production grows with driving rate, and the entropy production for step 3 is higher than that of step 1. Also, electron-phonon interaction increases entropy production due to the presence of additional (bosonic) bath. Panel (b) shows that the efficiency of the cycle is expectedly lower for faster driving and in the presence of interaction. Note that its dependence on the driving rate is non-monotonic which is expected for the employed model (see Ref. Migliore et al., 2012 for discussion on the relevance of the model to phonon assisted electron transport in junctions). Indeed, within the model, strength of electron-phonon interaction depends on the level population which at intermediate rates drops fast during step 3 of the cycle thus limiting the amount of heat which can be transferred to the cold bosonic bath. At even higher rates, the amount of heat from the hot bosonic baths also becomes affected which eventually leads to decreasing efficiency.

Conclusion. We established a connection between the inside-outside approach originally suggested in Ref. Bruch et al., 2018 and the nonequilibrum Green’s function formulation which allowed us to extend the method to interacting systems with arbitrary drivings in the system and system-baths couplings. This generalized thermodynamic formulation applies to strong system-bath coupling and is consistent with the underlying microscopic dynamics (quantum transport). It overcomes limitations of the only other consistent thermodynamic formulation Esposito et al. (2010) by satisfying any form of the second law of thermodynamics for any initial state of a thermodynamic process and for any driving protocol.

Acknowledgements.
We thank Felix von Oppen for many helpful discussions and scientific guidance. This material is based upon work supported by the National Science Foundation under Grant No. CHE-2154323.

Appendix A Derivation of the outgoing flow, Eq.(10)

In quantum transport particle flux is defined as the rate of population change in the bath [25]

IBN(t)=αBkαddtc^αk(t)c^αk(t)αBIαα(t)I_{B}^{N}(t)=-\sum_{\alpha\in B}\sum_{k\in\alpha}\frac{d}{dt}\left\langle\hat{c}^{\dagger}_{\alpha k}(t)\hat{c}_{\alpha k}(t)\right\rangle\equiv\sum_{\alpha\in B}I_{\alpha\alpha}(t) (16)

To account for system-induced coherences between states of the bath we consider coherence flow. Similar to (16) it is defined as the rate of coherence change

Iαβ(t)=ddtkαkβc^βk(t)c^αk(t)I_{\alpha\beta}(t)=-\frac{d}{dt}\sum_{k\in\alpha}\sum_{k^{\prime}\in\beta}\left\langle\hat{c}_{\beta k^{\prime}}^{\dagger}(t)\,\hat{c}_{\alpha k}(t)\right\rangle (17)

For Hamiltonian (1)-(2) it can be expressed in terms of bath and mixed Green’s functions

Iαβ(t)=mSkαkβ(Vαk,m(t)Gm,βk<(t,t)Gαk,m<(t,t)Vm,βk(t))+kαkβ(εαkεβk)Gαk,βk<(t,t)\begin{split}I_{\alpha\beta}(t)&=\sum_{m\in S}\sum_{k\in\alpha}\sum_{k^{\prime}\in\beta}\left(V_{\alpha k,m}(t)\,G^{<}_{m,\beta k^{\prime}}(t,t)-G^{<}_{\alpha k,m}(t,t)\,V_{m,\beta k^{\prime}}(t)\right)\\ &+\sum_{k\in\alpha}\sum_{k^{\prime}\in\beta}\left(\varepsilon_{\alpha k}-\varepsilon_{\beta k^{\prime}}\right)G^{<}_{\alpha k,\beta k^{\prime}}(t,t)\end{split} (18)

where the Green’s functions are the lesser projections of

Gm,βk(τ,τ)=iTcd^m(τ)c^βk(τ)Gαk,m(τ,τ)=iTcc^αk(τ)d^m(τ)Gαk,βk(τ,τ)=iTcc^αk(τ)c^βk(τ)\begin{split}G_{m,\beta k^{\prime}}(\tau,\tau^{\prime})&=-i\left\langle T_{c}\,\hat{d}_{m}(\tau)\,\hat{c}^{\dagger}_{\beta k^{\prime}}(\tau^{\prime})\right\rangle\\ G_{\alpha k,m}(\tau,\tau^{\prime})&=-i\left\langle T_{c}\,\hat{c}_{\alpha k}(\tau)\,\hat{d}_{m}^{\dagger}(\tau^{\prime})\right\rangle\\ G_{\alpha k,\beta k^{\prime}}(\tau,\tau^{\prime})&=-i\left\langle T_{c}\,\hat{c}_{\alpha k}(\tau)\,\hat{c}_{\beta k^{\prime}}^{\dagger}(\tau^{\prime})\right\rangle\end{split} (19)

Here, TcT_{c} is the Keldysh contour ordering operator, and τ\tau and τ\tau^{\prime} are the contour variables.

Using the Dyson equation mixed Green’s functions are expressed in terms of free bath and system evolutions as

Gm,βk(τ,τ)=m1Sc𝑑τ1Gmm1(τ,τ1)Vm1,βk(t1)gβk(τ1,τ)Gαk,m(τ,τ)=m1Sc𝑑τ1gαk(τ,τ1)Vαk,m1(t1)Gm1m(τ1,τ)\begin{split}G_{m,\beta k^{\prime}}(\tau,\tau^{\prime})&=\sum_{m_{1}\in S}\int_{c}d\tau_{1}\,G_{mm_{1}}(\tau,\tau_{1})\,V_{m_{1},\beta k^{\prime}}(t_{1})\,g_{\beta k^{\prime}}(\tau_{1},\tau^{\prime})\\ G_{\alpha k,m}(\tau,\tau^{\prime})&=\sum_{m_{1}\in S}\int_{c}d\tau_{1}\,g_{\alpha k}(\tau,\tau_{1})\,V_{\alpha k,m_{1}}(t_{1})\,G_{m_{1}m}(\tau_{1},\tau^{\prime})\end{split} (20)

Here,

gα(τ,τ)iTcc^αk(τ)c^αk(τ)0g_{\alpha}(\tau,\tau^{\prime})\equiv-i\left\langle T_{c}\,\hat{c}_{\alpha k}(\tau)\,\hat{c}^{\dagger}_{\alpha k}(\tau^{\prime})\right\rangle_{0} (21)

is the Green’s function of free evolution in bath channel α\alpha, and system Green’s function Gm1m2(τ1,τ2)G_{m_{1}m_{2}}(\tau_{1},\tau_{2}) is defined in Eq.(3).

Taking lesser projection of (20) and going from sum over states to integrals over energies

kα=dEα2π 2πkαδ(Eεαk)dEα2π 2πρα(Eα)\sum_{k\in\alpha}\ldots=\int\frac{dE_{\alpha}}{2\pi}\,2\pi\sum_{k\in\alpha}\delta(E-\varepsilon_{\alpha k})\ldots\equiv\int\frac{dE_{\alpha}}{2\pi}\,2\pi\rho_{\alpha}(E_{\alpha})\ldots (22)

leads to the following expression for the coherence flow

Iαβ(t)=dEα2πdEβ2π(2π)2ρα(Eα)ρβ(Eβ){im,m1Stdt1(eiEβ(t1t)Vα,m(Eα,t)Vm1,β(Eβ,t1)[Gmm1<(t,t1)+Gmm1r(t,t1)fβ(Eβ)]+e+iEα(tt1)Vα,m1(Eα,t1)Vm,β(Eβ,t)[Gm1m<(t1,t)Gm1ma(t1,t)fα(Eα)])+(EαEβ)GEα,Eβ<(t,t)}\begin{split}I_{\alpha\beta}(t)&=\int\frac{dE_{\alpha}}{2\pi}\int\frac{dE_{\beta}}{2\pi}\,(2\pi)^{2}\,\rho_{\alpha}(E_{\alpha})\rho_{\beta}(E_{\beta})\\ &\bigg{\{}i\sum_{m,m_{1}\in S}\int_{-\infty}^{t}dt_{1}\,\bigg{(}e^{-iE_{\beta}(t_{1}-t)}\,V_{\alpha,m}(E_{\alpha},t)\,V_{m_{1},\beta}(E_{\beta},t_{1})\left[G^{<}_{mm_{1}}(t,t_{1})+G^{r}_{mm_{1}}(t,t_{1})\,f_{\beta}(E_{\beta})\right]\\ &\qquad\qquad\qquad\qquad+e^{+iE_{\alpha}(t-t_{1})}\,V_{\alpha,m_{1}}(E_{\alpha},t_{1})\,V_{m,\beta}(E_{\beta},t)\left[G^{<}_{m_{1}m}(t_{1},t)-G^{a}_{m_{1}m}(t_{1},t)\,f_{\alpha}(E_{\alpha})\right]\bigg{)}\\ &+(E_{\alpha}-E_{\beta})G^{<}_{E_{\alpha},E_{\beta}}(t,t)\bigg{\}}\end{split} (23)

Representing the flow as the difference between incoming and outgoing fluxes

Iαβ(t)=dEα2πdEβ2π[ϕαβin(Eα,Eβ)ϕαβout(t;Eα,Eβ)]I_{\alpha\beta}(t)=\int\frac{dE_{\alpha}}{2\pi}\int\frac{dE_{\beta}}{2\pi}\bigg{[}\phi_{\alpha\beta}^{in}(E_{\alpha},E_{\beta})-\phi_{\alpha\beta}^{out}(t;E_{\alpha},E_{\beta})\bigg{]} (24)

and comparing with (23) leads to the expression presented in Eq.(10).

Appendix B Derivation of the differential form of the second law, Eq.(7)

Unitarity of the overall evolution allows to express system entropy change in terms of baths entropy flux

ddtS(t)=ddtSB,tot(t)=Trc,E{σ[ϕin]σ[ϕout(t)]}\frac{d}{dt}S(t)=-\frac{d}{dt}S_{B,tot}(t)=\mbox{Tr}_{c,E}\left\{\sigma\left[\phi^{in}\right]-\sigma\left[\phi^{out}(t)\right]\right\} (25)

where we used Eq.(11). According to Eq.(10)

ϕout(t)=ϕin+δϕ(t)\phi^{out}(t)=\phi^{in}+\delta\phi(t) (26)

Thus, using Eq.(12) we can write

Trc,E{σ[ϕout]}Trc,E{ϕoutlnϕout(𝐈ϕout)ln(𝐈ϕout)}=Trc,E{ϕinlnϕin(𝐈ϕin)ln(𝐈ϕin)}Trc,E{δϕ[lnϕinln(𝐈ϕin)]}+Trc,E{ϕout[lnϕoutlnϕin](𝐈ϕout)[ln(𝐈ϕout)ln(𝐈ϕin)]}Trc,E{σ[ϕin]}BβBQ˙B(t)S˙i(t)\begin{split}&\mbox{Tr}_{c,E}\left\{\sigma\left[\phi^{out}\right]\right\}\equiv\mbox{Tr}_{c,E}\left\{-\phi^{out}\,\ln\phi^{out}-\left(\mathbf{I}-\phi^{out}\right)\,\ln\left(\mathbf{I}-\phi^{out}\right)\right\}\\ &=\mbox{Tr}_{c,E}\left\{-\phi^{in}\,\ln\phi^{in}-\left(\mathbf{I}-\phi^{in}\right)\,\ln\left(\mathbf{I}-\phi^{in}\right)\right\}-\mbox{Tr}_{c,E}\left\{\delta\phi\left[\ln\phi^{in}-\ln\left(\mathbf{I}-\phi^{in}\right)\right]\right\}\\ &+\mbox{Tr}_{c,E}\left\{-\phi^{out}\left[\ln\phi^{out}-\ln\phi^{in}\right]-\left(\mathbf{I}-\phi^{out}\right)\,\left[\ln\left(\mathbf{I}-\phi^{out}\right)-\ln\left(\mathbf{I}-\phi^{in}\right)\right]\right\}\\ &\equiv\mbox{Tr}_{c,E}\left\{\sigma\left[\phi^{in}\right]\right\}-\sum_{B}\beta_{B}\dot{Q}_{B}(t)-\dot{S}_{i}(t)\end{split} (27)

where to write the last line we used

[ln1ϕinϕin]αβ=δα,βδ(EαEβ)ln1fα(Eα)fα(Eα)δα,βδ(EαEβ)EμαkBTα,[δϕ(t;E,E)]αα=iα(t,E),\begin{split}&\left[\ln\frac{1-\phi^{in}}{\phi^{in}}\right]_{\alpha\beta}=\delta_{\alpha,\beta}\,\delta(E_{\alpha}-E_{\beta})\,\ln\frac{1-f_{\alpha}(E_{\alpha})}{f_{\alpha}(E_{\alpha})}\equiv\delta_{\alpha,\beta}\,\delta(E_{\alpha}-E_{\beta})\,\frac{E-\mu_{\alpha}}{k_{B}T_{\alpha}},\\ &\left[\delta\phi(t;E,E)\right]_{\alpha\alpha}=-i_{\alpha}(t,E),\end{split} (28)

and the definition of entropy production rate S˙i(t)\dot{S}_{i}(t), Eq.(13) of the main text. Substituting (27) into (25) leads to Eq.(7).

Appendix C Simplified expressions for coherence flows

To facilitate numerical simulations we simplify the general expression for outgoing coherence flow ϕαβout(t;Eα,Eβ)\phi^{out}_{\alpha\beta}(t;E_{\alpha},E_{\beta}), Eq.(10), by employing two approximations:

  1. 1.

    Wide-band approximation (WBA) in which system-bath coupling is assumed to be energy independent

    Vα,m(Eα,t)=Vα,m(t),Vm,β(Eβ,t)=Vm,β(t)V_{\alpha,m}(E_{\alpha},t)=V_{\alpha,m}(t),\qquad V_{m,\beta}(E_{\beta},t)=V_{m,\beta}(t) (29)
  2. 2.

    Diagonal approximation in which the highly oscillating terms are neglected. Because

    GEα,Eβ<(t,t)ei(EαEβ)tG^{<}_{E_{\alpha},E_{\beta}}(t,t)\sim e^{-i(E_{\alpha}-E_{\beta})t} (30)

    the last term in expression for ϕαβout(t;Eα,Eβ)\phi^{out}_{\alpha\beta}(t;E_{\alpha},E_{\beta}), Eq.(10), can be dropped because for similar energies prefactor EαEβ0E_{\alpha}-E_{\beta}\sim 0 and for large differences it is highly oscillating in time contribution which self-averages to zero.

Within the two approximations the general expression for coherence flow

Iαβ(t)=dEα2πdEβ2π[ϕαβin(Eα,Eβ)ϕαβout(t;Eα,Eβ)]I_{\alpha\beta}(t)=\int\frac{dE_{\alpha}}{2\pi}\int\frac{dE_{\beta}}{2\pi}\,\left[\phi_{\alpha\beta}^{in}(E_{\alpha},E_{\beta})-\phi_{\alpha\beta}^{out}(t;E_{\alpha},E_{\beta})\right] (31)

allows evaluation of one of the integrals and thus reduces the expression to

Iαβ(t)=dE2π[ϕαβin(E)ϕαβout(t,E)]I_{\alpha\beta}(t)=\int\frac{dE}{2\pi}\,\left[\phi_{\alpha\beta}^{in}(E)-\phi_{\alpha\beta}^{out}(t,E)\right] (32)

where

ϕαβin(E)=δα,βfα(E)ϕαβout(t,E)=ϕαβin(E)2πim,m1St𝑑t1(eiE(t1t)Vα,m(t)Vm1,β(t1)ρβ(E)×[Gmm1<(t,t1)+Gmm1r(t,t1)fβ(E)]+e+iE(t1t)Vα,m1(t1)Vm,β(t)ρα(E)×[Gm1m<(t1,t)Gm1ma(t1,t)fα(E)])\begin{split}\phi_{\alpha\beta}^{in}(E)&=\delta_{\alpha,\beta}\,f_{\alpha}(E)\\ \phi_{\alpha\beta}^{out}(t,E)&=\phi_{\alpha\beta}^{in}(E)-2\pi\,i\sum_{m,m_{1}\in S}\int_{-\infty}^{t}dt_{1}\,\\ &\bigg{(}e^{-iE(t_{1}-t)}\,V_{\alpha,m}(t)\,V_{m_{1},\beta}(t_{1})\,\rho_{\beta}(E)\\ &\quad\times\left[G^{<}_{mm_{1}}(t,t_{1})+G^{r}_{mm_{1}}(t,t_{1})\,f_{\beta}(E)\right]\\ &+e^{+iE(t_{1}-t)}\,V_{\alpha,m_{1}}(t_{1})\,V_{m,\beta}(t)\,\rho_{\alpha}(E)\\ &\quad\times\left[G^{<}_{m_{1}m}(t_{1},t)-G^{a}_{m_{1}m}(t_{1},t)\,f_{\alpha}(E)\right]\bigg{)}\end{split} (33)

In this form expression for coherence flow is diagonal in energy.

Comparison with Eqs. (4) and (5) for α=β\alpha=\beta yields

ϕααin(E)ϕααout(t,E)fα(E)ϕααout(t,E)=iα(t,E)\phi_{\alpha\alpha}^{in}(E)-\phi_{\alpha\alpha}^{out}(t,E)\equiv f_{\alpha}(E)-\phi_{\alpha\alpha}^{out}(t,E)=i_{\alpha}(t,E) (34)

Appendix D Thermodynamic formulation for bosonic baths

Building the inside-outside approach to system thermodynamics for bosonic baths is identical to that presented in the main text for the case of fermionic baths.

Expressions for energy-resolved particle flux (analog of Eq.(5) in the main text)

iα(t,E)2Imv,v1St𝑑t1eiE(t1t) 2πρα(E)Uv1,α(E,t1)Uα,v(E,t)(Fvv1<(t,t1)Nα(E)Fvv1r(t,t1)),i_{\alpha}(t,E)\equiv 2\,\mbox{Im}\sum_{v,v_{1}\in S}\int_{-\infty}^{t}dt_{1}\,e^{-iE(t_{1}-t)}\,2\pi\rho_{\alpha}(E)\,U_{v_{1},\alpha}(E,t_{1})\,U_{\alpha,v}(E,t)\bigg{(}F_{vv_{1}}^{<}(t,t_{1})-N_{\alpha}(E)\,F_{vv_{1}}^{r}(t,t_{1})\bigg{)}, (35)

incoming and outgoing fluxes (analog of Eq.(10) in the main text)

ϕαβin(Eα,Eβ)2πδα,βδ(EαEβ)Nα(Eα)ϕαβout(t;Eα,Eβ)ϕαβin(Eα,Eβ)i(2π)2ρα(Eα)ρβ(Eβ)v,v1St𝑑t1(eiEβ(t1t)Uα,v(Eα,t)Uv1,β(Eβ,t1)[Fvv1<(t,t1)Fvv1r(t,t1)Nβ(Eβ)]+e+iEα(tt1)Uα,v1(Eα,t1)Uv,β(Eβ,t)[Fv1v<(t1,t)+Fv1va(t1,t)Nα(Eα)])(2π)2ρα(Eα)ρβ(Eβ)(EαEβ)FEα,Eβ<(t,t),\begin{split}&\phi_{\alpha\beta}^{in}(E_{\alpha},E_{\beta})\equiv 2\pi\delta_{\alpha,\beta}\delta\left(E_{\alpha}-E_{\beta}\right)N_{\alpha}(E_{\alpha})\\ &\phi_{\alpha\beta}^{out}(t;E_{\alpha},E_{\beta})\equiv\phi_{\alpha\beta}^{in}(E_{\alpha},E_{\beta})-i(2\pi)^{2}\rho_{\alpha}(E_{\alpha})\rho_{\beta}(E_{\beta})\sum_{v,v_{1}\in S}\int_{-\infty}^{t}dt_{1}\,\\ &\bigg{(}\,\,\,e^{-iE_{\beta}(t_{1}-t)}\,U_{\alpha,v}(E_{\alpha},t)\,U_{v_{1},\beta}(E_{\beta},t_{1})\left[F^{<}_{vv_{1}}(t,t_{1})-F^{r}_{vv_{1}}(t,t_{1})\,N_{\beta}(E_{\beta})\right]\\ &+e^{+iE_{\alpha}(t-t_{1})}\,U_{\alpha,v_{1}}(E_{\alpha},t_{1})\,U_{v,\beta}(E_{\beta},t)\left[F^{<}_{v_{1}v}(t_{1},t)+F^{a}_{v_{1}v}(t_{1},t)\,N_{\alpha}(E_{\alpha})\right]\bigg{)}\\ &-(2\pi)^{2}\rho_{\alpha}(E_{\alpha})\rho_{\beta}(E_{\beta})(E_{\alpha}-E_{\beta})F^{<}_{E_{\alpha},E_{\beta}}(t,t),\end{split} (36)

and entropy production rate (analog of Eq.(13) in the main text)

S˙i(t)Trc,E{ϕout(t)[lnϕout(t)lnϕin](𝐈+ϕout(t))[ln(𝐈+ϕout(t))ln(𝐈+ϕin)]}\dot{S}_{i}(t)\equiv\mbox{Tr}_{c,E}\bigg{\{}\phi^{out}(t)\,\big{[}\ln\phi^{out}(t)-\ln\phi^{in}\big{]}-\left(\mathbf{I}+\phi^{out}(t)\right)\,\big{[}\ln\left(\mathbf{I}+\phi^{out}(t)\right)-\ln\left(\mathbf{I}+\phi^{in}\right)\big{]}\bigg{\}} (37)

are slightly different for bosonic baths. Here, vv indicates molecular vibrational modes, Nα(E)N_{\alpha}(E) is the Bose-Einstein thermal distribution in bath channel α\alpha, and

Fv1v2(τ1,τ2)iTca^v1(τ1)a^v2(τ2)F_{v_{1}v_{2}}(\tau_{1},\tau_{2})\equiv-i\left\langle T_{c}\,\hat{a}_{v_{1}}(\tau_{1})\,\hat{a}_{v_{2}}^{\dagger}(\tau_{2})\right\rangle (38)

is the single-particle Green’s function of molecular vibrations (compare with Eq.(3) in the main text).

Note that the system does not induce correlations between fermionic and bosonic baths. That is, contributions of the baths to the thermodynamic formulation are additive.

Appendix E Details of numerical simulations

Central to the inside-outside thermodynamic formulation is the ability to simulate energy-resolved particle fluxes iα(t,E)i_{\alpha}(t,E), Eqs. (5) and (35). For the Holstein model, Eqs. (14) and (15), and simultaneous coupling to one fermionic and one bosonic reservoirs, only one channel α\alpha in each bath is considered. Thus, we will drop the channel index.

To simulate the energy-resolved particle fluxes, we consider the retarded, lesser and greater projections of the single-particle Green’s functions, Eqs. (3) and (38), within the wide band approximation.

In the absence of electron-phonon coupling, M=0M=0, zero-order (in the coupling) Green’s functions for the model (14) and (15) are

G0r(t1,t2)=iθ(t1t2)exp(it2t1𝑑s[ε0(s)i2u2(s)Γ0])G0(t1,t2)=𝑑t3𝑑t4G0r(t1,t3)u(t3)ΣK(t3,t4)u(t4)G0a(t4,t2)F0r(t1,t2)=iθ(t1t2)exp(i[ω0iγ0/2][t1t2])F0(t1,t2)=𝑑t3𝑑t4F0r(t1,t3)ΠP(t3,t4)F0a(t4,t2)\begin{split}G_{0}^{r}(t_{1},t_{2})&=-i\theta(t_{1}-t_{2})\,\exp\left(-i\int_{t_{2}}^{t_{1}}ds\,\left[\varepsilon_{0}(s)-\frac{i}{2}u^{2}(s)\Gamma_{0}\right]\right)\\ G_{0}^{\gtrless}(t_{1},t_{2})&=\int dt_{3}\int dt_{4}\,G_{0}^{r}(t_{1},t_{3})\,u(t_{3})\,\Sigma^{\gtrless}_{K}(t_{3},t_{4})\,u(t_{4})\,G_{0}^{a}(t_{4},t_{2})\\ F_{0}^{r}(t_{1},t_{2})&=-i\theta(t_{1}-t_{2})\,\exp\left(-i[\omega_{0}-i\gamma_{0}/2][t_{1}-t_{2}]\right)\\ F_{0}^{\gtrless}(t_{1},t_{2})&=\int dt_{3}\int dt_{4}\,F_{0}^{r}(t_{1},t_{3})\,\Pi^{\gtrless}_{P}(t_{3},t_{4})\,F_{0}^{a}(t_{4},t_{2})\end{split} (39)

Here, θ(t1t2)\theta(t_{1}-t_{2}) is the Heaviside step function, ΣK\Sigma_{K} and ΠP\Pi_{P} are respectively the electron self-energy due to coupling to the fermionic bath and vibration self-energy due to coupling to the thermal bath. The latter are Fourier transforms of

ΣK>(E)=iΓ0[1f(E)],ΣK<(E)=+iΓ0f(E),ΠP>(E)=iγ0[1+N(E)],ΠP<(E)=iγ0N(E).\begin{split}\Sigma_{K}^{>}(E)&=-i\Gamma_{0}\left[1-f(E)\right],\qquad\Sigma_{K}^{<}(E)=+i\Gamma_{0}f(E),\\ \Pi_{P}^{>}(E)&=-i\gamma_{0}\left[1+N(E)\right],\qquad\Pi_{P}^{<}(E)=-i\gamma_{0}N(E).\end{split} (40)

In the presence of electron-phonon interaction, Green’s functions should be obtained within a self-consistent procedure using system of coupled Dyson equations

G(t1,t2)=𝑑t3𝑑t4G0r(t1,t3)[u(t3)ΣK(t3,t4)u(t4)+Σv(t3,t4)]Ga(t4,t2)F(t1,t2)=𝑑t3𝑑t4Fr(t1,t3)[ΠP(t3,t4)+Πe(t3,t4)]Fa(t4,t2)\begin{split}G^{\gtrless}(t_{1},t_{2})&=\int dt_{3}\int dt_{4}\,G_{0}^{r}(t_{1},t_{3})\left[u(t_{3})\,\Sigma^{\gtrless}_{K}(t_{3},t_{4})\,u(t_{4})+\Sigma^{\gtrless}_{v}(t_{3},t_{4})\right]G^{a}(t_{4},t_{2})\\ F^{\gtrless}(t_{1},t_{2})&=\int dt_{3}\int dt_{4}\,F^{r}(t_{1},t_{3})\left[\Pi^{\gtrless}_{P}(t_{3},t_{4})+\Pi^{\gtrless}_{e}(t_{3},t_{4})\right]F^{a}(t_{4},t_{2})\end{split} (41)

where Gr(t1,t2)θ(t1t2)[G>(t1,t2)G<(t1,t2)]G^{r}(t_{1},t_{2})\equiv\theta(t_{1}-t_{2})\left[G^{>}(t_{1},t_{2})-G^{<}(t_{1},t_{2})\right], Fr(t1,t2)θ(t1t2)[G>(t1,t2)G<(t1,t2)]F^{r}(t_{1},t_{2})\equiv\theta(t_{1}-t_{2})\left[G^{>}(t_{1},t_{2})-G^{<}(t_{1},t_{2})\right], Ga(t1,t2)[Gr(t2,t1)]G^{a}(t_{1},t_{2})\equiv\left[G^{r}(t_{2},t_{1})\right]^{*} and Fa(t1,t2)[Fr(t2,t1)]F^{a}(t_{1},t_{2})\equiv\left[F^{r}(t_{2},t_{1})\right]^{*}. Σv\Sigma_{v} and Πe\Pi_{e} are respectively the electron self-energy due to interaction with vibration and the vibration self-energy due to interaction with electron. Within the SCBA they are

Σv(τ1,τ2)=+iM2G(τ1,τ2)[F(τ1,τ2)+F(τ2,τ1)]Πe(τ1,τ2)=iM2G(τ1,τ2)G(τ2,τ1)\begin{split}\Sigma_{v}(\tau_{1},\tau_{2})&=+i\,M^{2}\,G(\tau_{1},\tau_{2})\left[F(\tau_{1},\tau_{2})+F(\tau_{2},\tau_{1})\right]\\ \Pi_{e}(\tau_{1},\tau_{2})&=-i\,M^{2}\,G(\tau_{1},\tau_{2})\,G(\tau_{2},\tau_{1})\end{split} (42)

Here, in the electron self-energy we neglected the Hartree term.

Once Green’s functions are available, we dress electron Green’s function with the system-bath coupling rate u(t)u(t),

D(τ1,τ2)u(t1)G(τ1,τ2)u(t2)D(\tau_{1},\tau_{2})\equiv u(t_{1})\,G(\tau_{1},\tau_{2})\,u(t_{2}) (43)

consider retarded parts of the lesser and greater projections,

D+(t1,t2)θ(t1t2)D(t1,t2),F+(t1,t2)θ(t1t2)F(t1,t2),D^{\gtrless\,+}(t_{1},t_{2})\equiv\theta(t_{1}-t_{2})D^{\gtrless}(t_{1},t_{2}),\qquad F^{\gtrless\,+}(t_{1},t_{2})\equiv\theta(t_{1}-t_{2})F^{\gtrless}(t_{1},t_{2}), (44)

and perform one-sided Fourier transform

D+(t,E)+𝑑t1eiEt1D+(t,t1),F+(t,E)+𝑑t1eiEt1F+(t,t1)D^{\gtrless\,+}(t,E)\equiv\int_{-\infty}^{+\infty}dt_{1}\,e^{-iEt_{1}}\,D^{\gtrless\,+}(t,t_{1}),\qquad F^{\gtrless\,+}(t,E)\equiv\int_{-\infty}^{+\infty}dt_{1}\,e^{-iEt_{1}}\,F^{\gtrless\,+}(t,t_{1}) (45)

In terms of these Fourier transforms electron and vibration energy-resolved particle fluxes, Eqs. (5) and (35), are

ie(t,E)=2Im{eiEtΓ(E)(f(E)D>+(t,E)+[1f(E)]D<+(t,E))}iv(t,E)=2Im{eiEtγ(E)(N(E)F>+(t,E)[1+N(E)]F<+(t,E))}\begin{split}i_{e}(t,E)&=-2\,\mbox{Im}\left\{e^{iEt}\,\Gamma(E)\left(f\,(E)D^{>\,+}(t,E)+[1-f\,(E)]D^{<\,+}(t,E)\right)\right\}\\ i_{v}(t,E)&=-2\,\mbox{Im}\left\{e^{iEt}\,\gamma(E)\left(N(E)F^{>\,+}(t,E)-\left[1+N(E)\right]F^{<\,+}(t,E)\right)\right\}\end{split} (46)

Here, Γ(E)\Gamma(E) and γ(E)\gamma(E) are normalized values of escape rates. Eq.(46) is used to calculate thermodynamic properties as indicated in the main text and the section above.

Appendix F Connection between the level and coupling driving rates during adiabatic (de)coupling process

In the absence of electron-vibration coupling, M=0M=0, expressions for adiabatic driving (and beyond) were derived in Ref. 15. Specifically, heat flux under adiabatic driving is given in Eq.(10) of that paper. In accordance with the standard quantum transport definitions we take α=0\alpha=0 in this expression

Q˙(1)(t)=ddtdE2πf(E)A(0)(t,E)(2Eε0(t)μ)dE2πf(E)(A(0)(t,E)[ε˙0+Λ˙(t,E)]+ReGr(0)(t,E)Γ˙(t,E))\begin{split}\dot{Q}^{(1)}(t)&=\frac{d}{dt}\int\frac{dE}{2\pi}\,f(E)A^{(0)}(t,E)\left(2E-\varepsilon_{0}(t)-\mu\right)\\ &-\int\frac{dE}{2\pi}f(E)\left(A^{(0)}(t,E)\left[\dot{\varepsilon}_{0}+\dot{\Lambda}(t,E)\right]+\mbox{Re}\,G^{r\,(0)}(t,E)\,\dot{\Gamma}(t,E)\right)\end{split} (47)

where

A(0)(t,E)Γ(t,E)[Eε0(t)Λ(t,E)]2+[Γ(t,E)/2]2ReGr(0)(t,E)Eε0(t)Λ(t,E)[Eε0(t)Λ(t,E)]2+[Γ(t,E)/2]2\begin{split}A^{(0)}(t,E)&\equiv\frac{\Gamma(t,E)}{\left[E-\varepsilon_{0}(t)-\Lambda(t,E)\right]^{2}+\left[\Gamma(t,E)/2\right]^{2}}\\ \mbox{Re}\,G^{r\,(0)}(t,E)&\equiv\frac{E-\varepsilon_{0}(t)-\Lambda(t,E)}{\left[E-\varepsilon_{0}(t)-\Lambda(t,E)\right]^{2}+\left[\Gamma(t,E)/2\right]^{2}}\end{split} (48)

are the zero order (in driving) expressions for the spectral function and real part of the retarded projection of the Green’s function (3), and the Lamb shift Λ(t,E)\Lambda(t,E) and the broadening Γ(t,E)\Gamma(t,E) are [15]

Λ(t,E)=u2(t)Γ02(EEB)WB(EEB)2+WB2Γ(t,E)=u2(t)Γ0WB2(EEB)2+WB2\begin{split}\Lambda(t,E)&=u^{2}(t)\frac{\Gamma_{0}}{2}\frac{(E-E_{B})W_{B}}{(E-E_{B})^{2}+W_{B}^{2}}\\ \Gamma(t,E)&=u^{2}(t)\Gamma_{0}\frac{W_{B}^{2}}{(E-E_{B})^{2}+W_{B}^{2}}\end{split} (49)

where EBE_{B} and WBW_{B} are the center and width of the band, respectively, and Γ0\Gamma_{0} is the level escape rate.

Adiabatic coupling/decoupling is defined by the Q˙(1)(t)=0\dot{Q}^{(1)}(t)=0 condition. Using (47) and employing

Λ˙(t,E)=2u˙u(t)Λ(t,E)Γ˙(t,E)=2u˙u(t)Γ(t,E)\begin{split}\dot{\Lambda}(t,E)&=2\frac{\dot{u}}{u(t)}\Lambda(t,E)\\ \dot{\Gamma}(t,E)&=2\frac{\dot{u}}{u(t)}\Gamma(t,E)\end{split} (50)

leads to the following connection between the driving rates

ε˙0=u˙u(t)dE2πf(E)([2Eε0(t)μ][1+Λ(t,E)(2ReGr(0)(t,E)1)Γ(t,E)A(0)(t,E)/2]A(0)(t,E)Γ(t,E)ReGr(0)(t,E))/dE2πf(E)A(0)(t,E)(1[2Eε0(t)μ]ReGr(0)(t,E))\begin{split}\dot{\varepsilon}_{0}&=\frac{\dot{u}}{u(t)}\,\int\frac{dE}{2\pi}\,f(E)\left([2E-\varepsilon_{0}(t)-\mu][1+\Lambda(t,E)(2\,\mbox{Re}\,G^{r\,(0)}(t,E)-1)-\Gamma(t,E)\,A^{(0)}(t,E)/2]\,A^{(0)}(t,E)\right.\\ &\left.\qquad\qquad\qquad\qquad-\Gamma(t,E)\,\mbox{Re}\,G^{r\,(0)}(t,E)\right)\bigg{/}\int\frac{dE}{2\pi}\,f(E)A^{(0)}(t,E)\left(1-[2E-\varepsilon_{0}(t)-\mu]\,\mbox{Re}\,G^{r\,(0)}(t,E)\right)\end{split} (51)

In the presence of electron-vibration coupling, we substitute A(0)A^{(0)} and Gr(0)G^{r\,(0)} with their SCBA analogs. This is an approximation.

References

  • Jezouin et al. (2013) S. Jezouin, F. D. Parmentier, A. Anthore, U. Gennser, A. Cavanna, Y. Jin, and F. Pierre, Science 342, 601 (2013).
  • Pekola (2015) J. P. Pekola, Nature Phys. 11, 118 (2015).
  • Hartman et al. (2018) N. Hartman, C. Olsen, S. Lüscher, M. Samani, S. Fallahi, G. C. Gardner, M. Manfra, and J. Folk, Nature Phys. 14, 1083 (2018).
  • Klatzow et al. (2019) J. Klatzow, J. N. Becker, P. M. Ledingham, C. Weinzetl, K. T. Kaczmarek, D. J. Saunders, J. Nunn, I. A. Walmsley, R. Uzdin, and E. Poem, Phys. Rev. Lett. 122, 110601 (2019).
  • Reddy et al. (2007) P. Reddy, S.-Y. Jang, R. A. Segalman, and A. Majumdar, Science 315, 1568 (2007).
  • Lee et al. (2013) W. Lee, K. Kim, W. Jeong, L. A. Zotti, F. Pauly, J. C. Cuevas, and P. Reddy, Nature 498, 209 (2013).
  • Kim et al. (2014) Y. Kim, W. Jeong, K. Kim, W. Lee, and P. Reddy, Nature Nanotechnol. 9, 881 (2014).
  • Zotti et al. (2014) L. A. Zotti, M. Bürkle, F. Pauly, W. Lee, K. Kim, W. Jeong, Y. Asai, P. Reddy, and J. C. Cuevas, New J. Phys. 16, 015004 (2014).
  • Cui et al. (2017a) L. Cui, R. Miao, C. Jiang, E. Meyhofer, and P. Reddy, J. Chem. Phys. 146, 092201 (2017a).
  • Cui et al. (2017b) L. Cui, W. Jeong, S. Hur, M. Matt, J. C. Klöckner, F. Pauly, P. Nielaba, J. C. Cuevas, E. Meyhofer, and P. Reddy, Science 355, 1192 (2017b).
  • Cui et al. (2018) L. Cui, R. Miao, K. Wang, D. Thompson, L. A. Zotti, J. C. Cuevas, E. Meyhofer, and P. Reddy, Nature Nanotechnol. 13, 122 (2018).
  • Cui et al. (2019) L. Cui, S. Hur, Z. A. Akbar, J. C. Klöckner, W. Jeong, F. Pauly, S.-Y. Jang, P. Reddy, and E. Meyhofer, Nature 572, 628 (2019).
  • Esposito et al. (2009) M. Esposito, U. Harbola, and S. Mukamel, Rev. Mod. Phys. 81, 1665 (2009).
  • Esposito et al. (2014) M. Esposito, U. Harbola, and S. Mukamel, Rev. Mod. Phys. 86, 1125 (2014).
  • Esposito et al. (2015a) M. Esposito, M. A. Ochoa, and M. Galperin, Phys. Rev. B 92, 235440 (2015a).
  • Brandner et al. (2018) K. Brandner, T. Hanazato, and K. Saito, Phys. Rev. Lett. 120, 090601 (2018).
  • Kosloff (2013) R. Kosloff, Entropy 15, 2100 (2013).
  • Lindblad (1983) G. Lindblad, Non-Equilibrium Entropy and Irreversibility (D. Reidel Publishing Company, 1983).
  • Peres (2002) A. Peres, Quantum Theory: Concepts and Methods (Kluwer Academic Publishers, 2002).
  • Esposito et al. (2010) M. Esposito, K. Lindenberg, and C. V. d. Broeck, New J. Phys. 12, 013013 (2010).
  • Sagawa (2012) T. Sagawa, arXiv:1202.0983 [cond-mat, physics:math-ph, physics:quant-ph] 8, 125 (2012), arXiv: 1202.0983.
  • Kato and Tanimura (2016) A. Kato and Y. Tanimura, J. Chem. Phys. 145, 224105 (2016).
  • Strasberg et al. (2017) P. Strasberg, G. Schaller, T. Brandes, and M. Esposito, Phys. Rev. X 7 (2017).
  • Seshadri and Galperin (2021) N. Seshadri and M. Galperin, Phys. Rev. B 103, 085415 (2021).
  • Bruch et al. (2018) A. Bruch, C. Lewenkopf, and F. von Oppen, Phys. Rev. Lett. 120, 107701 (2018).
  • Haug and Jauho (2008) H. Haug and A.-P. Jauho, Quantum Kinetics in Transport and Optics of Semiconductors (Springer, Berlin Heidelberg, 2008), second, substantially revised edition ed.
  • Stefanucci and van Leeuwen (2013) G. Stefanucci and R. van Leeuwen, Nonequilibrium Many-Body Theory of Quantum Systems. A Modern Introduction. (Cambridge University Press, 2013).
  • Jauho et al. (1994) A.-P. Jauho, N. S. Wingreen, and Y. Meir, Phys. Rev. B 50, 5528 (1994).
  • Galperin et al. (2007) M. Galperin, A. Nitzan, and M. A. Ratner, Phys. Rev. B 75, 155312 (2007).
  • Vedral (2002) V. Vedral, Rev. Mod. Phys. 74, 197 (2002), URL https://link.aps.org/doi/10.1103/RevModPhys.74.197.
  • Esposito et al. (2015b) M. Esposito, M. A. Ochoa, and M. Galperin, Phys. Rev. Lett. 114, 080602 (2015b).
  • Park and Galperin (2011) T.-H. Park and M. Galperin, Phys. Rev. B 84, 205450 (2011).
  • Frigo and Johnson (2005) M. Frigo and S. G. Johnson, Proc. IEEE 93, 216 (2005).
  • Migliore et al. (2012) A. Migliore, P. Schiff, and A. Nitzan, Phys. Chem. Chem. Phys. 14, 13746 (2012), URL http://dx.doi.org/10.1039/C2CP41442B.
  • Kirkwood (2004) J. G. Kirkwood, J. Chem. Phys. 3, 300 (2004).
  • Talkner and Hänggi (2020) P. Talkner and P. Hänggi, Rev. Mod. Phys. 92, 041002 (2020).
  • Bruch et al. (2016) A. Bruch, M. Thomas, S. Viola Kusminskiy, F. von Oppen, and A. Nitzan, Phys. Rev. B 93, 115318 (2016).
  • Ochoa et al. (2016) M. A. Ochoa, A. Bruch, and A. Nitzan, Phys. Rev. B 94, 035420 (2016).