Rust-accelerated powder X-ray diffraction simulation for high-throughput and machine-learning-driven materials science
Miroslav Lebeda, Jan Drahokoupil, Petr Ve\v{r}t\'at, Petr Vl\v{c}\'ak

TL;DR
XRD-Rust is a Rust-accelerated implementation of the pymatgen powder XRD calculator that significantly speeds up large-scale XRD simulations, facilitating high-throughput materials analysis and machine learning applications.
Contribution
The paper introduces XRD-Rust, a Rust-based extension that maintains compatibility with pymatgen, dramatically improving the computational efficiency of powder XRD simulations.
Findings
Average speedup of 4.7 to 6.1 times across datasets.
Maximum speedup of 719 times for large datasets.
Enables efficient high-throughput XRD data generation.
Abstract
High-throughput powder X-ray diffraction (XRD) simulations are a key prerequisite for generating large datasets used in the development of machine-learning models for XRD-based materials analysis. However, the widely used pymatgen powder XRD calculator, implemented entirely in Python, can be computationally inefficient for large-scale workloads, limiting throughput. We present XRD-Rust, a Rust-accelerated implementation of the pymatgen powder XRD calculator that maintains full compatibility with existing Python-based workflows. The method retains pymatgen for crystal structure handling and symmetry analysis while reimplementing the computationally intensive parts of the XRD calculation in Rust. Performance benchmarks were carried out on large crystallographic datasets from the Materials Cloud Three-Dimensional Structure Database (MC3D, 33 142 structures) and the Crystallography Open…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsX-ray Diffraction in Crystallography · Machine Learning in Materials Science · Microstructure and mechanical properties
