When Landauer argued in 1961 that any physical realisation of erasure of information has a fundamental thermodynamic work cost he irrevocably linked thermodynamics and information theory[@b1][@b2][@b3][@b4][@b5][@b6][@b7][@b8][@b9]. A practical consequence of this insight is that all computers must dissipate a minimal amount of heat in each irreversible computing step, a threshold that is becoming a concern with future computer chips entering atomic scales. The treatment of general *quantum* information processing tasks within the wider framework of quantum thermodynamics has only recently begun[@b13]. Quantum mechanics differs from classical mechanics in at least three central aspects: the special nature of measurement, the possibility of a quantum system to be in a superposition and the existence of quantum correlations. The thermodynamic energy needed to perform a (selective) measurement has been investigated[@b10] and the total work for a closed thermodynamic measurement cycle explored[@b11]. The catalytic role of quantum superposition states when used in thermal operations has been uncovered[@b12] and it has been shown that work can be drawn from quantum correlations[@b13][@b14] in a thermodynamic setting, see [Fig. 1](#f1){ref-type="fig"}. In particular, del Rio *et al.*[@b14] showed that contrary to Landauer's principle, it is possible to *extract* work while performing erasure of a system's state when the system is correlated to a memory. This can occur if and only if the initial correlations imply a negative conditional entropy, a uniquely quantum feature. The thermodynamic process does however now require operation on degrees of freedom external to the system, i.e. the memory's.

Results
=======

Projections and the optimal work value of removing coherences
-------------------------------------------------------------

Our motivation is here to shed light on the implications of performing a measurement on a quantum state that has coherences. We will consider this task in the thermodynamic setting of Landauer's erasure, involving a heat bath at fixed temperature *T* and operation on *N* → ∞ uncorrelated and identically prepared copies of the system (i.i.d. limit). This is of interest in the context of the quantum Jarzynski equality, for example, and will also be central for experiments testing quantum thermodynamic predictions in the future. To tackle this question we define the information-theoretic "projection" for a given initial quantum state *ρ* and a complete set of mutually orthogonal projectors . Such state transformation can be seen as analogous to the state transfer of erasure, , to a blank state . Physically, this projection can be interpreted as the result of an unread, or unselective[@b15], measurement of an observable that has eigenvector projectors . In an unselective measurement the individual measurement outcomes are not recorded and only the statistics of outcomes is known. In the literature the implementation of unselective measurements is often not specified, although it is typically thought of as measuring individual outcomes, e.g. with a Stern-Gerlach experiment, see [Fig. 2a](#f2){ref-type="fig"}, followed by mixing. The crux is that the information-theoretic projection can be implemented in many physical ways. The associated thermodynamic heat and work will differ depending on *how* the projection was done and we will refer to the various realisations as "thermodynamic projection processes". One possibility is decohering[@b16] the state in the so-called pointer basis, , a thermodynamic process where an environment removes coherences in an uncontrolled manner resulting in no associated work. In general it is possible to implement the state transfer in a finely controlled fashion achieving optimal thermodynamic heat and work values.

Of particular importance in thermodynamics is the projection of the system's initial state *ρ* onto the set of energy eigenstates of the system's Hamiltonian with *E*~*k*~ the energy eigenvalues. Here the state's off-diagonals with respect to the energy eigenbasis are removed - a state transformation that is frequently employed in quantum thermodynamic derivations and referred to as "dephasing" or "measuring the energy". Our key observation is that there exists a thermodynamic projection process realising this transformation and allowing to draw from the quantum system a non-trivial *optimal average work* of

Here *T* is the temperature of the heat bath with which the system is allowed to interact, see illustration [Fig. 1](#f1){ref-type="fig"}, *k*~*B*~ is the Boltzmann constant and *S* is the von Neumann entropy. Crucially, this work is strictly positive for quantum states with coherences. Extending the key observation to general projections one finds that optimal thermodynamic projection processes can be implemented that allow to draw an average work of

where an additional internal energy change term appears.

Physical interpretation and assumptions made to derive the optimal work
-----------------------------------------------------------------------

The optimal work values stated in Eqs. [(1](#eq12){ref-type="disp-formula"}) and ([2](#eq14){ref-type="disp-formula"}) are valid for processes applied to classical and quantum states alike. While for a classical ensemble the entropy change, , will be zero this is not so in the general quantum situation, where initial non-diagonal quantum states result in a strictly positive entropy change[@b17]. We note that while the optimal work values are in principle attainable, practical implementations may be suboptimal resulting in a reduced work gain or a higher work cost.

The physical meaning of can be grasped by considering a lower bound[@b18] on it, , see Supplement. Here *d* is the dimension of the system and denotes the Hilbert-Schmidt norm. The first factor quantifies the distance of the initial state from the fully mixed state, while the second factor, , quantifies the angle between the diagonal basis of *ρ* and the projection basis . These terms correspond to incoherent and coherent mixing contributions. The entropy change is non-trivially bounded only if the initial state is not an incoherent mixture with respect to that basis. The entropy bound is the largest for pure initial states whose basis is mutually unbiased with respect to . In this case the optimal entropy change is .

One may wonder where the work has gone to. There are two equivalent approaches to the accounting of work. In the present analysis the focus is on the work that the system exchanges, as done in statistical physics[@b5][@b19][@b20][@b21][@b22]. In this approach it is often not explicitly mentioned where the work goes to, but the only place work can go to are the externally controlled energy sources. Similarly, the heat, i.e. the energy change minus the work, is established implicitly. For example, in the experimental realisation of classical Landauer erasure with a colloidal silica bead trapped in an optical tweezer[@b21], the dissipated heat of erasure was calculated by knowing the applied tilting forces and integrating over the bead's dynamics. The second approach is to collect work in a separate work storage system[@b23], as illustrated by the weight in [Fig. 1](#f1){ref-type="fig"} and detailed in the Supplement. Both the implicit and the explicit treatment of work are equivalent in the sense that the results obtained in one approach can be translated into the other.

The thermodynamic assumptions made to prove Eq. [(2)](#eq14){ref-type="disp-formula"} are congruent with current literature[@b9][@b23][@b24][@b25]; specifically they are: (T0) an isolated system is a system that only exchanges work and not heat; (T1) the validity of the *first law* relating the internal energy change, Δ*U*, of the system during a process to its average heat absorbed and work drawn, ; (T2) the validity of the *second law* relating the system's entropy change to its average absorbed heat, , when interacting with a bath at temperature *T*, with equality attainable by an optimal process; (T3) the thermodynamic entropy to be equal to the von Neumann entropy in equilibrium as well as out-of-equilibrium, . In addition we make the following standard quantum mechanics assumptions: (Q0) an isolated system evolves unitarily; (Q1) control of a quantum system includes its coherences. Details of the proof are in the Methods Summary. We note that in the single-shot setting whole families of second laws apply[@b7][@b8] that differ from (T2) stated above. However, in the limit of infinitely many independent and identically prepared copies of the system these collapse to the standard second law, (T2), on the basis of which Eq. [(2)](#eq14){ref-type="disp-formula"} is derived.

From the information-theory point of view the projections considered here constitute just one example of the larger class of trace-preserving completely positive (TPCP) maps characterising quantum dynamics. Of course, all TPCP maps can be interpreted thermodynamically with the assumptions stated above, resulting in an optimal average work given by a free energy difference. Erasure is another such map whose study forged the link between information theory and thermodynamics. The benefit of discussing "projections" here lies in the insight that this focus provides: it uncovers that coherences offer the potential to draw work making it a genuine and testable quantum thermodynamic feature. This work is non-trivial even when the thermodynamic process is operated on the system alone, not involving any side-information[@b14] stored in other degrees of freedom.

Qubit example for drawing optimal work
--------------------------------------

To gain a detailed understanding of thermodynamic projection processes that give the optimal work stated in Eq. [(1)](#eq12){ref-type="disp-formula"} we now detail one such process for the example of a spin-1/2 particle (qubit), see illustration in [Fig. 2b,c](#f2){ref-type="fig"}. This process consists of a unitary evolution, a quasi-static evolution and a quench[@b25], and it is optimal for any finite dimensional quantum system (proof in the Methods Summary). An experimentalist, Emmy, prepares the spin in a state ( w.l.o.g.) exposed to an external magnetic field which she controls. The Hamiltonian associated with the system is where the energy difference between the aligned ground state, , and anti-aligned excited state, , is given by with the spin's magnetic moment. Importantly, in general the spin state's basis, , are superpositions with respect to the energy eigenbasis, and with . For the optimal implementation of the projection Emmy now proceeds with the following three steps.

Firstly, she isolates the spin from the bath and modifies external magnetic fields to induce a unitary rotation, , of the spin into the energy basis. In nuclear magnetic resonance (NMR)[@b26] and pulsed electron spin resonance (ESR) experiments[@b27] such rotations are routinely realised by radio-frequency and microwave pulses respectively, as evidenced by Rabi oscillations. The power, duration and phase of such a pulse would be chosen to generate the spin-rotation along the green circle until the desired unitary *V* is achieved. In the same step Emmy adjusts the strength of the external B-field such that the spin state is Boltzmann-distributed at temperature *T* with respect to the energy gap of the Hamiltonian at the end of the step, *H*^(1)^. In NMR or ESR the B-field magnitude is tuned quickly on the *T*~1~ timescale to achieve the desired energy gap. In the second step, Emmy wants to implement a quasi-static evolution of the spin that is now thermal. She brings the spin in contact with the heat bath at temperature *T* and quasi-statically adjusts the magnitude of the external B-field allowing the spin state to thermalise at all times. The final B-field, , is chosen such that the final thermal state becomes *η*^*H*^. In ESR this step can be realised by changing the external B-field slowly on the *T*~1~ timescale so that the spin continuously equilibrates with its environment. Finally, Emmy isolates the spin from the environment and quickly changes the B-field to its original magnitude while the state remains *η*^*H*^.

During Step 1 and 3 the system was isolated and the average work drawn is thus just the average energy change. During Step 2 the average work is the equilibrium free energy difference between the final and initial thermal states at temperature *T*, see Supplement for details. In NMR/ESR the work contributions drawn from the spin system are done on the external B-field and the microwave mode. This could be detected by measuring the stimulated emission of photons in the microwave mode or observing current changes induced by the spins dynamics[@b26][@b27]. The overall thermodynamic process has now brought the spin from a quantum state with coherences, *ρ*, into a state without coherences, *η*^*H*^, while keeping the average energy of the spin constant. The net work drawn during the three steps adds up to showing the attainability of the optimum stated in Eq. [(1)](#eq12){ref-type="disp-formula"} for the spin-1/2 example. We note that Eq. [(1)](#eq12){ref-type="disp-formula"} is also the maximal work that can be extracted from a *qubit* state *ρ* under *any* transformation of the system that conserves its average energy, , i.e. for qubits *η*^*H*^ is the optimal final state under this condition.

We emphasise that this optimal implementation involves a finely tuned and controlled operation that relies on knowledge of the initial state *ρ*. This is akin to the situation considered in[@b14] where knowledge of the initial global state of system and memory is required for optimal erasure with side-information. It is important to distinguish this situation from that of Maxwell demon's who has access to knowledge of the individual micro-states that make up the ensemble state , and who uses it to beat the second law[@b28]. In the scenario considered here there is no knowledge of the individual micro-states and the process does not violate the second law, on the contrary, it is derived from it.

Comparison with single-shot work
--------------------------------

The preceding discussion concerned the *average* work that can be drawn when operating on an ensemble of *N* → ∞ independent spins. This scenario contrasts with the single shot situation considered in a number of recent publications[@b7][@b14][@b29][@b30]. In particular, two major frameworks[@b29][@b30] have recently been put forward to identify optimal *single-shot* work extraction and work cost of formation in the quantum setting. These frameworks rely on a resource theory approach[@b6] and make use of min- and max-relative entropies that originate from one-shot information theory. The optimal work extraction schemes of these frameworks require non-diagonal states to be decohered first to become diagonal in the energy basis. This decoherence step is assumed to not have an associated single-shot work. However, the present analysis of energy basis projections showed that thermodynamic projection processes can yield positive average work, see Eq. [(1)](#eq12){ref-type="disp-formula"}. Therefore one may expect a positive work for removing coherences from a state *ρ* in the single-shot setting, too. Since our focus is the *N* → ∞ limit we will not aim to construct the single-shot case. Nevertheless, to establish a notion of consistency between single-shot results[@b29][@b30] and the average analysis presented here we now separate the projection into a diagonal part that can be analysed in the single-shot framework and a non-diagonal part that can be analysed in the average framework. One possible decomposition of is the split in three steps each starting and ending with Hamiltonian *H*: . Here *ρ*~1~ is the rotated state defined above and is the thermal state for the Hamiltonian *H* at temperature *T*. We can now use a single-shot analysis[@b30] for Steps *b* and *c* that involve only states diagonal in the energy basis, giving a single-shot work contribution of , see Supplement. Here *D*~min~ and *D*~max~ are the min- and max-relative quantum entropies, respectively. Taking the limit of *N* → ∞ copies for Steps *b* and *c* and adding the average work contribution for the initial non-diagonal rotation *a*, , one indeed recovers the optimal average work as stated in Eq. [(1)](#eq12){ref-type="disp-formula"}. After making public our results very recently a paper appeared[@b31] that derives the work that can be extracted when removing coherences in a single-shot setting. These results are in agreement with Eq. [(1)](#eq12){ref-type="disp-formula"} and reinforce the above conclusion that coherences are a fundamental feature distinguishing quantum from classical thermodynamics.

Comparison with quantum work fluctuation relations
--------------------------------------------------

The key observation was that thermodynamic projection processes can have a non-trivial work and heat. Another instance where this has interesting repercussions is the quantum Jarzynski equality[@b4][@b5]. This is a generalisation of the prominent classical fluctuation relation valid for general non-equilibrium processes, which has been used to measure the equilibrium free energy surface inside bio-molecules by performing non-equilibrium pulling experiments[@b19]. The quantum version has recently been tested for the first time in a nuclear magnetic resonance experiment[@b26]. The quantum Jarzynski relation, , links the fluctuating work, *W*, drawn from a system in individual runs of the same non-equilibrium process, with the free energy difference, Δ*F*, of the thermal states of the final and initial Hamiltonian, see Supplement. In its derivation a system initially in a thermal state *ρ*~0~ with respect to Hamiltonian *H*^(0)^ at temperature *T* is first measured in the energy basis of *H*^(0)^. The Hamiltonian is then varied in time ending in *H*^(*τ*)^ generating a unitary evolution, *V*, of the system, see [Fig. 3a](#f3){ref-type="fig"}. A second measurement, in the energy basis of *H*^(*τ*)^, is then performed to establish the final fluctuating energy. For each run the difference of the two measured energies has been associated with the fluctuating work[@b5], Δ*E* = −*W*. The experiment is repeated, each time producing a fluctuating work value. On average the work extracted from the system during the quantum non-equilibrium process turns out to be where is the ensemble's state after the unitary evolution, and similarly the average exponentiated work is calculated. The above identification was made assuming that the system undergoes a unitary process with no heat dissipation. However, the need to acquire knowledge of the system's final energies requires the second measurement. The ensemble state is thus further altered from *ρ*~*τ*~ to *η*~*τ*~, the state *ρ*~*τ*~ with any coherences in the energy basis of *H*^(*τ*)^ removed. This step is not unitary - during the projection the system may absorb heat, , indicated in [Fig. 3b](#f3){ref-type="fig"}, whose value depends on *how* the process is conducted. Thus, while the energy difference for the projection is zero, , for states *ρ*~*τ*~ with coherences the entropy difference is not trivial, . This implies that in an experimental implementation of the Jarzynski relation the work done by the system on average can be more than previously thought, . We conclude that the suitability of identifying , and hence the validity of the quantum Jarzynski *work* relation, depends on the details of the physical process that implements the second measurement. This conclusion is not at odds with previous experiments[@b26] which showed nature's agreement with , involving the average of the exponentiated measured fluctuating energy.

Work from coherences of correlated quantum systems
--------------------------------------------------

It is insightful to extend the thermodynamic analysis of projections to correlated systems. An experimenter may have access not only to the system *S* but also the auxiliary systems *A* with which *S* is correlated[@b14]. She can then perform a global operation, , that implements a projection locally on the system *S*, i.e. , while leaving the reduced state of the auxiliary system unchanged, i.e. . By doing so the experimenter can optimally draw the overall work , where is the entropy change for the state of system + auxiliary and is still the energy change of the system *alone*. This quantity can be re-written as the sum of two terms: , the extractable work when operating on the system alone given in Eq. [(2)](#eq14){ref-type="disp-formula"}, and , a positive term quantifying the quantum correlations between *S* and *A*, see Supplement. The latter contribution was previously identified in an inspiring paper by Zurek[@b13]. It depends on the choice of projectors and is related to, but broader than, quantum discord[@b32] which is optimised over all possible projectors. This means that even states of system and auxiliary that can be considered classically correlated (i.e. no discord) provide an advantage for drawing work contrasting with the erasure process where this only occurs for highly entangled states[@b14]. The gap between these two sets of correlated states is an intriguing fact and calls for further exploration of the link between thermodynamics and information theory in the quantum regime.

Discussion of implications
==========================

To conclude, erasure is not the only irreversible information processing task -- in the quantum regime a second fundamental process exists that mirrors Landauer's erasure. In contrast to the minimum heat limit of erasure, thermodynamic projection processes have a maximum work limit. While the former is non-zero for the erasure of classical *and* quantum bits, optimal thermodynamic projection processes have a non-zero work *only* when applied to quantum states with coherences. The optimal average work stated in Eqs. [(1](#eq12){ref-type="disp-formula"}) and ([2](#eq14){ref-type="disp-formula"}) constitutes an experimentally accessible quantum thermodynamic prediction. Future experiments testing this optimal work may be pursued with current setups, for instance with NMR/ESR techniques[@b26][@b27] or single atoms[@b33], and promise to be accessible with other platforms entering the quantum regime, such as single electron boxes[@b22]. Experiments will be limited by practical constraints, such as achieving a quasistatic process and obtaining the maximum work for pure states which may require, for instance, very large B-fields.

The derivation of the optimal work value is mathematically straightforward, just like that of Landauer's principle. The result's significance is that it opens new avenues of thought and provides key input for the construction of a future quantum thermodynamic framework. For example, the developed approach opens the door to investigate the connection between microscopic statistical physics and macroscopic thermodynamics in the quantum regime. While it is straightforward to identify the thermodynamic work of quantum processes involving macroscopic ensembles, what is needed is a microscopic concept of work that when averaged, gives the correct macroscopic work. The microscopic work concept should be valid for general (open) quantum processes and quantum states (including coherences), and only require access to properties of the system. While single-shot approaches have discarded coherences[@b29][@b30], fluctuating work approaches cannot be applied directly to a system undergoing open quantum evolution[@b20].

The observation is also important from the experimental perspective as testing quantum thermodynamic predictions will involve measurement -- a projection process. We have argued that measurements, such as those required in establishing the Jarzynski equality, are not necessarily thermodynamically neutral. Indeed, they can be implemented in different physical ways and in general play an active role in thermodynamics, contributing a non-zero average heat and work. This new perspective gives physical meaning to the change of entropy in the debated quantum measurement process - it provides a capacity to draw work. Specifically, work can be drawn when *coherences* of a state are removed during an unselective measurement.

Finally, it is apparent that optimal thermodynamic projection processes require use of knowledge of the initial state *ρ*, i.e. its basis and eigenvalues. One may be inclined to exclude use of such knowledge, particularly when considering projections in the context of measurement which is often associated with the acquisition of knowledge. Such restriction would necessarily affect the set of assumptions (T0-T3, Q0-Q1) in the quantum regime. These could be changed, for example, by dropping the possibility of saturating the second law inequality (cf. T2) or choosing a new quantum non-equilibrium entropy that only considers the state's diagonal entries (cf. T3). The latter would mean a departure from standard quantum information theory where entropies are basis-independent. Thus whichever approach one takes - not making or making a restriction - quantum coherences will contribute a new dimension to thermodynamics. They either lead to non-classical work extraction or they alter the link between information theory and thermodynamics in the quantum regime. The line drawn here between the assumptions (T0-T3, Q0-Q1) and results (Eqs. [(1](#eq12){ref-type="disp-formula"}) and ([2](#eq14){ref-type="disp-formula"})) establishes a frame for this possibility to be investigated.

Methods Summary
===============

Further underlying research materials can be accessed in the [supplementary information](#S1){ref-type="supplementary-material"} that accompanies this article.

Proof of Eq. [(2)](#eq14){ref-type="disp-formula"}
--------------------------------------------------

Using the first law (T1) the average work drawn in a thermodynamic projection process is simply , where is the average energy change for that process. Relating the average heat absorbed by the system during the process to its entropy change one then obtains (T2). Here is the difference of von Neumann entropies of the system's state before and after the projection (T3). The average work drawn is thus , where the entropy change is non-negative and the energy change can be either positive or negative. The stated *optimal* work, , is achieved when the inequality is saturated by an optimal process (T2) the implementation of which may require knowledge of the initial state and control of coherences (Q1). In the special case of a projection onto the energy eigenbasis the internal energy change is zero, , and one obtains Eq. [(1)](#eq12){ref-type="disp-formula"}.

Optimality of three-step process for finite-dimensional systems
---------------------------------------------------------------

It is straightforward to generalise the proof of optimality from the two-dimensional spin-1/2 example to thermodynamic projection processes in dimension *d*. Again the projectors map onto the energy eigenspaces of the Hamiltonian, , where , , are the energy eigenvalues. A general initial state can be written as where are probabilities, , are rank-1 projectors on the corresponding eigenvectors , and . A unitary operation, *V*, is now chosen such that it brings the initial configuration (*ρ*, *H*) into the new diagonal and thermal configuration where and . The new energy eigenvalues, , are adjusted such that the probabilities *a*~*k*~ are thermally distributed with respect to *H*^(1)^ for the bath temperature *T*. Adjusting the Hamiltonian eigenvalues while letting the state thermalise at all times now results in a isothermal quasi-static operation from to . Here the new energy eigenvalues, , are chosen to be thermal (at *T*) for the state's probabilities which are given by . Finally, a quench brings the thermal configuration quickly into the non-equilibrium state . The average work for this overall process is where and because the first and third steps are unitary (Q0 + T0). The quasistatic step's work is[@b25][@b29] where is the thermal equilibrium free energy for Hamiltonian *H*^(1)^, and similarly, . Summing up and using , one obtains concluding the optimality proof of the process sequence.

Additional Information
======================

**How to cite this article**: Kammerlander, P. and Anders, J. Coherence and measurement in quantum thermodynamics. *Sci. Rep.* **6**, 22174; doi: 10.1038/srep22174 (2016).

Supplementary Material {#S1}
======================

###### Supplementary Information

We thank T. Deesuwan, M. Wolf and R. Renner, G. Morley, R. Uzdin and D. Reeb for insightful discussions and J. Gemmer, R. Renner, S. Horsley and T. Philbin for critical reading of the manuscript. P.K. acknowledges support from the Swiss National Science Foundation (through the National Centre of Competence in Research 'Quantum Science and Technology') and the European Research Council (grant 258932). J.A. is supported by the Royal Society and EPSRC (EP/M009165/1). J.A. thanks the Isaac Newton Institute in Cambridge where part of this work was conceived for the stimulating environment and kind hospitality. This work was supported by the European COST network MP1209.

**Author Contributions** J.A. provided the main idea and developed the central argument. P.K. developed the single-shot analysis. Both authors wrote the manuscript and [supplementary information](#S1){ref-type="supplementary-material"}.

![Thermodynamic setting.\
A system, depicted as a spin, interacts with a heat bath at temperature *T*, with which it exchanges *heat*, and with controlled energy sources, illustrated as coil and weight, with which it exchanges *work*. Work drawn from the system can be collected in a work storage system (weight) for future use.](srep22174-f1){#f1}

![Two physical realisations of a projection process.\
(**a**) *N* identically prepared spin 1/2 particles in state pass a Stern-Gerlach magnet and a screen after which they emerge in either the spin-up or the spin-down beam. Recombining the two beams mixes the spins to the final state for *N* → ∞. Illustration of the spin example discussed in main text, showing the state evolution in (**b**) and the B-field evolution in (**c**). The poles in the Blochsphere (**b**) are the energy eigenstates and that are aligned and anti-aligned with an externally applied B-field (indicated in blue in (**c**)), which initially is (black point in (**c**)). In the first step the Blochvector (black arrow in (**b**)) of Emmy's initial state *ρ* is rotated on the green-dashed circle to (green arrow in (**b**)). The unitary rotation *V* required for this step can be realised by applying a microwave pulse creating an additional B-field (indicated in orange in (**c**)) in the direction orthogonal to the plane of the green circle. At the end of the first step the pulse is turned off and the external B-field is adjusted to (green point in (**c**)). The second step shortens to (red arrow in (**b**)), the Blochvector of *η* (superscripts *H* have been omitted). The external B-field (blue in (**c**)) decreases slowly to (red point at *t*~2~ in (**c**)). In the last step the B-field quickly returns to its initial value, (red point at *t*~3~ in (**c**)), while the state remains *η*. The angle between the Blochvectors of *ρ* and *η* is indicated by *θ*.](srep22174-f2){#f2}

![Dynamical steps in a quantum fluctuation experiment.\
(**a**) The quantum Jarzynski relation is described as characterising the non-equilibrium work of processes that start in a thermal state *ρ*~0~ and evolve unitarily (*V*), driven by a changing Hamiltonian, reaching the final state *ρ*~*τ*~ at time *τ*. This unitary process has no heat contribution. (**b**) Illustration of three steps that are assumed in mathematical derivations of the quantum Jarzynski relation[@b4][@b5]: initial energy measurement of *H*^(0)^ indicated by *M*~0~, unitary evolution, and final energy measurement of *H*^(*τ*)^ indicated by . The ensemble state evolves here from *ρ*~0~ to *ρ*~*τ*~ and then to *η*~*τ*~, the state *ρ*~*τ*~ with its coherences removed. The observed average energy difference encompasses both, the unitary process and the second projection process, and can in general contain a heat contribution , in contrast to (**a**).](srep22174-f3){#f3}
