Skip to main content
Proceedings of the National Academy of Sciences of the United States of America logoLink to Proceedings of the National Academy of Sciences of the United States of America
. 2017 Jul 3;114(29):7561–7564. doi: 10.1073/pnas.1704827114

Observing a quantum Maxwell demon at work

Nathanaël Cottet a,1, Sébastien Jezouin a,1, Landry Bretheau a, Philippe Campagne-Ibarcq a, Quentin Ficheux a, Janet Anders b, Alexia Auffèves c, Rémi Azouit d,e, Pierre Rouchon d,e, Benjamin Huard a,f,2
PMCID: PMC5530687  PMID: 28674009

Significance

Maxwell’s demon plays a central role in thermodynamics of quantum information, yet a full experimental characterization is still missing in the quantum regime. Here we use superconducting circuits to realize a quantum Maxwell demon in which all thermodynamic quantities can be controlled and measured. Using power detection resolved at the single microwave photon level and unprecedented tomography techniques, we directly measure the extracted work while tracking the qubit and cavity entropies and energies. We are thus able to fully characterize the demon’s memory after the work extraction and show that it takes full part in the thermodynamic process. The experiment establishes superconducting circuits as a testbed well suited to perform quantum thermodynamics experiments.

Keywords: quantum thermodynamics, superconducting circuits, quantum information

Abstract

In apparent contradiction to the laws of thermodynamics, Maxwell’s demon is able to cyclically extract work from a system in contact with a thermal bath, exploiting the information about its microstate. The resolution of this paradox required the insight that an intimate relationship exists between information and thermodynamics. Here, we realize a Maxwell demon experiment that tracks the state of each constituent in both the classical and quantum regimes. The demon is a microwave cavity that encodes quantum information about a superconducting qubit and converts information into work by powering up a propagating microwave pulse by stimulated emission. Thanks to the high level of control of superconducting circuits, we directly measure the extracted work and quantify the entropy remaining in the demon’s memory. This experiment provides an enlightening illustration of the interplay of thermodynamics with quantum information.


In 1867, pondering the newly developed thermodynamic laws, Maxwell came to the disturbing conclusion that a “demon” can extract work cyclically from a thermodynamic system beyond the limits set by the second law when acting upon the information it obtains about the system (1). This paradox was resolved a century later when Landauer realized that information processing has an entropic cost and Bennett argued that the demon’s memory must take full part in the thermodynamic cycle (2). Recent experiments have realized classical versions of elementary Maxwell demons in various physical systems (38). Although quantum versions have long been investigated theoretically (913), experimental realizations are in their infancy (7, 8), and a full characterization is still missing. Using superconducting circuits, we reveal the inner mechanics of a quantum Maxwell demon that is able to extract work from a quantum system. Importantly, we are able to directly probe the extracted work by measuring the output power emitted by the system through stimulated emission, without inferring it from system trajectories (36, 14). We are thus able to demonstrate how the information stored in the demon’s memory affects the extracted work. To make the characterization complete, we also measure the entropy and energy of the system and the demon. Superconducting circuits thus reveal themselves as a suitable experimental testbed for the blooming field of quantum thermodynamics of information (1519).

In the experiment, the system S is a transmon superconducting qubit (20) with energy difference hfS=h×7.09 GHz between its ground |g and excited |e states. It is embedded in a microwave cavity that resonates at fD=7.91 GHz and plays the role of the demon’s memory D. The dispersive Hamiltonian reads H=hfS|ee|S+hfDddhχdd|ee|S, where d is the annihilation operator of a photon in the cavity. The last term induces a frequency shift of the cavity by χ=33 MHz when the qubit is excited. Reciprocally, the qubit frequency is shifted by Nχ when the cavity hosts N photons. This coupling enables correlation of the cavity with the qubit, by driving it through one of the two microwave ports a and b. This correlation enables the extraction of work by the demon in an autonomous manner (Fig. 1).

Fig. 1.

Fig. 1.

Sketch of the quantum Maxwell demon experiment. (A) After preparation (step 1) in a thermal or quantum state by a pulse at frequency fS, the system S (superconducting qubit) state is recorded (step 2) into the demon’s quantum memory D (microwave cavity). A pulse incoming toward port a at fD populates the cavity mode with a state ραin only if the qubit is in the ground state |gS. This information is used to extract work W (step 3) which charges a battery B (a microwave pulse at frequency fS on port b) with one extra photon. Importantly, the system emits this photon only when the demon’s cavity is empty. The work is determined by amplifying and measuring the average output power at fS on bout. The memory reset (step 4) is performed by cavity relaxation. (B) When the system starts in a quantum superposition of |gS and |eS, the demon and system are entangled after step 2.

Thermodynamic Cycle

We now discuss the steps of the work extraction cycle. During step 1, we prepare the system in a thermal state at an arbitrary temperature TSTS0 (Fig. 1), where TS0=103±9 mK is the equilibrium system temperature in the dilution refrigerator. This thermalization is realized by driving, in a fraction p(TS) of all experimental sequences, the qubit with a resonant π-pulse, which flips the qubit state, thus simulating thermalization with a heat bath (SI Appendix). Conveniently, this technique can also prepare nonthermal quantum states, such as an equal superposition of the qubit, by driving it with a π/2-pulse.

Step 2 consists in encoding the state of the system into the demon’s memory, which starts in the vacuum |0D. Driving port a with a pulse of amplitude αin at frequency fD (Fig. 1) excites the demon’s memory conditioned on the system being in |gS. This selectivity requires the pulse duration to be longer than χ1 and shorter than the coherence times of the qubit and cavity (SI Appendix). By design, decoherence of both system and demon’s memory is dominated by spontaneous emission into port b with respective relaxation rates γS=(2.2μs)1 and γD=(207ns)1. If the system starts in an arbitrary superposition cg|gS+ce|eS, it becomes entangled with the demon (Fig. 1); ideally, cg|gS|αD+ce|eS|0D, where |αD is a coherent state. In practice, the qubit-induced nonlinearity and decoherence of the cavity lead to an impure memory state ραin instead of |αD. The average photon number n¯=Tr(ddραin) is determined by fitting the numerical result of the full master equation to match the experimentally obtained system state (SI Appendix).

The work extraction occurs during step 3. A coherent π-pulse, playing the role of the battery B, is sent through port b at frequency fS (Fig. 1). Without the demon, the qubit would deterministically absorb (emit) a quantum of energy hfS from (into) the battery, if it is initially in |gS (|eS). Crucially, the demon prevents this transfer when its memory has N1 photons, because then the pulse is off resonance by Nχ. When the correlation between the demon’s memory having no photons and the system being in |eS is perfect, only stimulated emission is allowed, and work is extracted from system to battery. However, when the correlation is not perfect, in particular when n¯1, the demon sometimes erroneously lets the qubit absorb a quantum of energy from the battery.

The demon thus ends in a state with an entropy SD of at least the decrease of system entropy, and has to be reset to close the thermodynamic cycle (2). In the final step of this experiment (step 4), we let the demon’s memory thermalize with a second bath that has a low temperature (72±13 mK). Physically, this bath differs from the one coupled to the system, because of the various operating frequency ranges of the microwave components on the output line and because of the likely coupling of the transmon qubit to excited vibration modes of the substrate, which couple to the system more than to the demon. So this demon can extract work in a cyclic manner, but it does so using a second bath, thus behaving as a regular heat engine.

Measuring the Extracted Work

Remarkably, the power extracted from the system during step 3 when it is driven at fS can be directly accessed (SI Appendix) through the difference between the incoming and outgoing photon rates of port b,

PhfS=boutboutBbinbinB=γb1+σZS2+Ω2σXS,

where σX,σY, and σZ are the Pauli matrices for the system; γb is the Purcell coupling rate of the system to the transmission line through port b; and Ω|binB| is the frequency of the Rabi oscillations around σY induced by the drive. The two contributions on the far right side can be identified as spontaneous emission of the system through port b and stimulated emission. The latter is a coherent exchange of energy between the drive and system and, as such, contributes to the work extracted from the system.

In the experiment, at t=0, we send a pulse bin with a duration π/Ω with Ω=(67ns)1γSγb so that spontaneous emission can be neglected, and boutboutBbinbinB fully quantifies the work extraction. We measure the field intensity on bout using a near-quantum-limited heterodyne detection setup (SI Appendix) to access directly the average instantaneous power extracted from the system (21). The power is shown in Fig. 2 as a function of time during the pulse in step 3 in units of photons per microsecond for various initial system states (Fig. 2, Inset) and for two values of the average photon number in the demon memory n¯. In Fig. 2A, the average photon number n¯=9 is large enough for the demon to distinguish the system states well. As expected from the demon’s action, the measured power is positive for all initial states and greater for higher initial system temperature. In contrast, when the demon is unable to distinguish |gS and |eS, which happens for αin=n¯=0, the extracted power is measured to be negative for the system starting in any thermal state (Fig. 2B). This counterproductive action occurs because the demon is ignorant and lets the system drain energy from the battery. This failure uncovers the role of information in the work extraction by the demon.

Fig. 2.

Fig. 2.

Measured extracted power (normalized by a quantum of energy hfS) for step 3 as a function of time during the pulse at fS. Blue, orange, and red symbols and error bars correspond to an initial thermalized system at temperatures T=0.17 K, 0.40 K, and above 8 K (see Inset for initial Bloch vectors). Green symbols correspond to an initial quantum superposition obtained by a 3π/2-pulse acting on the system at 0.10 K. Solid lines result from a numerical simulation with no fit parameters and match the measurements well. (A) The demon memory state ραin contains n¯=9 photons when encoding a system in |gS. (B) Same as A for an ignorant demon (n¯=0 in step 2).

At n¯=0, a distinctive feature appears in Fig. 2B when the system starts in a quantum superposition of |gS and |eS (green). Even though the total work is zero, just like for the equally mixed state (red), the instantaneous power now oscillates, illustrating the work potential of coherences. In contrast, for an efficient demon (n¯=9 in Fig. 2A), there is no quantum signature in the extracted work. Note that the peak in the green curve arises due to overlapping of steps 2 and 3 to avoid transients (SI Appendix).

Integrating the extracted power over the duration of step 3 gives the work W=0π/ΩPdt, whose magnitude is, at most, hfS. As αin increases, the demon’s encoding improves, and the work increases from negative to positive values (Fig. 3A). This extracted work is given by the change in the system internal energy US=hfSe|ρS|e during step 3, W=ΔUSQΔUS, where Q is the heat arising from spontaneous emission, which is negligible. Although the work was measured on the battery, we independently measure US as a function of αin (Fig. 3B) at the end of step 4 using the cavity as a dispersive detector (20) (SI Appendix). The variations of work (Fig. 3A) indeed mirror the change of internal system energy (Fig. 3B) between steps 1 (dashed lines) and 4 (symbols). As αin increases, the demon extracts more energy from the system, making it end up close to the ground state (residual excitation of 2.7±1%) whatever the initial state (Fig. 3B). Indeed, the thermodynamic cycle can be used to cool down superconducting qubits in practice, as previously demonstrated in its continuous version (22). The full decay of US and the increase of W as a function of αin are well reproduced numerically (solid lines in Fig. 3). It is natural to compare the extracted work with Landauer’s work cost of erasure, kBTln2 (2, 10). Because the system is connected to a thermal bath only during step 1, the work extraction is not optimal. Indeed, W is limited by the initial internal energy US=hfS/[1+exp(hfS/kBT)], which is at most 40% of the Landauer bound.

Fig. 3.

Fig. 3.

Work and internal energy of the system. (A) Total extracted work during step 3 as a function of n¯, with n¯ the number of photons in the demon memory. Symbols correspond to measurement of the battery, and solid lines result from simulations. Colors correspond to the same initial states of the system as in Fig. 2. (B) Symbols denote measured internal energy US of the system at step 4 as a function of the amplitude αin of the pulse at fD used in step 2 to encode information in the demon’s memory. Error bars are smaller than symbol size. Solid lines result from the full master equation and establish the conversion between αin and n¯. An additional dark blue color corresponds to an initial temperature TS=TS0. Dashed lines indicate US after preparation step 1. The equality of extracted work (A) and change in US (B) is highlighted by dashed arrows of identical lengths.

Probing What the Demon Remembers

A key signature of Maxwell’s demon is the transfer of entropy from the system to the memory (2). In contrast to previous realizations of Maxwell demons (36), our experiment not only allows a direct measurement of work but also gives full access to the density matrix ρD of the demon’s memory, including its von Neumann entropy SD=Tr(ρDlnρD). We perform a full quantum tomography of ρD using the qubit as a measurement apparatus right after step 3 (SI Appendix) (23). When the qubit starts close to |gS, the maximum likelihood reconstruction of the demon’s state gives ραin (SI Appendix) (24). When we set αin=0.25, the measured state ραin is found to be entropic and far from a coherent state, as expected (Fig. 4A). In contrast, when the system starts in |eS, the memory stays close to |0D, with a small residual entropy (Fig. 4B). Most interesting is the comparison of the effect on the demon when the system starts in a quantum superposition (Fig. 4C) versus in a thermal state at large temperature (Fig. 4D). In the first case, SD=1.0±0.05, and ρD exhibits coherences between |0 and higher Fock states, whereas coherences are missing in the second case, leading to a larger entropy SD=1.2±0.1. This transfer of nonclassicality from the system to the memory is a signature of the quantum Maxwell demon. Although the entropies of these two states are ordered as expected, their values are much larger than a bit of entropy, ln20.7. This excess entropy is quantitatively reproduced by simulations (SI Appendix) and arises because dissipation and nonlinearity of the memory results in encoding in a large number of energy levels rather than in just two dimensions. Using a full tomography of the system (SI Appendix), we have checked that the memory entropy SD is always higher than the system entropy decrease SS(step1)SS(step3).

Fig. 4.

Fig. 4.

Tomography of the demon state. Reconstructed density matrix ρD by maximum likelihood at the end of the work extraction step 4, for αin=0.25 and when the system is initially (A) at temperature 0.10 K, (B) close to the excited state, (C) a superposition of ground and excited states, and (D) a maximally mixed state (see Bloch vector in Insets). Each pixel represents the amplitude of a density matrix element in the Fock basis, and the von Neumann entropies SD are given. (Wigner function is shown in SI Appendix.)

Future developments of this experiment could involve superconducting circuits with a widely tunable frequency, which would allow the implementation of optimal quasistatic processes, where the system stays in equilibrium. A test of Landauer’s principle could then be realized in the quantum regime. The encoding fidelity of the demon is quantified by the mutual information between system and demon. By adding an extra qubit and readout cavity, one could demonstrate the expected proportionality between extracted work and mutual information (2527). Finally, with the level of control shown in the experiment, superconducting circuits provide an exciting platform to explore single-shot quantum thermodynamics (28) and quantum heat engines (29).

Supplementary Material

Supplementary File
pnas.1704827114.sapp.pdf (15.8MB, pdf)

Acknowledgments

We thank M. Devoret, P. Degiovanni, E. Flurin, Z. Leghtas, F. Mallet, V. Manucharyan, J. Pekola, J. M. Raimond, M. Ueda, and the late M. Clusel for fruitful discussions and feedback. Nanofabrication has been made within the consortium Salle Blanche Paris Center. This work was supported by the Agence Nationale de la Recherche under Grants 12-JCJC-TIQS and 13-JCJC-INCAL, by Ville de Paris through Grant Qumotel of the Emergence program, and by the COST network MP1209, “Thermodynamics in the quantum regime.” J.A. acknowledges support from Engineering and Physical Sciences Research Council, Grant EP/M009165/1, and the Royal Society.

Footnotes

The authors declare no conflict of interest.

This article is a PNAS Direct Submission.

This article contains supporting information online at www.pnas.org/lookup/suppl/doi:10.1073/pnas.1704827114/-/DCSupplemental.

References

  • 1.Maruyama K, Nori F, Vedral V. Colloquium: The physics of Maxwell’s demon and information. Rev Mod Phys. 2009;81:1–23. [Google Scholar]
  • 2.Bennett C. The thermodynamics of computation—A review. Int J Theor Phys. 1982;21:905–940. [Google Scholar]
  • 3.Toyabe S, Sagawa T, Ueda M, Muneyuki E, Sano M. Experimental demonstration of information-to-energy conversion and validation of the generalized Jarzynski equality. Nat Phys. 2010;6:988–992. [Google Scholar]
  • 4.Koski JV, Maisi VF, Pekola JP, Averin DV. Experimental realization of a Szilard engine with a single electron. Proc Natl Acad Sci USA. 2014;111:13786–13789. doi: 10.1073/pnas.1406966111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Koski JV, Maisi VF, Sagawa T, Pekola JP. Experimental observation of the role of mutual information in the nonequilibrium dynamics of a Maxwell demon. Phys Rev Lett. 2014;113:030601. doi: 10.1103/PhysRevLett.113.030601. [DOI] [PubMed] [Google Scholar]
  • 6.Roldán É, Martínez IA, Parrondo JMR, Petrov D. Universal features in the energetics of symmetry breaking. Nat Phys. 2014;10:457–461. [Google Scholar]
  • 7.Vidrighin MD. Photonic Maxwell’s demon. Phys Rev Lett. 2016;116:1–7. doi: 10.1103/PhysRevLett.116.050401. [DOI] [PubMed] [Google Scholar]
  • 8.Camati PA. Experimental rectification of entropy production by a Maxwell’s demon in a quantum system. Phys Rev Lett. 2016;117:240502. doi: 10.1103/PhysRevLett.117.240502. [DOI] [PubMed] [Google Scholar]
  • 9.Zurek WH. 1984. Frontiers of nonequilibrium statistical physics. Maxwell’s Demon, Szilard’s Engine and Quantum Measurements, Nato Science Series B, eds Moore GT, Scully MO (Plenum Press, New York), Vol 135, pp 151–161.
  • 10.Lloyd S. Quantum-mechanical Maxwell’s demon. Phys Rev A. 1997;56:3374–3382. [Google Scholar]
  • 11.Parrondo JMR, Horowitz JM. Viewpoint: Maxwell’s demon in the quantum world. Physics. 2011;13:4–6. [Google Scholar]
  • 12.Kim S, Sagawa T, De Liberato S, Ueda M. Quantum Szilard engine. Phys Rev Lett. 2011;106:70401. doi: 10.1103/PhysRevLett.106.070401. [DOI] [PubMed] [Google Scholar]
  • 13.Uzdin R, Levy A, Kosloff R. Equivalence of quantum heat machines, and quantum-thermodynamic signatures. Phys Rev X. 2015;5:031044. [Google Scholar]
  • 14.Bérut A. Experimental verification of Landauer’s principle linking information and thermodynamics. Nature. 2012;483:187–189. doi: 10.1038/nature10872. [DOI] [PubMed] [Google Scholar]
  • 15.Quan H, Wang Y, Liu Y-x, Sun C, Nori F. Maxwell’s demon assisted thermodynamic cycle in superconducting quantum circuits. Phys Rev Lett. 2006;97:180402. doi: 10.1103/PhysRevLett.97.180402. [DOI] [PubMed] [Google Scholar]
  • 16.Wang H, Liu S, He J. Thermal entanglement in two-atom cavity QED and the entangled quantum Otto engine. Phys Rev E. 2009;79:41113. doi: 10.1103/PhysRevE.79.041113. [DOI] [PubMed] [Google Scholar]
  • 17.Brask JB, Haack G, Brunner N, Huber M. Autonomous quantum thermal machine for generating steady-state entanglement. New J Phys. 2015;17:113029. [Google Scholar]
  • 18.Pekola JP, Golubev DS, Averin DV. Maxwell’s demon based on a single qubit. Phys Rev B. 2016;93:24501. [Google Scholar]
  • 19.Hofer PP. 2016. Autonomous quantum refrigerator in a circuit-QED architecture based on a Josephson junction. arXiv:1607.0521.
  • 20.Paik H. Observation of high coherence in Josephson junction qubits measured in a three-dimensional circuit QED architecture. Phys Rev Lett. 2011;107:240501. doi: 10.1103/PhysRevLett.107.240501. [DOI] [PubMed] [Google Scholar]
  • 21.Abdumalikov AA, Astafiev OV, Pashkin YA, Nakamura Y, Tsai JS. Dynamics of coherent and incoherent emission from an artificial atom in a 1D space. Phys Rev Lett. 2011;107:43604. doi: 10.1103/PhysRevLett.107.043604. [DOI] [PubMed] [Google Scholar]
  • 22.Geerlings K. Demonstrating a driven reset protocol for a superconducting qubit. Phys Rev Lett. 2013;110:120501. doi: 10.1103/PhysRevLett.110.120501. [DOI] [PubMed] [Google Scholar]
  • 23.Kirchmair G. Observation of quantum state collapse and revival due to the single-photon Kerr effect. Nature. 2013;495:205–209. doi: 10.1038/nature11902. [DOI] [PubMed] [Google Scholar]
  • 24.Six P. Quantum state tomography with noninstantaneous measurements, imperfections, and decoherence. Phys Rev A. 2016;93:12109. [Google Scholar]
  • 25.del Rio L, Åberg J, Renner R, Dahlsten O, Vedral V. The thermodynamic meaning of negative entropy. Nature. 2011;474:61–63. doi: 10.1038/nature10123. [DOI] [PubMed] [Google Scholar]
  • 26.Sagawa T, Ueda M. Fluctuation theorem with information exchange: Role of correlations in stochastic thermodynamics. Phys Rev Lett. 2012;109:1–5. doi: 10.1103/PhysRevLett.109.180602. [DOI] [PubMed] [Google Scholar]
  • 27.Parrondo JMR, Horowitz JM, Sagawa T. Thermodynamics of information. Nat Phys. 2015;11:131–139. [Google Scholar]
  • 28.Brandao FGSL, Horodecki M, Ng NHY, Oppenheim J, Wehner S. The second laws of quantum thermodynamics. Proc Natl Acad Sci USA. 2015;112:3275–3279. doi: 10.1073/pnas.1411728112. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Rossnagel J. A single-atom heat engine. Science. 2016;352:325–329. doi: 10.1126/science.aad6320. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary File
pnas.1704827114.sapp.pdf (15.8MB, pdf)

Articles from Proceedings of the National Academy of Sciences of the United States of America are provided here courtesy of National Academy of Sciences

RESOURCES