# Extracting work from quantum measurement in Maxwell’s demon engines

###### Abstract

The essence of both classical and quantum engines is to extract useful energy (work) from stochastic energy sources, e.g. thermal baths. In Maxwell’s demon engines, work extraction is assisted by a feedback control based on measurements performed by a demon, whose memory is erased at some nonzero energy cost. Here we propose a new type of quantum Maxwell’s demon engine where work is directly extracted from the measurement channel, such that no heat bath is required. We show that in the Zeno regime of frequent measurements, memory erasure costs eventually vanish. Our findings provide a new paradigm to analyze quantum heat engines and work extraction in the quantum world.

Introduction. Thermodynamics was originally developed to optimize machines that would extract work from reservoirs at various temperatures, by exploiting the transformations of some working agent. These machines may be assisted by a so-called Maxwell’s demon, that exploits information acquired on the agent to enhance work extraction, at the energy expense of resetting the demon’s memory. Maxwell’s demons and Szilard’s engines have been investigated in several theoretical proposals Maxwell (); Zurek-84 (); Marumaya-09 (); Mandal-12 (); Mandal-13 (); Deffner-13 (); Deffner-13bis (); Strasberg-13 (); Horowitz-13 (); Barato-13 (), including the thermodynamics of feedback control Sagawa-08 (); Sagawa-10 (); Sagawa-12 (), and experimentally realized in various systems, e.g. Brownian particles Toyabe-10 (); Roldan-14 (), single electron transistors Koski-14 (); Koski-15 () and visible light Vidrighin-16 (). Latest experiments have started addressing the regime where the working agent exhibits quantum coherences Camati-16 (); Cottet-17 (). The potential extraction of work from quantum coherence leads to interesting open questions related to the energetic aspects of quantum information technologies Oppenheim-00 (); Del Rio-11 (); Park-13 (); Lostaglio-15 (); Kammerlander-16 (); Korzekwa-16 (). Furthermore, novel designs for quantum engines, based on various kinds of quantum non-equilibrium reservoirs have been suggested Scully-03 (); Abah-14 (); Zhang-14 (); Uzdin-15 (); Niedenzu-15 (); Manzano-16 () and experimentally investigated Rossnagel-14 (); Rossnagel-16 ().

Most quantum engines considered so far involve a hot reservoir, which is the primary source of energy. In this framework, measurements performed by the demon are practical steps where information is extracted, without changing the energy of the working agent. Ultimately, measurement (just like decoherence) can appear as a detrimental step of the thermodynamic cycle as it destroys quantum coherences, further preventing to extract work from them Lloyd-97 (). Here we adopt a different approach and show that measurement itself can be exploited as a fuel in a new kind of quantum engine. Originally here, the demon can perform measurements that are sensitive to states in an arbitrary basis of the system Hilbert space. It was recently shown Brandner-15 (); Elouard-16 (); Abdelkhalek17 (); Yi17 () that performing projective measurements on a quantum system can change its average energy, provided that the measured observable does not commute with the system Hamiltonian. If the demon projects the system state onto superpositions of energy eigenstates, it can thus provide energy just by measuring. We study the performance of the engine as a function of the measurement basis and repetition rate, and evidence that a net work can be extracted from the measurement channel, even in the absence of any hot reservoir that would be directly coupled to the qubit. In the Zeno limit of quickly repeating measurements, the entropy of the demon’s memory vanishes, suppressing the energetic costs related to its erasure.

Thermally driven engine Before detailing our proposal, we recall a possible operating mode for an elementary thermally driven engine assisted by a Maxwell’s demon (Fig. 1a). The working agent is a qubit whose energy eigenstates are and , and transition frequency is . The bare system Hamiltonian is . Before the cycle starts, the qubit is coupled to a hot bath at temperature verifying where is the Boltzmann constant. It is thus thermalized in the mixed state where is the qubit density matrix. During this heating step the qubit entropy (resp. mean internal energy ) increases up to (resp. , where is the heat extracted from the hot bath).

The qubit is then decoupled from the bath and measured by a demon in its energy basis. We first do not focus on the physical implementation of the demon and treat it as a device extracting and storing information on the qubit onto some classical memory (readout), and exerting some action on the qubit, conditioned to the readout (control). The physical durations of the readout, feedback and erasure steps are neglected, and additional energetic costs related to amplification of measurement outcomes are not considered. After the readout step, the demon’s memory is perfectly correlated with the qubit state, and its entropy satisfies .

The work extraction step is triggered if the qubit is measured in the state , which happens half of the times since we have considered large temperatures . A convenient way to extract work consists in resonantly coupling the qubit to a classical drive , where is the qubit lowering operator and the Rabi frequency. In the frame rotating at the drive frequency , the Hamiltonian eigenstates are . We have defined , with the normalized vector being written in the basis of the Bloch sphere, and . The coupling time is tuned such that the qubit undergoes a -pulse that coherently brings the system from state to .

The change of internal qubit energy, induced by the pulse, reads if the qubit is initially measured in (zero otherwise). This energy decrease quantifies the extracted work, that is used to coherently amplify the driving field of the pulse by one extra photon. In practice, the qubit could then provide work to power up another processing unit of a quantum machine in photonic or microwave circuits Ikonen-16 (). Note that we consider large enough drive amplitudes, so that the extra photon has negligible effect on the coupling Hamiltonian. The mean extracted work finally equals . The cycle is closed with the erasure of the demon’s classical memory. This step can be realized by performing Landauer’s protocol Landauer (); Berut-12 (); Del Rio-11 (), which requires some hidden work source and cold bath of temperature as additional resources. When it is performed quasi-statically, erasure costs a minimal work .

Finally, we define the engine’s yield as the difference between the extracted work and the work required to erase the memory , divided by the resource, i.e. the heat Lloyd-97 (). We find

(1) |

Measurement powered engine (MPE) We now introduce a new protocol to operate the engine, for which the demon is allowed to perform projective measurements in arbitrary bases of the system state. The measurement gives rise to some energy change Brandner-15 (); Elouard-16 (); Abdelkhalek17 (); Yi17 (): This is the only fuel for our engine, and no hot thermal bath is required (Fig. 1b). We first focus on the case which will reveal to maximize the efficiency. The qubit is initially measured and prepared in the operating point . A cycle then consists in the four following steps:

(i)Work extraction The qubit is coupled to the drive (Hamiltonian ) during a time . Introducing the Rabi angle (Fig. 1c), the extracted work reads . is strictly positive as long as (Fig.1d). Each cycle provides the same amount of work, which is extracted from the coherence of the state Cottet-17 (); Uzdin-15 (). Reciprocally, starting from the state would trigger energy absorption from the drive and negative work extraction.

(ii)Readout. The demon measures the qubit in the basis , preparing it in the mixed state . The qubit states and are classically correlated with the states of the demon’s memory: Therefore the entropies of the qubit and the demon satisfy , where is the Shannon entropy (expressed in bits). On the other hand, whatever its outcome, the measurement deterministically restores the qubit internal energy to its initial value since , providing an energy .

Importantly here, measurement plays three roles. First, as in classical Maxwell’s demons engines, it allows extracting information on the qubit state. As a property of quantum measurement, it also increases the qubit entropy. Finally, it provides energy to the qubit since the measurement basis does not commute with the bare energy basis. These two last characteristics make the connection between the measurement process and the action of a thermal bath, which lies at the basis of our MPE.

(iii)Feedback. If the outcome is , a feedback pulse prepares the qubit back in state . This step has no energy cost, e.g. it can be realized by letting the qubit freely evolve (Rotation around the axis of the Bloch sphere) during some appropriate time. At the end of this step the qubit is prepared back in the pure state .

(iv)Erasure. The classical demon’s memory is finally erased to close the cycle. Just like in Eq. (1), we consider the minimal bound for the erasure work , which is reached in quasi-static processes.

By applying the same definition as above with as the resource, we find for the yield:

(2) |

The yield is plotted in Fig. 2a, together with the classical yield . It is minimized when where . There both the thermally driven engine and the MPE provide the same amount of mean extracted work and require the same work to erase the demon’s memory. When , erasure cost decreases as the entropy of the memory decreases, leading to a larger yield than in the thermal case.

The limit corresponds to the Zeno regime where stroboscopic readouts are performed at a rate faster than the Rabi frequency (). Here the extracted work per cycle scales as , while the qubit is frozen in the state and the energetic erasure cost behaves as , which maximizes the yield . In this regime, the device behaves as a transducer converting deterministically the energy provided by the measurement channel into work. This defines another operating mode of the MPE, which has no classical equivalent as the control over the energy transfer is ensured by performing frequent quantum measurements. Interestingly, feedback is still crucial to allow work extraction in the steady state regime. Without feedback indeed, the energetic costs related to Zeno stabilization diverge Abdelkhalek17 (). Reciprocally, it is possible to extract some positive work without feedback during some finite time before the engine switches off. An experimental realization of this case is studied below.

We finally study the extracted power (See Supplemental and Fig.2), as a function of the operating point and Rabi angle . As expected, measuring the qubit in its bare energy basis leads to zero power extraction since the measurement channel does not provide any energy. The engine also switches off if the demon measures the qubit in the coupling Hamiltonian eigenbasis , since these states do not give rise to any work exchange between the qubit and the drive. As mentioned previously, maximal power is obtained if . Here the qubit coherently provides energy to the drive in the fastest way. Reciprocally, using state triggers the reverse mode where the engine coherently extracts maximal power from the drive.

Implementation In the Supplemental we propose an experiment where work is extracted in the quantized field of a cavity mode. Here we consider a superconducting circuit where work is extracted as propagating photons Cottet-17 (). A superconducting qubit is dispersively coupled to a single mode of a microwave cavity, such that by measuring the cavity state, one performs a Quantum Non Demolition projective measurement of the qubit observable Wallraff-04 (). It is then possible to realize a periodic measurement of , and control feedback as demonstrated in Ref. Campagne-13 (). To do so, two short pulses are applied before and after the projective measurement of . The first pulse coherently maps the targeted measurement basis on the basis, while the second pulse performs the reverse operation. The net effect of the total sequence is to project the qubit state onto one of the two eigenstates of . For optimized geometries Walter-17 () or using longitudinal coupling Kerman (); Billangeon (); Didier-15 (); Richer (), Quantum Non Demolition projective measurements of can be performed and repeated on typical times as fast as ns, while pulses take of the order of 10 ns. Taking into account the physical durations of these different steps, the effective projective readout of can be completed within a realistic time ns.

The work extraction step (i) is performed by driving the qubit with a microwave field through an input port of the cavity mode (Fig. 3a). In the limit where the Rabi frequency is much larger than the qubit decay rate , the extracted power is directly given by the difference between the output and input powers (See Ref. Cottet-17 () and Supplemental). As shown above, power extraction is maximized in the Zeno limit. Experimentally, this regime requires : These conditions can be fulfilled with more than one order of magnitude between each timescale, as evidenced by the observations of the Zeno regime in circuit-QED setups Bretheau (); Slichter ().

It is interesting to look at the implementation in the open loop protocol, i.e. in the absence of feedback. In Fig. 3c we have plotted the simulated power extracted in a single stochastic realization of the protocol, with realistic parameters taking into account the finite measurement time. One clearly sees the quantum jumps between the two working points of the engine, i.e. the state (resp. ) giving rise to a positive (resp. a negative) power extraction. Fig. 3d features the mean extracted power as a function of time, averaged over a large number of realizations for a qubit initialized in the state. At short times, the engine provides work. At large times, the memory about the initial state is lost and the qubit ends up in a perfectly mixed state, such that the mean extracted power vanishes and the engine switches off. The smaller Rabi angle , the later the switch off occurs. The analytical expression (see Supplemental) is plotted together with the numerical simulation.

Our modeling suggests a physical interpretation of the energy provided by the measurement channel in a specific case. We analyze the first cycle of the engine in which the qubit starts in state . After the work extraction step, the qubit ends up in of internal energy . The first -pulse maps the qubit state onto of internal energy . The pulse therefore provides an amount of energy (work) . The next operation is the measurement of , which projects the qubit onto the state (resp. state ) with probability (resp. ), providing the energy (resp. ). Finally, the second pulse brings the state (resp. ) back onto (resp. ), which costs the energy (resp. ). As expected, the total energy provided during the effective readout in the case where is found is . This analysis shows that this energy transfer actually represents a composite term gathering the deterministic contributions of the pulses (work) and of the stochastic contribution of the projective measurement of . In the Zeno regime , this composite term reduces to the exchanged energy during the pulses.

This example illustrates the interesting questions raised by the thermodynamic nature of the energy transferred to a quantum system during its measurement. The denomination of quantum heat suggested by some of us Elouard-16 () acknowledges the stochastic nature of the system dynamics during the measurement-induced energy changes. Decomposing the measurement process in different steps leads to splitting the energy provided by the measurement channel into work and heat contributions; however, such decomposition depends on the protocol, while the quantum heat will remain the same, as a byproduct of measurement postulate. The status of this postulate is still debated nowadays (See e.g. CSM (); PT-Zurek (); PT-AG ()), giving rise to different approaches to build a consistent quantum thermodynamics. Eventually, these different perspectives reflect the various interpretations of quantum mechanics, which coexist without altering the efficiency of the theory.

Conclusion
We propose and study the performances of a genuinely quantum heat engine, where work is extracted from stochastic quantum fluctuations induced by the measurement process, instead of stochastic thermal fluctuations due to the coupling to a hot bath. We show that our engine is a versatile device whose behavior can be controlled with the measurement rate. In the Zeno regime of frequent measurements, the MPE behaves like an energy transducer providing efficiencies close to one and maximal powers. MPEs can readily be implemented in state of the art setups of circuit and cavity quantum electrodynamics, where measurement can be performed in arbitrary bases and the Zeno regime has already been evidenced Bretheau (); Slichter ().

Acknowledgements We thank Michel Brune, Sébastien Jézouin, Jean-Michel Raimond for enlightening discussions. This work was supported by the ANR under the grant 13-JCJC-INCAL and by the COST network MP1209 “Thermodynamics in the quantum regime”.

## References

- (1) J. C. Maxwell, Theory of Heat (Longmans, London, 1871).
- (2) W. Zurek, in Frontiers of Nonequilibrium Statistical Physics Volume 135 of Nato Science Series B: (1984).
- (3) P. Marumaya, F. Nori, V. Vedral, Rev. Mod. Phys. 81, 1 (2009).
- (4) D. Mandal, and C. Jarzynski, PNAS 109, 11641-11645 (2012).
- (5) D. Mandal, H. T. Quan, and C. Jarzynski, Phys. Rev. Lett. 111, 030602 (2013).
- (6) S. Deffner and C. Jarzynski, Phys. Rev. X 3, 041003 (2013).
- (7) S. Deffner, Phys. Rev. E 88, 062128 (2013).
- (8) P. Strasberg, G. Schaller, T. Brandes, and M. Esposito, Phys. Rev. Lett. 110, 040601 (2013).
- (9) J.M. Horowitz, T. Sagawa, J.M.R. Parrondo, Phys. Rev. Lett. 111, 010602 (2013).
- (10) A.C. Barato, U. Seifert, EPL Europhys. Lett. 101, 60001 (2013).
- (11) T. Sagawa and M. Ueda, Phys. Rev. Lett. 100, 080403 (2008).
- (12) T. Sagawa and M. Ueda, Phys. Rev. Lett. 104, 090602 (2010)
- (13) T. Sagawa and M. Ueda, Phys. Rev. Lett. 109, 180602 (2012).
- (14) S. Toyabe, et al, Nat. Phys. 6, 988-992 (2010).
- (15) É. Roldàn, I. Martínez, J. M. R. Parrondo, D. Petrov, Nat. Phys. 10, 457 (2014).
- (16) J. Koski et al, Phys. Rev. Lett. 113, 30601 (2014).
- (17) J. Koski et al, Phys.Rev.Lett. 115, 260602 (2015).
- (18) M. D. Vidrighin et al., Phys. Rev. Lett. 116, 050401 (2016).
- (19) P. A. Camati et al., Phys. Rev. Lett. 117, 240502 (2016).
- (20) N. Cottet et al., under review.
- (21) J. Oppenheim et al, Phys. Rev. Lett. 89 180402 (2000).
- (22) L. Del Rio et al, Nature 474, 61-63 (2011).
- (23) J.J. Park et al, Phys. Rev. Lett. 111, 230402 (2013)
- (24) M. Lostaglio, D. Jennings, T. Rudolph, Nat. Comm. 6, 6383 (2015).
- (25) P. Kammerlander and J. Anders, Sci. Rep. 6, 22174 (2016).
- (26) K. Korzekwa, New J. Phys. 18, 023045 (2016).
- (27) M.O. Scully, et al, Science 299, 862 (2003).
- (28) O. Abah and E. Lutz, EPL, 106 20001 (2014).
- (29) K. Zhang, F. Bariani, P. Meystre, Phys. Rev. Lett. 112, 150602 (2014)
- (30) R. Uzdin, A. Levy, R. Kosloff, Phys. Rev. X 5, 031044 (2015).
- (31) W. Niedenzu et al, New J. Phys. 18, 083012 (2016).
- (32) G. Manzano et al, Phys. Rev. E 93, 052120 (2016).
- (33) J. Rossnagel, et al, Phys. Rev. Lett. 112, 030602 (2014).
- (34) J. Rossnagel, et al, Science J 352, 325-329 (2016).
- (35) S. Lloyd, Phys. Rev. A 56, 3374 (1997).
- (36) K. Brandner, M. Bauer, M. T. Schmid and U. Seifert, New J. Phys. 17, 065006 (2015).
- (37) C. Elouard, D. Herrera-Martí, Maxime Clusel, A. Auffèves, Nature Quantum Information 10.1038/s41534-017-0008-4 (2017).
- (38) K. Abdelkhalek, Y. Nakata and D. Reeb, arXiv:1609.06981 (2016).
- (39) J. Yi, P. Talkner, Y. Woon Kim, arXiv:1703.04359.
- (40) J. Ikonen, J. Salmilehto, M. M?tt?nen, arXiv:1609.02732 (2016).
- (41) R. Landauer, Irreversibility and Heat Generation, 183-191 (1961).
- (42) A. Berut et al, Nature 483, 187-189 (2012).
- (43) A. Wallraff et al., Nature. 431, 162 (2004).
- (44) P. Campagne-Ibarcq, et al, Phys. Rev. X 3, 021008 (2013).
- (45) T. Walter et al., arxiv:1701.06933 (2017)
- (46) A. J. Kerman, New J. Phys. 15, 123011 (2013).
- (47) P.-M. Billangeon, J. S. Tsai, and Y. Nakamura, Phys. Rev. B 91, 094517 (2015).
- (48) N. Didier et al, Phys. Rev. Lett. 115, 203601 (2015).
- (49) S. Richer, and D. DiVincenzo Phys. Rev. B 93, 134501 (2016).
- (50) L. Bretheau, P. Campagne-Ibarcq, E. Flurin, F. Mallet, and B. Huard, Science, 348, 776 (2015).
- (51) D. H. Slichter et al., New J. Phys. 18, 53031 (2016).
- (52) A. Auffèves and P. Grangier, Foundations of Physics, 46(2), 121-137 (2015).
- (53) W. H. Zurek, Classical selection and quantum Darwinism, Physics Today.68 (5), 9-10.http://dx.doi.org/10.1063/PT.3.2761
- (54) A. Auffèves and P. Grangier, Comment on classical selection and quantum Darwinism, Physics Today 05/2015 ; 68(5) :8-8. DOI :10.1063/PT.3.2759

Supplemental Material: Extracting work from quantum measurement in Maxwell demon engines

Extracting work from quantum measurement in Maxwell’s demon engines

Cyril Elouard

David Herrera-Martí

B. Huard

Alexia Auffèves

## I. Extracted power

The work extracted during each cycle starting in state reads:

(S1) | |||||

When and have different energies, the feedback step gives rise to some non zero work cost that contributes (positively or negatively) to work extraction:

Finally, the average extracted power reads (neglecting the duration of the readout, feedback and erasure steps):

(S3) | |||||

where we have introduced the Cartesian coordinates of the unit vector .

## II. Open loop implementation

We have computed an analytical expression of the mean extracted power at the N cycle of the engine. We focus on the limit such that we can restrict our analysis to second order in . We assume that the engine has been initialized with the qubit in the pure state . After cycles without feedback the qubit is in the mixed state , such that work extraction lead to a mean extracted work . The state is obtained by applying unitary evolution and removing off-diagonal terms in the basis . By using the recurrence relation , we derive the mean extracted power at the N step

(S4) |

The integrated mean work provided by the engine after cycles reads and converges towards . Naturally, this work diverges as as the engine never switches off in the Zeno regime.

## III. Work extraction in circuit Quantum ElectroDynamics

Here we recall some of the theoretical results exploited to model the experiment reported in Cottet-17 (). A qubit is driven by a classical field of Rabi frequency via the input port of a cavity. In case of large qubit-cavity detuning, the cavity mode can be adiabatically eliminated and the rate of input and output photons verify

(S5) |

where stands for the spontaneous emission rate of the qubit in the output port, (resp. ) is the lowering operator in the input (resp. output) mode of the cavity. The input field is a coherent field , where is chosen real without loss of generality. In the classical limit , the third right-handed term can be neglected. The extracted power (in units of ) eventually reads

(S6) |

We have used that . As shown in the main text, the extracted power is maximal in the Zeno limit where the qubit is frozen in the state , where it equals .

## IV. Work extraction in Cavity Quantum Electrodynamics

The drive is modeled by a coherent field initially injected in the mode of a high quality factor cavity. We denote the mean number of photons and the phase of the coherent field, such that . The coupling is described by the Jaynes-Cummings Hamiltonian , where is the vacuum Rabi frequency.

The situation studied in the main text is retrieved in the classical limit of large , such that this Hamiltonian becomes , where and are the Pauli matrices. The classical Rabi frequency reads . We choose , such that the eigenstates are and . We provide here a full quantum analysis valid for smaller numbers of photons. As we show below, work extraction translates into an increase of the mean photon number in the cavity mode.

The calculations are similar to the pioneering theory of Gea-Banacloche Gea-90 (): At the initial time the qubit and the mode are prepared in the state where . The initial state can be rewritten , and evolves into the entangled atom-field state:

(S7) | |||||

We have introduced and . Rewriting this state in the basis , , it yields

(S8) |

with

(S9) | |||||

and

(S10) | |||||

We now consider the limit , such that we get at first order in : , . The two states of the cavity mode and respectively correlated to and read:

and

(S12) | |||||

where we have used that . The states are not normalized: their norm encodes the probability to find respectively as a result of the measurement. We can check that the probability to find goes to when , and that the probability of finding fulfils , which agrees with the calculation provided in the main text. When the outcome is found, the new photon number in the field is which equals to first order in . At each cycle, the cavity energy therefore increases by an amount .

## References

- (55) J.Gea-Banacloche, Phys. Rev. Lett. 65, 3385 (1990).
- (56) N. Cottet et al., under review.