Rust-accelerated powder X-ray diffraction simulation for high-throughput and machine-learning-driven materials

Miroslav Lebeda1,2,3, Jan Drahokoupil1,3, Petr Veřtát3

  • 1Faculty of Mechanical Engineering Czech Technical University in Prague Technická 4 16607Prague 6 Czechia.

Journal of Applied Crystallography
|August 6, 2026
PubMed
Summary

XRD-Rust significantly accelerates powder X-ray diffraction (XRD) simulations by reimplementing computationally intensive calculations in Rust. This enables faster generation of large datasets for machine learning in materials analysis.

Related Concept Videos

X-ray Diffraction of Biological Samples01:10

X-ray Diffraction of Biological Samples

X-ray diffraction or XRD is an analytical tool that utilizes X-rays to study ordered structures such as crystalline organic and inorganic samples, polycrystalline materials, proteins, carbohydrates, and drugs.
According to Bragg's law, when X-rays strike the sample positioned on a stage, the rays are  scattered by the electron clouds around the sample atoms. The  X-ray diffraction or scattering is caused by constructive interference of the X-ray waves that reflect off the internal crystal...
Determination of Crystal Structures01:29

Determination of Crystal Structures

In the late 1800s, the revelation that light extended beyond visible wavelengths led to the discovery of X-rays by Wilhelm Roentgen. Recognized as high-energy electromagnetic radiation with short wavelengths, X-rays prompted exploration into their interaction with crystals. Max von Laue proposed in 1912 that the periodic arrangement of atoms, ions, or molecules in crystals would cause them to diffract X-rays, a hypothesis confirmed through experiments with copper sulfate and zinc sulfide...
X-ray Crystallography02:18

X-ray Crystallography

The size of the unit cell and the arrangement of atoms in a crystal may be determined from measurements of the diffraction of X-rays by the crystal, termed X-ray crystallography.
Diffraction
Diffraction is the change in the direction of travel experienced by an electromagnetic wave when it encounters a physical barrier whose dimensions are comparable to those of the wavelength of the light. X-rays are electromagnetic radiation with wavelengths about as long as the distance between neighboring...