Skip to content
Preprint

pyeCE: A Python Implementation of the Embedded Cluster Expansion

Sep 2026 · 1 citation · 59 references
Physics

Abstract

The cluster expansion is a widely used approach for predicting the finite-temperature thermodynamics of alloys from zero-kelvin first-principles calculations, but its conventional formulation becomes intractable for materials with more than three or four chemical species. High-entropy alloys have therefore remained largely out of reach. We present pyeCE, an open-source Python library that implements the embedded cluster expansion (eCE), in which machine learning maps many chemical species onto a smaller set of effective species and thereby limits the growth in the number of cluster functions. pyeCE provides the complete modeling workflow, including the construction of symmetry-adapted descriptors with a learnable per-sublattice chemical embedding, a neural-network energy model, ladder-based training, uncertainty quantification, and finite-temperature simulations through Monte Carlo sampling. Built on the PyTorch and pymatgen libraries, it supports systems with multiple species on multiple sublattices and runs on graphics processing units. We demonstrate the package on two material systems. In the first, a single model spanning the full composition space of a 9-component refractory alloy resolves short-range order and order--disorder behavior. This model enables rapid screening for compositions with strong Cr clustering, a feature linked to the formation of a continuous, corrosion-resistant oxide scale. In the second, a model of hydrogen dissolution in a Mo--Nb--W alloy reproduces the composition dependence of hydrogen uptake and resolves the interstitial environments that hydrogen occupies. The modular design of pyeCE allows it to be extended to problems beyond alloy thermodynamics, including kinetics, defect energetics, and the coupling of chemical order to magnetic and vibrational degrees of freedom.

View source

Similar papers

Open access Aug 2026

PyFock: A Just-In-Time Compiled Gaussian Basis DFT Python Code for CPU and GPU Architectures.

Despite the robust ecosystem, ease of use, and flexibility offered by Python, most of the current popular quantum chemistry codes are still developed in Fortran, C, or C++, due to their speed advantage over Python. Furthermore, the tedious compilation process acts as a barrier for many aspiring beginners. PySCF and Psi...

Manas Sharma, Marek Sierka · 1 citation
Open access Aug 2026

Exploring the chemical space of transition-metal cluster thermodynamics via automated first-principles calculations and machine learning

Atomic clusters serve as the embryos of materials, yet their enormous and compositionally complex chemical space has long hindered systematic exploration of thermodynamic stability. Here, we show that a unified first-principles and machine-learning framework enables large-scale mapping of transition metal cluster therm...

Ning-Zheng Li, Zi-Yue Wang, Zi-Yu Li et al. · 0 citations
Open access Sep 2026

Deterministic combinatorial calculation of lattice parameters using Python

Introduction: Determining lattice parameters is crucial for characterizing crystalline materials, as these constants dictate their physical and chemical behavior. While Rietveld refinement is the standard, it can be unnecessarily complex when the goal is limited to finding lattice parameters, particularly for low-sy...

Jones Soares, Jobson Soares · 0 citations
Review Open access Jan 2026

ThermoLIB─A Python Library for Constructing and Post-Processing Free-Energy Surfaces to Extract Thermodynamic and Kinetic Properties

ThermoLIB is a Python/Cython library designed to be used as a postprocessing tool for constructing free-energy surfaces, including adequate error estimation from the output of molecular simulations, transforming them between different collective variables (CVs), and extracting thermodynamic and kinetic information. T...

M. Bocus, L. Vanduyfhuys · 0 citations
Preprint Oct 2026

PyCDFT: A Python-scriptable library for analytical evaluation of orbital conceptual density (matrix) functional theory

Conceptual density functional theory (CDFT) defines chemical reactivity descriptors as derivatives of the electronic energy with respect to the number of electrons and the external potential, or combinations thereof; in practice, however, researchers almost always replace these derivatives with finite-difference and fr...

Bin Wang, P. Geerlings, Paul W. Ayers et al. · 0 citations
Review Aug 2026

Four-phonon thermal conductivity: Numerical sensitivities, convergence, and machine-learning acceleration

This tutorial presents a comprehensive computational framework for predicting four-phonon scattering processes and the associated phonon thermal conductivity, and demonstrates that the severe computational bottlenecks traditionally associated with establishing parameter convergence can be effectively mitigated by integ...

Ankit Jain, Rajan Kumar, Jyotishraj Thoudam et al. · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.