Abstract
Information thermodynamics bridges information theory and statistical physics by connecting information content and entropy production through measurement and feedback control. Maxwell’s demon is a hypothetical character that uses information about a system to reduce its entropy. Here we realize a Maxwell’s demon acting on a superconducting quantum circuit. We implement quantum nondemolition projective measurement and feedback operation of a qubit and verify the generalized integral fluctuation theorem. We also evaluate the conversion efficiency from information gain to work in the feedback protocol. Our experiment constitutes a step toward experimental studies of quantum information thermodynamics in artificially made quantum machines.
Introduction
The gedanken experiment of Maxwell’s demon has led to the studies concerning the foundations of thermodynamics and statistical mechanics^{1}. The demon measures fluctuations of a system’s observable and converts the information gain into work via feedback control^{2}. Recent developments in information thermodynamics have elucidated the relationship between the acquired information and the entropy production and generalized the second law of thermodynamics and the fluctuation theorems^{3,4,5,6}. Here we extend the scope to a system subject to quantum fluctuations by exploiting techniques in superconducting circuit quantum electrodynamics^{7}. We implement Maxwell’s demon equipped with coherent control and quantum nondemolition (QND) projective measurements on a superconducting qubit, thereby verifying the generalized integral fluctuation theorems^{8, 9} and the informationtowork conversion. This demonstrates the potential of superconducting circuits as a versatile platform for investigating quantum information thermodynamics under feedback control, which may find applications to quantum error correction^{10} for computation^{11} and metrology^{12}.
The fluctuation theorem is valid in systems far from equilibrium and can be regarded as a generalization of the second law of thermodynamics and the fluctuation–dissipation theorem^{13, 14}. In particular, the generalized integral fluctuation theorem, which incorporates the information content on equal footing with the entropy production, bridges information theory and statistical mechanics^{15}, and has been extended to quantum systems^{9, 16}. Experimentally, Maxwell’s demons were implemented in classical systems using colloidal particles^{4}, a single electron box^{5}, and a photodetector^{6}. More recently, the integral quantum fluctuation theorem in the absence of feedback control was tested with a trapped ion^{17}. Maxwell’s demon and the generalized second law in a quantum system were studied in spin ensembles with nuclear magnetic resonance spectroscopy^{18}. However, experimental demonstrations of the fluctuation theorems that directly address the statistics of single quantum trajectories under feedback control are still elusive. Toward this goal, recent progress in superconducting quantum circuits offers a QND projective measurement of a qubit^{7} and a sufficiently long coherence time^{19}, which altogether enable highfidelity feedback operations. For example, stabilization of Rabi oscillations using coherent feedback^{20, 21}, fast initialization of a qubit^{22}, and deterministic generation of an entangled state between two qubits^{23} have been achieved.
Here we verify the generalized integral fluctuation theorem under feedback control by using a superconducting transmon qubit as a quantum system and taking statistics over repeated singleshot measurements on individual quantum trajectories. It is noteworthy that Naghiloo et al.^{24} recently reported a related experiment with continuous weak measurement and feedback. We first investigate the role of absolute irreversibility associated with a projective measurement and feedback control^{8}, and then study the effect of imperfect projection.
Results
Absolute irreversibility
The fluctuation theorem is formulated by considering a pair of processes, the original forward process and its timereversed reference process, both of which are assumed to start with the canonical distribution at the same temperature T. Figure 1a illustrates an example of such processes. If we consider an ideal projective measurement and ignore relaxation of the qubit, the fluctuation theorem reads^{8} (see also Supplementary Note 1)
where I_{Sh} is the stochastic Shannon entropy the demon acquires in the projective measurement, σ =−β(W+ΔF) is the entropy production, β is the inverse temperature 1/(k_{B}T) of the initial state of the qubit, W is the work extracted from the qubit via the feedback operation \(\hat U\), and ΔF is the change in the equilibrium free energy of the system. The angle brackets \(\left\langle \cdot \right\rangle _{{\mathrm{PM}}}\) indicate the statistical average obtained with a protocol using a projective measurement for the feedback control. Below we focus on the case with ΔF = 0, i.e., on the process with the same system Hamiltonian at the beginning and the end, for simplicity of discussions.
The constant λ_{fb} on the righthand side of Eq. (1) gives the total probability of those events in the timereversed process, whose counterparts in the original process do not exist. Such events, which we call absolutely irreversible events, involve a formal divergence of the entropy production and should therefore be treated separately^{8} (see also Supplementary Note 1). Here, the absolute irreversibility is caused by the combination of the projective measurement that restricts possible forward events and the nonideal property of the feedback operation that makes the backward events random. For example, in the process shown in Fig. 1a, the projective measurement and the feedback operation, \(\hat U_{\mathrm{g}}\) or \(\hat U_{\mathrm{e}}\), always bring the system to the ground state. Therefore, the evolution of the excited state in the reverse process via the operation \(\hat U_{\mathrm{g}}^\dagger\) or \(\hat U_{\mathrm{e}}^\dagger\) does not have a counterpart in the forward process. The probability λ_{fb} of such events in the present protocol is given by \({\mathrm{e}}^{  \beta \hbar \omega _{\mathrm{q}}}{\mathrm{/}}\left( {1 + {\mathrm{e}}^{  \beta \hbar \omega _{\mathrm{q}}}} \right)\), i.e., the excited state occupation probability in \(\hat \rho _{\mathrm{r}}\).
The absolute irreversibility makes a significant contribution to the generalized second law of thermodynamics including the effect of the feedback control. For achieving the ultimate bound on the extracted work \(\left\langle W \right\rangle _{{\mathrm{PM}}} = k_{\mathrm{B}}T\left\langle {I_{{\mathrm{Sh}}}} \right\rangle _{{\mathrm{PM}}}\), the final state distribution \(\hat \rho _{{\mathrm{fin}}}\) of the system has to be the same as \(\hat \rho _{{\mathrm{ini}}}\)^{3, 8}. However, the projective measurement together with the unoptimized feedback operation prevents it and limits the amount of the extractable work (see Eq. (4) below).
In our experiment, a superconducting transmon qubit (i.e., the system) is placed at the center of an aluminummade superconducting cavity resonator (Fig. 1b). The qubit state is controlled with a resonant microwave pulse, which induces Rabi rotation. Owing to the interaction between the qubit and the detuned resonator, the resonance frequency of the resonator varies depending on the qubit state. We utilize this property for the QND readout of the qubit; the ground and excited states are distinguished in the phase shift of a readout microwave pulse reflected by the resonator^{7}.
Protocol with projective measurements
Figure 2a shows the sequence of the experiment corresponding to Fig. 1a. The qubit is initialized with a projective measurement and postselection, followed by a resonant pulse excitation, which prepares as an input a superposition state \(\alpha _{\mathrm{g}}\left {\mathrm{g}} \right\rangle + \alpha _{\mathrm{e}}\left {\mathrm{e}} \right\rangle\) \(\left( {\left {\alpha _{\mathrm{g}}} \right^2 + \left {\alpha _{\mathrm{e}}} \right^2 = 1} \right)\) of the ground \(\left( {\left {\mathrm{g}} \right\rangle } \right)\) and excited \(\left( {\left {\mathrm{e}} \right\rangle } \right)\) states of the qubit. As the qubit is subject to the subsequent projective measurement, the coherence in the input state does not have any essential role here, and the coefficients of the superposition define the effective temperature of the system \(T = \left( {\hbar \omega _{\mathrm{q}}{\mathrm{/}}k_{\mathrm{B}}} \right)\)/\({\mathrm{ln}}\left( {\left {\alpha _{\mathrm{g}}} \right^2{\mathrm{/}}\left {\alpha _{\mathrm{e}}} \right^2} \right)\) after the projection, where ℏω_{q} is the qubit excitation energy.
We evaluate the work W(x, z) = E(x) − E(z) extracted from the system by employing the twopoint measurement protocol (TPM), in which QND projective measurements on the energy eigenbasis with outcomes x( = g or e) and z( = g or e) are applied respectively to the initial and final states of the system^{14}. Here E(g) and E(e) denotes the energies of the qubit in the ground and excited states, respectively. Depending on the measurement outcome x for the feedback control, the feedback operation does or does not flip the state of the qubit with a πpulse. A positive amount of the work (W > 0) implies that the energy is extracted from the system via the stimulated emission of a single photon induced by a πpulse, which flips the qubit state. The probability p(x) of the state x being found gives I_{Sh}(x) = − ln p(x).
In Fig. 2b we compare the experimentally obtained statistical average \(\left\langle {{\mathrm{e}}^{\beta W  I_{{\mathrm{Sh}}}}} \right\rangle _{{\mathrm{PM}}}\) = \(\mathop {\sum}\nolimits_{x,z} {\kern 1pt} p(x,z){\kern 1pt} {\mathrm{e}}^{\beta W(x,z)  I_{{\mathrm{Sh}}}(x)}\) (blue circles) with the theoretical value of 1 − λ_{fb} (blue solid curve), where p(x, z) is the joint probability of observing a particular combination of the outcomes x and z (Supplementary Note 1). We also plot the normalized average work, \(\left\langle W \right\rangle _{{\mathrm{PM}}}{\mathrm{/}}\hbar \omega _{\mathrm{q}}\) (magenta circles), extracted in the protocol. Depending on the effective temperature of the qubit initial state, the probability of the absolutely irreversible events varies. The excellent agreement between theory and experiment confirms the generalized integral fluctuation theorem under feedback control. Furthermore, the relation in Eq. (1) is proven to hold for any initial effective temperature of the qubit, even at negative temperatures. The smaller the inverse temperature β is, the larger the contribution of absolute irreversibility.
Effect of imperfect projection
Next, we investigate the effects of imperfect projection in the readout. With a weak readout pulse, the state of the qubit is not completely projected. It also gives less information gain for the feedback control. To evaluate the influence of the weak measurement, we add two more readout pulses to the pulse sequence (Fig. 3a). The TPM again starts with a projective readout with outcome x, but now the feedback control is performed based on the subsequent variablestrength measurement with outcome k( = g or e). Then, to project the qubit state before the feedback control, we apply another strong measurement to obtain outcome y( = g or e). Using these measurement outcomes, we calculate the stochastic QCmutual information I_{QC}(x, k, y) = ln p(yk) − ln p(x)^{9}. Here, QC indicates that the measured system is quantum and the measurement output is classical^{2}, and p(yk) is the probability of outcome y being obtained conditioned on the preceding measurement outcome k. The first term in I_{QC} quantifies the correction to I_{Sh} because of the imperfect projection. If the measurement for the feedback control is a QND projective measurement and there is no relaxation of the qubit, p(yk) becomes unity and I_{QC} reduces to I_{Sh}. On the other hand, for the measurement with imperfect projection, the absolute irreversibility disappears, because such measurement no longer gives restriction on forward events. Therefore, we obtain λ_{fb} = 0. In this case, the generalized integral fluctuation theorem is reformulated as^{9} (see also Supplementary Note 1)
Figure 3b plots the statistical averages, \(\left\langle {{\mathrm{e}}^{\beta W  I_{{\mathrm{QC}}}}} \right\rangle\) and \(\left\langle {{\mathrm{e}}^{\beta W}} \right\rangle\), evaluated from the measurement outcomes of the pulse sequence shown in Fig. 3a. For example, \(\left\langle {{\mathrm{e}}^{\beta W  I_{{\mathrm{QC}}}}} \right\rangle\) is experimentally obtained as \(\mathop {\sum}\nolimits_{x,k,y,z} {\kern 1pt} p\left( {x,k,y,z} \right)\) \({\mathrm{e}}^{\beta W(x,z)  I_{{\mathrm{QC}}}(x,k,y)}\), where p(x, k, y, z) is the joint probability of observing a combination of the outcomes. By changing the amplitude of the readout pulse, which measures k, it is possible to continuously vary the postmeasurement state from the projected state to a weakly disturbed state. Accordingly, the feedback error probability \(\epsilon _{{\mathrm{fb}}}\) increases with decreasing the readout pulse amplitude. (See the Supplementary Note 2 for details.) We see that \(\left\langle {{\mathrm{e}}^{\beta W  I_{{\mathrm{QC}}}}} \right\rangle\) (blue circles), which involves the information gain due to the measurement, is almost unity regardless of the feedback error probability. The small deviation from unity is understood as the effect of the qubit relaxation during the TPM as indicated by the simulated result (black dots and gray lines interpolating them)^{25} (see Supplementary Note 2). In contrast, the value \(\left\langle {{\mathrm{e}}^{\beta W}} \right\rangle\) (red squares), which discards the information used in the feedback operation, clearly deviates from unity. For the weaker readout amplitude, however, the amount of information gain becomes less, and thus \(\left\langle {{\mathrm{e}}^{\beta W}} \right\rangle\) becomes closer to unity. This situation corresponds to the integral fluctuation theorem in the absence of feedback control.
Figure 3c depicts the statistical averages \(\left\langle {I_{{\mathrm{QC}}}} \right\rangle\) (blue circles) and \(\left\langle {\beta W} \right\rangle\) (red squares) as functions of the feedback error probability \(\epsilon _{{\mathrm{fb}}}\). Here, \(\left\langle {I_{{\mathrm{QC}}}} \right\rangle\) is always larger than \(\left\langle {\beta W} \right\rangle\) in accordance with the inequality, \(\left\langle {\beta W} \right\rangle \le \left\langle {I_{{\mathrm{QC}}}} \right\rangle\), derived from the fluctuation theorem Eq. (2). The QCmutual information \(\left\langle {I_{{\mathrm{QC}}}} \right\rangle\) decreases to zero with increasing \(\epsilon _{{\mathrm{fb}}}\). On the other hand, for \(\epsilon _{{\mathrm{fb}}}\) → 0, \(\left\langle {I_{{\mathrm{QC}}}} \right\rangle\) approaches \(\left\langle {I_{{\mathrm{Sh}}}} \right\rangle _{{\mathrm{PM}}} =  \mathop {\sum}\nolimits_x {\kern 1pt} p(x){\mathrm{ln}}{\kern 1pt} p(x)\) (black dashed line). The remaining difference between \(\left\langle {I_{{\mathrm{QC}}}} \right\rangle\) and \(\left\langle {I_{{\mathrm{Sh}}}} \right\rangle\) is due to the qubit relaxation between the two readouts for k and y.
Conversion efficiency
The conversion efficiency from the QCmutual information \(\left\langle {I_{{\mathrm{QC}}}} \right\rangle\) to the work \(\left\langle W \right\rangle\) is defined for T > 0 as^{4, 5}
where we omit the contribution from the freeenergy change by assuming ΔF = 0. As shown in the inset of Fig. 3c, η is 0.65 in the limit of \(\epsilon _{{\mathrm{fb}}}\) → 0 corresponding to the case with the projective measurement shown in Fig. 2.
The efficiency obtained with the projective measurement is to be compared with the following inequalities:
The first inequality describes the fact that for a given protocol the extracted work with a proper projective measurement is superior to that obtained with an imperfect projection, which is demonstrated in Fig. 3c. On the other hand, the second inequality derived for T > 0 from the fluctuation theorem Eq. (1) represents the generalized second law of information thermodynamics (Supplementary Note 1). We find that the contribution from the absolute irreversibility sets the limit of the efficiency, given by η = 1 − ln(1 − λ_{fb})/\(\left\langle {I_{{\mathrm{Sh}}}} \right\rangle _{{\mathrm{PM}}}\), which is indicated by the dashed line in the inset of Fig. 3c. The experimental result demonstrates that our feedback scheme achieves the equality condition in Eq. (4) and is optimal (though not ideal) in this sense.
Discussion
We have successfully implemented Maxwell’s demon in a setup based on superconducting circuit quantum electrodynamics and verified the generalized integral fluctuation theorem in a single qubit. In the present work, the measurement outcome obtained by the demon was analyzed in terms of the Shannon and the QCmutual information. On the other hand, the effect of the coherence can be investigated in a similar setup^{26}. By implementing the memory of the demon with a qubit^{27}, or a quantum resonator as demonstrated recently^{28}, one can characterize the energy cost for the measurement^{29} or study feedback schemes maintaining the coherence between the system and the memory to improve the energy efficiency of the feedback. Superconducting quantum circuits further allow us to extend the study of information thermodynamics to larger and more complex quantum systems. It will lead to an estimation of the lower bound of the thermodynamic cost for quantum information processing.
Methods
Sample
The transmon qubit has the resonance frequency ω_{q}/2π = 6.6296 GHz, the energy relaxation time T_{1} = 24 μs, and the phase relaxation time \(T_2^ \ast = 16\) μs at the base temperature ~ 10 mK of a dilution refrigerator. The cavity has the resonance frequency ω_{cav}/2π = 10.6180 GHz, largely detuned from the qubit, and the relaxation time 1/κ = 0.076 μs. The coupling strength between the qubit and the resonator is estimated to be g/2π = 0.14 GHz.
Pulse sequences
The pulse sequences for the experiments in Figs. 2 and 3 take about 2.5 and 4 μs, respectively. Each readout pulse has the width of 500 ns. The qubit excitation pulse and the feedback control pulse are both 20 ns wide. See the Supplementary Note 2 for details. We take the statistics of the outcomes by repeating the pulse sequence about 8 × 10^{4} times, with a repetition interval 300 μs, which is much longer than the qubit relaxation time.
Data availability
All the data used in this study are available from the corresponding author upon reasonable request.
References
Leff, H. & Rex, A. Maxwell’s Demon 2 Entropy, Classical and Quantum Information, Computing (CRC Press, Boca Raton, 2002).
Sagawa, T. & Ueda, M. Second law of thermodynamics with discrete quantum feedback control. Phys. Rev. Lett. 100, 080403 (2008).
Parrondo, J. M., Horowitz, J. M. & Sagawa, T. Thermodynamics of information. Nat. Phys. 11, 131–139 (2015).
Toyabe, S., Sagawa, T., Ueda, M., Muneyuki, E. & Sano, M. Experimental demonstration of informationtoenergy conversion and validation of the generalized Jarzynski equality. Nat. Phys. 6, 988–992 (2010).
Koski, J. V., Maisi, V. F., Sagawa, T. & Pekola, J. P. Experimental observation of the role of mutual information in the nonequilibrium dynamics of a Maxwell demon. Phys. Rev. Lett. 113, 030601 (2014).
Vidrighin, M. D. et al. Photonic Maxwell’s demon. Phys. Rev. Lett. 116, 050401 (2016).
Blais, A., Huang, R.S., Wallraff, A., Girvin, S. M. & Schoelkopf, R. J. Cavity quantum electrodynamics for superconducting electrical circuits: An architecture for quantum computation. Phys. Rev. A. 69, 062320 (2004).
Funo, K., Murashita, Y. & Ueda, M. Quantum nonequilibrium equalities with absolute irreversibility. New. J. Phys. 17, 075005 (2015).
Funo, K., Watanabe, Y. & Ueda, M. Integral quantum fluctuation theorems under measurement and feedback control. Phys. Rev. E 88, 052121 (2013).
Terhal, B. M. Quantum error correction for quantum memories. Rev. Mod. Phys. 87, 307–346 (2015).
Kelly, J. et al. State preservation by repetitive error detection in a superconducting quantum circuit. Nature 519, 66–69 (2015).
Unden, T. et al. Quantum metrology enhanced by repetitive quantum error correction. Phys. Rev. Lett. 116, 230502 (2016).
Jarzynski, C. Equalities and inequalities: irreversibility and the second law of thermodynamics at the nanoscale. Annu. Rev. Condens. Matter Phys. 2, 329–351 (2010).
Campisi, M., Hänggi, P. & Talkner, P. Quantum fluctuation relations: foundations and applications. Rev. Mod. Phys. 83, 771–791 (2011).
Sagawa, T. & Ueda, M. Generalized Jarzynski equality under nonequilibrium feedback control. Phys. Rev. Lett. 104, 090602 (2010).
Morikuni, Y. & Tasaki, H. Quantum JarzynskiSagawaUeda relations. J. Stat. Phys. 143, 1–10 (2011).
An, S. et al. Experimental test of the quantum Jarzynski equality with a trappedion system. Nat. Phys. 11, 193–199 (2014).
Camati, P. A. et al. Experimental rectification of entropy production by Maxwell’s demon in a quantum system. Phys. Rev. Lett. 117, 240502 (2016).
Oliver, W. D. & Welander, P. B. Materials in superconducting quantum bits. MRS Bull. 38, 816–825 (2013).
Vijay, R. et al. Stabilizing Rabi oscillations in a superconducting qubit using quantum feedback. Nature 490, 77–80 (2012).
CampagneIbarcq, P. et al. Persistent control of a superconducting qubit by stroboscopic measurement feedback. Phys. Rev. X 3, 021008 (2013).
Ristè, D., Bultink, C. C., Lehnert, K. W. & DiCarlo, L. Feedback control of a solidstate qubit using highfidelity projective measurement. Phys. Rev. Lett. 109, 240502 (2012).
Ristè, D. et al. Deterministic entanglement of superconducting qubits by parity measurement and feedback. Nature 502, 350–354 (2013).
Naghiloo, M. et al. Thermodynamics along individual trajectories of a quantum bit. Preprint at http://arxiv.org/abs/1703.05885 (2017).
Pekola, J. P., Masuyama, Y., Nakamura, Y., Bergli, J. & Galperin, Y. M. Dephasing and dissipation in qubit thermodynamics. Phys. Rev. E 91, 062109 (2015).
Elouard, C., HerreraMartí, D., Huard, B., Auffèves, A. Extracting work from quantum measurement in Maxwell’s demon engines. Phys. Rev. Lett. 118, 260603 (2017).
Quan, H. T., Wang, Y. D., Liu, Y.x, Sun, C. P. & Nori, F. Maxwell’s demon assisted thermodynamic cycle in superconducting quantum circuits. Phys. Rev. Lett. 97, 180402 (2006).
Cottet, N. et al. Observing a quantum Maxwell demon at work. Proc. Natl Acad. Sci. USA 114, 7561–7564 (2017).
Sagawa, T. & Ueda, M. Minimal energy cost for thermodynamic information processing: Measurement and information erasure. Phys. Rev. Lett. 102, 250602 (2009).
Acknowledgements
We acknowledge T. Sagawa for useful discussions and W.D. Oliver for providing the transmon qubit. This work was partly supported by JSPS KAKENHI (Grant Number 26220601), NICT, and JST ERATO (Grant Number JPMJER1601). Y. Murashita was supported by JSPS through the Program for leading Graduate School (MERIT) and JSPS Fellowship (Grant Number JP15J00410). K.F. acknowledges supports from the National Science Foundation of China (grants 11375012 and 11534002).
Author information
Authors and Affiliations
Contributions
Y. Masuyama, K.F., and Y. Murashita designed the experiments. Y. Masuyama conducted the experiments. S.K. and Y.T. assisted in setting up the measurement system. K.F., Y. Murashita, and M.U. provided theoretical supports. A.N., Y.T., and R.Y. participated in discussions on the analysis. Y. Masuyama and Y.N. wrote the manuscript with feedback from all authors. M.U. and Y.N. supervised the project.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Electronic supplementary material
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Masuyama, Y., Funo, K., Murashita, Y. et al. Informationtowork conversion by Maxwell’s demon in a superconducting circuit quantum electrodynamical system. Nat Commun 9, 1291 (2018). https://doi.org/10.1038/s4146701803686y
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s4146701803686y
Further reading

Efficiency fluctuations and noise induced refrigeratortoheater transition in information engines
Nature Communications (2020)

Entropy production in continuously measured Gaussian quantum systems
npj Quantum Information (2020)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.