Common workflows for computing material properties using different quantum engines

Sebastiaan P. Huber, Emanuele Bosoni, Marnik Bercx, J. D. Broder, Augustin Degomme, Vladimir Dikan, Kristjan Eimre, Espen Flage−Larsen, Alberto Garcı́a, Luigi Genovese, Dominik Gresch, Conrad Johnston, Guido Petretto, Samuel Poncé, Gian‐Marco Rignanese, Christopher J. Sewell, Berend Smit, Vasily Tseplyaev, Martin Uhrin, Daniel Wortmann, Aliaksandr V. Yakutovich, Austin Zadoks, Pezhman Zarabadi–Poor, Bonan Zhu, Nicola Marzari, Giovanni PizziNpj 2021

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.

Schematic of the common workflow interface ($P_A$) providing a unified entry point for multiple underlying simulation engines ($S_A, S_B, S_C$).

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.
Internal logic of a common workflow ($P_A$) orchestrating sub-processes ($S_A, S_B$) to produce standardized outputs ($O_1, O_2, O_3$).

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

BibTeX
@inproceedings{huber2021common,
  author = {Sebastiaan P. Huber and Emanuele Bosoni and Marnik Bercx and J. D. Broder and Augustin Degomme and Vladimir Dikan and Kristjan Eimre and Espen Flage−Larsen and Alberto Garcı́a and Luigi Genovese and Dominik Gresch and Conrad Johnston and Guido Petretto and Samuel Poncé and Gian‐Marco Rignanese and Christopher J. Sewell and Berend Smit and Vasily Tseplyaev and Martin Uhrin and Daniel Wortmann and Aliaksandr V. Yakutovich and Austin Zadoks and Pezhman Zarabadi–Poor and Bonan Zhu and Nicola Marzari and Giovanni Pizzi},
  title = {{Common workflows for computing material properties using different quantum engines}},
  booktitle = {Npj},
  year = {2021},
  doi = {10.1038/s41524-021-00594-6},
}
Figure