TeMFpy: a Python library for converting fermionic mean-field states into tensor networks
Strongly Correlated Electrons
2026-01-23 v2 Mesoscale and Nanoscale Physics
Superconductivity
Computational Physics
Quantum Physics
Abstract
We introduce TeMFpy, a Python library for converting fermionic mean-field states to finite or infinite matrix product state (MPS) form. TeMFpy includes new, efficient, and easy-to-understand algorithms for both Slater determinants and Pfaffian states. Together with Gutzwiller projection, these also allow the user to build variational wave functions for various strongly correlated electron systems, such as quantum spin liquids. We present all implemented algorithms in detail and describe how they can be accessed through TeMFpy, including full example workflows. TeMFpy is built on top of TeNPy and, therefore, integrates seamlessly with existing MPS-based algorithms.
Cite
@article{arxiv.2510.05227,
title = {TeMFpy: a Python library for converting fermionic mean-field states into tensor networks},
author = {Simon H. Hille and Attila Szabó},
journal= {arXiv preprint arXiv:2510.05227},
year = {2026}
}
Comments
29 pages, 5 figures, 4 code listings