Introduction

Quantum thermodynamics provides a framework to unify quantum theory, statistical mechanics, information theory and thermodynamics1. A central object in this field is the notion of work associated with the dynamics of an isolated quantum system. At the quantum level, work becomes a stochastic variable, described by a probability distribution2. The analysis of the associated work statistics has guided seminal developments in stochastic thermodynamics and nonequilibrium statistical mechanics. Prominent examples include the Jarzynski equality3,4,5 and fluctuation theorems6,7, with both classical and quantum counterparts8. Quantum thermodynamics is strongly tied to quantum dynamics and the notion of reversibility. The sensitivity of a quantum system to external perturbations is often characterized via a Loschmidt echo that measures the extent to which quantum evolution can be reversed upon an imperfect time-reversal operation9,10,11. In this context, the generating function of the work probability distribution associated with the driving of a pure energy eigenstate via a quantum quench is known to be identical to the Loschmidt echo of such eigenstate12. This observation has greatly facilitated the understanding of quantum work fluctuations in finite-time, nonequilibrium thermodynamics of many-body systems12,13,14,15. More recently, it has been suggested that the work probability distribution is related to the out-of-time order correlators (OTOC)16,17. First discussed in condensed matter physics18 and the study of irreversible processes19, OTOC are currently under exhaustive investigation to diagnose quantum chaos and scrambling of information in black hole physics20.

This Report establishes a fundamental connection between work statistics, Loschmidt echo, and information scrambling. This is done by first showing that the work statistics associated with an arbitrary driving protocol of a generic quantum state is equivalent to the Loschmidt echo dynamics of a two-mode squeezed state in an enlarged Hilbert space. For an initial thermal state, the two-mode squeezed state becomes a thermofield double state, as that used to describe eternal black holes21. The work probability distribution resulting from a perfect time-reversal operation on a given system is determined by the analytic continuation of the partition function, and then links to information scrambling. More generally, we show that work statistics dictates information scrambling resulting from an arbitrary Loschmidt echo.

Results

Universal relation between quantum work statistics and Loschmidt echo dynamics

Let us consider an isolated quantum system in a Hilbert space \( {\mathcal H} \) and described by the time-dependent Hermitian Hamiltonian \({\hat{H}}_{s}={\sum }_{n}\,{E}_{n}^{s}|{n}_{s}\rangle \langle {n}_{s}|\), with instantaneous eigenstates |ns〉 and eigenenergies \({E}_{n}^{s}\). We consider the evolution from time s = 0 to time s = τ of an arbitrary initial state with density matrix \(\hat{\rho }\), dictated by the evolution operator

$$\hat{U}(\tau )={\mathscr{T}}\,\exp \,[-i\,{\int }_{0}^{\tau }\,{\hat{H}}_{s}ds],$$
(1)

where \({\mathscr{T}}\) is the time-ordering operator. We include here also the case of sudden quenches, with τ → 0+ such that \(\hat{U}(\tau )\to {\bf{1}}\), but in which the final Hamiltonian, for which we retain the notation \({\hat{H}}_{\tau }\), is different from the initial hamiltonian \({\hat{H}}_{0}\).

Characterizing the work done during this driving protocol requires two projective energy measurements: one at the initial time s = 0 and another at s = τ2,5. The results of both measurements, respectively \({E}_{n}^{0}\) and \({E}_{m}^{\tau }\), give the work done as \(W={E}_{m}^{\tau }-{E}_{n}^{0}\). This two-energy measurement scheme prevents work from being defined as an observable in the quantum world2. Even so, it can be understood in terms of a generalized measurement scheme22,23. The corresponding work probability distribution can be written as4,5

$$p(W)\,:=\sum _{n,m}\,{p}_{n}^{0}\,{p}_{m|n}^{\tau }\delta [W-({E}_{m}^{\tau }-{E}_{n}^{0})],$$
(2)

where \({p}_{n}^{0}=\langle {n}_{0}|\hat{\rho }|{n}_{0}\rangle \) is the probability that the initial state is found in the n-th eigenstate of the initial Hamiltonian, and \({p}_{m|n}^{\tau }\ge 0\) is the transition probability from this initial eigenstate to the m-th eigenstate of the final Hamiltonian |mτ〉, i.e.,

$${p}_{m|n}^{\tau }=|\langle {m}_{\tau }|\hat{U}(\tau )|{n}_{0}\rangle {|}^{2}.$$
(3)

The integral representation of the delta function in terms of an auxiliary variable t, \(\delta (W-E)=\frac{1}{2\pi }\,{\int }_{-\infty }^{\infty }\,dt\,{e}^{-it(W-E)}\), allows us to write the work distribution as the Fourier transform

$$p(W)=\frac{1}{2\pi }\,{\int }_{-\infty }^{\infty }\,dt\,\chi (t,\tau ){e}^{-itW}$$
(4)

of the characteristic function

$$\chi (t,\tau )=\sum _{n,m}\,{p}_{n}^{0}\,{p}_{m|n}^{\tau }{e}^{it({E}_{m}^{\tau }-{E}_{n}^{0})}.$$
(5)

We show below that a universal relation exists between the work probability distribution p(W) in an arbitrary unitary protocol and the dynamics of a Loschmidt echo, for any initial state, including mixed states, e.g. at finite temperature.

Notice that even if the initial state is pure, the first projective energy measurement in the initial eigenbasis generally leads to a (post-measurement) mixed state

$${\hat{\rho }}_{{\rm{mix}}}=\sum _{n}\,{\hat{P}}_{n}^{0}\,\hat{\rho }\,{\hat{P}}_{n}^{0}=\sum _{n}\,{p}_{n}^{0}|{n}_{0}\rangle \langle {n}_{0}|,$$
(6)

where \({\hat{P}}_{n}^{0}\) denotes the projector on the n-th energy eigenstate of the initial Hamiltonian at s = 0. Using the explicit definition of the transition probability, Eq. (3), the characteristic function (5) can then be written as

$$\chi (t,\tau )={\rm{Tr}}({\hat{U}}^{\dagger }(\tau ){e}^{it{\hat{H}}_{\tau }}\hat{U}(\tau )\,{e}^{-it{\hat{H}}_{0}}{\hat{\rho }}_{{\rm{mix}}}).$$
(7)

This form allows us to identify the auxiliary variable t as a second time of evolution, different from s, as was first proposed in ref.12. Notice that the mixed state \({\hat{\rho }}_{{\rm{mix}}}\) is stationary with respect to \({\hat{H}}_{0}\), which entails the property χ*(t, τ) = χ(−t, τ).

Whenever the initial state is an energy eigenstate of \({\hat{H}}_{0}\), |j0〉, the initial density matrix simplifies to \(\hat{\rho }={\hat{\rho }}_{{\rm{mix}}}=|{j}_{0}\rangle \langle {j}_{0}|\) and \({p}_{n}^{0}=\langle {n}_{0}|\hat{\rho }|{n}_{0}\rangle ={\delta }_{nj}\). In the sudden quench limit τ → 0+, the transition probability \({p}_{m|n}^{\tau }\) further reduces to |〈mτ|n0〉|2, and the characteristic function becomes

$$\chi (t,{0}^{+})=\langle {j}_{0}|{e}^{+it{\hat{H}}_{\tau }}{e}^{-it{\hat{H}}_{0}}|{j}_{0}\rangle ,$$
(8)

recognizable as a Loschmidt amplitude A(t), given by the survival amplitude of the initial eigenstate |j0〉 first propagated forward in time with \({\hat{H}}_{0}\) and subsequently backward in time with a dynamics generated by \({\hat{H}}_{\tau }\)12. Thus we are presented with the Loschmidt amplitude for a quantum quench in the t evolution, with a driving protocol of the form

$$\hat{H}(t)={\hat{H}}_{0}\,{\rm{\Theta }}(\,-\,t)-{\hat{H}}_{\tau }\,{\rm{\Theta }}(t),$$
(9)

where Θ(t) is the Heaviside function. The survival probability \( {\mathcal L} (t)=|A(t){|}^{2}\) is known as a Loschmidt echo, and can be further related to the local density of states24. While its exponential decay in time has often been used to characterize chaotic systems9, it can occur in simpler, integrable systems25.

In fact, the relation between the generating function and the Loschmidt echo amplitude is universal, since it holds for any generic state -pure or not- under any driving protocol. To show this, we proceed in two steps. First, we consider general initial states \(\hat{\rho }\) that give rise to the post-measurement state \({\hat{\rho }}_{{\rm{mix}}}\). This state \({\hat{\rho }}_{{\rm{mix}}}\) is then purified by embedding it in the extended Hilbert space \({ {\mathcal H} }_{L}\otimes { {\mathcal H} }_{R}\), with \({ {\mathcal H} }_{L}={ {\mathcal H} }_{R}= {\mathcal H} \), e.g. defining the double-copy state

$$|{{\rm{\Psi }}}_{0}\rangle =\sum _{n}\,\sqrt{{p}_{n}^{0}}|{n}_{0}{\rangle }_{L}\otimes |{n}_{0}{\rangle }_{R}.$$
(10)

Secondly, we introduce an effective single-copy Hamiltonian \({\hat{H}}_{\tau }^{{\rm{eff}}}\), acting on \( {\mathcal H} \),

$${\hat{H}}_{\tau }^{{\rm{eff}}}={\hat{U}}^{\dagger }(\tau ){\hat{H}}_{\tau }\hat{U}(\tau )\,.$$
(11)

We note that the dynamics associated with \({\hat{H}}_{\tau }^{{\rm{eff}}}\) with an initial pure state has been recently discussed in26,27.

As a result, the characteristic function resulting from the evolution \(\hat{U}(\tau )\) in Eq. (1) is equal to the Loschmidt echo amplitude A(t) = 〈Ψ0t〉 of the purified state (10), when one of the copies evolves under the sudden quench

$$\hat{H}(t)={\hat{H}}_{0}\,{\rm{\Theta }}(\,-\,t)-{\hat{H}}_{\tau }^{{\rm{eff}}}\,{\rm{\Theta }}(t).$$
(12)

Denoting the composition of unitary evolution operators by the echo matrix \(\hat{M}(t,\tau )\equiv {e}^{+it{\hat{H}}_{\tau }^{{\rm{eff}}}}{e}^{-it{\hat{H}}_{0}}\), the characteristic function (7) becomes

$$\chi (t,\tau )=\langle {{\rm{\Psi }}}_{0}|\hat{M}(t,\tau )\otimes {{\bf{1}}}_{R}|{{\rm{\Psi }}}_{0}\rangle ,$$
(13)

where we have emphasized that the evolution acts exclusively on one of the copies, e.g. here, the left one. In particular, (13) corresponds to the echo dynamics of a purified initial state that evolves first forward in time under the initial Hamiltonian \({\hat{H}}_{0}\) and then backward under the effective final Hamiltonian \({\hat{H}}_{\tau }^{{\rm{eff}}}\), while the second copy is left unchanged. Explicitly,

$$\chi (t,\tau )=A(t).$$
(14)

This result shows that the equivalence between the Loschmidt amplitude and the work statistics holds in a universal setting, and extends the correspondance that was first demonstrated for a system prepared in an energy eigenstate of the initial Hamiltonian \({\hat{H}}_{0}\) undergoing a sudden quench in12.

As direct consequence of this equivalence, the short-time decay of the Loschmidt echo is determined by the variance of the quantum work statistics. In particular, the Loschmidt echo is an even function since \( {\mathcal L} (t)={|\chi (t,\tau )|}^{2}=\chi (t,\tau )\chi (\,-\,t,\tau )\). Under the assumption of analyticity of the generating function of the cumulants Cn of the work probability density, we have \(\mathrm{ln}[\chi (t,\tau )]={\sum }_{n=1}^{\infty }\,{(it)}^{n}{C}_{n}/n!\), which entails

$$\begin{array}{rcl}\mathrm{ln}\, {\mathcal L} (t) & = & \mathrm{ln}\,{|\langle {{\rm{\Psi }}}_{0}|\hat{M}(t,\tau )\otimes {{\bf{1}}}_{R}|{{\rm{\Psi }}}_{0}\rangle |}^{2}\\ & = & 2\,\sum _{n=1}^{\infty }\,\frac{{(-1)}^{n}{t}^{2n}}{(2n)!}{C}_{2n}\\ & = & -\,{\rm{\Delta }}{W}^{2}{t}^{2}+{\mathscr{O}}({t}^{4}),\end{array}$$
(15)

in terms of the variance of the work fluctuations C2 = 〈W2〉 − 〈W2 ≡ ΔW2 associated with the quench (12) on the system. This universal short-time asymptotics is reminiscent of the well-known short-time quadratic decay under unitary evolution and that gives rise to the quantum Zeno effect28, with a Gaussian width now identified as the work fluctuations.

Quantum work statistics of time reversal and information scrambling

As the connection in Eq. (14) is valid for any generic state, it applies in particular to mixed states at finite temperature. In what follows, we shall consider the initial state to be the canonical thermal state in \( {\mathcal H} \), with density matrix

$$\hat{\rho }={\hat{\rho }}_{{\rm{th}}}=\frac{{e}^{-\beta {\hat{H}}_{0}}}{{\rm{Tr}}({e}^{-\beta {\hat{H}}_{0}})},$$
(16)

where β = (kBT)−1 and T is the temperature. In this case, \(\hat{\rho }={\hat{\rho }}_{{\rm{mix}}}\), and the purification of both is the so-called thermofield double state29,

$$|{{\rm{\Psi }}}_{0}\rangle =\frac{1}{\sqrt{Z(\beta )}}\,\sum _{n}\,{e}^{-\frac{\beta }{2}{\hat{H}}_{0}\otimes {{\bf{1}}}_{R}}|{n}_{0}{\rangle }_{L}\otimes |{n}_{0}{\rangle }_{R},$$
(17)

where \({\hat{H}}_{0}\) acts on only one of the copies and the normalization factor \(Z(\beta )={{\rm{Tr}}}_{ {\mathcal H} }[{e}^{-\beta {\hat{H}}_{0}}]={\sum }_{n}\,{e}^{-\beta {E}_{n}^{0}}\) is the partition function.

We shall focus on the work statistics associated with the implementation of the time-reversal operation in the original system in \( {\mathcal H} \). When the system Hamiltonian is time-reversal, the implementation of the time-reversal operation is equivalent to the sudden negation of the Hamiltonian according to the quench

$$\hat{H}(t)={\hat{H}}_{0}\,{\rm{\Theta }}(\,-\,t)-{\hat{H}}_{0}\,{\rm{\Theta }}(t).$$
(18)

In the laboratory, such negation of the Hamiltonian can be implemented making use of a control ancilla C, when the dynamics of the ancilla-system in the Hilbert space \({{\mathbb{C}}}^{2}\otimes {\mathcal H} \) is generated by the Hamiltonian \({\sigma }_{C}^{z}\otimes {\hat{H}}_{0}\), where \({\sigma }_{C}^{z}\) is the Pauli matrix acting on the ancilla30,31.

The generating function of the corresponding work statistics can be explicitly computed to be

$$\begin{array}{rcl}\chi (t,{0}^{+}) & = & \frac{1}{Z(\beta )}\,\sum _{n}\,{e}^{-(\beta +2it){E}_{n}^{0}}\\ & = & \frac{Z(\beta +i2t)}{Z(\beta )},\end{array}$$
(19)

where we have used the analytically-continued partition function. The equivalence established above gives the Loschmidt echo \( {\mathcal L} (t)=|\chi (t,{0}^{+}){|}^{2}\) as the fidelity between the initial thermofield double state |Ψ0〉 and its time-evolution, also known as the survival probability:

$$ {\mathcal L} (t)=|\langle {{\rm{\Psi }}}_{0}|{{\rm{\Psi }}}_{t}\rangle {|}^{2}={|\frac{Z(\beta +i2t)}{Z(\beta )}|}^{2}.$$
(20)

This observation leads to a direct connection with information scrambling in black hole physics32,33,34,35, where the thermofield double state represents an entangled state of two conformal field theories that is dual to an eternal black hole via the AdS/CFT correspondence21. Specifically, an eternal black hole, which amounts to a non-traversable wormhole between two asymptotic regions of spacetime, has been conjectured to be equivalent to a pair of entangled black holes in a disconnected space with common time36. In this interpretation, the thermofield double state (17) is not invariant under time-evolution. Further, it has been argued that no system scrambles information faster than a black hole20,33, prompting the analysis of various tools to diagnose chaos, including the fidelity decay of a thermofield double state, Eq. (20) 37,38,39,40. Therefore, the work statistics associated with the implementation of the time-reversal operation in a system dictates the dynamics of information scrambling as described by the survival probability of the thermofield double state.

Alternatively, information scrambling can also be related to the work probability distribution associated with a quench in the enlarged Hilbert space \( {\mathcal H} \otimes {\mathcal H} \) described by the Hamiltonian

$$\hat{H}(t)\otimes {{\bf{1}}}_{R}+{{\bf{1}}}_{L}\otimes {\hat{H}}_{0},$$
(21)

with \(\hat{H}(t)\) given in Eq. (18), as

$$\frac{Z(\beta +i2t)}{Z(\beta )}=\langle {{\rm{\Psi }}}_{0}|{e}^{it(-{\hat{H}}_{0}\otimes {{\bf{1}}}_{R}+{{\bf{1}}}_{L}\otimes {\hat{H}}_{0})}{e}^{-it({\hat{H}}_{0}\otimes {{\bf{1}}}_{R}+{{\bf{1}}}_{L}\otimes {\hat{H}}_{0})}|{{\rm{\Psi }}}_{0}\rangle .$$
(22)

This corresponds to a local time-reversal operation acting on the left copy only, leaving the right one untouched. In fact any independent unquenched evolution for the right copy would give the same result.

The work probability distribution is the same in both interpretations and follows from (4)

$$\begin{array}{rcl}p(W) & = & \frac{1}{Z(\beta )}{\rm{Tr}}\,[{e}^{-\beta {\hat{H}}_{0}}\delta (W+2{\hat{H}}_{0})]\\ & = & {\langle \delta (W+2{\hat{H}}_{0})\rangle }_{\beta },\end{array}$$
(23)

where \({\langle \hat{A}\rangle }_{\beta }={{\rm{Tr}}}_{ {\mathcal H} }(\hat{A}\,{\hat{\rho }}_{{\rm{th}}})\) denotes the thermal average of \(\hat{A}\) in the canonical ensemble. Therefore, the work probability distribution for a time-reversal operation is given by the thermal average of the density of states operator, \(\rho (E)=\delta ({\hat{H}}_{0}-E)\), identifying E with −W/2, i.e.,

$$p(W)={\frac{1}{2}{\langle \rho (E)\rangle }_{\beta }|}_{E=-W/2}.$$
(24)

As a result, it follows that the mean work done to reverse the dynamics of one of the entangled copies in the thermofield double state \(|{{\rm{\Psi }}}_{0}\rangle \in {\mathcal H} \otimes {\mathcal H} \) can be obtained from the mean thermal energy of the canonical ensemble, in \( {\mathcal H} \),

$$\langle W\rangle =\int \,dWWp(W)=-\,2{\langle {\hat{H}}_{0}\rangle }_{\beta }.$$
(25)

Conversely, a number of protocols are available to measure p(W)22,23,41 and have been successfully implemented in the laboratory42,43,44. The survival amplitude of the thermofield double state, A(t) = Z(β + i2t)/Z(β), can thus be accessed from a measurement of the work statistics p(W) associated with a time-reversal operation, that via inverse Fourier transform yields \(A(t)=\chi (t,{0}^{+})=\int \,dW\,p(W){e}^{+itW}\). The Loschmidt echo simply follows as

$$ {\mathcal L} (t)=|A(t){|}^{2}=|\chi (t,{0}^{+}){|}^{2}.$$
(26)

These relations result from the implementation of a perfect time-reversal operation described by the quench (18) or (21). More generally, one is led to consider an arbitrary quench dynamics on one of the copies, that can accommodate for imperfect time-reversal operations, driven by a quench from \({\hat{H}}_{0}\) to \({\hat{H}}_{\tau }\). The associated Loschmidt echo reads

$$\begin{array}{rcl} {\mathcal L} (t) & = & |\chi (t,\tau ){|}^{2},\\ & = & {|\frac{{{\rm{Tr}}}_{ {\mathcal H} }[{e}^{it{\hat{H}}_{\tau }^{{\rm{eff}}}}{e}^{-(\beta +it){\hat{H}}_{0}}]}{Z(\beta )}|}^{2},\end{array}$$
(27)

This quantity can generally be extracted from the work distribution function associated with the general quench in (12) via the inverse Fourier transform yielding the identity

$$ {\mathcal L} (t)=\iint \,dWdW^{\prime} p(W)p(W^{\prime} )\,\cos \,[(W-W^{\prime} )t].$$
(28)

Equivalently, the work distribution function refers to the driving of the system from \({\hat{H}}_{0}\) to \({\hat{H}}_{\tau }\) when the dynamics is described by the time-evolution operator \(\hat{U}(\tau )\).

Quantum work statistics of quantum chaotic systems

We next illustrate the relation between work statistics, Loschmidt echoes and information scrambling in a driven quantum chaotic system. The Hamiltonians we consider are random N × N Hermitian matrices sampled from the Gaussian Orthogonal Ensemble (GOE)45, which is invariant under time reversal. A sudden random quench can be implemented by choosing the initial and final Hamiltonians, \({\hat{H}}_{0}={\hat{H}}_{i}\) and \({\hat{H}}_{\tau }={\hat{H}}_{f}\), from two independent GOE46. The corresponding characteristic function averaged over the GOE

$${\langle \chi (t,{0}^{+})\rangle }_{{\rm{GOE}}}={\langle \frac{1}{Z(\beta )}{\rm{Tr}}({e}^{-{\sigma }_{f}{\hat{H}}_{f}}{e}^{-{\sigma }_{i}{\hat{H}}_{i}})\rangle }_{{\rm{GOE}}},$$
(29)

where σi = β + it, σf = −it, is shown in Fig. 1. The average work probability distribution, also presented in Fig. 1, then directly follows from Fourier transformation, Eq. (4), and reads

$${\langle p(W)\rangle }_{{\rm{GOE}}}=\frac{1}{2\pi }\,{\int }_{-\infty }^{\infty }\,dt{\langle \chi (t,{0}^{+})\rangle }_{{\rm{GOE}}}{e}^{-itW}.$$
(30)

In turn, the Loschmidt echo associated with this driven chaotic system follows from the equivalence identified above, Eq. (26), and can be evaluated from the characteristic function as

$${\langle {\mathcal L} (t)\rangle }_{{\rm{GOE}}}={\langle |\chi (t,{0}^{+}){|}^{2}\rangle }_{{\rm{GOE}}}.$$
(31)
Figure 1
figure 1

Quantum work statistics of time reversal and information scrambling. Absolute value of the characteristic function, |〈χ(t, 0+)〉GOE|, generating the Loschmidt echo \({\langle {\mathcal L} (t)\rangle }_{{\rm{GOE}}}\) and work probability distribution 〈p(W)〉GOE for a driven chaotic system implemented by sampling the initial and final Hamiltonians from the Gaussian Orthogonal Ensemble, for (a) an exact time reversal of the Hamiltonian and (b) an arbitrary sudden quench. Results are averaged over 5000 realizations of the GOE for N = 20 at infinite temperature (β = 0, red) and β = 1 (blue).

Figure 1 shows the characteristic function, Loschmidt echo and work probability distribution for (a) a sudden negation of the Hamiltonian \({\hat{H}}_{f}=-\,{\hat{H}}_{i}\), and (b) for an arbitrary sudden quench. At infinite temperature, the work probability distribution is symmetric, representing the fact that the initial and final random Hamiltonians are drawn from ensembles with identical distributions. As the temperature is lowered, the initial thermal state samples predominantly the low-energy spectrum of the initial Hamiltonian, increasing the probability for trajectories associated with positive work, as manifested by the shift of 〈p(W)〉GOE towards the positive real axis. Such a shift has a non-trivial effect on the decay of |〈χ(t, 0+)〉GOE|2 whose long time behavior is characterized by higher values for increasing temperature. Considering the identified equivalence with the survival amplitude, this decay can also be interpreted in terms of information scrambling, as explicit from the Loschmidt echo \({ {\mathcal L} }_{{\rm{GOE}}}(t)\) represented in Fig. 1. The Loschmidt echo associated with the work statistics for a perfect time reversal operation in one of the copies exhibits the following features, common to scrambling dynamics of many-body-chaotic systems38,39,40: it reaches a minimum value at a dip, followed by a ramp and a saturation at long values described by the long-time average. By contrast, the work statistics associated with a quench between two independent random Hamiltonians, leads to a Loschmidt echo characterized by an enhanced decay as manifested by lower values of the dip, which is also broadened. In addition, the subsequent dynamics towards the long-time asymptotics no longer exhibits a clear ramp. A comprehensive analysis of work statistics in quantum chaotic systems is presented in47.

Conclusion

In summary, we have shown a universal relation between the quantum work statistics and Loschmidt echo under arbitrary dynamics. Specifically, within the two projective energy measurement scheme, we have shown that the generating function of the work probability distribution of an isolated quantum system prepared in a possible mixed state can be interpreted as the Loschmidt echo amplitude of a purified density matrix in an enlarged Hilbert space, for a quench acting on one of the copies. When the initial state is thermal, the Loschmidt echo describes the evolution of a thermofield double state and is ideally suited to assess information scrambling. In particular, the work statistics associated with the time-reversal operation – the sudden negation of the system Hamiltonian – is dictated by the analytic continuation of the partition function, recently proposed to diagnose quantum chaos. As a result, our work establishes a firm connection between the finite-time thermodynamics of closed quantum systems, irreversibility, and information scrambling.