TREXIO: A file format and library for quantum chemistry

Evgeny Posenitskiy, Vijay Gopal Chilkuri, Abdallah Ammar, Michał Hapka, Katarzyna Pernal, Ravindra Shinde, Edgar Josué Landinez Borda, Claudia Filippi, Kosuke Nakano, Otto Kohulák, Sandro Sorella, Pablo de Oliveira Castro, William Jalby, Pablo López Ríos, Ali Alavi, Anthony Scemama*

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

7 Citations (Scopus)
43 Downloads (Pure)


TREXIO is an open-source file format and library developed for the storage and manipulation of data produced by quantum chemistry calculations. It is designed with the goal of providing a reliable and efficient method of storing and exchanging wave function parameters and matrix elements, making it an important tool for researchers in the field of quantum chemistry. In this work, we present an overview of the TREXIO file format and library. The library consists of a front-end implemented in the C programming language and two different back-ends: a text back-end and a binary back-end utilizing the hierarchical data format version 5 library, which enables fast read and write operations. It is compatible with a variety of platforms and has interfaces for Fortran, Python, and OCaml programming languages. In addition, a suite of tools have been developed to facilitate the use of the TREXIO format and library, including converters for popular quantum chemistry codes and utilities for validating and manipulating data stored in TREXIO files. The simplicity, versatility, and ease of use of TREXIO make it a valuable resource for researchers working with quantum chemistry data.
Original languageEnglish
Article number174801
JournalThe Journal of chemical physics
Issue number17
Publication statusPublished - 7 May 2023


  • 2023 OA procedure


Dive into the research topics of 'TREXIO: A file format and library for quantum chemistry'. Together they form a unique fingerprint.
  • Trexio: A File Format and Library for Quantum Chemistry

    Posenitskiy, E., Chilkuri, V. G., Ammar, A., Hapka, M., Pernal, K., Shinde, R., Borda, E. J. L., Filippi, C., Nakano, K., Kohulák, O., Sorella, S., Castro, P. D. O., Jalby, W., López Ríos, P., Alavi, A. & Scemama, A., 28 Feb 2023,

    Research output: Working paperPreprintAcademic

    Open Access
    71 Downloads (Pure)

Cite this