pyzentropy: A Python package implementing recursive entropy for first-principles thermodynamics
Abstract
While the recursive property of entropy is well known in information theory, it is rarely utilized in thermodynamics, despite entropy originating in this field. Moreover, computational tools to implement this concept within first-principles thermodynamics remain lacking. In this work, we introduce an open-source Python package, pyzentropy, to implement this approach. We demonstrate its effectiveness using as a case study, considering a 12-atom supercell with multiple magnetic configurations. By applying the recursive formulation of entropy to compute the total entropy of the system, we reproduce the Invar behavior, along with the anomalous temperature dependence of the linear coefficient of thermal expansion (LCTE), heat capacity , and bulk modulus . We also construct the - and - phase diagrams in good agreement with experimental observations. Finally, we highlight the importance of determining key high-probability configurations to accurately capture material properties.
Keywords
Cite
@article{arxiv.2604.17665,
title = {pyzentropy: A Python package implementing recursive entropy for first-principles thermodynamics},
author = {Nigel Lee En Hew and Luke Allen Myers and Shun-Li Shang and Zi-Kui Liu},
journal= {arXiv preprint arXiv:2604.17665},
year = {2026}
}
Comments
16 pages, 6 figures