Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Contextuality in Anomalous Heat Flow

Naim E. Comar1,2,*, Danilo Cius1,†, Luis F. Santos1,‡, Rafael Wagner3,4,5,6,§, and Bárbara Amaral1,‖

  • *Contact author: naim.comar@usp.br
  • †Contact author: cius@if.usp.br
  • ‡Contact author: luisf@usp.br
  • §Contact author: rafael.wagner@inl.int
  • ‖Contact author: bamaral@if.usp.br

PRX Quantum 6, 030359 – Published 22 September, 2025

DOI: https://doi.org/10.1103/f68k-cjx4

Abstract

In classical thermodynamics, heat must spontaneously flow from hot to cold systems. In quantum thermodynamics, the same law applies when considering multipartite product thermal states evolving unitarily. If initial correlations are present, anomalous heat flow can happen, temporarily making cold thermal states colder and hot thermal states hotter. Such an effect can happen due to entanglement but also because of classical randomness, hence lacking a direct connection with nonclassicality. In this work, we introduce scenarios in which anomalous heat flow does have a direct link to nonclassicality, defined as the failure of noncontextual models to explain experimental data. We start by extending known noncontextuality inequalities to a setup in which sequential transformations are considered. We then show a class of quantum prepare-transform-measure protocols, characterized by a time interval (0,τc) for a given critical time τc, where anomalous heat flow happens only if a noncontextuality inequality is violated. We also analyze a recent experiment from Micadei et al. [Nat. Commun. 10, 2456 (2019)] and find the critical time τc based on the authors’ experimental parameters. We conclude by investigating heat flow in the evolution of two-qudit systems, showing that our findings are not an artifact of using two-qubit systems.

View figure in article

Physics Subject Headings (PhySH)

Popular Summary

Article Text

References (97)

  1. H. Callen, Thermodynamics and an Introduction to Thermostatistics, Student Edition, (Wiley India Pvt. Limited, 2006).
  2. S. Blundell and K. Blundell, Concepts in Thermal Physics (Oxford University Press, Oxford, 2010).
  3. A. Eddington, The Nature of the Physical World (Creative Media Partners, LLC, 2018).
  4. D. Jennings and T. Rudolph, Entanglement and the thermodynamic arrow of time, Phys. Rev. E 81, 061130 (2010).
  5. V. Vedral, The Arrow of Time and Correlations in Quantum Physics, arXiv:1605.00926 [quant-ph].
  6. P. Lipka-Bartosik, G. F. Diotallevi, and P. Bakhshinezhad, Fundamental limits on anomalous energy flows in correlated quantum systems, Phys. Rev. Lett. 132, 140402 (2024).
  7. H. Leff and A. Rex, Maxwell’s Demon: Entropy, Information, Computing (Adam Hilger, 1990).
  8. H. Leff and A. Rex, Maxwell’s Demon 2 Entropy, Classical and Quantum Information, Computing (CRC Press, 2002).
  9. A. Rex, Maxwell’s demon—a historical review, Entropy 19, 240 (2017).
  10. S. Lloyd, Use of mutual information to decrease entropy: Implications for the second law of thermodynamics, Phys. Rev. A 39, 5378 (1989).
  11. M. H. Partovi, Entanglement versus Stosszahlansatz: Disappearance of the thermodynamic arrow in a high-correlation environment, Phys. Rev. E 77, 021110 (2008).
  12. M. N. Bera, A. Riera, M. Lewenstein, and A. Winter, Generalized laws of thermodynamics in the presence of correlations, Nat. Commun. 8, 2180 (2017).
  13. S. Jevtic, D. Jennings, and T. Rudolph, Maximally and minimally correlated states attainable within a closed evolving system, Phys. Rev. Lett. 108, 110403 (2012).
  14. A. Levy and M. Lostaglio, Quasiprobability distribution for heat fluctuations in the quantum regime, PRX Quantum 1, 010309 (2020).
  15. S. Jevtic, T. Rudolph, D. Jennings, Y. Hirono, S. Nakayama, and M. Murao, Exchange fluctuation theorem for correlated quantum systems, Phys. Rev. E 92, 042113 (2015).
  16. T. Sagawa and M. Ueda, Fluctuation theorem with information exchange: Role of correlations in stochastic thermodynamics, Phys. Rev. Lett. 109, 180602 (2012).
  17. J. V. Koski, V. F. Maisi, T. Sagawa, and J. P. Pekola, Experimental observation of the role of mutual information in the nonequilibrium dynamics of a Maxwell demon, Phys. Rev. Lett. 113, 030601 (2014).
  18. J. Cai, Y.-J. Xia, and Z.-X. Man, Reversal of heat flow and extraction of work by means of initial correlations within open quantum systems, Phys. Lett. A 501, 129389 (2024).
  19. I. Henao and R. M. Serra, Role of quantum coherence in the thermodynamics of energy transfer, Phys. Rev. E 97, 062105 (2018).
  20. K. Micadei, J. P. S. Peterson, A. M. Souza, R. S. Sarthour, I. S. Oliveira, G. T. Landi, T. B. Batalhão, R. M. Serra, and E. Lutz, Reversing the direction of heat flow using quantum correlations, Nat. Commun. 10, 2456 (2019).
  21. R. W. Spekkens, Contextuality for preparations, transformations, and unsharp measurements, Phys. Rev. A 71, 052108 (2005).
  22. R. W. Spekkens, The ontological identity of empirical indiscernibles: Leibniz’s methodological principle and its significance in the work of Einstein, arXiv:1909.04628 [physics.hist-ph].
  23. R. D. Baldijão, R. Wagner, C. Duarte, B. Amaral, and M. T. Cunha, Emergence of noncontextuality under quantum Darwinism, PRX Quantum 2, 030351 (2021).
  24. C. Budroni, A. Cabello, O. Gühne, M. Kleinmann, and J.-A. Larsson, Kochen-Specker contextuality, Rev. Mod. Phys. 94, 045007 (2022).
  25. R. Kunjwal, Contextuality beyond the Kochen-Specker theorem, arXiv:arXiv:1612.07250 [quant-ph].
  26. M. S. Leifer and O. J. E. Maroney, Maximally epistemic interpretations of the quantum state and contextuality, Phys. Rev. Lett. 110, 120401 (2013).
  27. M. Lostaglio, Certifying quantum signatures in thermodynamics and metrology via contextuality of quantum linear response, Phys. Rev. Lett. 125, 230603 (2020).
  28. R. W. Spekkens, Negativity and contextuality are equivalent notions of nonclassicality, Phys. Rev. Lett. 101, 020401 (2008).
  29. D. Schmid, J. H. Selby, M. F. Pusey, and R. W. Spekkens, A structure theorem for generalized-noncontextual ontological models, Quantum 8, 1283 (2024).
  30. D. Schmid, R. D. Baldijão, Y. Yīng, R. Wagner, and J. H. Selby, Kirkwood-Dirac representations beyond quantum states (and their relation to noncontextuality), arXiv:2405.04573 [quant-ph].
  31. M. Khoshbin, L. Catani, and M. Leifer, Alternative robust ways of witnessing nonclassicality in the simplest scenario, Phys. Rev. A 109, 032212 (2024).
  32. J. H. Selby, E. Wolfe, D. Schmid, A. B. Sainz, and V. P. Rossi, Linear program for testing nonclassicality and an open-source implementation, Phys. Rev. Lett. 132, 050202 (2024).
  33. V. P. Rossi, D. Schmid, J. H. Selby, and A. B. Sainz, Contextuality with vanishing coherence and maximal robustness to dephasing, Phys. Rev. A 108, 032213 (2023).
  34. A. M. Fonseca, V. P. Rossi, R. D. Baldijão, J. H. Selby, and A. B. Sainz, Robustness of contextuality under different types of noise as quantifiers for parity-oblivious multiplexing tasks, arXiv:2406.12773 [quant-ph].
  35. M. D. Mazurek, M. F. Pusey, R. Kunjwal, K. J. Resch, and R. W. Spekkens, An experimental test of noncontextuality without unphysical idealizations, Nat. Commun. 7, 1 (2016).
  36. M. D. Mazurek, M. F. Pusey, K. J. Resch, and R. W. Spekkens, Experimentally bounding deviations from quantum theory in the landscape of generalized probabilistic theories, PRX Quantum 2, 020302 (2021).
  37. T. Giordani, R. Wagner, C. Esposito, A. Camillini, F. Hoch, G. Carvacho, C. Pentangelo, F. Ceccarelli, S. Piacentini, A. Crespi, N. Spagnolo, R. Osellame, E. F. Galvão, and F. Sciarrino, Experimental certification of contextuality, coherence, and dimension in a programmable universal photonic processor, Sci. Adv. 9, eadj4249 (2023).
  38. C. Duarte and B. Amaral, Resource theory of contextuality for arbitrary prepare-and-measure experiments, J. Math. Phys. 59, 062202 (2018).
  39. R. Wagner, R. D. Baldijão, A. Tezzin, and B. Amaral, Using a resource theoretic perspective to witness and engineer quantum generalized contextuality for prepare-and-measure scenarios, J. Phys. A: Math. Theor. 56, 505303 (2023).
  40. L. Catani, T. D. Galley, and T. Gonda, Resource-theoretic hierarchy of contextuality for general probabilistic theories, arXiv:2406.00717 [quant-ph].
  41. R. W. Spekkens, Evidence for the epistemic view of quantum states: A toy theory, Phys. Rev. A 75, 032110 (2007).
  42. L. Hardy, Disentangling nonlocality and teleportation, arXiv:quant-ph/9906123.
  43. L. Catani, M. Leifer, D. Schmid, and R. W. Spekkens, Why interference phenomena do not capture the essence of quantum theory, Quantum 7, 1119 (2023).
  44. S. D. Bartlett, T. Rudolph, and R. W. Spekkens, Reconstruction of Gaussian quantum mechanics from Liouville mechanics with an epistemic restriction, Phys. Rev. A 86, 012103 (2012).
  45. D. Schmid, H. Du, J. H. Selby, and M. F. Pusey, Uniqueness of noncontextual models for stabilizer subtheories, Phys. Rev. Lett. 129, 120403 (2022).
  46. S. Deffner and S. Campbell, Quantum thermodynamics: An introduction to the thermodynamics of quantum information, arXiv:1907.01596 [quant-ph].
  47. F. Binder, L. Correa, C. Gogolin, J. Anders, and G. Adesso, Thermodynamics in the Quantum Regime: Fundamental Aspects and New Directions, Fundamental Theories of Physics (Springer International Publishing, 2019).
  48. J. Goold, M. Huber, A. Riera, L. d. Rio, and P. Skrzypczyk, The role of quantum information in thermodynamics—a topical review, J. Phys. A: Math. Theor. 49, 143001 (2016).
  49. S. Vinjanampathy and J. Anders, Quantum thermodynamics, Contemp. Phys. 57, 545 (2016).
  50. R. Alicki and R. Kosloff, Introduction to quantum thermodynamics: History and prospects, arXiv:1801.08314 [quant-ph].
  51. R. Kosloff, Quantum thermodynamics: A dynamical viewpoint, Entropy 15, 2100 (2013).
  52. J. Millen and A. Xuereb, Perspective on quantum thermodynamics, New J. Phys. 18, 011002 (2016).
  53. T. Upadhyaya, J. a. William F. Braasch, G. T. Landi, and N. Y. Halpern, What happens to entropy production when conserved quantities fail to commute with each other, arXiv:2305.15480 [quant-ph].
  54. M. Lostaglio, Quantum fluctuation theorems, contextuality, and work quasiprobabilities, Phys. Rev. Lett. 120, 040602 (2018).
  55. M. Lostaglio, An introductory review of the resource theory approach to thermodynamics, Rep. Prog. Phys. 82, 114001 (2019).
  56. G. T. Landi and M. Paternostro, Irreversible entropy production: From classical to quantum, Rev. Mod. Phys. 93, 035008 (2021).
  57. R. Clausius, Ueber eine veränderte Form des zweiten Hauptsatzes der mechanischen Wärmetheorie, Ann. Phys. 169, 481 (1854).
  58. R. Clausius, Ueber verschiedene für die Anwendung bequeme Formen der Hauptgleichungen der mechanischen Wärmetheorie, Ann. Phys. 201, 353 (1865).
  59. N. Harrigan and R. W. Spekkens, Einstein, incompleteness, and the epistemic view of quantum states, Found. Phys. 40, 125 (2010).
  60. R. Kunjwal, Beyond the Cabello-Severini-Winter framework: Making sense of contextuality without sharpness of measurements, Quantum 3, 184 (2019).
  61. D. Schmid, J. H. Selby, and R. W. Spekkens, Unscrambling the omelette of causation and inference: The framework of causal-inferential theories, arXiv:2009.03297 [quant-ph].
  62. M. Banik, S. S. Bhattacharya, S. K. Choudhary, A. Mukherjee, and A. Roy, Ontological models, preparation contextuality and nonlocality, Found. Phys. 44, 1230 (2014).
  63. D. Schmid, R. W. Spekkens, and E. Wolfe, All the noncontextuality inequalities for arbitrary prepare-and-measure experiments with respect to any fixed set of operational equivalences, Phys. Rev. A 97, 062103 (2018).
  64. R. Wagner, R. S. Barbosa, and E. F. Galvão, Inequalities witnessing coherence, nonlocality, and contextuality, Phys. Rev. A 109, 032220 (2024).
  65. M. F. Pusey, Robust preparation noncontextuality inequalities in the simplest scenario, Phys. Rev. A 98, 022112 (2018).
  66. M. Nielsen and I. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, 2010).
  67. M. M. Wilde, Quantum Information Theory (Cambridge University Press, 2013).
  68. R. W. Spekkens, D. H. Buzacott, A. J. Keehn, B. Toner, and G. J. Pryde, Preparation contextuality powers parity-oblivious multiplexing, Phys. Rev. Lett. 102, 010401 (2009).
  69. D. Saha and A. Chaturvedi, Preparation contextuality as an essential feature underlying quantum communication advantage, Phys. Rev. A 100, 022108 (2019).
  70. D. Schmid and R. W. Spekkens, Contextual advantage for state discrimination, Phys. Rev. X 8, 011015 (2018).
  71. K. Flatt, H. Lee, C. R. I. Carceller, J. B. Brask, and J. Bae, Contextual advantages and certification for maximum-confidence discrimination, PRX Quantum 3, 030337 (2022).
  72. S. Mukherjee, S. Naonit, and A. K. Pan, Discriminating three mirror-symmetric states with a restricted contextual advantage, Phys. Rev. A 106, 012216 (2022).
  73. M. Lostaglio and G. Senno, Contextual advantage for state-dependent cloning, Quantum 4, 258 (2020).
  74. R. Wagner, A. Camillini, and E. F. Galvão, Coherence and contextuality in a Mach-Zehnder interferometer, Quantum 8, 1240 (2024).
  75. P. Lillystone, J. J. Wallman, and J. Emerson, Contextuality and the single-qubit stabilizer subtheory, Phys. Rev. Lett. 122, 140405 (2019).
  76. M. F. Pusey, Anomalous weak values are proofs of contextuality, Phys. Rev. Lett. 113, 200401 (2014).
  77. R. Kunjwal, M. Lostaglio, and M. F. Pusey, Anomalous weak values and contextuality: Robustness, tightness, and imaginary parts, Phys. Rev. A 100, 042116 (2019).
  78. J. H. Selby, D. Schmid, E. Wolfe, A. B. Sainz, R. Kunjwal, and R. W. Spekkens, Contextuality without incompatibility, Phys. Rev. Lett. 130, 230201 (2023).
  79. J. Miyazaki and K. Matsumoto, Imaginarity-free quantum multiparameter estimation, Quantum 6, 665 (2022).
  80. H. E. D. Scovil and E. O. Schulz-DuBois, Three-level masers as heat engines, Phys. Rev. Lett. 2, 262 (1959).
  81. J. C. Garcia-Escartin and P. Chamorro-Posada, A swap gate for qudits, Quantum Inf. Process. 12, 3625 (2013).
  82. C. M. Wilmott, On swapping the states of two qudits, Int. J. Quantum Inf. 09, 1511 (2011).
  83. R. Wagner, Z. Schwartzman-Nowik, I. L. Paiva, A. Te’eni, A. Ruiz-Molero, R. S. Barbosa, E. Cohen, and E. F. Galvão, Quantum circuits for measuring weak values, Kirkwood-Dirac quasiprobability distributions, and state spectra, Quantum Sci. Technol. 9, 015030 (2024).
  84. M. Lostaglio, A. Belenchia, A. Levy, S. Hernández-Gómez, N. Fabbri, and S. Gherardini, Kirkwood-Dirac quasiprobability approach to the statistics of incompatible observables, Quantum 7, 1128 (2023).
  85. D. R. M. Arvidsson-Shukur, W. F. Braasch Jr., S. D. Bievre, J. Dressel, A. N. Jordan, C. Langrenez, M. Lostaglio, J. S. Lundeen, and N. Y. Halpern, Properties and applications of the Kirkwood-Dirac distribution, arXiv:2403.18899 [quant-ph].
  86. N. Y. Halpern, B. Swingle, and J. Dressel, Quasiprobability behind the out-of-time-ordered correlator, Phys. Rev. A 97, 042105 (2018).
  87. S. Gherardini and G. D. Chiara, Quasiprobabilities in quantum thermodynamics and many-body systems: A tutorial, arXiv:2403.17138 [quant-ph].
  88. H. Margenau and R. N. Hill, Correlation between measurements in quantum theory, Prog. Theor. Phys. 26, 722 (1961).
  89. Y. P. Terletsky, The limiting transition from quantum to classical mechanics, J. Exp. Theor. Phys. 7, 1290 (1937).
  90. J. Rau, Relaxation phenomena in spin and harmonic oscillator systems, Phys. Rev. 129, 1880 (1963).
  91. S. Campbell and B. Vacchini, Collision models in open system dynamics: A versatile tool for deeper insights? Europhys. Lett. 133, 60001 (2021).
  92. F. Ciccarello, S. Lorenzo, V. Giovannetti, and G. M. Palma, Quantum collision models: Open system dynamics from repeated interactions, Phys. Rep. 954, 1 (2022).
  93. V. Scarani, M. Ziman, P. Štelmachovič, N. Gisin, and V. Bužek, Thermalizing quantum machines: Dissipation and entanglement, Phys. Rev. Lett. 88, 097905 (2002).
  94. M. Ziman, P. Štelmachovič, V. Bužek, M. Hillery, V. Scarani, and N. Gisin, Diluting quantum information: An analysis of information transfer in system-reservoir interactions, Phys. Rev. A 65, 042105 (2002).
  95. S. Cusumano, Quantum collision models: A beginner guide, Entropy 24, 1258 (2022).
  96. N. E. Comar and G. T. Landi, Correlations breaking homogenization, Phys. Rev. A 104, 032217 (2021).
  97. S. Campbell, B. Cakmak, O. E. Mustecaplíoglu, M. Paternostro, and B. Vacchini, Collisional unfolding of quantum Darwinism, Phys. Rev. A 99, 042103 (2019).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation