Abstract
The prediction of material properties based on density-functional theory has become routinely common, thanks, in part, to the steady increase in the number and robustness of available simulation packages. This plurality of codes and methods is both a boon and a burden. While providing great opportunities for cross-verification, these packages adopt different methods, algorithms, and paradigms, making it challenging to choose, master, and efficiently use them. We demonstrate how developing common interfaces for workflows that automatically compute material properties greatly simplifies interoperability and cross-verification. We introduce design rules for reusable, code-agnostic, workflow interfaces to compute well-defined material properties, which we implement for eleven quantum engines and use to compute various material properties. Each implementation encodes carefully selected simulation parameters and workflow logic, making the implementer’s expertise of the quantum engine directly available to non-experts. All workflows are made available as open-source and full reproducibility of the workflows is guaranteed through the use of the AiiDA infrastructure.
Introduction
In the field of computational materials science, Density Functional Theory (DFT) serves as the primary tool for predicting atomic-scale behavior. However, the ecosystem is fragmented across numerous "quantum engines"—software packages like VASP, Quantum ESPRESSO, ABINIT, and others—each with distinct input formats, numerical parameters, and learning curves. This "plurality of codes" creates significant barriers: users often need years of experience with a specific code to achieve accurate results, workflows are rarely interoperable between different engines, and the lack of standardized recording of sub-steps often leads to a reproducibility crisis.
The Common Workflow Framework
To address these challenges, the researchers developed a code-agnostic framework built on the AiiDA informatics infrastructure. The core of this approach is the "Common Relax Workflow," which standardizes the process of structural relaxation across different simulation engines.
The framework relies on several key design principles:
- Input Generators: Instead of requiring users to navigate hundreds of code-specific variables, the interface uses high-level "protocols" (e.g., "fast," "moderate," or "precise"). Expert-written generators then translate these into the necessary low-level inputs for the chosen engine.
- Modular and Hierarchical Design: The system uses a parent workflow to orchestrate sub-workflows, ensuring that complex tasks are broken down into manageable, reusable components. This allows for "optional transparency," where beginners use a simple interface while experts can override any generated parameter.
- Standardized Outputs: Regardless of the underlying engine, results such as total energy, forces, and stress are returned in a unified format with consistent units, facilitating direct comparison and cross-verification.
Validation and Key Results
The framework was implemented for 11 quantum engines: ABINIT, BigDFT, CASTEP, CP2K, FLEUR, Gaussian, NWChem, ORCA, Quantum ESPRESSO, SIESTA, and VASP. Validation tests using various materials systems (molecules like $NH_3$ and $H_2$, and bulk crystals like Si, Al, and GeTe) demonstrated the robustness of the approach:
- Cross-Verification: All 11 engines correctly identified the energy difference between planar and pyramidal phases of ammonia, despite using vastly different mathematical approaches.
- Consistency: Equations of State (EOS) computed for Silicon and Aluminum showed excellent agreement across multiple codes.
- Complex Physics: The interface successfully handled magnetic ordering in Iron and structural relaxations in Germanium Telluride (GeTe) that require changing the shape of the unit cell.
Discussion and Future Outlook
By shifting the focus from low-level parameter tuning to high-level protocols, this work democratizes access to expert-level DFT simulations. The use of AiiDA ensures full provenance tracking, making every calculation reproducible and shareable. While not all engines currently support every feature (e.g., variable-cell relaxation), the framework provides a clear path forward for "universal" computational materials science. Future efforts will focus on expanding the library of common workflows to include properties like phonon spectra and electronic band structures, as well as improving automated error handling across the diverse set of supported engines.
This summary is based on the paper "Common workflows for computing material properties using different quantum engines" published in npj Computational Materials.
Summary updated