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

Monitoring quantum Otto engines

Jeongrak Son Department of Physics and Astronomy, Seoul National University, Seoul 08826, Republic of Korea. Center for Theoretical Physics of Complex Systems, Institute for Basic Science (IBS), Daejeon 34126, Republic of Korea.    Peter Talkner [email protected] Institut für Physik, Universität Augsburg, Universitätsstraße 1, D-86135 Augsburg, Germany.    Juzar Thingna [email protected] Center for Theoretical Physics of Complex Systems, Institute for Basic Science (IBS), Daejeon 34126, Republic of Korea. Basic Science Program, Korea University of Science and Technology, Daejeon 34113, Republic of Korea.
Abstract

Unlike classical systems, a measurement performed on a quantum system always alters its state. In this work, the impacts of two diagnostic schemes to determine the performance of quantum Otto heat engines are compared: In one scheme, the energy of the engine’s working substance is measured after each stroke (repeated measurements), and in the other one, the energies after each stroke are recorded in one or two pointer states and measured only after the completion of a prescribed number of cycles (repeated contacts). A single pointer state suffices if one is only interested in either work or heat. For joint work and heat diagnostics, two pointers are needed. These schemes are applied to Otto engines, whose working substance consists of a two-level system. Depending on the engine protocol, the duration of a single cycle may be infinite or finite. Because in the repeated contact scheme, the number of measurements is drastically reduced compared to the repeated measurement scheme, the quantum coherence after and during the contact diagnostics is much better maintained than repeated measurements that destroy any coherence at the end of each stroke. We demonstrate that maximum power, reliability, and efficiency of the engine in the presence of repeated contacts typically outperform these figures of merit of repeated measurements. Due to the improved coherence persistence, heat engines with a finite cycle duration require a larger number of cycles to reach a periodically asymptotic state. Overall, our results document the importance of taking into account the particular nature of diagnostic tools for monitoring and testing purposes but also for feedback control, both in theory and experiment.

I Introduction

Heat engines have not only been important devices from a technological perspective, but they also played a significant role in establishing and examining the laws of thermodynamics [1]. Remarkably, with the extension of thermodynamics from macroscopic to ever smaller systems during the past decades, the interest in the same paradigmatic model systems such as Carnot and Otto engines has revived, with efficiency and power as figures of merit. A particular aspect of small engines results from the generic randomness of their dynamics due to the coupling of the microscopically small working substance with heat baths at different temperatures [2]. Already shortly after the invention of the maser the similarity of its action principle with a heat engine was noted [3]. Apart from scattered early considerations [4, 5, 6], it took about forty years until this concept gained broader interest and the idea of quantum Carnot and Otto engines was further elaborated [7, 8]. Since then basically all of the distinguishing features of quantum systems have been investigated in view of their potentially beneficial or possibly detrimental aspects for an engine, such as coherence [9, 10, 11, 12, 13], discreteness and spacing of energy levels [14, 15, 16], quantum correlations and entanglement [17, 18], Fermi versus Bose statistics [19], and projective measurements as an energy source [20, 21]. Experimental investigations of quantum heat engines were suggested in Ref. [22] and realized using trapped ions [23, 24], optomechanical systems [25], nitrogen-vacancy centers [26], and NMR techniques [27].

So far, the monitoring of engines has found only relatively little attention, be it as a merely diagnostic tool or as a basic element of a feedback control device [28]. The functioning of four stroke Otto-like engines during a single cycle was tracked in Refs. [29, 21, 30] by projective energy measurements of the working substance immediately after the completion of each stroke. From these four measured values the energy changes during work strokes and thermalization strokes corresponding to work and heat, respectively, were characterized by their joint statistics. The reduction of the engine’s working substance state with respect to the instantaneous energy basis specifying each measurement, in general alters the subsequent dynamics and hence may influence the resulting energy differences between subsequent measurements. This total suppression of coherence is specific for the two point projective measurement scheme of work [31, 32, 33] and has often been interpreted as a deficiency [34, 35]. On the other hand, the traditional assignment of average work done on a thermally closed system by a control parameter change as the difference of the average energies calculated after and before the forcing [4, 36] cannot be extended to the definition of a proper random variable [37, 38, 39, 40]. Only if the interference of the system with a particular monitoring device is specified, e.g. in terms of two projective energy measurements in the two point measurement scheme or by two subsequent interactions of the system with the same pointer state of a measurement apparatus [38], or by any other generalized measurement scheme [41], work can be properly specified as a random variable at the price that its probability distribution depends on the chosen measurement procedure. This principle restriction still leaves the possibility to look for detection schemes that optimize particular features such as the accuracy or the amount of back-action on the system, to name just two possibly complementary criteria.

For the diagnostics of a reciprocating engine such as an Otto engine, the monitoring of the energy of the working substance several times during a single cycle is crucial in order to be able to infer the total performed work and the consumed heat during a single, and also over many cycles. With projective energy measurements any coherence possibly built up during a work stroke [11] or after a thermalization stroke [42] would be completely removed with an impact on the performance of the subsequent strokes. The coherencies of the bath have been identified as a potential boost to the performance of an engine [9], while those built up in the working substance have been found as potentially detrimental [8, 43, 44, 11].

In the present paper we adapt a recently proposed method to determine the sum of an observable by means of repeated contacts [45] to find the total work and the heat supplied to an engine in a prescribed number of cycles. We compare the obtained results with those from repeated measurements and demonstrate that the repeated contact method is in general less invasive and also leads to a better performance of the engine.

We organize the paper as follows: In Sec. II we introduce the general quantum Otto engine and formulate the repeated contact and repeated measurement schemes. General expressions for the joint work and heat probability density functions (PDFs) are presented for both schemes. In Sec. III, a two-level system, i.e. a single qubit, is considered as the working substance for which general expressions for the work strokes are presented. For the heat strokes we consider perfect thermalization beyond weak system-bath coupling and alternatively finite time thermalization at weak system-bath coupling. We compare our analytic expressions of work and heat PDFs as well as the second moments resulting from the two measurement schemes for a single engine cycle. In Sec. IV numerical results for several cycles are presented. Finally, in Sec. V, we draw our conclusions.

II Quantum Otto engines

II.1 Mode of operation

Refer to caption
Figure 1: Illustration for repeated measurements and two-pointer repeated contacts applied to quantum Otto engines running for NN cycles. The top panel illustrates repeated measurements with 4N4N pointers, five pointers of which are shown. Each pointer is initialized in the same state σ\sigma. The measurements are taken at the beginnings and the end of the work strokes when the working substance is thermally isolated. The results of the measurements are symbolically presented at the right margin. The registered pointer states can be used to calculate heat and work. The lower panel illustrates the repeated contact scheme with two pointers, the upper one for the work and the lower one for the heat. Again both pointers are initialized in the same state σ\sigma. Here the actions of the contacts on the two pointers are accumulated with appropriate signs, see the Sec. II.2 for the details, and read out by a projective position measurement after a prescribed number of engine cycles is completed. Between subsequent contacts the states of the two pointers do not evolve.

For the sake of concreteness we consider an Otto engine with a quantum mechanical working substance, which later will be specified as a two-level system. The subsequent four strokes constituting a full cycle of the engine consist in compressing, heating, expanding, and cooling the working substance, see Fig. 1. The compression and expansion strokes are caused by changing a control parameter of the working substance in thermal isolation. Therefore, the energy change of the working substance during these strokes can be referred to as work. The parameter change in the compression stroke is designed such that the energy level distances of the working substance Hamiltonian increase. Hence, the time evolution of the density matrix caused by the compression is determined by a unitary operator UU with ρ2=Uρ1U\rho_{2}=U\rho_{1}U^{\dagger}, with ρk=ρ(tk)\rho_{k}=\rho(t_{k}), k=1,2,k=1,2,\cdots, denoting the density matrices at the times indicated in Fig. 1, whereby times tkt_{k} with k=1,,4k=1,\cdots,4 specify instants within the first cycle, with k=5,,8k=5,\cdots,8 within the second cycle, etc.. For the sake of simplicity, the expansion is assumed to be the time-reversed protocol of the compression. Therefore, the unitary operator giving the corresponding transformation can be written as U~=KUK\tilde{U}=K^{*}U^{\dagger}K with KK^{*} being the adjoint of the antiunitary time-reversal operator KK (KK=KK=𝟙K^{*}K=KK^{*}=\mathbb{1}), [46], such that ρ4=U~ρ3U~\rho_{4}=\tilde{U}\rho_{3}\tilde{U}^{\dagger}. The relation between U~\tilde{U} and UU^{\dagger} holds as long as KH(t)K=H(t)K^{*}H(t)K=H(t) for all time tt during the work strokes with H(t)H(t) being the time-dependent engine Hamiltonian. During the second and the fourth stroke the working substance is brought into contact with a hot and a cold heat bath, respectively, while its Hamiltonian remains unchanged. These two heat strokes are characterized by trace preserving, positive, linear maps Φh\Phi_{h} and Φc\Phi_{c} relating the respective density matrices of the working substance at the beginnings and the ends of these strokes according to ρ3=Φh(ρ2)\rho_{3}=\Phi_{h}(\rho_{2}) and ρ5=Φc(ρ4)\rho_{5}=\Phi_{c}(\rho_{4}). Later, we shall give explicit expressions specifying the unitary operator UU, U~\tilde{U} and the maps Φh\Phi_{h} and Φc\Phi_{c} for the case of a two-level system as working substance.

II.2 Diagnostic means I: Repeated measurements

The central quantities characterizing the performance of an engine are the total work WW performed on and the total heat QQ supplied by the hot bath to the working substance during NN cycles. Both quantities follow from the sequence of energies 𝐞=(e1,e2,,e4N)\mathbf{e}=(e_{1},e_{2},\cdots,e_{4N}) of the working substance taken at the beginning and the end of each work stroke when the working substance is decoupled from either heat bath, see Fig. 1 yielding

W\displaystyle W =\displaystyle= k=14N(1)kek,\displaystyle\sum_{k=1}^{4N}(-1)^{k}e_{k}, (1)
Q\displaystyle Q =\displaystyle= k=14Nμkek,\displaystyle\sum_{k=1}^{4N}\mu_{k}e_{k}, (2)

where μ1+4l=μ4+4l=0\mu_{1+4l}=\mu_{4+4l}=0, μ2+4l=1\mu_{2+4l}=-1, μ3+4l=1\mu_{3+4l}=1 with l=0,,N1l=0,\cdots,N-1.

In the repeated measurement scheme the energies eke_{k} are measured individually by bringing the working substance for a short time into contact with the pointer of a measurement apparatus [47]. This contact causes a unitary transformation of the joint state of the pointer and the working substance given by

Vk=eiκHkPk,V_{k}=e^{-i\kappa H_{k}\otimes P_{k}}, (3)

where HkH_{k} is the working substance Hamiltonian at the start of the kkth stroke, i.e. H1=H4=H5==HcH_{1}=H_{4}=H_{5}=\cdots=H_{c} and H2=H3==HhH_{2}=H_{3}=\cdots=H_{h}, see also Fig. 1; furthermore, PkP_{k} denotes the momentum operator conjugate to the pointer coordinate of the kkth measurement apparatus. The parameter κ\kappa results as the product of the strength and the duration of the contact which is assumed to be so short that the free motion of the working substance appears as frozen. Above, and throughout this work we will set =kB=1\hbar=k_{B}=1. Before the kkth interaction, the working substance and the respective pointer are uncorrelated. The latter resides in a Gaussian pure state σk\sigma_{k} with vanishing mean value and variance Σ2\Sigma^{2}. Its position matrix element σ(x,y)=x|σk|y\sigma(x,y)=\langle x|\sigma_{k}|y\rangle is independent of kk and is given by

σ(x,y)=12πΣ2exp[x2+y24Σ2].\sigma(x,y)=\frac{1}{\sqrt{2\pi\Sigma^{2}}}\exp\left[-\frac{x^{2}+y^{2}}{4\Sigma^{2}}\right]. (4)

If, after the contact has taken place, the pointer position is measured projectively at a position xx, the non-normalized density matrix of the working substance becomes

ϕx(ρ)\displaystyle\phi_{x}(\rho) =\displaystyle= x|VkρσkVk|x\displaystyle\langle x|V_{k}\rho\otimes\sigma_{k}V^{\dagger}_{k}|x\rangle (5)
=\displaystyle= m,m𝒫kmρ𝒫kmσk(xekm,xekm),\displaystyle\sum_{m,m^{\prime}}\mathcal{P}^{m}_{k}\rho\mathcal{P}^{m^{\prime}}_{k}\sigma_{k}\left(x-e^{m}_{k},x-e^{m^{\prime}}_{k}\right),

where ekme^{m}_{k} and 𝒫km\mathcal{P}^{m}_{k} denote the eigenvalues and eigen-projectors of the Hamiltonian Hk=mekm𝒫kmH_{k}=\sum_{m}e^{m}_{k}\mathcal{P}^{m}_{k} and ρ\rho denotes the density matrix of the working substance before the contact. For the sake of simplicity and without restriction of generality, the pointer position is measured in units of energy such that κ=1\kappa=1. The subsequent measurements of the energies eke_{k} during NN cycles, giving rise to the pointer positions xN=(x1,,x4N)\vec{x}_{N}=(x_{1},\cdots,x_{4N}), lead to a mapping of the initial working substance density matrix ρ\rho onto the non-normalized density matrix ϕxNRM(ρ)\phi^{\mathrm{RM}}_{\vec{x}_{N}}(\rho) given by

ϕxNRM(ρ)=mN,mNDmN,mN(ρ)k=14Nσ(xkekmk,xkekmk),\phi^{\mathrm{RM}}_{\vec{x}_{N}}(\rho)=\sum_{\vec{m}_{N},\vec{m}^{\prime}_{N}}D^{\vec{m}_{N},\vec{m}^{\prime}_{N}}(\rho)\prod_{k=1}^{4N}\sigma\left(x_{k}-e_{k}^{m_{k}},x_{k}-e_{k}^{m_{k}^{\prime}}\right), (6)

where the sum runs over all possible sequences mN()=(m1(),m2(),,m4N())\vec{m}^{(\prime)}_{N}=(m^{(\prime)}_{1},m^{(\prime)}_{2},\cdots,m^{(\prime)}_{4N}) of quantum numbers mk()m^{(\prime)}_{k} labelling the eigenstates of the Hamiltonian HkH_{k}. The operator DmN,mN(ρ)D^{\vec{m}_{N},\vec{m}^{\prime}_{N}}(\rho) describes the action of the alternating time-evolution operators characterizing the subsequent strokes and the interrupting projections due to the energy measurements on the initial density matrix ρ\rho. They are recursively given by

DmN+1,mN+1(ρ)=S𝐦,𝐦(DmN,mN(ρ)),D^{\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}(\rho)=S^{\mathbf{m},\mathbf{m}^{\prime}}\left(D^{\vec{m}_{N},\vec{m}^{\prime}_{N}}(\rho)\right), (7)

where the sequences mN+1()=mN()𝐦()\vec{m}^{(\prime)}_{N+1}=\vec{m}^{(\prime)}_{N}\oplus\mathbf{m}^{(\prime)} denote the concatenation of mN()\vec{m}^{(\prime)}_{N} and 𝐦()=(m4N+1(),,m4(N+1)())\mathbf{m}^{(\prime)}=(m_{4N+1}^{(\prime)},\cdots,m_{4(N+1)}^{(\prime)}). Furthermore, the map S𝐦,𝐦S^{\mathbf{m},\mathbf{m}^{\prime}} acts as

S𝐦,𝐦(ρ)\displaystyle S^{\mathbf{m},\mathbf{m}^{\prime}}(\rho) =\displaystyle= Φc(𝒫1m4(N+1)U~𝒫2m4N+3Φh(𝒫2m4N+2U𝒫1m4N+1ρ𝒫1m4N+1U𝒫2m4N+2)𝒫2m4N+3U~𝒫1m4(N+1)).\displaystyle\Phi_{c}\left(\mathcal{P}^{m_{4(N+1)}}_{1}\tilde{U}\mathcal{P}^{m_{4N+3}}_{2}\Phi_{h}\left(\mathcal{P}^{m_{4N+2}}_{2}U\mathcal{P}^{m_{4N+1}}_{1}\rho\mathcal{P}^{m_{4N+1}^{\prime}}_{1}U^{\dagger}\mathcal{P}^{m_{4N+2}^{\prime}}_{2}\right)\mathcal{P}^{m_{4N+3}^{\prime}}_{2}\tilde{U}^{\dagger}\mathcal{P}^{m_{4(N+1)}^{\prime}}_{1}\right). (8)

Taking the trace of ϕxRM(ρ)\phi^{\mathrm{RM}}_{\vec{x}}(\rho) one obtains for the joint PDF p(x)p(\vec{x})to find the pointers at the values given by the components of the vector x\vec{x} the formal expression

p(x)=Tr[ϕxRM(ρ)].p(\vec{x})=\mathrm{Tr}\left[\phi^{\mathrm{RM}}_{\vec{x}}(\rho)\right]. (9)

For Gaussian pointers as specified in Eq. (4) this PDF can be written as

p(x)=m,mDm,me18Σ2k=14N(ekmkekmk)2k=14NgΣ2(xk12(ekmk+ekmk)),p(\vec{x})=\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}\sum_{k=1}^{4N}\left(e^{m_{k}}_{k}-e^{m_{k}^{\prime}}_{k}\right)^{2}}\prod_{k=1}^{4N}g_{\Sigma^{2}}\left(x_{k}-\frac{1}{2}\left(e^{m_{k}}_{k}+e^{m_{k}^{\prime}}_{k}\right)\right), (10)

where gΣ2(x)=(2πΣ2)1/2exp[x2/(2Σ2)]g_{\Sigma^{2}}(x)=(2\pi\Sigma^{2})^{-1/2}\exp[-x^{2}/(2\Sigma^{2})] denotes a Gaussian PDF with vanishing mean value and variance Σ2\Sigma^{2}. The coefficient Dm,mD^{\vec{m},\vec{m}^{\prime}} is defined as

Dm,m=Tr[Dm,m(ρ)].D^{\vec{m},\vec{m}^{\prime}}=\mathrm{Tr}[D^{\vec{m},\vec{m}^{\prime}}(\rho)]. (11)

In order not to overburden the notation we omitted the index NN in the vectors m()\vec{m}^{(\prime)} and x\vec{x}.

Identifying the components xkx_{k} as the measured energies, one obtains for the joint probability of work and heat, PRM(W,Q)P^{\mathrm{RM}}(W,Q), the expression

PRM(W,Q)\displaystyle P^{\mathrm{RM}}(W,Q) =\displaystyle= d4Nxδ(Wk=14N(1)kxk)\displaystyle\int d^{4N}x\,\delta\left(W-\sum_{k=1}^{4N}(-1)^{k}x_{k}\right) (12)
×δ(Qk=14Nμkxk)p(x).\displaystyle\times\delta\left(Q-\sum_{k=1}^{4N}\mu_{k}x_{k}\right)p(\vec{x}).

Going to the characteristic function GRM(u,v)=𝑑W𝑑QeiuWeivQPRM(W,Q)G^{\mathrm{RM}}(u,v)=\int dWdQe^{iuW}e^{ivQ}P^{\mathrm{RM}}(W,Q) one can perform the 4N4N-fold xx-integration to find

GRM(u,v)\displaystyle G^{\mathrm{RM}}(u,v) =m,mDm,m~e18Σ2k=14N(ekmkekmk)2\displaystyle=\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{\tilde{m}}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}\sum_{k=1}^{4N}\left(e^{m_{k}}_{k}-e^{m_{k}^{\prime}}_{k}\right)^{2}}
×eiu𝒲m,meiv𝒬m,meNΣ2(2u22uv+v2),\displaystyle\quad\times e^{iu\mathcal{W}^{\vec{m},\vec{m}^{\prime}}}e^{iv\mathcal{Q}^{\vec{m},\vec{m}^{\prime}}}e^{-N\Sigma^{2}(2u^{2}-2uv+v^{2})},

where

𝒲m,m\displaystyle\mathcal{W}^{\vec{m},\vec{m}^{\prime}} =12k=14N(1)k(ekmk+ekmk),\displaystyle=\frac{1}{2}\sum_{k=1}^{4N}(-1)^{k}\left(e^{m_{k}}_{k}+e^{m_{k}^{\prime}}_{k}\right), (14)
𝒬m,m\displaystyle\mathcal{Q}^{\vec{m},\vec{m}^{\prime}} =12k=14Nμk(ekmk+ekmk),\displaystyle=\frac{1}{2}\sum_{k=1}^{4N}\mu_{k}\left(e^{m_{k}}_{k}+e^{m_{k}^{\prime}}_{k}\right), (15)

with μk\mu_{k} as defined below Eq. (2). This characteristic function corresponds to a linear superposition of Gaussian PDFs g(W𝒲m,m,Q𝒬m,m)g_{\mathcal{M}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}},Q-\mathcal{Q}^{\vec{m},\vec{m}^{\prime}}) with mean values W=𝒲m,m\langle W\rangle=\mathcal{W}^{\vec{m},\vec{m}^{\prime}} and Q=𝒬m,m\langle Q\rangle=\mathcal{Q}^{\vec{m},\vec{m}^{\prime}} and with the covariance matrix \mathcal{M} given by

=((δW)2δWδQδWδQ(δQ)2)=2NΣ2(2111),\mathcal{M}=\left(\begin{array}[]{cc}\langle(\delta W)^{2}\rangle&\langle\delta W\delta Q\rangle\\ \langle\delta W\delta Q\rangle&\langle(\delta Q)^{2}\rangle\end{array}\right)=2N\Sigma^{2}\left(\begin{array}[]{cc}2&-1\\ -1&1\end{array}\right), (16)

with δX=XX\delta X=X-\langle X\rangle (X=W,QX=W,Q). Hence, the PDF is given by

PRM(W,Q)\displaystyle P^{\mathrm{RM}}(W,Q) =m,mDm,me18Σ2k=14N(ekmkekmk)2\displaystyle=\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}{\sum_{k=1}^{4N}}(e^{m_{k}}_{k}-e^{m_{k}\prime}_{k})^{2}} (17)
×g(W𝒲m,m,Q𝒬m,m).\displaystyle\quad\times g_{\mathcal{M}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}},Q-\mathcal{Q}^{\vec{m},\vec{m}^{\prime}}).

All diagonal coefficients with m=m\vec{m}=\vec{m}^{\prime} are non-negative whereas nondiagonal contributions with mm\vec{m}\neq\vec{m}^{\prime} may assume complex values. Yet, by construction, the total sum is guaranteed to be always non-negative. Moreover, the nondiagonal contributions are suppressed by exponential factors exp[k=14N(ekmkekmk)2/(8Σ2)]\exp[-\sum_{k=1}^{4N}\left(e^{m_{k}}_{k}-e^{m_{k}^{\prime}}_{k}\right)^{2}/(8\Sigma^{2})]. When the pointer state variance Σ2\Sigma^{2} is sufficiently small compared to the minimum squared energy level distance of either Hamiltonian HcH_{c} or HhH_{h}, all non-diagonal elements are negligibly small and hence only Gaussians having a maximum at 𝒲m,m,𝒬m,m\mathcal{W}^{\vec{m},\vec{m}},\mathcal{Q}^{\vec{m},\vec{m}} contribute. Due to the NN-dependence of the covariance matrix the widths of each of the contributions grow proportionally to the square root of the number of cycles. The marginal work and heat PDFs result as

PRM(W)\displaystyle P^{\mathrm{RM}}(W) =m,mDm,me18Σ2k=14N(ekmkekmk)2g4NΣ2(W𝒲m,m),\displaystyle=\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}{\sum_{k=1}^{4N}}(e^{m_{k}}_{k}-e^{m_{k}\prime}_{k})^{2}}g_{4N\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}), (18)
PRM(Q)\displaystyle P^{\mathrm{RM}}(Q) =m,mDm,me18Σ2k=14N(ekmkekmk)2g2NΣ2(Q𝒬m,m).\displaystyle=\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}{\sum_{k=1}^{4N}}(e^{m_{k}}_{k}-e^{m_{k}\prime}_{k})^{2}}g_{2N\Sigma^{2}}(Q-\mathcal{Q}^{\vec{m},\vec{m}^{\prime}}). (19)

The more pronounced broadening of the Gaussian contributions in the marginal work PDF compared to the marginal heat PDF is caused by the twofold number of energy measurements required for the work compared to the heat.

II.3 Diagnostic means II: Repeated contacts

Instead of registering each of the 4N4N energy values in a separate pointer state one may follow the idea of Ref. [48] and subsequently transfer the actual energy value at the beginning of each stroke with the appropriate sign according to the Eqs. (1) and (2) to two pointer states, one for work and the other one for heat. The transfer of information from the working substance to the pointer states is mediated in a similar way as for repeated measurements by a sufficiently short interaction causing a unitary transformation VkV_{k} of the form

Vk=eiκHk((1)kPW+μkPQ),V_{k}=e^{i\kappa H_{k}\otimes((-1)^{k}P_{W}+\mu_{k}P_{Q})}, (20)

acting on the joint Hilbert space of the working substance and the two pointer states. Here PWP_{W} and PQP_{Q} denote the momentum operators that are canonically conjugate to the position operators of the work and heat pointers, respectively. In contrast to the repeated measurement scheme, the pointers are only read out by a projective position measurements after the completion of NN cycles. Again, the pointers are assumed to be gauged in units of energy. Between two subsequent contacts the working substance does not interact with the two pointers but their states remain correlated as a result of the previous contacts. To simplify the further analysis we assume that the pointers have no own dynamics, i.e. they change their states only due to the interactions as specified by the unitary operators defined in Eq. (20). The subsequent strokes and contacts, resulting after the completion of NN cycles in pointer state positions at specific values WW and QQ, lead to a non-normalised reduced density matrix of the working substance, which is given by

ϕW,QRC(ρ)\displaystyle\phi^{\mathrm{RC}}_{W,Q}(\rho) =\displaystyle= m,mDm,m(ρ)σ(W𝒲m,W𝒲m)\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}(\rho)\sigma(W-\mathcal{W}^{\vec{m}},W-\mathcal{W}^{\vec{m}^{\prime}}) (21)
×σ(Q𝒬m,Q𝒬m),\displaystyle\times\sigma(Q-\mathcal{Q}^{\vec{m}},Q-\mathcal{Q}^{\vec{m}^{\prime}}),

where ρ\rho denotes the initial density matrix of the working substance and individual work and heat outcomes are denoted as

𝒲m\displaystyle\mathcal{W}^{\vec{m}} =\displaystyle= k=14N(1)kekmk,\displaystyle\sum_{k=1}^{4N}(-1)^{k}e^{m_{k}}_{k}, (22)
𝒬m\displaystyle\mathcal{Q}^{\vec{m}} =\displaystyle= k=14Nμkekmk,\displaystyle\sum_{k=1}^{4N}\mu_{k}e^{m_{k}}_{k}, (23)

with μk\mu_{k} as defined below Eq. (2). The joint PDF PRC(W,Q)P^{\mathrm{RC}}(W,Q) of finding these work and heat values is given by the trace of ϕW,QRC(ρ)\phi^{\mathrm{RC}}_{W,Q}(\rho) yielding

PRC(W,Q)=m,mDm,me18Σ2(𝒲m𝒲m)2e18Σ2(𝒬m𝒬m)2gΣ2(W𝒲m,m)gΣ2(Q𝒬m,m).P^{\mathrm{RC}}(W,Q)=\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}\prime})^{2}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{Q}^{\vec{m}}-\mathcal{Q}^{\vec{m}\prime})^{2}}g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}})g_{\Sigma^{2}}(Q-\mathcal{Q}^{\vec{m},\vec{m}^{\prime}}). (24)

As for repeated measurements it is a linear superposition of Gaussian PDFs with weights Dm,mD^{\vec{m},\vec{m}^{\prime}}, however, with the following differences:

  1. 1.

    for repeated contacts the contributing Gaussians for work and heat factorize while for repeated measurements they are correlated;

  2. 2.

    the widths of the contributing Gaussians are independent of NN given by Σ\Sigma whereas those for repeated measurements are proportional to NΣ\sqrt{N}\Sigma;

  3. 3.

    for repeated contacts nondiagonal contributions are exponentially suppressed by rates [(𝒲m𝒲m)2+(𝒬m𝒬m)2]/(8Σ2)[(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}^{\prime}})^{2}+(\mathcal{Q}^{\vec{m}}-\mathcal{Q}^{\vec{m}^{\prime}})^{2}]/(8\Sigma^{2}) while for repeated measurements the suppression is determined by rates of the form k=14N(ekmkekmk)2/(8Σ2)\sum_{k=1}^{4N}(e^{m_{k}}_{k}-e^{m_{k}^{\prime}}_{k})^{2}/(8\Sigma^{2}).

Therefore, for repeated contacts only contributions with different sequences m\vec{m} and m\vec{m}^{\prime} leading to different values of work and heat are penalized while in the repeated measurement approach deviations of individual components lead to a suppression of coherences due to the monitoring.

For repeated contacts with a non-selective heat measurement the marginal PDF PRC,2P(W)P^{\mathrm{RC,2P}}(W) defined as

PRC,2P(W)=𝑑QPRC(W,Q)=m,mDm,me18Σ2(𝒲m𝒲m)2e18Σ2(𝒬m𝒬m)2gΣ2(W𝒲m,m)P^{\mathrm{RC,2P}}(W)=\int dQP^{\mathrm{RC}}(W,Q)=\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}\prime})^{2}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{Q}^{\vec{m}}-\mathcal{Q}^{\vec{m}\prime})^{2}}g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}) (25)

differs by the extra factor of exp[(𝒬m𝒬m)2/(8Σ2)]\exp[-(\mathcal{Q}^{\vec{m}}-\mathcal{Q}^{\vec{m}\prime})^{2}/(8\Sigma^{2})] from the PDF resulting from a mere work measurement performed with a single pointer state. In the latter case one obtains

PRC,1P(W)\displaystyle P^{\mathrm{RC,1P}}(W) =\displaystyle= m,mDm,me18Σ2(𝒲m𝒲m)2\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}\prime})^{2}} (26)
×gΣ2(W𝒲m,m).\displaystyle\times g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}).

For repeated contacts the same type of contextuality, i.e. the dependence of the observed results on the presence of a non-selective measurement, also holds for the marginal heat PDF. In both cases it is more pronounced for rather imprecise registration, i.e. for pointer states with relatively large variances Σ2\Sigma^{2}. For repeated measurements the joint work and heat PDF [see Eq. (17)] results according to Eq. (12) in a classical way from the joint PDF p(x)p(\vec{x}) of all individual energies. Therefore repeated measurements do not present this particular contextuality feature.

Once the work and heat PDFs are known for a specified diagnostic method, the performance of the engine can be characterized by its efficiency η\eta and reliability RR which are defined as

η\displaystyle\eta =\displaystyle= WQ,\displaystyle-\frac{\langle W\rangle}{\langle Q\rangle}, (27)
R\displaystyle R =\displaystyle= WW2W2,\displaystyle-\frac{\langle W\rangle}{\sqrt{\langle W^{2}\rangle-\langle W\rangle^{2}}}, (28)

where \langle\cdot\rangle denotes the average of the indicated quantity with respect to the PDF of the considered diagnostic method. Higher order efficiencies as introduced in Ref. [49] can be obtained from higher order moments of work and heat. Also a fluctuating efficiency, W/QW/Q, can in principle be determined [50], but will not be considered here.

III Two-level system as working substance

III.1 Work strokes

The general formulation outlined in Sec. II can be applied to any working substance undergoing adiabatic or non-adiabatic protocols. For a numerically feasible but yet representative example, we will use in this and subsequent sections a two-level system as the working substance and allow for non-adiabatic work strokes, i.e. strokes comprising shifts of the instantaneous energy eigenstates and transitions between them during the unitary evolution. Without specifying the time-dependent Hamiltonian in detail, the system Hamiltonians HcH_{c} and HhH_{h} before and after the first work stroke, respectively, are written as

Hc\displaystyle H_{c} =\displaystyle= ϵc(|+c+c||cc|),\displaystyle\epsilon_{c}\left(|+_{c}\rangle\langle+_{c}|-|-_{c}\rangle\langle-_{c}|\right),
Hh\displaystyle H_{h} =\displaystyle= ϵh(|+h+h||hh|),\displaystyle\epsilon_{h}\left(|+_{h}\rangle\langle+_{h}|-|-_{h}\rangle\langle-_{h}|\right), (29)

where |u|-_{u}\rangle and |+u|+_{u}\rangle denote the ground and the excited states, respectively, of the Hamiltonian HuH_{u} with u=h,cu=h,c. The most general form of the unitary evolution, during the work stroke, then reads

U=\displaystyle U= 1α(eiφ|+h+c|+eiφ|hc|)\displaystyle\sqrt{1-\alpha}\left(e^{-i\varphi}|+_{h}\rangle\langle+_{c}|+e^{i\varphi}|-_{h}\rangle\langle-_{c}|\right) (30)
α(|+hc||h+c|),\displaystyle-\sqrt{\alpha}\Big{(}|+_{h}\rangle\langle-_{c}|-|-_{h}\rangle\langle+_{c}|\Big{)},
U~=\displaystyle\tilde{U}= 1α(eiφ|+c+h|+eiφ|ch|)\displaystyle\sqrt{1-\alpha}\left(e^{-i\varphi}|+_{c}\rangle\langle+_{h}|+e^{i\varphi}|-_{c}\rangle\langle-_{h}|\right) (31)
+α(|+ch||c+h|).\displaystyle+\sqrt{\alpha}\Big{(}|+_{c}\rangle\langle-_{h}|-|-_{c}\rangle\langle+_{h}|\Big{)}.

Above U~CUC\tilde{U}\equiv C^{*}U^{\dagger}C is the evolution operator for the time-reversed protocol with the antiunitary operator KK chosen to be the complex conjugation operator CC. Here α[0,1]\alpha\in[0,1] is the transition probability between the ground and the excited states and φ\varphi is the corresponding phase (both parameters depend on the stroke protocol and in particular on its duration). The limiting case α=0\alpha=0 refers to an adiabatic process while α=1\alpha=1 corresponds to a swap. For example, a Landau-Zener protocol is described by the time-dependent Hamiltonian

H(t)=vt2σzϵcσx,H(t)=-\frac{vt}{2}\sigma_{z}-\epsilon_{c}\sigma_{x}\>, (32)

where the velocity of the drive, v=4ϵh2ϵc2/T1v=4\sqrt{\epsilon_{h}^{2}-\epsilon_{c}^{2}}/T_{1}, is chosen such that the eigenvalues of the Hamiltonian change from ±ϵc\pm\epsilon_{c} at t=0t=0 to ±ϵh\pm\epsilon_{h} at t=T1/2t=T_{1}/2, the time corresponding to the duration of a work stroke. The parameters specifying the unitary operator UU are given in Ref. [51] by

α\displaystyle\alpha =\displaystyle= e2πδ,δ=ϵcT14(ϵhϵc)21,\displaystyle e^{-2\pi\delta},\quad\delta=\frac{\epsilon_{c}T_{1}}{4\sqrt{(\frac{\epsilon_{h}}{\epsilon_{c}})^{2}-1}},
φ\displaystyle\varphi =\displaystyle= π4δ(logδ1)argΓ(1iδ).\displaystyle\frac{\pi}{4}-\delta(\log{\delta}-1)-\mathrm{arg}\Gamma(1-i\delta). (33)

where Γ(z)\Gamma(z) denotes the Gamma function. For other protocols characterized by a single parameter see Ref. [52] and for more general cases Ref. [53, 54].

In the first instance we shall not refer to a particular work protocol and use the general form of a unitary time evolution UU as specified by Eq. (30). Before we do so, we consider the heating and cooling strokes of the two-level working substance that are achieved by a coupling to the heat reservoirs at temperatures ThT_{h} and TcT_{c}, respectively. Depending on the duration and the strength of the respective contacts perfect or imperfect thermalization of the two-level system can be reached.

III.2 Perfect thermalization

Provided that the contact between the working substance and the heat bath is sufficiently long, the finally reached reduced state of the two-level system is always the same, dependent on the temperature of the heat bath and the strength of the interaction but independent of its state ρ\rho at the beginning of the contact. Hence, the operation Φu\Phi_{u}, u=h,cu=h,c describing a perfect thermalization stroke is given by the projection onto the final state ρβ\rho_{\beta} and can be written as

Φu(ρ)=ρuTr[ρ].\Phi_{u}(\rho)=\rho_{u}\mathrm{Tr}[\rho]. (34)

Only for weak coupling ρu\rho_{u}, u=h,cu=h,c coincides with the Gibbs state ρuexp[βuHu]\rho_{u}\propto\exp[-\beta_{u}H_{u}] defined by the Hamiltonian of the two-level system at the inverse temperature βu\beta_{u}. While these states lack coherence the latter may be found in generalized Gibbs states resulting from the partial trace of the total system’s Gibbs state with respect to the bath [40, 42]. For a perturbative treatment in the coupling strength up to second order see Append. A.

In the asymptotic limit of an initially sharp pointer state with Σ=0\Sigma=0 the joint work and heat PDFs characterizing a single cycle are identical for repeated measurements and repeated contacts (two-pointer scheme), i.e., P1RM(W,Q)=P1RC(W,Q)P^{\mathrm{RM}}_{1}(W,Q)=P^{\mathrm{RC}}_{1}(W,Q). The first two moments can be expressed as

W\displaystyle\langle W\rangle =\displaystyle= 𝒜c,hϵh+𝒜h,cϵc,W2=2c,h(ϵc2+ϵh2)+[1c,h12α(12α)(1+c,h)]ϵcϵh,\displaystyle\mathcal{A}_{c,h}\,\epsilon_{h}+\mathcal{A}_{h,c}\,\epsilon_{c},\quad\quad\langle W^{2}\rangle=2\mathcal{B}_{c,h}\left(\epsilon_{c}^{2}+\epsilon_{h}^{2}\right)+\left[\frac{1-\mathcal{B}_{c,h}}{1-2\alpha}-(1-2\alpha)\left(1+\mathcal{B}_{c,h}\right)\right]\epsilon_{c}\epsilon_{h}, (35)
Q\displaystyle\langle Q\rangle =\displaystyle= 𝒜c,hϵh,Q2=2c,hϵh2,\displaystyle-\mathcal{A}_{c,h}\,\epsilon_{h},\quad\quad\quad\quad\quad~{}~{}\langle Q^{2}\rangle=2\mathcal{B}_{c,h}\,\epsilon_{h}^{2}, (36)
WQ\displaystyle\langle WQ\rangle =\displaystyle= 2c,hϵh212[1c,h12α(12α)(1+c,h)]ϵcϵh,\displaystyle-2\mathcal{B}_{c,h}\,\epsilon_{h}^{2}-\frac{1}{2}\left[\frac{1-\mathcal{B}_{c,h}}{1-2\alpha}-(1-2\alpha)\left(1+\mathcal{B}_{c,h}\right)\right]\epsilon_{c}\epsilon_{h}, (37)

with 𝒜c,h=2(α+dcdh2αdc)\mathcal{A}_{c,h}=2\left(\alpha+d_{c}-d_{h}-2\alpha d_{c}\right) and c,h=1(12α)(12dc)(12dh)\mathcal{B}_{c,h}=1-(1-2\alpha)(1-2d_{c})(1-2d_{h}). Here, dcd_{c} and dhd_{h} denote the populations of the exited states of the cold and the hot density matrices, respectively, see the Eqs. (53) and (LABEL:d) in Append. A. Even when the Gaussian pointer has a finite width Σ0\Sigma\neq 0, the differences between repeated measurements and contacts in the average values of work and heat are of the order exp[ϵc(h)2/(2Σ2)]\exp[-\epsilon^{2}_{c(h)}/(2\Sigma^{2})] which could be extremely small for a precise measurement apparatus, i.e. if ϵc(h)<Σ\epsilon_{c(h)}<\Sigma. On the other hand, the second moments differ by 3Σ2+𝒪(exp[ϵc(h)2/(2Σ2)])3\Sigma^{2}+\mathcal{O}(\exp[-\epsilon_{c(h)}^{2}/(2\Sigma^{2})]) which is dominated by the 3Σ23\Sigma^{2} term arising due to the difference in the number of measurements. Accordingly, also the reliability [see Eq. (28)] differs for repeated contacts and repeated measurements. Overall, however, even though the two measurement schemes are quite different they do not show major significant differences for a perfectly thermalizing quantum Otto engine.

III.3 Imperfect thermalization

Perfect thermalization requires long times during which the working substance is coupled to one of the two heat baths, leading to long cycle periods and correspondingly small power output of the engine. The dynamics of the relaxation process in general is very complicated. A substantial simplification occurs only at week coupling in the Markovian limit in which the dynamics is governed by a Lindblad equation

ρu˙(t)=i[Hu,ρu]+Γu+𝒟u+[ρu]+Γu𝒟u[ρu],\dot{\rho_{u}}(t)=-i[H_{u},\rho_{u}]+\Gamma_{u}^{+}\mathcal{D}_{u}^{+}[\rho_{u}]+\Gamma_{u}^{-}\mathcal{D}_{u}^{-}[\rho_{u}], (38)

with the subscript u=c,hu=c,h, the dissipators 𝒟u±[ρu]=2LuρuLu±{Lu±Lu,ρu}\mathcal{D}_{u}^{\pm}[\rho_{u}]=2L^{\mp}_{u}\rho_{u}L^{\pm}_{u}-\{L^{\pm}_{u}L^{\mp}_{u},\rho_{u}\}, the rates Γu±=γϵu/(1+exp[2βuϵu])\Gamma_{u}^{\pm}=\gamma\epsilon_{u}/(1+\exp[\mp 2\beta_{u}\epsilon_{u}]), and the Lindblad jump operators Lu±=|±uu|L^{\pm}_{u}=|\pm_{u}\rangle\langle\mp_{u}|. The Hamiltonians HuH_{u} are given by Eq. (29). Even though the stationary solutions of the master equations for the hot and the cold heat baths are given by the Gibbs states, corresponding to the Hamiltonians HuH_{u} at the respective temperatures βu\beta_{u} and hence do not possess any coherence, the solutions of the master equations at any finite time in general do contain coherences. This leads to differences between repeated measurements and repeated contacts even in the limit of infinite precision (Σ0\Sigma\rightarrow 0). For a single cycle, starting at some initial state ρ=d|+c+c|+(1d)|cc|+[q|+cc|+h.c.]\rho=d|+_{\mathrm{c}}\rangle\langle+_{\mathrm{c}}|+(1-d)|-_{\mathrm{c}}\rangle\langle-_{\mathrm{c}}|+[q|+_{\mathrm{c}}\rangle\langle-_{\mathrm{c}}|+\mathrm{h.c.}] one finds the following expressions for the first two moments of work and heat for a small pointer state variance including leading order 𝒪(Σ2)\mathcal{O}(\Sigma^{2}) corrections:

WRM\displaystyle\langle W\rangle^{\mathrm{RM}} =\displaystyle= 2α(1α)[ϵhtanh(βhϵh)(1e2γθ)+ϵc(12d)(1+e2γθ)]\displaystyle 2\alpha(1-\alpha)\left[\epsilon_{h}\tanh\left(\beta_{h}\epsilon_{h}\right)(1-e^{-2\gamma\theta})+\epsilon_{c}(1-2d)(1+e^{-2\gamma\theta})\right] (39)
+j=0,1[(1)jϵh+ϵc][1+(1)j(2α1)]2(e(1)jβhϵheβhϵh+eβhϵhd)(1e2γθ),\displaystyle+\sum_{j=0,1}\left[(-1)^{j}\epsilon_{h}+\epsilon_{c}\right]\left[1+(-1)^{j}\left(2\alpha-1\right)\right]^{2}\left(\frac{e^{(-1)^{j}\beta_{h}\epsilon_{h}}}{e^{\beta_{h}\epsilon_{h}}+e^{-\beta_{h}\epsilon_{h}}}-d\right)\left(1-e^{-2\gamma\theta}\right),
WRC\displaystyle\langle W\rangle^{\mathrm{RC}} =\displaystyle= WRM4ϵcα(1α)(12d)eγθcos(2(θ+φ)),\displaystyle\langle W\rangle^{\mathrm{RM}}-4\epsilon_{c}\alpha(1-\alpha)(1-2d)e^{-\gamma\theta}\cos\left(2(\theta+\varphi)\right), (40)
W2RM\displaystyle\langle W^{2}\rangle^{\mathrm{RM}} =\displaystyle= 4(ϵh2+ϵc2){(α+d2αd)+[(12d)(12α)2α2d]eβhϵheβhϵh+eβhϵh}(1e2γθ)\displaystyle 4\left(\epsilon_{h}^{2}+\epsilon_{c}^{2}\right)\bigg{\{}(\alpha+d-2\alpha d)+\left[(1-2d)(1-2\alpha)-2\alpha^{2}d\right]\frac{e^{-\beta_{h}\epsilon_{h}}}{e^{\beta_{h}\epsilon_{h}}+e^{-\beta_{h}\epsilon_{h}}}\bigg{\}}\left(1-e^{-2\gamma\theta}\right) (41)
+8ϵhϵc{α2(12d)(12α)d[(12d)(12α)2α2d]eβhϵheβhϵh+eβhϵh}(1e2γθ)\displaystyle+8\epsilon_{h}\epsilon_{c}\bigg{\{}\alpha^{2}(1-2d)-(1-2\alpha)d-\left[(1-2d)(1-2\alpha)-2\alpha^{2}d\right]\frac{e^{-\beta_{h}\epsilon_{h}}}{e^{\beta_{h}\epsilon_{h}}+e^{-\beta_{h}\epsilon_{h}}}\bigg{\}}\left(1-e^{-2\gamma\theta}\right)
+4ϵc2α(1α)e2γθ+4Σ2,\displaystyle+4\epsilon_{c}^{2}\alpha(1-\alpha)e^{-2\gamma\theta}+4\Sigma^{2},
W2RC\displaystyle\langle W^{2}\rangle^{\mathrm{RC}} =\displaystyle= W2RM8ϵc2α(1α)eγθcos(2(θ+φ))3Σ2,\displaystyle\langle W^{2}\rangle^{\mathrm{RM}}-8\epsilon_{c}^{2}\alpha(1-\alpha)e^{-\gamma\theta}\cos\left(2(\theta+\varphi)\right)-3\Sigma^{2}, (42)
WQRC\displaystyle\langle WQ\rangle^{\mathrm{RC}} =\displaystyle= 4ϵh2{(α+d2αd)+[(12d)(12α)2α2d]eβhϵheβhϵh+eβhϵh}(1e2γθ)\displaystyle-4\epsilon_{h}^{2}\bigg{\{}(\alpha+d-2\alpha d)+\left[(1-2d)(1-2\alpha)-2\alpha^{2}d\right]\frac{e^{-\beta_{h}\epsilon_{h}}}{e^{\beta_{h}\epsilon_{h}}+e^{-\beta_{h}\epsilon_{h}}}\bigg{\}}\left(1-e^{-2\gamma\theta}\right) (43)
4ϵhϵc{α2(12d)(12α)d[(12d)(12α)2α2d]eβhϵheβhϵh+eβhϵh}(1e2γθ),\displaystyle-4\epsilon_{h}\epsilon_{c}\bigg{\{}\alpha^{2}(1-2d)-(1-2\alpha)d-\left[(1-2d)(1-2\alpha)-2\alpha^{2}d\right]\frac{e^{-\beta_{h}\epsilon_{h}}}{e^{\beta_{h}\epsilon_{h}}+e^{-\beta_{h}\epsilon_{h}}}\bigg{\}}\left(1-e^{-2\gamma\theta}\right),
WQRM\displaystyle\langle WQ\rangle^{\mathrm{RM}} =\displaystyle= WQRC2Σ2,\displaystyle\langle WQ\rangle^{\mathrm{RC}}-2\Sigma^{2}, (44)

where θ=ϵhτh\theta=\epsilon_{h}\tau_{h} with τh\tau_{h} being the duration of the hot bath stroke. A dependence of the moments on the initial coherence parameter qq is only seen in higher order Σ2\Sigma^{2} corrections. From the expressions of these moments the according variances and the covariance of work and heat can be obtained. Instead of these bulky expressions we present the variances and covariances for the two monitoring schemes in Fig. 2a, b as functions of θ\theta. The difference between repeated measurements and repeated contacts is governed by damped oscillations stemming from the eγθcos(2(θ+φ))e^{-\gamma\theta}\cos\left(2(\theta+\varphi)\right)-term in the deviation of the first two work moments, see Eqs. (40), (42) and Fig. 2c, d. Yet, the maximal amplitude of these oscillations is rather small rendering the (co)variances for repeated measurements and repeated contacts almost identical.

Refer to caption
Figure 2: The variance of work δW2=W2W2\langle\delta W^{2}\rangle=\langle W^{2}\rangle-\langle W\rangle^{2} and the covariance of work and heat, δWδQ=WQWQ\langle\delta W\delta Q\rangle=\langle WQ\rangle-\langle W\rangle\langle Q\rangle, for repeated contacts and repeated measurements for a single cycle as a function of the dimensionless time of contact with the heat baths, θ=ϵhτh=ϵcτc\theta=\epsilon_{h}\tau_{h}=\epsilon_{c}\tau_{c} are drawn in panels a and b respectively. The dashed horizontal lines represent the asymptotic values in the perfect thermalization limit θ\theta\rightarrow\infty. In both of the plots, the differences, which are almost imperceptible in the panels a and b, can be divided into two parts. The first part is the constant shift proportional to Σ2\Sigma^{2} in Eqs. (42) and (44). The remaining nontrivial differences (NTD), which are plotted in panels c (for δW2\langle\delta W^{2}\rangle) and d (for δWδQ\langle\delta W\delta Q\rangle), result from the terms proportional to cos(2(θ+φ))\cos(2(\theta+\varphi)) in the Eqs. (40) and (42). The engine parameters are as follows: The initial half energy gap ϵc=1\epsilon_{c}=1, the final half energy gap ϵh=3.7\epsilon_{h}=3.7, and the Gaussian width of the measurement is Σ=0.2\Sigma=0.2. The work strokes are characterized by α=0.1\alpha=0.1 and φ=0\varphi=0. The imperfect thermalization strokes follow a master equation dynamics which asymptotically approaches Gibbs states at the temperatures βc=0.25\beta_{c}=0.25, βh=0.025\beta_{h}=0.025 at the relaxation rate γ=0.025\gamma=0.025. The engine is started in the invariant state ρ\rho^{*} [Eq. (45)] of the unobserved cycle dynamics given by the Eq. (74).

The moments of heat can be obtained by setting ϵc=0\epsilon_{c}=0 and multiplying appropriate global signs (negative for odd order moments and positive for even ones) in the expressions for the moments of work. As seen from the above equations, this also implies that the average heat for two-pointer repeated contacts and repeated measurements are the same, i.e., Q=QRM=QRC\langle Q\rangle=\langle Q\rangle^{\mathrm{RM}}=\langle Q\rangle^{\mathrm{RC}}. The variances of the heat are not displayed. They behave in a similar way as the those of the work as presented in Fig. 2 with solely a constant difference of 3Σ23\Sigma^{2} between repeated measurements and repeated contacts and therefore are not extra displayed. Note that the engine may starts at an arbitrary initial state specified by the parameters dd and qq. Here and in the following examples, however, we will initiate the monitored sequence of NN cycles with the invariant state ρ\rho^{*} of the map \mathcal{F}, i.e.

ρ=(ρ)\rho^{*}=\mathcal{F}(\rho^{*}) (45)

where

(ρ)=Φc(U~Φh(UρU)U~)\mathcal{F}(\rho)=\Phi_{c}(\tilde{U}\Phi_{h}(U\rho U^{\dagger})\tilde{U}^{\dagger}) (46)

describes the dynamics of a complete cycle in the absence of any monitoring.

Furthermore we note that the master equation (38), which governs the thermalization strokes of the engine, leads to decoupled equations of motion for the populations and coherences. Hence, the thermalization maps Φu\Phi_{u} resulting as the solutions of the master equation (38) obey the conditions

Tr[Lu±Φu(𝒫uk)]=Tr[𝒫ukΦu(Lu±)]=Tr[Lu±Φu(Lu)]=0,\mathrm{Tr}[L^{\pm}_{u}\Phi_{u}(\mathcal{P}^{k}_{u})]=\mathrm{Tr}[\mathcal{P}^{k}_{u}\Phi_{u}(L^{\pm}_{u})]=\mathrm{Tr}[L^{\pm}_{u}\Phi_{u}(L^{\mp}_{u})]=0, (47)

with swap-operators Lu±=|±uu|L^{\pm}_{u}=|\pm_{u}\rangle\langle\mp_{u}|, as defined below Eq. (38), and 𝒫uk=|kuku|\mathcal{P}^{k}_{u}=|k_{u}\rangle\langle k_{u}| with k=±k=\pm, denoting the projection operators onto the eigenstates of the Hamiltonian HuH_{u}. Due to this decoupling, the work PDFs for one- and two-pointer repeated contacts become identical and we denote the average value as WRC\langle W\rangle^{\mathrm{RC}} (see Append. B for more details). In the limit θ\theta\rightarrow\infty, Σ=0\Sigma=0, and ρ=ρc\rho=\rho_{c}, which leads to perfect thermalization, Eqs. (39)–(44) match Eqs. (35)–(37). For a highly non-adiabatic work stroke (α\alpha large) the cosine terms in the expressions for the first two moments play a significant role. Then the sign of cos(2(θ+φ))\cos(2(\theta+\varphi)) determines which one of the two monitoring schemes leads to a larger work on average for a single cycle. This affects also the efficiency of the engine because the average heat is the same for either scheme.

IV Numerical results

For a working substance with a dd-dimensional Hilbert space, the number of possible realizations of (m,m)(\vec{m},\vec{m}^{\prime}) increases exponentially as d8Nd^{8N}, and so do the coefficients Dm,mD^{\vec{m},\vec{m}^{\prime}}. Hence, the computational resources (CPU time and RAM) required to track the individual coefficients become inaccessible even for d=2d=2 already at a moderately large number of cycles. To avoid this numerical impossibility, we device a scheme to reduce the computational complexity to N2N^{2} by grouping terms according to their work values. The scheme (see Append. C for details) is restricted to a two-level working substance undergoing thermalization strokes that are governed by decoupled population and coherence dynamics as specified by Eq. (47). Under these conditions the method is exact and allows us to obtain the work distributions for a large number of cycles such that the asymptote can be reached.

IV.1 One cycle, perfect thermalization

Refer to caption
Figure 3: Panels a–b display the probability density functions (PDFs) of work for adiabatic work strokes (α=0\alpha=0) and different measurement schemes (a) as well as for different non-adiabatic work strokes (b). Solid lines represent two-pointer repeated contacts PDFs, and the dashed line presents the PDF for repeated measurements. One-pointer results are not drawn since they are exactly the same as two-pointer scheme for α=0\alpha=0 and have a negligible difference for α0\alpha\neq 0. Panel c displays the joint PDF of work and heat calculated for repeated measurements, and d is the joint PDF calculated for two-pointer repeated contacts. The PDFs are computed for perfect thermalization with thermal baths at inverse temperatures βc=0.25\beta_{c}=0.25, βh=0.025\beta_{h}=0.025, both characterized by the the same Ohmic spectal density with Lorentz-Drude cut-off frequency ωD=0.2\omega_{D}=0.2, system-operator S=σz+σxS=\sigma_{z}+\sigma_{x}, and damping coefficient γ=0.5\gamma=0.5. This results in density matrices with an excited-state probability dc=0.37759d_{c}=0.37759 and dh=0.45388d_{h}=0.45388, and coherence qu=+u|ρu|uq_{u}=\langle+_{u}|\rho_{u}|-_{u}\rangle given by qh=1.9205×106q_{h}=-1.9205\times 10^{-6} and qc=5.0813×105q_{c}=5.0813\times 10^{-5} (see Append. A for details). The phase during the non-adiabatic evolution is set to φ=0\varphi=0 in all cases, and the joint PDF is shown for α=0.1\alpha=0.1. The engine is started in the generalized Gibbs state of the cold bath with parameters dcd_{c} and qcq_{c}. All other parameters are the same as in Fig. 2.

Figure 3 presents the joint and marginal work and heat PDFs of an engine with perfect thermalization for a single cycle (N=1N=1). Panel a displays the work PDFs for repeated measurements and repeated contacts for adiabatic work strokes, i.e., for α=0\alpha=0. In this case, there is no difference between the marginal two-pointer work PDF given by Eq. (25) and the one-pointer work PDF (26) as explained in Append. D. In accordance with the Eq. (26) the PDF consists of three peaks located at W=0W=0 and W=±2(ϵcϵh)W=\pm 2(\epsilon_{c}-\epsilon_{h}) because transitions between different energy levels are impossible for adiabatic work strokes. These peaks are broader for repeated measurements compared to repeated contacts. This feature prevails for non-adiabatic work strokes. In panel b we present the results for moderately and strongly non-adiabatic work strokes. In order not to clutter the plot we present only the work PDFs resulting from repeated contacts. With decreasing adiabaticity (increasing α\alpha) six further peaks appear in accordance with Eq. (26) accompanied by a decrease of the weights of the three adiabatic peaks. At the same time the weights of those peaks at positive work values may increase to such an extent that the average work becomes positive. That means that the engine only consumes energy rather than to perform work. As for classical engines any non-adiabaticity is detrimental with respect to the efficiency but must be accepted to achieve finite power. The same features as described for repeated contacts also hold for the repeated measurement PDFs with the only difference that their peaks are broader.

Figures 3c and d present the joint work and heat PDFs for repeated measurements and contacts, respectively. In the case of repeated measurements, each individual Gaussian contribution contains a negative covariance indicating an anti-correlation of the according work and heat contributions. In contrast, for repeated contacts the individual Gaussian contributions are isotropic. In both cases the main contribution to the covariance of work and heat results from the linear superposition of the individual Gaussian distributions.

IV.2 NN cycles, imperfect thermalization

Refer to caption
Figure 4: Panel a presents a plot of the work PDFs for repeated measurements (red) and repeated contacts (black) for N=5N=5 cycles and panel b does so for N=100N=100. Two-pointer and one-pointer repeated contacts give exactly the same PDFs of work due to the dynamical decoupling between populations and coherences during the thermalization process (see text for details). While for repeated contacts separate sharp lines with NN-independent widths remain visible also for large numbers of cycles, the according terms for repeated measurements contribute with a width N\propto\sqrt{N} and hence merge in a broad, practically Gaussian PDF. Panel c and d display the average work output per cycle and the engine’s reliability, respectively. The horizontal black dashed lines in c correspond to the asymptotic values of the average work per cycle obtained from the analytic maps described in Append. B. The reliability scales as the square root of the cycle number NN for large NN. The repeated measurement scheme has a detrimental impact on the engine in terms of both average work output and reliability. The work strokes are characterized by non-adiabatic parameters α=0.05\alpha=0.05, φ=0\varphi=0. The energy gaps are chosen as ϵc=1\epsilon_{c}=1 and ϵh=3.7\epsilon_{h}=3.7. The bath parameters are βc=0.25\beta_{c}=0.25, βh=0.025\beta_{h}=0.025, the coupling constant γ=0.025\gamma=0.025, and the thermalization times is taken such that θ=ϵcτc=ϵhτh=8\theta=\epsilon_{c}\tau_{c}=\epsilon_{h}\tau_{h}=8. All pointer states initially are Gaussian with a width of Σ=0.2\Sigma=0.2. The engine is started in the according invariant state ρ\rho^{*} [Eq. (45)] of the unobserved cycle dynamics given by the Eq. (74).

Numerical results for adiabatic and non-adiabatic work strokes and imperfect thermalization are presented in Fig. 4. The panels a and b display the work PDFs for repeated measurements and repeated contacts for two different numbers of cycles NN. For the smaller number of cycles, N=5N=5, still several peaks are visible in the repeated measurements work PDF. Because their widths grow as N\sqrt{N} this multiply peaked structure disappears with increasing number of cycles to finally approach a Gaussian shape, which in the present case is virtually indistinguishable from the exact PDF for N=30N=30. In contrast, the fine-structure of the repeated contact work PDF remains visible also for large numbers of cycles due to the fact that the widths of the individual Gaussian contributions are solely determined by the initial pointer state and hence are NN independent.

In Fig. 4c the average work per cycle is displayed as it results as a function of the number of cycles both for repeated measurements (red closed circles) and repeated contacts (blue crosses). The initial state of the working substance is chosen as the asymptotic state of an unobserved engine reached after sufficiently many cycles. Only for a single cycle (N=1N=1) the average work for repeated measurements is larger than that for repeated contacts. For any larger number of cycles the repeated contact scenario outperforms the repeated measurements both with respect to the average work (see panel c) and the reliability (see panel d). As a function of the number of cycles, the work behaves like a biased random walk in that its first and second moments asymptotically grow in proportion to the number of cycles yielding a constant work per cycle and a reliability that increases as the square root of the number of cycles.

For repeated measurements a map can be constructed that assigns the density matrix of the working substance after a cycle to any initial density matrix. The map possesses a unique invariant state describing the asymptotic regime of a large number of cycles. This state can be used to calculate the asymptotic average work per cycle, see Append. B. Even though such a map of the reduced working substance density matrix does not exist for repeated contacts, in the special cases of the Lindblad equation (38) that dynamically decouples populations and coherences, the asymptotic value of the average work can be determined from the asymptotic density matrix in the absence of any contacts or measurements, see Append. B. This unobserved asymptotic density matrix of the working substance can again be obtained as the invariant state of a quantum map in the absence of contacts as considered in Ref. [55]. The resulting average works are presented in panel c as dashed black lines.

IV.3 Power of a Landau-Zener engine

So far we have characterized the two work strokes by the Hamiltonians of the expanded and the compressed working substances [see Eqs. (32) and (33)] and unitary operators specifying the changes of its state, however, without specifying a particular forcing protocol. As a consequence, the duration of the work strokes is not specified. In general, determining the unitary time evolution operator for a particular forcing protocol of given duration presents a nontrivial task [52, 54]. In order to also have full control over the duration of an engine cycle we consider a forcing protocol with a linear driving as specified in Eq. (32). The unitary time evolution for a work stroke of the duration T1/2T_{1}/2 is then determined by the parameters as given in the Eq. (33). The duration of the thermalization strokes, τh\tau_{h} and τc\tau_{c} are assumed to be fixed by a the single parameter θ=ϵcτc=ϵhτh\theta=\epsilon_{c}\tau_{c}=\epsilon_{h}\tau_{h}, resulting in the total thermalization time

T2=τc+τh=θ(1/ϵh+1/ϵc)T_{2}=\tau_{c}+\tau_{h}=\theta(1/\epsilon_{h}+1/\epsilon_{c}) (48)

Therefore, a single cycle takes the time T1+T2T_{1}+T_{2}. The power of the engine is given by

P=WT1+T2.P=-\frac{\langle W\rangle}{T_{1}+T_{2}}. (49)

where W\langle W\rangle denotes the average work performed on the working substance per cycle.

Refer to caption
Figure 5: Power per cycle (a-f) and average efficiency (g-l) as a function of work and heat stroke durations T1T_{1} and T2T_{2} with cycle number N=1N=1 (a, d, g, and j), N=20N=20 (b, e, h, and k), and N=N=\infty (c, f, i, and l; see Append. B). Panels a-c and g-i are for the engine measured via repeated contacts whereas the other panels are for repeated measurements. The white region in all panels correspond to the dud regime of the engine. The extended dark red regions in gl indicate regimes with efficiencies close to the ideal Otto engine value 1ϵc/ϵh0.731-\epsilon_{c}/\epsilon_{h}\approx 0.73. Fixed parameters are ϵc=1\epsilon_{c}=1, ϵh=3.7\epsilon_{h}=3.7, θ=ϵcτc=ϵhτh=8\theta=\epsilon_{c}\tau_{c}=\epsilon_{h}\tau_{h}=8, βc=0.25\beta_{c}=0.25, βh=0.025\beta_{h}=0.025, γ=0.025\gamma=0.025, and Σ=0.2\Sigma=0.2. The engine is always started in the invariant state ρ\rho^{*} [Eq. (45)] of the according unobserved cycle dynamics given by the Eq. (74).

In Fig. 5 the power and the efficiency for repeated contacts and repeated measurements as well as for different numbers of cycles are presented as functions of the duration of the work and thermalization strokes. The variance of the pointer states is chosen relatively small such that coherences that may build up during the non-adiabatic work strokes and also partially during an imperfect thermalization, are almost completely suppressed by repeated measurements while they can partly survive in the presence of repeated contacts. Because the generation of coherences is further suppressed in the limit of adiabatic work processes as well as for perfect thermalization, one finds substantial differences between repeated measurements and repeated contacts for small values of T1T_{1} and small to intermediate values of T2T_{2}. As already observed in Sec. IV.1, the total average work performed on the working substance in a single cycle becomes positive for perfect thermalization and work strokes with a sufficiently large parameter α\alpha and hence for a sufficiently short duration of the work strokes. This feature of a dud engine with formally negative power and efficiency persists for imperfect thermalization and also for any numbers of cycles at sufficiently small values of the work stroke duration T1T_{1} indicated as white regions in Fig. 5. The border between the regions of a properly working and a faulty engine displays well pronounced oscillations as a function of T2T_{2} for any number of cycles in the case of repeated contacts. The fact that these oscillations are visible in the case of repeated measurements only for small number of cycles indicates that they are caused by coherences which are suppressed by repeated measurements.

Refer to caption
Figure 6: Maximum power PP^{*}, with respect to durations T1T_{1} and T2T_{2}, of the engine as a function of cycle number NN for both repeated contacts and repeated measurements, blue and red symbols, respectively (panel a). The dashed lines represent the asymptotic values of maximum power of the engines in their periodic state asymptotically reached after many cycles, see Append. B. The deviations of the engine from this limiting behavior decay exponentially as the cycle number increases. Panel b represents the slowest decaying factor Λ2\Lambda_{2} (see B last paragraph for definition) in engines monitored by repeated contacts, while c is the corresponding plot of engines being repeatedly measured. The initial condition for the engine in panel a is again given by the according invariant state ρ\rho^{*} as in the previous figures. The other parameters ϵc=1\epsilon_{c}=1, ϵh=3.7\epsilon_{h}=3.7, θ=ϵcτc=ϵhτh=8\theta=\epsilon_{c}\tau_{c}=\epsilon_{h}\tau_{h}=8, βc=0.25\beta_{c}=0.25, βh=0.025\beta_{h}=0.025, and γ=0.025\gamma=0.025 are the same as in Fig. 5

The dependence of the maximal power P=maxT1,T2PP^{*}=\max_{T_{1},T_{2}}P on the number of cycles for repeated measurements and contacts is displayed in Fig. 6a. This maximum is chosen from the set of all engines with variable stroke times T1T_{1} and T2T_{2} and with all other parameters fixed. In both cases, the power approaches an asymptotic value at large numbers of cycles. While the asymptotic limit is reached from above already after a few cycles for repeated measurements, it is approached considerably slower from below for repeated contacts. The asymptotic values are indicated as broken horizontal lines. In both cases, these values can be determined from the invariant maps that propagate the density matrix cycle by cycle. For the repeated contact scenario, the map describes the dynamics in the absence of any monitoring, while for the repeated measurement scenario it describes the single-cycle engine dynamics in the presence of non-selective energy measurements at the times indicated in Fig. 1. For a more detailed description we refer to Append. B.

For the considered parameter values of the engine, the position where the maximum power is assumed in the T1T_{1}-T2T_{2} plane turns out to be almost independent of the number of cycles. Therefore, the convergence speed of the map as it is iterated, mainly determines the convergence of the power with increasing number of cycles as it can be seen in Fig. 6a. For sufficiently many cycles the convergence speed is ruled by the second largest eigenvalue of the respective map, while its largest eigenvalue is given by Λ1=1\Lambda_{1}=1. It is non-degenerate for all engines with a positive thermalization time T2>0T_{2}>0. The dependence of the second largest eigenvalue Λ2\Lambda_{2} as a function of T1T_{1} and T2T_{2} is exemplified in the panels Fig. 6b,c. In both scenarios the second eigenvalue converges for large thermalization times to zero, however much faster for repeated measurements than for repeated contacts in agreement with the faster convergence of the maximal power towards its asymptotic limit, i.e., Λ2RM<Λ2RC\Lambda^{RM}_{2}<\Lambda^{RC}_{2}. Outside the regime of short work strokes, the second eigenvalue is almost independent of T1T_{1} as it is primarily determined by the duration and strength of the thermalization strokes.

V Conclusions

In this paper, we compared two different monitoring schemes, both designed to record the statistics of work performed on and heat supplied to a quantum Otto engine over a specified number of engine cycles. Based on these statistics, we investigated the performance of such engines running subject to different modes of operation, such as different work strokes ranging from adiabatic to sudden compression and expansion of the working substance, and different types of heating and cooling strokes. The method was formulated for general working substances and exemplified for a two-level system acting as working substance.

Apart from the joint and marginal work and heat PDFs, we studied performance measures such as efficiency, power and reliability that are all determined by the first two moments of work and heat. For an engine that performs NN cycles, the two monitoring schemes are based on contacts of the working substance with one, two, or 4N4N pointers, depending on the particular scheme. These engine-pointer contacts are supposed to be so short that the dynamics of the working substance is frozen during these moments but effective enough to induce a change of the pointer state depending on the actual energy of the system.

For the repeated measurement scheme each contact is immediately followed by a projective measurement of the pointer state whose value corresponds to the energy of the working substance at the instant of the contact, hence representing a generalized energy measurement according to the von Neumann scheme. The precision of the measurement can be controlled by the position variance Σ2\Sigma^{2} of the initial pointer states which we supposed to be Gaussian and identical for all employed pointers. From the joint statistics of all measured energy values, the joint and marginal PDFs of work and heat can be found. These PDFs result as linear superpositions of Gaussian contributions with centers at work and heat values given by proper sums and differences of the 4N4N energy values but also fictitious values resulting from a double set of energies. The latter though are exponentially suppressed provided the variance Σ2\Sigma^{2} is sufficiently small. All contributing Gaussians are of the same shape with a variance growing proportionally to the number of cycles leading to a smeared-out, almost Gaussian PDF for sufficiently large numbers of cycles.

For repeated contacts there are just two pointers one being associated to work and the other one to heat. These pointers are “kept on” during the whole monitored period of cycles. At each contact the pointer state is modified according to the present energetic state of the working substance, left unchanged during the strokes and read out by projective position measurements only after the completion of NN cycles. The energetic states at the subsequent contacts are inscribed with alternating signs in the work pointer. For the heat pointer only those contacts before and after a heat stroke are registered with appropriate signs. It is interesting to note that the marginal distributions of work obtained from the joint work and heat PDF in general differ from the work PDF of a repeated contact scheme with only the work pointer but without the heat pointer. The same holds for the heat PDFs obtained either as the marginal of the joint work and heat PDF or as the outcome of a single heat pointer repeated contact scheme. This aspect of quantum contextuality is absent in the repeated measurement scheme. It indicates a higher sensitivity of the repeated contact scheme to the quantumness of a process as compared to the repeated measurement scheme.

The higher sensitivity of the repeated contact scheme is closely related to the lesser back-action of the sole contacts as compared to the individual read-out of the pointer-state position for repeated measurements leading to different suppression factors making long-lived coherences possible. In the example of an Otto engine with a two-level system working substance and imperfect thermalization strokes this manifests itself in an average work per cycle that first increases with the number of cycles and finally saturates at a constant value for repeated contacts. In contrast, for repeated measurements the average work per cycle decreases towards an asymptotic value that is smaller than that for repeated contacts. Accordingly, the power but also the efficiency as well as the reliability of the work, defined as the ratio of the average work and its root-mean-square deviation, are larger for repeated contacts than for repeated measurements provided that the engine protocol allows coherences being still present after a cycle. Due to the less strong back-action imposed by repeated contacts in comparison to repeated measurements these coherences may subsist leading to a better performance of a repeated-contacts-monitored engine. We expect that this behaviour is not restricted to the special case of a two-level working substance but that it prevails in general.

In a recent work, Watanabe et. al. [56] studied the amount of energy a quantum Otto engine may deposit into an external system over several engine cycles. The comparison of the amount of out-coupled energy into a “flywheel” with the energy produced by the free engine according to a repeated contact diagnostic scheme may provide further insight into the effectiveness of charging and discharging strategies of quantum batteries.

Acknowledgements

This research was supported by the Institute for Basic Science in Korea (IBS-R024-Y2).

Appendix A Generalized Gibbs state

The generalized Gibbs state can be obtained up to second order in system-bath interaction using canonical perturbation theory [42]. In this Appendix we omit the subscripts cc or hh used in the main text for the cold and hot reservoir for notational simplicity. The generalized Gibbs state

ρ=TrB[eβHtot]Tr[eβHtot],\rho=\frac{\mathrm{Tr}_{B}\left[e^{-\beta H_{\mathrm{tot}}}\right]}{\mathrm{Tr}\left[e^{-\beta H_{\mathrm{tot}}}\right]}, (50)

can be interpreted as the reduced density matrix of an extended system governed by the total Hamiltonian Htot=HS+HB+VH_{\mathrm{tot}}=H_{S}+H_{B}+V in a canonical state at the inverse temperature β\beta. Here, HSH_{S} and HBH_{B}, denote the Hamiltonians of the proper system and the bath, respectively and VV denotes the interaction. We assume that the bath is composed of independent Harmonic oscillators of frequency ωn\omega_{n} and the system-bath interaction takes the form V=SncnxnV=-S\otimes\sum_{n}c_{n}x_{n}, with SS being a system operator and xnx_{n} being the position operator of the nnth mode of the bath coupling to the system via strength cnc_{n}. Performing a perturbative expansion upto second-order in VV we obtain,

ρ=eβHSZS+DZSeβHSTr[D]ZS2.\rho=\frac{e^{-\beta H_{S}}}{Z_{S}}+\frac{D}{Z_{S}}-\frac{e^{-\beta H_{S}}\mathrm{Tr}[D]}{Z_{S}^{2}}. (51)

Above ZS=Tr[exp[βHS]]Z_{S}=\mathrm{Tr}[\exp[-\beta H_{S}]] is the system partition function of the bare system and the operator DD encodes information about finite system-bath coupling, i.e.,

D\displaystyle D =\displaystyle= eβHS[0β𝑑β10β1𝑑β2S~β1S~β2C(i(β1β2))].\displaystyle e^{-\beta H_{S}}\bigg{[}\int_{0}^{\beta}\,d\beta_{1}\int_{0}^{\beta_{1}}\,d\beta_{2}\,\tilde{S}_{\beta_{1}}\tilde{S}_{\beta_{2}}C(-i(\beta_{1}-\beta_{2}))\bigg{]}.

The operator S~x=exHSSexHS\tilde{S}_{\mathrm{x}}=e^{\mathrm{x}H_{S}}Se^{-\mathrm{x}H_{S}} is the imaginary time free evolution of the system operator and the force-force correlator C(τ)=n,ncncnTr[eβHBx~n(τ)xn]/Tr[eβHB]C(\tau)=\sum_{n,n^{\prime}}c_{n}c_{n^{\prime}}\mathrm{Tr}[e^{-\beta H_{B}}\tilde{x}_{n}(\tau)x_{n^{\prime}}]/\mathrm{Tr}[e^{-\beta H_{B}}] with x~n(τ)=eiτHBxneiτHB\tilde{x}_{n}(\tau)=e^{i\tau H_{B}}x_{n}e^{-i\tau H_{B}}. The force-force correlator can be expressed in terms of the spectral density of the bath,

J(ω)=πncn22mnωnδ(ωωn),J(\omega)=\pi\sum_{n}\frac{c_{n}^{2}}{2m_{n}\omega_{n}}\delta(\omega-\omega_{n}), (52)

as

C(τ)\displaystyle C(\tau) =\displaystyle= 0𝑑ωJ(ω)ω[coth(βω2)cos(ωτ)isin(ωτ)].\displaystyle\int_{0}^{\infty}\,d\omega\frac{J(\omega)}{\omega}\left[\coth\left(\frac{\beta\omega}{2}\right)\cos(\omega\tau)-i\sin(\omega\tau)\right].

For our perfectly thermalizing two-level Otto engine discussed in Sec. III we use the system operator S=σz+σxS=\sigma_{z}+\sigma_{x} such that the density matrix

ρ\displaystyle\rho =\displaystyle= d|++|+(1d)||+[q|+|+h.c.],\displaystyle d|+\rangle\langle+|+(1-d)|-\rangle\langle-|+[q|+\rangle\langle-|+\mathrm{h.c.}], (53)

with

d\displaystyle d =\displaystyle= eβϵZS(1+40β𝑑λ(βλ)sinh(2ϵλ)(1+e2βϵ)C(iλ)),\displaystyle\frac{e^{-\beta\epsilon}}{Z_{S}}\left(1+4\int_{0}^{\beta}\,d\lambda\frac{(\beta-\lambda)\sinh(2\epsilon\lambda)}{(1+e^{-2\beta\epsilon})}C(-i\lambda)\right),
q\displaystyle q =\displaystyle= eβϵZS0β𝑑λe2βϵ(e2ϵλ1)+(e2ϵλ1)ϵC(iλ),\displaystyle\frac{e^{-\beta\epsilon}}{Z_{S}}\int_{0}^{\beta}\,d\lambda\frac{e^{2\beta\epsilon}(e^{-2\epsilon\lambda}-1)+(e^{2\epsilon\lambda}-1)}{\epsilon}C(-i\lambda),

with ZS=eβϵ+eβϵZ_{S}=e^{\beta\epsilon}+e^{-\beta\epsilon}. Throughout this work we have used an Ohmic spectral density with Lorentz-Drude cut-off as J(ω)=γω/(1+ω2/ωD2)J(\omega)=\gamma\omega/(1+\omega^{2}/\omega_{D}^{2}) for all our numerical simulations.

Appendix B Reduced maps for measured engines

In this section, we present the methods to determine the map for the average work performed in the (N+1)(N+1)th cycle based on the knowledge of the average work performed during NN cycles. In case of repeated measurements, the map fully captures the distribution of work performed at any (N+1)(N+1)th cycle, whereas for repeated contacts we introduce a fictitious work distribution whose average is equivalent to the asymptotic average work per cycle. The method is explained for work performed in the last cycle but can likewise be applied for the heat absorbed in the last cycle.

B.1 Repeated measurements

First, we consider the case of repeated measurements. As described in Sec. II.2, in this case after every stroke a new Gaussian pointer is adopted, brought into contact with the engine, and measured. We begin with the non-normalised density matrix for (N+1)(N+1) cycles, using Eq. (6),

ϕxN+1RM(ρ)=mN+1,mN+1DmN+1,mN+1(ρ)k=14(N+1)σ(xkekmk,xkekmk).\phi^{\mathrm{RM}}_{\vec{x}_{N+1}}(\rho)=\sum_{\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}D^{\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}(\rho)\prod_{k=1}^{4(N+1)}\sigma\left(x_{k}-e_{k}^{m_{k}},x_{k}-e_{k}^{m_{k}^{\prime}}\right). (55)

Utilising the relation in Eq. (7), splitting the product above into one for NN cycles and the other for (N+1)(N+1)th cycle, and using the non-normalized density matrix for NN cycles [Eq. (6)] we can rewrite the above equation as,

ϕxN+1RM(ρ)\displaystyle\phi_{\vec{x}_{N+1}}^{\mathrm{RM}}(\rho) =\displaystyle= 𝐦,𝐦S𝐦,𝐦(ϕxNRM(ρ))\displaystyle\sum_{\mathbf{m},\mathbf{m}^{\prime}}S^{\mathbf{m},\mathbf{m}^{\prime}}\left(\phi_{\vec{x}_{N}}^{\mathrm{RM}}(\rho)\right) (56)
×k=4N+14(N+1)σ(xkekmk,xkekmk).\displaystyle\times\prod_{k=4N+1}^{4(N+1)}\sigma\left(x_{k}-e_{k}^{m_{k}},x_{k}-e_{k}^{m_{k}^{\prime}}\right).

The work performed in the (N+1)(N+1)th cycle is given by

W(N+1)=k=4N+14(N+1)(1)kek,W^{(N+1)}=\sum_{k=4N+1}^{4(N+1)}(-1)^{k}e_{k}, (57)

and its corresponding PDF is

PRM(W(N+1))\displaystyle P^{\mathrm{RM}}(W^{(N+1)}) =\displaystyle= d4(N+1)xδ(W(N+1)k=4N+14(N+1)(1)kxk)p(xN+1),\displaystyle\int d^{4(N+1)}x\,\delta\left(W^{(N+1)}-\sum_{k=4N+1}^{4(N+1)}(-1)^{k}x_{k}\right)p(\vec{x}_{N+1}), (58)

with p(xN+1)=Tr[ϕxN+1RM(ρ)]p(\vec{x}_{N+1})=\mathrm{Tr}[\phi_{\vec{x}_{N+1}}^{\mathrm{RM}}(\rho)] according to Eq. (9). Noting that the integration variables within the delta function depend only on the (N+1)(N+1)th cycle pointer positions xkx_{k}, the integral can be split as,

PRM(W(N+1))=𝑑𝐱δ(W(N+1)k=4N+14(N+1)(1)kxk)d4Nxp(xN+1),P^{\mathrm{RM}}(W^{(N+1)})=\int d\mathbf{x}\,\delta\left(W^{(N+1)}-\sum_{k=4N+1}^{4(N+1)}(-1)^{k}x_{k}\right)\int d^{4N}x\,p(\vec{x}_{N+1}), (59)

with 𝐱\mathbf{x} defined by xN+1=xN𝐱\vec{x}_{N+1}=\vec{x}_{N}\oplus\mathbf{x}. All information about the previous NN cycles is contained in the rightmost integral above. Hence, using Eq. (56) this integral can be expressed as,

d4Nxp(xN+1)\displaystyle\int d^{4N}x\,p(\vec{x}_{N+1}) =\displaystyle= 𝐦,𝐦Tr[S𝐦,𝐦(d4NxϕxNRM(ρ))]\displaystyle\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}\left(\int d^{4N}x\,\phi_{\vec{x}_{N}}^{\mathrm{RM}}(\rho)\right)\right]
×k=4N+14(N+1)σ(xkekmk,xkekmk).\displaystyle\times\prod_{k=4N+1}^{4(N+1)}\sigma\left(x_{k}-e_{k}^{m_{k}},x_{k}-e_{k}^{m_{k}^{\prime}}\right).

The simplification on the r.h.s. implies that as long as we know the map S𝐦,𝐦S^{\mathbf{m},\mathbf{m}^{\prime}} and the state it acts on, i.e., d4NxϕxNRM(ρ)\int d^{4N}x\,\phi_{\vec{x}_{N}}^{\mathrm{RM}}(\rho), we can evaluate the work distribution PRM(W(N+1))P^{\mathrm{RM}}(W^{(N+1)}). Thus, the task reduces to finding the map FRMF^{\mathrm{RM}}, such that,

d4NxϕxNRM(ρ)=FRM(d4N4xϕxN1RM(ρ)).\int d^{4N}x\,\phi_{\vec{x}_{N}}^{\mathrm{RM}}(\rho)=F^{\mathrm{RM}}\left(\int d^{4N-4}x\,\phi_{\vec{x}_{N-1}}^{\mathrm{RM}}(\rho)\right). (60)

Using Eq. (56) with NN1N\rightarrow N-1 and integrating both sides we can easily obtain the map,

FRM(ϱ)=𝐦~,𝐦~S𝐦~,𝐦~(ϱ)k=4N34Ne18Σ2(ekmkekmk)2,F^{\mathrm{RM}}(\varrho)=\sum_{\mathbf{\tilde{m}},\mathbf{\tilde{m}}^{\prime}}S^{\mathbf{\tilde{m}},\mathbf{\tilde{m}}^{\prime}}(\varrho)\prod_{k=4N-3}^{4N}e^{-\frac{1}{8\Sigma^{2}}\left(e_{k}^{m_{k}}-e_{k}^{m_{k}^{\prime}}\right)^{2}}, (61)

where ϱ=d4N4xϕxN1RM(ρ)\varrho=\int d^{4N-4}x\,\phi_{\vec{x}_{N-1}}^{\mathrm{RM}}(\rho), 𝐦~(){\bf\tilde{m}^{(\prime)}} are defined by the sequence mN()=mN1()𝐦~()\vec{m}^{(\prime)}_{N}=\vec{m}^{(\prime)}_{N-1}\oplus{\bf\tilde{m}^{(\prime)}}. Note the difference between 𝐦~(){\bf\tilde{m}^{(\prime)}} and 𝐦(){\bf m^{(\prime)}} is that NN is replaced by (N+1)(N+1) in the concatenation. The map FRMF^{\mathrm{RM}} is Markovian since it gives us the state at the NNth cycle given the state at N1N-1 [see Eq. (60)]. Overall, in case of repeated measurements since the map FRMF^{\mathrm{RM}} is known it is straightforward to obtain the work PDF for the work performed in the (N+1)(N+1)th cycle using Eqs. (59)–(61).

B.2 Repeated contacts

In case of repeated contacts, one cannot assign a value of work to each individual cycle as we did with W(j)W^{(j)} for repeated measurements by using the classically stored information about the outcomes of the sequence of energy measurements for NN cycles. To circumvent this problem we restrict our consideration to engines with a working substance consisting of a two-level system and moreover being subject to thermalization strokes obeying the decoupled population and coherences dynamics specified by the Eq. (47). In this case we are able to introduce a fictitious work PDF that can be computed recursively and that determines the average work per cycle in the limit of large cycle numbers when the engine has reached a steady mode of operation.

In order to proceed, we begin with the work PDFs defined in Eqs. (25) and (26),

PRC,2P(W)\displaystyle P^{\mathrm{RC,2P}}(W) =\displaystyle= m,mDm,me18Σ2(𝒲m𝒲m)2e18Σ2(𝒬m𝒬m)2gΣ2(W𝒲m,m),\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}\prime})^{2}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{Q}^{\vec{m}}-\mathcal{Q}^{\vec{m}\prime})^{2}}g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}),
PRC,1P(W)\displaystyle P^{\mathrm{RC,1P}}(W) =\displaystyle= m,mDm,me18Σ2(𝒲m𝒲m)2gΣ2(W𝒲m,m).\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}\prime})^{2}}g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}). (62)

In case of dynamical decoupling between populations and coherences for a two-level working substance, [Eq. (47)], only the terms with

e2im2ie2im2i=e2i+1m2i+1e2i+1m2i+1e_{2i}^{m_{2i}}-e_{2i}^{m_{2i}^{\prime}}=e_{2i+1}^{m_{2i+1}}-e_{2i+1}^{m_{2i+1}^{\prime}} (63)

i=1,,2N1\forall i=1,\cdots,2N-1 contribute to the work distributions (see Append. B.3 for details). This simplifies the exponents [see Eq. (22) and (23)] appearing in the work distributions, namely,

𝒲m𝒲m\displaystyle\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}^{\prime}} =\displaystyle= e1m1+e1m1+e4Nm4Ne4Nm4N,\displaystyle-e_{1}^{m_{1}}+e_{1}^{m_{1}^{\prime}}+e_{4N}^{m_{4N}}-e_{4N}^{m_{4N}^{\prime}}, (64)
𝒬m𝒬m\displaystyle\mathcal{Q}^{\vec{m}}-\mathcal{Q}^{\vec{m}\prime} =\displaystyle= 0.\displaystyle 0. (65)

Thus, for the models considered in Secs. IV.2IV.3 the one- and two-pointer work PDFs always coincide. Moreover, using the above simplifications one can easily identify the non-normalized reduced density matrix for the working substance as,

ϕWRC(ρ)\displaystyle\phi^{\mathrm{RC}}_{W}(\rho) =\displaystyle= m,mDm,m(ρ)e18Σ2(e1m1e1m1)2\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}(\rho)\,e^{-\frac{1}{8\Sigma^{2}}\left(e_{1}^{m_{1}}-e_{1}^{m_{1}^{\prime}}\right)^{2}} (66)
×gΣ2(W𝒲m,m)\displaystyle\times g_{\Sigma^{2}}\left(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}\right)
=\displaystyle= m,mDm,m(ρ~)gΣ2(W𝒲m,m).\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}(\tilde{\rho})g_{\Sigma^{2}}\left(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}\right).

Here we also omitted the only remaining contribution e4Nm4Ne4Nm4Ne_{4N}^{m_{4N}}-e_{4N}^{m_{4N}^{\prime}} to the exponential factor e(𝒲m𝒲m)2/(8Σ2)e^{-(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}^{\prime}})^{2}/(8\Sigma^{2})} because the terms Dm,mD^{\vec{m},\vec{m}^{\prime}} with e4Nm4Ne4Nm4Ne_{4N}^{m_{4N}}\neq e_{4N}^{m_{4N}^{\prime}} vanish in the final trace operation applied to obtain the work PDFs from the non-normalized reduced density matrices. In addition, we made use of the fact that the innermost part of the telescopic action of the map Dm,mD^{\vec{m},\vec{m}^{\prime}} on ρ\rho is given by 𝒫1m1ρ𝒫1m1\mathcal{P}^{m_{1}}_{1}\rho\mathcal{P}^{m^{\prime}_{1}}_{1}, see Eq. (7). Splitting the density matrix ρ\rho into its diagonal part ρd=m=1,2𝒫1mρ𝒫1m\rho_{d}=\sum_{m=1,2}\mathcal{P}^{m}_{1}\rho\mathcal{P}^{m}_{1} and the remaining coherence contribution ρc=ρρd\rho_{c}=\rho-\rho_{d} one obtains exp[(e1m1e1m1)2/(8Σ2)]𝒫1mρ𝒫1m=𝒫1mρ~𝒫1m\exp\left[-(e_{1}^{m_{1}}-e_{1}^{m_{1}^{\prime}})^{2}/(8\Sigma^{2})\right]\mathcal{P}^{m}_{1}\rho\mathcal{P}^{m^{\prime}}_{1}=\mathcal{P}^{m}_{1}\tilde{\rho}\mathcal{P}^{m^{\prime}}_{1} where

ρ~ρd+eϵc22Σ2ρs.\tilde{\rho}\equiv\rho_{d}+e^{-\frac{\epsilon^{2}_{c}}{2\Sigma^{2}}}\rho_{s}. (67)

Note that the map ρρ~\rho\to\tilde{\rho} preserves the trace and the positivity.

Next we introduce the fictitious work distribution

P~RC(W(N+1))\displaystyle\tilde{P}^{\mathrm{RC}}(W^{(N+1)}) =\displaystyle= 𝑑𝐱δ(W(N+1)k=4N+14(N+1)(1)kxk)\displaystyle\int d\mathbf{x}\,\delta\left(W^{(N+1)}-\sum_{k=4N+1}^{4(N+1)}(-1)^{k}x_{k}\right) (68)
×d4Nxp~(xN+1),\displaystyle\times\int d^{4N}x\,\tilde{p}(\vec{x}_{N+1}),

which exactly resembles Eq. (59) with,

p~(xN)\displaystyle\tilde{p}(\vec{x}_{N}) =\displaystyle= mN,mNTr[DmN,mN(ρ~)]\displaystyle\sum_{\vec{m}_{N},\vec{m}^{\prime}_{N}}\mathrm{Tr}\left[D^{\vec{m}_{N},\vec{m}^{\prime}_{N}}(\tilde{\rho})\right] (69)
×k=14NgΣ2(xk12(ekmk+ekmk)).\displaystyle\times\prod_{k=1}^{4N}g_{\Sigma^{2}}\left(x_{k}-\frac{1}{2}\left(e^{m_{k}}_{k}+e^{m_{k}^{\prime}}_{k}\right)\right).

The average work from the fictitious distribution,

W(N+1)=𝑑W(N+1)W(N+1)P~RC(W(N+1)),\langle{W}^{(N+1)}\rangle=\int dW^{(N+1)}\,W^{(N+1)}\tilde{P}^{\mathrm{RC}}(W^{(N+1)}), (70)

represents the difference of the average work performed by the engine in the (N+1)(N+1)th and NNth cycle, i.e., W(N+1)=WN+1WN\langle{W}^{(N+1)}\rangle=\langle W\rangle_{N+1}-\langle W\rangle_{N} ( this relation follows from the definitions of the individual quantities as explained below). As the monitored engine reaches its asymptotic state, W()\langle W^{(\infty)}\rangle represents the average work performed by the engine per cycle, similarly to the repeated measurements case, because the monitoring process on average has the same effect on the engine state in the NNth and (N+1)(N+1)th cycle after sufficiently many cycles.

The average work performed in (N+1)(N+1) and in NN cycles can be written as

WN+1\displaystyle\langle W\rangle_{N+1} =\displaystyle= 𝑑WWmN+1,mN+1Tr[DmN+1,mN+1(ρ~)]gΣ2(W𝒲mN+1,mN+1)\displaystyle\int dW\,W\sum_{\vec{m}_{N+1},\vec{m}_{N+1}^{\prime}}\mathrm{Tr}\left[D^{\vec{m}_{N+1},\vec{m}_{N+1}^{\prime}}(\tilde{\rho})\right]g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m}_{N+1},\vec{m}_{N+1}^{\prime}})
=\displaystyle= dWW𝐦,𝐦Tr[S𝐦,𝐦(mN,mNDmN,mN(ρ~)])]gΣ2(W𝒲mN,mN𝒲𝐦,𝐦),\displaystyle\int dW\,W\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}(\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})])\right]g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m}_{N},\vec{m}_{N}^{\prime}}-\mathcal{W}^{\mathbf{m},\mathbf{m}^{\prime}}),
WN\displaystyle\langle W\rangle_{N} =\displaystyle= dWW𝐦,𝐦Tr[S𝐦,𝐦(mN,mNDmN,mN(ρ~)])]gΣ2(W𝒲mN,mN).\displaystyle\int dW\,W\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}(\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})])\right]g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m}_{N},\vec{m}_{N}^{\prime}}).

The third line holds because the non-selective map FRCF^{\mathrm{RC}} that is defined as

FRC(ϱ)=𝐦~,𝐦~S𝐦~,𝐦~(ϱ),F^{\mathrm{RC}}(\varrho)=\sum_{\mathbf{\tilde{m}},\mathbf{\tilde{m}}^{\prime}}S^{\mathbf{\tilde{m}},\mathbf{\tilde{m}}^{\prime}}(\varrho), (71)

preserves the trace so that

𝐦,𝐦Tr[S𝐦,𝐦(mN,mNDmN,mN(ρ~)])]\displaystyle\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}(\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})])\right]
=\displaystyle= mN,mNTr[DmN,mN(ρ~)]].\displaystyle\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}\mathrm{Tr}\left[D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})]\right].

Now the difference ΔW=WN+1WN\Delta W=\langle W\rangle_{N+1}-\langle W\rangle_{N}becomes

ΔW\displaystyle\Delta W =\displaystyle= 𝐦,𝐦Tr[S𝐦,𝐦(mN,mNDmN,mN(ρ~)])]\displaystyle\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}(\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})])\right]
𝑑WW(gΣ2(W𝒲𝐦,𝐦)gΣ2(W))\displaystyle\int dW\,W\left(g_{\Sigma^{2}}(W-\mathcal{W}^{\mathbf{m},\mathbf{m}^{\prime}})-g_{\Sigma^{2}}(W)\right)
=\displaystyle= 𝐦,𝐦Tr[S𝐦,𝐦(mN,mNDmN,mN(ρ~)])]𝒲𝐦,𝐦,\displaystyle\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}(\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})])\right]\mathcal{W}^{\mathbf{m},\mathbf{m}^{\prime}},

where we shifted the integrand by the amount of 𝒲m,m\mathcal{W}^{\vec{m},\vec{m}^{\prime}} and used the normalization of the Gaussian distributions. On the other hand,

W(N+1)\displaystyle\langle{W}^{(N+1)}\rangle =\displaystyle= 𝑑W(N+1)W(N+1)P~RC(W(N+1))\displaystyle\int dW^{(N+1)}\,W^{(N+1)}\tilde{P}^{\mathrm{RC}}(W^{(N+1)})
=\displaystyle= 𝑑W(N+1)𝑑𝐱W(N+1)δ(W(N+1)k=4N+14(N+1)(1)kxk)mN+1,mN+1Tr[DmN+1,mN+1(ρ~)]\displaystyle\int dW^{(N+1)}\,\int d\mathbf{x}\,W^{(N+1)}\delta\left(W^{(N+1)}-\sum_{k=4N+1}^{4(N+1)}(-1)^{k}x_{k}\right)\sum_{\vec{m}_{N+1},\vec{m}_{N+1}^{\prime}}\mathrm{Tr}[D^{\vec{m}_{N+1},\vec{m}_{N+1}^{\prime}}(\tilde{\rho})]
×k=4N+14(N+1)gΣ2(xk12(ekmk+ekmk)).\displaystyle\times\prod_{k=4N+1}^{4(N+1)}g_{\Sigma^{2}}\left(x_{k}-\frac{1}{2}(e_{k}^{m_{k}}+e_{k}^{m_{k}^{\prime}})\right).

Integrating 𝐱\mathbf{x} first, we get

W(N+1)\displaystyle\langle{W}^{(N+1)}\rangle =\displaystyle= dW(N+1)W(N+1)𝐦,𝐦Tr[S𝐦,𝐦(mN,mNDmN,mN(ρ~)])]g(W(N+1)𝒲𝐦,𝐦)\displaystyle\int dW^{(N+1)}\,W^{(N+1)}\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}(\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})])\right]g(W^{(N+1)}-\mathcal{W}^{\mathbf{m},\mathbf{m}^{\prime}})
=\displaystyle= 𝐦,𝐦Tr[S𝐦,𝐦(mN,mNDmN,mN(ρ~)])]𝒲𝐦,𝐦=ΔW.\displaystyle\sum_{\mathbf{m},\mathbf{m}^{\prime}}\mathrm{Tr}\left[S^{\mathbf{m},\mathbf{m}^{\prime}}\left(\sum_{\vec{m}_{N},\vec{m}_{N}^{\prime}}D^{\vec{m}_{N},\vec{m}_{N}^{\prime}}(\tilde{\rho})]\right)\right]\mathcal{W}^{\mathbf{m},\mathbf{m}^{\prime}}=\Delta W.

Furthermore, using a fictitious non-normalised density matrix, similar to Eq. (55),

ϕ~xN+1RC(ρ~)\displaystyle\tilde{\phi}^{\mathrm{RC}}_{\vec{x}_{N+1}}(\tilde{\rho}) =\displaystyle= mN+1,mN+1DmN+1,mN+1(ρ~)\displaystyle\sum_{\vec{m}_{N+1},\vec{m}_{N+1}^{\prime}}D^{\vec{m}_{N+1},\vec{m}_{N+1}^{\prime}}(\tilde{\rho}) (72)
k=14(N+1)σ~(xkekmk,xkekmk),\displaystyle\prod_{k=1}^{4(N+1)}\tilde{\sigma}\left(x_{k}-e_{k}^{m_{k}},x_{k}-e_{k}^{m_{k}^{\prime}}\right),

with the fictitious pointer state

σ~(xkekmk,xkekmk)=gΣ2(xkekmk+ekmk2),\tilde{\sigma}\left(x_{k}-e_{k}^{m_{k}},x_{k}-e_{k}^{m_{k}^{\prime}}\right)=g_{\Sigma^{2}}\left(x_{k}-\frac{e_{k}^{m_{k}}+e_{k}^{m_{k}^{\prime}}}{2}\right), (73)

we can replicate the proof presented for repeated measurements in Append. B.1, Eqs. (59)–(61) leading to the conclusion that the fictitious energy PDF p~(xN)\tilde{p}(\vec{x}^{N}) [Eq. (69)] entering the fictitious work PDF P~RC(W(N+1))\tilde{P}^{RC}(W^{(N+1)}) [Eq. (68)] is determined by the invariant state ρ\rho^{*} of the map FRCF^{RC}, i.e. by the solution of the equation

FRC(ρ)=ρ,F^{RC}(\rho^{*})=\rho^{*}, (74)

where FRCF^{RC} is defined in Eq. (71). Comparing the above equation with Eq. (61) we notice the missing exponential terms in the map. This is simply because the exponential terms in case of repeated contacts get simplified, see Eq. (66), and they only affect the initial state of the engine. In other words, in case of repeated measurements to obtain the state of the engine after NN cycles we apply the map FRMF^{\mathrm{RM}} NN times on the initial density matrix ρ\rho whereas in case of repeated contacts the map FRCF^{\mathrm{RC}} is applied NN times on the fictitious initial density matrix ρ~\tilde{\rho}.

As trace and positivity preserving maps, FRCF^{RC} and FRMF^{RM} possess at least one invariant solution. The uniqueness of the invariant solution is guaranteed by the dissipative nature of the thermalization strokes. As a conseqence, the invariant densities can be iteratively reached as ρ=limN(FX)N(ρ)\rho^{*}=\lim_{N\to\infty}(F^{X})^{N}(\rho), where X=RC,RMX=RC,RM. Accordingly, the spectra of these maps contain one non-degenerate eigenvalue Λ1=1\Lambda_{1}=1 and the absolute values of all other eigenvales are smaller than one.

In Fig. 6b-c, the second-largest eigenvalues Λ2\Lambda_{2} of the maps FRC(RM)F^{\mathrm{RC(RM)}} are displayed as functions of the durations T1T_{1} and T2T_{2}. When Λ2\Lambda_{2} is close to 1, the engine needs a long time to converge to the asymptotic cycle and vice versa.

B.3 Simplification due to dynamical decoupling

In order to prove Eq. (63) we consider the coefficient,

Dm,m=Tr[𝒫4Nm4N𝒫2i+1m2i+1Φu(𝒫2im2iρ𝒫2im2i)𝒫2i+1m2i+1𝒫4Nm4N],D^{\vec{m},\vec{m}^{\prime}}=\mathrm{Tr}[\mathcal{P}^{m_{4N}}_{4N}\cdots\mathcal{P}^{m_{2i+1}}_{2i+1}\Phi_{u}\left(\mathcal{P}^{m_{2i}}_{2i}\cdots\rho\cdots\mathcal{P}^{m_{2i}^{\prime}}_{2i}\right)\,\mathcal{P}^{m_{2i+1}^{\prime}}_{2i+1}\cdots\mathcal{P}^{m_{4N}^{\prime}}_{4N}], (75)

and focus on the terms involving 2i+12i+1 and 2i2i subscripts. Now,two alternative cases exist:

  1. 1.

    m2i=m2im_{2i}=m_{2i}^{\prime} and

  2. 2.

    m2im2im_{2i}\neq m_{2i}^{\prime},

for which we study the central term in Eq. (75) within the trace, i.e.,

m2i+1|Φu(𝒫2im2iρ𝒫2im2i)|m2i+1A,\langle m_{2i+1}|\Phi_{u}\left(\mathcal{P}^{m_{2i}}_{2i}\cdots\rho\cdots\mathcal{P}^{m_{2i}^{\prime}}_{2i}\right)|m_{2i+1}^{\prime}\rangle\propto A, (76)

with A=m2i+1|Φu(|m2im2i|)|m2i+1A=\langle m_{2i+1}|\Phi_{u}\left(|m_{2i}\rangle\langle m_{2i}^{\prime}|\right)|m_{2i+1}^{\prime}\rangle.

For case (i), we could have either m2i+1=m2i+1m_{2i+1}=m_{2i+1}^{\prime} or m2i+1m2i+1m_{2i+1}\neq m_{2i+1}^{\prime}. For m2i+1=m2i+1m_{2i+1}=m_{2i+1}^{\prime}, Eq. (63) is satisfied. Whereas for m2i+1m2i+1m_{2i+1}\neq m_{2i+1}^{\prime}, A=Tr[Lum2i+1Φu(𝒫2im2i)]A=\mathrm{Tr}[L^{m_{2i+1}}_{u}\Phi_{u}(\mathcal{P}^{m_{2i}}_{2i})] which is zero due to Eq. (47). Hence, for case (i) only when Eq. (63) is satisfied we have a contribution to the work distributions.

For case (ii), we divide into three sub-cases: (iia) m2i+1=m2i+1m_{2i+1}=m_{2i+1}^{\prime} for which A=Tr[𝒫2i+1m2i+1Φu(Lum2i)]A=\mathrm{Tr}[\mathcal{P}^{m_{2i+1}}_{2i+1}\Phi_{u}(L_{u}^{m_{2i}})] is again zero due to Eq. (47), (iib) m2i=m2i+1m_{2i}=m_{2i+1}^{\prime} and m2i=m2i+1m_{2i}^{\prime}=m_{2i+1} for which A=Tr[Lu±Φu(Lu)]=0A=\mathrm{Tr}[L_{u}^{\pm}\Phi_{u}(L_{u}^{\mp})]=0, and (iic) m2i=m2i+1m_{2i}=m_{2i+1} and m2i=m2i+1m_{2i}^{\prime}=m_{2i+1}^{\prime} for which Eq. (63) is satisfied. All other cases like m2i=m2i+1m_{2i}=m_{2i+1} and m2im2i+1m_{2i}^{\prime}\neq m_{2i+1}^{\prime} reduce to case (iia) since we deal with a two-level working substance.

This exhausts all possible cases and overall only when Eq. (63) is satisfied we get a contribution to the work distribution.

Appendix C Reduction in computational costs

In this section, we device a computational scheme to reduce the complexity from exponential (d8Nd^{8N} with dd being the dimension of working substance Hilbert space and NN being the number of cycles) to quadratic (N2N^{2}) as proposed in the main text. Our proof below focuses on the work PDFs given by Eqs. (18) and (26),

PRM(W)\displaystyle P^{\mathrm{RM}}(W) =\displaystyle= mN,mNDmN,mNe18Σ2k=14N(ekmkekmk)2g4NΣ2(W𝒲mN,mN),\displaystyle\sum_{\vec{m}_{N},\vec{m}^{\prime}_{N}}D^{\vec{m}_{N},\vec{m}^{\prime}_{N}}e^{-\frac{1}{8\Sigma^{2}}{\sum_{k=1}^{4N}}(e^{m_{k}}_{k}-e^{m_{k}\prime}_{k})^{2}}g_{4N\Sigma^{2}}(W-\mathcal{W}^{\vec{m}_{N},\vec{m}^{\prime}_{N}}),
PRC(W)\displaystyle P^{\mathrm{RC}}(W) =\displaystyle= mN,mNDmN,mNe18Σ2(𝒲mN𝒲mN)2gΣ2(W𝒲mN,mN).\displaystyle\sum_{\vec{m}_{N},\vec{m}^{\prime}_{N}}D^{\vec{m}_{N},\vec{m}^{\prime}_{N}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}_{N}}-\mathcal{W}^{\vec{m}{\prime}_{N}})^{2}}g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m}_{N},\vec{m}^{\prime}_{N}}). (77)

Above we have reintroduced the subscript NN indicating the cycle number which was suppressed in the main text. The scheme for the heat PDFs can be derived in exactly the same way. The above equations can be rewritten as,

PX(W)=𝒲ND𝒲NXgΣX2(W𝒲N),P^{\mathrm{X}}(W)=\sum_{\mathcal{W}_{N}}D^{\mathrm{X}}_{\mathcal{W}_{N}}\>g_{\Sigma^{2}_{X}}(W-\mathcal{W}_{N}), (78)

where X=RM,RC\mathrm{X}=\mathrm{RM},\mathrm{RC} stands for repeated measurements or repeated contacts. The variances of the superimposed Gaussians depend on the type of monitoring with ΣRM2=4NΣ2\Sigma^{2}_{RM}=4N\Sigma^{2} and ΣRC2=Σ2\Sigma^{2}_{RC}=\Sigma^{2}. The sum runs over all possible values of 𝒲N=𝒲mN,mN\mathcal{W}_{N}=\mathcal{W}^{\vec{m}_{N},\vec{m}^{\prime}_{N}} and the coefficients D𝒲NXD^{\mathrm{X}}_{\mathcal{W}_{N}} are given by

D𝒲NX=Tr[𝒟𝒲NX(ρ)].D^{\mathrm{X}}_{\mathcal{W}_{N}}=\mathrm{Tr}[\mathcal{D}^{\mathrm{X}}_{\mathcal{W}_{N}}(\rho)]. (79)

The operators 𝒟𝒲NX(ρ)\mathcal{D}^{\mathrm{X}}_{\mathcal{W}_{N}}(\rho) are defined as

𝒟𝒲NRM(ρ)\displaystyle\mathcal{D}^{\mathrm{RM}}_{\mathcal{W}_{N}}(\rho) =\displaystyle= 𝒲N=𝒲mN,mNmN,mNDmN,mN(ρ)e18Σ2k=14N(ekmkekmk)2,\displaystyle\mkern-36.0mu\sum_{\stackrel{{\scriptstyle\vec{m}_{N},\vec{m}^{\prime}_{N}}}{{\mathcal{W}_{N}=\mathcal{W}^{\vec{m}_{N},\vec{m}^{\prime}_{N}}}}}\mkern-32.0muD^{\vec{m}_{N},\vec{m}^{\prime}_{N}}(\rho)e^{-\frac{1}{8\Sigma^{2}}\sum_{k=1}^{4N}\left(e^{m_{k}}_{k}-e^{m^{\prime}_{k}}_{k}\right)^{2}},
𝒟𝒲NRC(ρ)\displaystyle\mathcal{D}^{\mathrm{RC}}_{\mathcal{W}_{N}}(\rho) =\displaystyle= 𝒲N=𝒲mN,mNmN,mNDmN,mN(ρ)e18Σ2(e1m1e1m1)2.\displaystyle\mkern-36.0mu\sum_{\stackrel{{\scriptstyle\vec{m}_{N},\vec{m}^{\prime}_{N}}}{{\mathcal{W}_{N}=\mathcal{W}^{\vec{m}_{N},\vec{m}^{\prime}_{N}}}}}\mkern-32.0muD^{\vec{m}_{N},\vec{m}^{\prime}_{N}}(\rho)e^{-\frac{1}{8\Sigma^{2}}\left(e^{m_{1}}_{1}-e^{m^{\prime}_{1}}_{1}\right)^{2}}. (80)

In case of repeated contacts, the general expression reduces to the above due to the dynamical decoupling between populations and coherence [see Append. B.2 Eq. (66)]. The reduction in computational resources occurs because we only need to compute the coefficients for a fixed 𝒲N\mathcal{W}_{N} that scale as N2N^{2} rather than the exponential scaling of d8Nd^{8N}.

In order to see this reduction in computational resources, let us apply the map S𝐦,𝐦S^{\mathbf{m},\mathbf{m}^{\prime}}, defined in Eq. (8), to both sides of Eq. (80), giving,

S𝐦,𝐦(𝒟𝒲NRC(ρ))\displaystyle S^{\mathbf{m},\mathbf{m}^{\prime}}\left(\mathcal{D}^{\mathrm{RC}}_{\mathcal{W}_{N}}(\rho)\right) =\displaystyle= 𝒲N=𝒲mN,mNmN,mNS𝐦,𝐦(DmN,mN(ρ~)).\displaystyle\mkern-36.0mu\sum_{\stackrel{{\scriptstyle\vec{m}_{N},\vec{m}^{\prime}_{N}}}{{\mathcal{W}_{N}=\mathcal{W}^{\vec{m}_{N},\vec{m}^{\prime}_{N}}}}}\mkern-32.0muS^{\mathbf{m},\mathbf{m}^{\prime}}\left(D^{\vec{m}_{N},\vec{m}^{\prime}_{N}}(\tilde{\rho})\right). (81)

Here we derive the scaling reduction for the case of repeated contacts and the proof for repeated measurements can be obtained in the same spirit. The exponential terms appearing in Eq. (80) have been absorbed in the effective initial density matrix ρ~\tilde{\rho} [see Eq. (67)] since they only depend on the first contact (m1m_{1} and m1m_{1}^{\prime}), hence, only alters the initial state. It is important to note here that our proof works only if the exponentials appearing in Eq. (77) can be expressed as a product of exponentials implying that such a dramatic reduction is always possible for repeated measurements and is impossible if the populations and coherence do not dynamically decouple in the case of repeated contacts. Using Eq. (7) on the r.h.s. we obtain,

S𝐦,𝐦(𝒟𝒲NRC(ρ))\displaystyle S^{\mathbf{m},\mathbf{m}^{\prime}}\left(\mathcal{D}^{\mathrm{RC}}_{\mathcal{W}_{N}}(\rho)\right) =\displaystyle= 𝒲N=𝒲mN,mNmN,mNDmN+1,mN+1(ρ~).\displaystyle\mkern-36.0mu\sum_{\stackrel{{\scriptstyle\vec{m}_{N},\vec{m}^{\prime}_{N}}}{{\mathcal{W}_{N}=\mathcal{W}^{\vec{m}_{N},\vec{m}^{\prime}_{N}}}}}\mkern-32.0muD^{\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}(\tilde{\rho}). (82)

Recall that 𝐦()\mathbf{m}^{(\prime)} arises from the sequence mN+1()=m()𝐦()\vec{m}^{(\prime)}_{N+1}=\vec{m}^{(\prime)}\oplus\mathbf{m}^{(\prime)}, defined below Eq. (7). Summing both sides of Eq. (82) over 𝐦()\mathbf{m}^{(\prime)} and 𝒲N\mathcal{W}_{N} (constrained by 𝒲N+1=𝒲mN+1,mN+1=𝒲N+𝒲𝐦,𝐦\mathcal{W}_{N+1}=\mathcal{W}^{\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}=\mathcal{W}_{N}+\mathcal{W}^{\mathbf{m},\mathbf{m}^{\prime}}) we obtain,

𝒲N+1=𝒲N+𝒲𝐦,𝐦𝐦,𝐦,𝒲NS𝐦,𝐦(𝒟𝒲NRC(ρ))\displaystyle\sum_{\stackrel{{\scriptstyle\mathbf{m},\mathbf{m}^{\prime},\mathcal{W}_{N}}}{{\mathcal{W}_{N+1}=\mathcal{W}_{N}+\mathcal{W}^{\mathbf{m},\mathbf{m}^{\prime}}}}}\mkern-42.0muS^{\mathbf{m},\mathbf{m}^{\prime}}\left(\mathcal{D}^{\mathrm{RC}}_{\mathcal{W}_{N}}(\rho)\right) =\displaystyle= 𝒲N+1=𝒲mN+1,mN+1mN+1,mN+1DmN+1,mN+1(ρ~)\displaystyle\mkern-54.0mu\sum_{\stackrel{{\scriptstyle\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}}{{\mathcal{W}_{N+1}=\mathcal{W}^{\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}}}}\mkern-54.0muD^{\vec{m}_{N+1},\vec{m}^{\prime}_{N+1}}(\tilde{\rho}) (83)
=\displaystyle= 𝒟𝒲N+1RC(ρ).\displaystyle\mathcal{D}^{\mathrm{RC}}_{\mathcal{W}_{N+1}}(\rho).

Therefore, the operator 𝒟𝒲N+1RC(ρ)\mathcal{D}^{\mathrm{RC}}_{\mathcal{W}_{N+1}}(\rho) is obtained recursively from 𝒟𝒲NRC(ρ)\mathcal{D}^{\mathrm{RC}}_{\mathcal{W}_{N}}(\rho) in terms of a sum over 𝐦\mathbf{m}, 𝐦\mathbf{m}^{\prime} and 𝒲N\mathcal{W}_{N}. The required number of computations does not scale with NN (for 𝐦()\mathbf{m}^{(\prime)} we have 242^{4} terms for d=2d=2) and the sum over 𝒲N\mathcal{W}_{N} scales as N2N^{2}. Thus, the computations performed, due to the grouping with fixed work values, reduces from an exponential scaling of 28N2^{8N} (d=2d=2) to a quadratic N2N^{2}.

Appendix D Equivalence between one- and two-pointer work PDFs for a perfectly thermalizing adiabatic engine

In this section, we show that for a perfectly thermalizing adiabatic engine diagnosed via repeated contacts the one- and two-pointer work PDFs are equal independent of the dimensionality dd of the Hilbert space of the working substance. In order to achieve our objective, we begin with the one- and two-pointer work PDFs as defined in Eqs. (25) and (26), i.e.,

PRC,1P(W)\displaystyle P^{\mathrm{RC,1P}}(W) =\displaystyle= m,mDm,me18Σ2(𝒲m𝒲m)2gΣ2(W𝒲m,m),\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}\prime})^{2}}g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}),
PRC,2P(W)\displaystyle P^{\mathrm{RC,2P}}(W) =\displaystyle= m,mDm,me18Σ2(𝒲m𝒲m)2e18Σ2(𝒬m𝒬m)2gΣ2(W𝒲m,m).\displaystyle\sum_{\vec{m},\vec{m}^{\prime}}D^{\vec{m},\vec{m}^{\prime}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{W}^{\vec{m}}-\mathcal{W}^{\vec{m}\prime})^{2}}e^{-\frac{1}{8\Sigma^{2}}(\mathcal{Q}^{\vec{m}}-\mathcal{Q}^{\vec{m}\prime})^{2}}g_{\Sigma^{2}}(W-\mathcal{W}^{\vec{m},\vec{m}^{\prime}}).

Comparing the above equations, it is easy to see that the PDFs are equal when either 𝒬m=𝒬m\mathcal{Q}^{\vec{m}}=\mathcal{Q}^{\vec{m}\prime} or when Dm,m=0D^{\vec{m},\vec{m}^{\prime}}=0.

We restrict ourselves to a single cycle (N=1N=1) perfectly thermalizing engine, such that the elements of m()=(m1(),m2(),m3(),m4())\vec{m}^{(\prime)}=(m_{1}^{(\prime)},m_{2}^{(\prime)},m_{3}^{(\prime)},m_{4}^{(\prime)}). To proceed, we consider all possible relations between the elements of m\vec{m} and m\vec{m}^{\prime}, i.e.,

  1. 1.

    m2=m2m_{2}=m_{2}^{\prime} and m3=m3m_{3}=m_{3}^{\prime} (independent of m1()m_{1}^{(\prime)} and m4()m_{4}^{(\prime)}),

  2. 2.

    m2m2m_{2}\neq m_{2}^{\prime} and m3=m3m_{3}=m_{3}^{\prime} (independent of m1()m_{1}^{(\prime)} and m4()m_{4}^{(\prime)}), and

  3. 3.

    m3m3m_{3}\neq m_{3}^{\prime} (independent of m1()m_{1}^{(\prime)}, m2()m_{2}^{(\prime)}, and m4()m_{4}^{(\prime)}),

and show that they can be classified into one of the two categories (𝒬m=𝒬m\mathcal{Q}^{\vec{m}}=\mathcal{Q}^{\vec{m}\prime} or Dm,m=0D^{\vec{m},\vec{m}^{\prime}}=0).
 
Case (i) (Equality due to matching heat outcomes): For a single cycle considered herein the heat outcomes 𝒬m=e3m3e2m2\mathcal{Q}^{\vec{m}}=e^{m_{3}}_{3}-e^{m_{2}}_{2} and 𝒬m=e3m3e2m2\mathcal{Q}^{\vec{m}^{\prime}}=e^{m_{3}^{\prime}}_{3}-e^{m_{2}^{\prime}}_{2}, using Eq. (23). Since m2=m2m_{2}=m_{2}^{\prime} and m3=m3m_{3}=m_{3}^{\prime}, clearly 𝒬m=𝒬m\mathcal{Q}^{\vec{m}}=\mathcal{Q}^{\vec{m}\prime}.
 
Case (ii) (Equality due to perfect thermalization): For a single cycle engine, the explicit expression for the coefficient Dm,mD^{\vec{m},\vec{m}^{\prime}} reads,

Dm,m=Tr[𝒫4m4U~𝒫3m3Φh(𝒫2m2U𝒫1m1ρ𝒫1m1U𝒫2m2)𝒫3m3U~𝒫4m4],\displaystyle D^{\vec{m},\vec{m}^{\prime}}=\mathrm{Tr}[\mathcal{P}^{m_{4}}_{4}\tilde{U}\mathcal{P}^{m_{3}}_{3}\,\Phi_{h}\left(\mathcal{P}^{m_{2}}_{2}U\mathcal{P}^{m_{1}}_{1}\rho\mathcal{P}^{m_{1}^{\prime}}_{1}U^{\dagger}\mathcal{P}^{m_{2}^{\prime}}_{2}\right)\,\mathcal{P}^{m_{3}^{\prime}}_{3}\tilde{U}^{\dagger}\mathcal{P}^{m_{4}^{\prime}}_{4}], (84)

with the operators 𝒫jmj\mathcal{P}^{m_{j}}_{j} projecting into the eigenstates of Hamiltonian HjH_{j}, ρ\rho being the density matrix of the working substance, and UU (U~\tilde{U}) being the unitary forward (reversed) time-evolution operators. Since the engine is perfectly thermalizing, Φh(ρ)=ρhTr[ρ]\Phi_{h}(\rho)=\rho_{h}\mathrm{Tr}[\rho] using Eq. (34), we obtain

Φh(𝒫2m2U𝒫1m1ρ𝒫1m1U𝒫2m2)=ρhTr[𝒫2m2U𝒫1m1ρ𝒫1m1U𝒫2m2]=0.\displaystyle\Phi_{h}\left(\mathcal{P}^{m_{2}}_{2}U\mathcal{P}^{m_{1}}_{1}\rho\mathcal{P}^{m_{1}^{\prime}}_{1}U^{\dagger}\mathcal{P}^{m_{2}^{\prime}}_{2}\right)=\rho_{h}\mathrm{Tr}[\mathcal{P}^{m_{2}}_{2}U\mathcal{P}^{m_{1}}_{1}\rho\mathcal{P}^{m_{1}^{\prime}}_{1}U^{\dagger}\mathcal{P}^{m_{2}^{\prime}}_{2}]=0. (85)

The rightmost equality is because we consider m2m2m_{2}\neq m_{2}^{\prime} in this case giving us the trace in the middle term to be zero. Therefore, for case (ii) Dm,m=0D^{\vec{m},\vec{m}^{\prime}}=0.
 
Case (iii) (Equality due to adiabaticity): We further sub-divide case (iii) into two sub-categories: (a) m3m4m_{3}\neq m_{4} or m3m4m_{3}^{\prime}\neq m_{4}^{\prime} and (b) m3=m4m_{3}=m_{4} and m3=m4m_{3}^{\prime}=m_{4}^{\prime}.

For case (iiia), since the evolution during the work strokes is adiabatic, i.e., if the system starts in an eigenstate of the initial Hamiltonian, it will end in the corresponding eigenstate of the final Hamiltonian, either

𝒫4m4U~𝒫3m3\displaystyle\mathcal{P}^{m_{4}}_{4}\tilde{U}\mathcal{P}^{m_{3}}_{3} =\displaystyle= 0whenm3m4or\displaystyle 0\quad\mathrm{when~{}}m_{3}\neq m_{4}~{}~{}\mathrm{or}
𝒫3m3U~𝒫4m4\displaystyle\mathcal{P}^{m_{3}^{\prime}}_{3}\tilde{U}^{\dagger}\mathcal{P}^{m_{4}^{\prime}}_{4} =\displaystyle= 0whenm3m4.\displaystyle 0\quad\mathrm{when~{}}m_{3}^{\prime}\neq m_{4}^{\prime}. (86)

In either case the coefficient Dm,m=0D^{\vec{m},\vec{m}^{\prime}}=0 [see Eq. (84)].

For the case (iiib), since m3m3m_{3}\neq m_{3}^{\prime}, m3=m4m_{3}=m_{4}, and m3=m4m_{3}^{\prime}=m_{4}^{\prime} implies m4m4m_{4}\neq m_{4}^{\prime}. Therefore, again Dm,m=0D^{\vec{m},\vec{m}^{\prime}}=0 due to the overall trace in Eq. (84). Thus, overall for case (iii) Dm,m=0D^{\vec{m},\vec{m}^{\prime}}=0.

Overall, with the three cases above, all possible combinations of m\vec{m} and m\vec{m}^{\prime} are excluded that would lead to a difference between the one- and the two-pointer work PDFs. Moreover, our proof does not depend on the working substance of the engine and hence holds for all thermalizing adiabatic quantum Otto engines diagnosed via repeated contacts.

References

  • Müller [2007] I. Müller, A History of Thermodynamics (Springer Verlag, Berlin, 2007).
  • Blickle and Bechinger [2000] V. Blickle and C. Bechinger, Realization o micrometre-sized stochastic heat engine, Nature Physics 33, 4427 (2000).
  • Scovil and Schulz-DuBois [1959] H. E. D. Scovil and E. O. Schulz-DuBois, Three-level masers as heat engines, Phys. Rev. Lett. 2, 262 (1959).
  • Alicki [1979] R. Alicki, The quantum open system as a model of the heat engine, J. Phys. A 12, L103 (1979).
  • Kosloff [1984] R. Kosloff, A quantum mechanical open system as a model of a heat engine, J. Chem. Phys. 80, 1625 (1984).
  • Geva and Kosloff [1992] E. Geva and R. Kosloff, A quantum mechanical heat engine operating in finite time, J. Chem. Phys. 97, 4398 (1992).
  • Bender et al. [2000] C. M. Bender, D. C. Brody, and B. K. Meister, Quantum mechanical Carnot engine, J. Phys. A 33, 4436 (2000).
  • Feldmann and Kosloff [2003] T. Feldmann and R. Kosloff, Quantum four-stroke heat engine: Thermodynamic observables in a model with intrinsic friction, Phys. Rev. E 68, 016101 (2003).
  • Scully et al. [2003] M. O. Scully, M. S. Zubairy, G. S. Agarwal, and H. Walther, Extracting work from a single heat bath via vanishing quantum coherence, Science 299, 862 (2003).
  • Uzdin [2016] R. Uzdin, Coherence-induced reversibility and collective operation of quantum heat machines via coherence recycling, Phys. Rev. App. 6, 024004 (2016).
  • Francica et al. [2019] G. Francica, J. Goold, and F. Plastina, Role of coherence in the nonequilibrium thermodynamics of quantum systems, Phys. Rev. E 99, 042105 (2019).
  • Dann and Kosloff [2020] R. Dann and R. Kosloff, Quantum signatures in the quantum Carnot cycle, New J. Phys. 22, 013055 (2020).
  • Latune et al. [2021] C. L. Latune, I. Sinayskiy, and P. F, Roles of quantum coherences in thermal machines (2021).
  • Quan et al. [2005] H. T. Quan, P. Zhang, and C. P. Sun, Quantum heat engine with multilevel quantum systems, Phys. Rev. E 72, 056110 (2005).
  • Gelbwaser-Klimovsky et al. [2018] D. Gelbwaser-Klimovsky, A. Bylinskii, D. Gangloff, R. Islam, A. Aspuru-Guzik, and V. Vuletic, Single-atom heat machines enabled by energy quantization, Phys. Rev. Lett. 120, 170601 (2018).
  • YungerHalpern et al. [2019] N. YungerHalpern, C. D. White, S. Gopalakrishnan, and G. Refael, Quantum engine based on many-body localization, Phys. Rev. B 99, 024203 (2019).
  • Gelbwaser-Klimovsky et al. [2015] D. Gelbwaser-Klimovsky, W. Niedenzu, P. Brumer, and G. Kurizki, Power enhancement of heat engines via correlated thermalization in a three-level “working fluid”, Sci. Rep. 5, 1 (2015).
  • Wang et al. [2009] H. Wang, S. Liu, and J. He, Thermal entanglement in two-atom cavity QED and the entangled quantum Otto engine, Phys. Rev. E 79, 041113 (2009).
  • Watanabe et al. [2020] G. Watanabe, B. P. Venkatesh, P. Talkner, M.-J. Hwang, and A. del Campo, Quantum statistical enhancement of the collective performance of multiple Bosonic engines, Phys. Rev. Lett. 124, 210603 (2020).
  • Yi et al. [2017] J. Yi, P. Talkner, and Y. W. Kim, Single-temperature quantum engine without feedback control, Phys. Rev. E 96, 022108 (2017).
  • Ding et al. [2018] X. Ding, J. Yi, Y. W. Kim, and P. Talkner, Measurement-driven single temperature engine, Phys. Rev. E 98, 042122 (2018).
  • Campisi et al. [2015] M. Campisi, J. Pekola, and R. Fazio, Nonequilibrium fluctuations in quantum heat engines: theory, example and possible solid state experiments, New J. Phys. 17, 035012 (2015).
  • Roßnagel et al. [2016] J. Roßnagel, S. T. Dawkins, K. N. Tolazzi, O. Abah, E. Lutz, F. Schmidt-Kaler, and K. Singer, A single-atom heat engine, Science 352, 325 (2016).
  • Maslennikov et al. [2019] G. Maslennikov, S. Ding, R. Hablützel, J. Gan, A. Roulet, S. Nimmrichter, J. Dai, V. Scarani, and D. Matsukevich, Quantum absorption refrigerator with trapped ions, Nat. Comm. 10, 1 (2019).
  • Holmes et al. [2020] Z. Holmes, J. Anders, and F. Mintert, Enhanced energy transfer to an optomechanical piston from indistinguishable photons, Phys. Rev. Lett. 124, 210601 (2020).
  • 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, Experimental demonstration of quantum effects in the operation of microscopic heat engines, Phys. Rev. Lett. 122, 110601 (2019).
  • Peterson et al. [2019] J. P. S. Peterson, T. B. Batalhao, M. Herrera, A. M. Souza, R. S. Sarthour, I. S. Oliveira, and R. M. Serra, Experimental Characterization of a spin quantum heat engine, Phys. Rev. Lett. 123, 240601 (2019).
  • Quan et al. [2006] H. T. Quan, Y. D. Wang, Y. X. Liu, C. P. Sun, and F. Nori, Maxwell’s demon assisted thermodynamic cycle in superconducting quantum circuits, Phys. Rev. Lett. 97, 180402 (2006).
  • Zheng et al. [2016] Y. J. Zheng, P. Hänggi, and D. Poletti, Occurence of discontinuities in the performence of finite-time quantum Otto cycles, Phys. Rev E 94, 012137 (2016).
  • Denzler et al. [2021] T. Denzler, F. F. G. Santos, E. Lutz, and R. M. Serra, Nonequilibriuum fluctuations of a quantum heat engine (2021), arXiv:2104.13427 .
  • Kurchan [2000] J. Kurchan, A quantum fluctuation theorem (2000), arXiv:cond-mat/0007360 .
  • Tasaki [2000] H. Tasaki, Jarzynski relations for quantum systems and some applications (2000), arXiv:cond-mat/0009244 .
  • Talkner et al. [2007] P. Talkner, E. Lutz, and P. Hänggi, Fluctuation theorems: Work is not an observable, Phys. Rev. E 75, 050102(R) (2007).
  • Kammerlander and Anders [2016] P. Kammerlander and J. Anders, Coherence and measurement in quantum thermodynamics, Sci. Rep. 6, 1 (2016).
  • Vinjanampathy and Anders [2016] S. Vinjanampathy and J. Anders, Quantum thermodynamics, Cont. Phys. 57, 545 (2016).
  • Nieuwenhuizen and Allahverdyan [2002] T. M. Nieuwenhuizen and A. E. Allahverdyan, Statistical thermodynamics of quantum Brownian motion: Construction of perpetuum mobile of the second kind, Phys. Rev. E 66, 036102 (2002).
  • Allahverdyan [2014] A. E. Allahverdyan, Nonequilibrium quantum fluctuations of work, Phys. Rev. E 90, 032137 (2014).
  • Talkner and Hänggi [2016] P. Talkner and P. Hänggi, Aspects of quantum work, Phys. Rev. E 93, 022131 (2016).
  • Perarnau-Llobet et al. [2017] M. Perarnau-Llobet, E. Bäumer, K. V. Hovhannisyan, M. Huber, and A. Acin, No-go theorem for the characterization of work fluctuations in coherent quantum systems, Phys. Rev. Lett. 118, 070601 (2017).
  • Talkner and Hänggi [2020] P. Talkner and P. Hänggi, Colloquium: Statistical mechanics and thermodynamics at strong coupling: Quantum and classical, Rev. Mod. Phys. 92, 041002 (2020).
  • Wiseman and Milburn [2009] H. M. Wiseman and G. J. Milburn, Quantum measurement and control (Cambridge university press, 2009).
  • Thingna et al. [2012] J. Thingna, J.-S. Wang, and P. Hänggi, Generalized Gibbs state with modified Redfield solution: Exact agreement up to second order, J. Chem. Phys. 136, 194110 (2012).
  • Rezek and Kosloff [2006] Y. Rezek and R. Kosloff, Irreversible performance of a quantum harmonic heat engine, New J. Phys. 8, 83 (2006).
  • Plastina et al. [2014] F. Plastina, A. Alecce, T. J. G. Apollaro, G. Falcone, G. Francica, F. Galve, N. LoGullo, and R. Zambrini, Irreversible work and inner friction in quantum thermodynamic processes, Phys. Rev. Lett. 113, 260601 (2014).
  • Thingna et al. [2019] J. Thingna, M. Esposito, and F. Barra, Landau-Zener Lindblad equation and work extraction from coherences, Phys. Rev. E 99, 042142 (2019).
  • Messiah [1970] A. Messiah, Quantum Mechanics (North–Holland Publishing Company, Amsterdam, 1970).
  • von Neumann [1932] J. von Neumann, Mathematische Grundlagen der Quantenmechanik (Springer Verlag, Berlin, 1932) English translation: 1955 Mathematical Foundations of Quantum Mechanics, (Princeton University Press, Princeton) .
  • Thingna and Talkner [2020] J. Thingna and P. Talkner, Quantum measurements of sums, Phys. Rev. A 102, 012213 (2020).
  • Ito et al. [2019] K. Ito, C. Jiang, and G. Watanabe, Universal bounds for fluctations in small heat engines (2019), arXiv:1910.08096 .
  • Verley et al. [2014] G. Verley, M. Esposito, and C. Van den Broeck, The unlikely carnot efficiency, Nature Comm. 5, 4721 (2014).
  • Shevchenko et al. [2010] S. N. Shevchenko, S. Ashhab, and F. Nori, Landau–Zener–Stückelberg interferometry, Phys. Rep. 492, 1 (2010).
  • Barnes and Das Sarma [2012] E. Barnes and S. Das Sarma, Analytically Solvable Driven Time-Dependent Two-Level Quantum Systems, Phys. Rev. Lett. 109, 060401 (2012).
  • Thingna et al. [2014] J. Thingna, P. Hänggi, R. Fazio, and M. Campisi, Geometric quantum pumping in the presence of dissipation, Phys. Rev. B 90, 094517 (2014).
  • Bandyopadhyay and Thingna [2021] J. N. Bandyopadhyay and J. Thingna, Lie algebraic Floquet engineering protocol for periodically driven quantum systems (2021), arXiv:2103.15923 .
  • Kosloff and Rezek [2017] R. Kosloff and Y. Rezek, The quantum harmonic Otto cycle, Entropy 19, 136 (2017).
  • Watanabe et al. [2017] G. Watanabe, B. P. Venkatesh, P. Talkner, and A. del Campo, Quantum Performance of Thermal Machines over Many Cycles, Phys. Rev. Lett. 118, 050601 (2017).