Fact-checked by Grok 2 weeks ago

Quantum ESPRESSO

Quantum ESPRESSO is an integrated, open-source suite of computer codes designed for first-principles electronic-structure calculations and materials modeling at the nanoscale, primarily based on (DFT) employing plane-wave basis sets and pseudopotentials such as norm-conserving, ultrasoft, and projector-augmented wave methods. Its full name, opEn-Source Package for Research in Electronic Structure, Simulation, and Optimization, reflects its focus on enabling quantum simulations of materials through efficient, modular tools that prioritize innovation, user-friendliness, and scalability on massively parallel architectures. The project originated in 2002 through the merger of three established DFT packages—PWscf for plane-wave self-consistent field calculations, for properties, and fpmd for first-principles —developed by leading groups in electronic-structure . Since then, it has evolved into a collaborative, community-driven effort under the Quantum ESPRESSO Foundation, coordinated by key developers including Paolo Giannozzi of the University of and IOM-CNR in , with contributions from international institutions emphasizing and code . Distributed freely under the GNU General Public License, Quantum ESPRESSO supports a wide array of computations, including ground-state properties (total energies, forces, Kohn-Sham orbitals), structural optimization, Car-Parrinello and Born-Oppenheimer , dispersions, electron- interactions, tensors, NMR/ shifts, X-ray absorption spectra, and quantum transport properties via integrations like Wannier90 and EPW. Notable for its versatility, the suite runs on diverse platforms from personal computers and workstations to high-performance computing clusters, incorporating parallelization via MPI and OpenMP, as well as GPU acceleration through CUDA since 2021 to enhance performance on exascale systems. It includes core components like PWscf and CP (Car-Parrinello), alongside specialized plug-ins for advanced tasks such as time-dependent DFT (TurboTDDFT), many-body perturbation theory (Yambo), and electrochemical simulations (Environ), fostering applications in condensed matter physics, nanoscience, and materials design. Ongoing developments emphasize restructuring for exascale computing, improved accuracy in response functions, and support for 2D materials and magnetic excitations, ensuring Quantum ESPRESSO remains a cornerstone for ab initio simulations in modern computational materials science.

History and Development

Origins and Founding

Quantum ESPRESSO originated as an open-source initiative led by the CNR-INFM DEMOCRITOS National Simulation Center in , , with key collaborations from institutions including the () and . The project was formally established in 2002 through the merger of several pre-existing computational codes focused on density-functional theory (DFT) calculations, primarily PWscf (Plane-Wave Self-Consistent Field), which had been developed earlier for plane-wave methods in electronic structure computations. This integration aimed to create a unified, modular platform that could support a wide range of nanoscale materials modeling tasks, addressing the limitations of that restricted accessibility, customization, and community-driven innovation in quantum simulations. The primary motivations for founding Quantum ESPRESSO stemmed from the growing need in the early for efficient, open-source tools that enabled researchers to perform accurate DFT-based simulations of materials properties, such as electronic structures and vibrational spectra, using plane waves and pseudopotentials. At the time, many available software packages were either closed-source or lacked the modularity required for integrating new methodological advances, hindering collaborative progress in and . By distributing the suite under the GNU General Public License, the founders sought to foster a global community of developers and users, promoting and rapid dissemination of scientific advancements without intellectual property barriers. Key figures in the project's inception included Stefano Baroni, Paolo Giannozzi, and Nicola Marzari, who coordinated the initial code merging and established the foundational architecture around PWscf as the core engine for self-consistent field calculations. Early development emphasized scalability for environments, reflecting the era's push toward methods for complex systems. To ensure long-term coordination, maintenance, and governance, the Quantum ESPRESSO Foundation was established on February 24, 2011, as a non-profit entity registered in the , serving as the central hub for the project's stewardship and community engagement.

Key Milestones and Releases

The Quantum ESPRESSO project formally began in 2002 through the merger of three existing density-functional theory packages: PWscf for plane-wave self-consistent field calculations, for phonon calculations, and FPMD for first-principles molecular dynamics, establishing a unified open-source framework for electronic-structure simulations. A significant advancement came with the release of version 4.0 in 2009, which introduced a fully modular that restructured the codebase into independent, interoperable packages, enabling easier extension and maintenance while preserving core functionalities like plane-wave basis sets and pseudopotentials. This modularity facilitated contributions from a growing and laid the groundwork for subsequent enhancements in and . Version 6.0, released in October 2016, marked a major step in improving parallel scalability, incorporating advanced hybrid MPI-OpenMP strategies and optimizations for large-scale simulations on systems, which allowed for more efficient handling of complex materials systems. In 2020, the project launched a dedicated "toward the exascale" initiative to adapt the suite for emerging heterogeneous architectures, focusing on porting key algorithms to accelerators while maintaining portability across CPU and GPU environments. This effort built on prior GPU explorations and aligned with broader European goals. By 2023, advancements in GPU acceleration culminated in the porting of the PWscf code using OpenACC directives and , enabling offloading of critical kernels like transforms and operations to achieve substantial speedups on hardware without sacrificing code readability. Version 7.0, released in late 2021, further enhanced GPU support across PWscf and the Car-Parrinello code (), extending offloading to additional routines such as Davidson and introducing MPI-parallelized dispersion corrections, which improved performance on pre-exascale supercomputers. The most recent stable release, version 7.4.1 on March 14, 2025, addressed critical bug fixes in and electron-phonon modules while integrating OpenMP-based GPU offload capabilities for broader accelerator compatibility, ensuring robustness for production workflows. Organizationally, the Quantum ESPRESSO Foundation was formed in the to provide governance, coordinating development among global research groups and managing intellectual property under the GNU General Public License. In parallel, integration with the MaX Centre of Excellence since 2015 has driven much of the recent progress, leveraging funding for exascale-ready materials modeling. By 2025, Quantum ESPRESSO has amassed over 10,000 citations across its foundational publications, reflecting its widespread adoption, with thousands of research papers leveraging the suite annually for nanoscale materials simulations.

Software Architecture

Core Components

The core components of Quantum ESPRESSO form the foundational suite for performing density functional theory (DFT) calculations and related simulations, enabling users to compute electronic structures, dynamics, and post-analysis of materials at the atomic scale. These packages—PWscf, CP, PostProc, and Atomic—are tightly integrated through shared libraries and modules, providing a robust platform for ground-state properties, molecular dynamics, data processing, and pseudopotential preparation. Their design emphasizes modularity, allowing efficient reuse of routines across the distribution while maintaining compatibility with various pseudopotential formats. PWscf, or Plane-Wave Self-Consistent Field, is the primary package for ground-state DFT calculations, solving the Kohn-Sham equations to determine electronic wavefunctions, energies, forces, and stresses in periodic systems. It employs a plane-wave basis set for expanding the wavefunctions and supports norm-conserving, ultrasoft, and projector-augmented wave () pseudopotentials to handle efficiently, reducing computational cost while preserving accuracy for electrons. This package serves as the cornerstone for static structural optimizations and single-point energy evaluations, with inputs specifying cell parameters, atomic positions, and exchange-correlation functionals like LDA or GGA. The package implements Car-Parrinello molecular dynamics for simulations of ionic and electronic , using a fictitious to couple the dynamics of nuclei and electrons without explicit orthogonalization of wavefunctions. This approach, originally proposed by Car and Parrinello, introduces a fictitious to propagate electronic orbitals alongside atomic positions via , enabling the study of in systems like liquids or surfaces at finite temperatures. CP supports variable-cell dynamics and thermostats such as Nosé-Hoover, making it suitable for exploring phase transitions or diffusion processes over picosecond timescales. PostProc provides a collection of utilities for analyzing and visualizing outputs from PWscf and CP calculations, extracting derived quantities without rerunning full simulations. Key tools include computation of (DOS) via smearing techniques or tetrahedron method, plotting of charge densities on grids, and generation of band structures along high-symmetry paths in the . These postprocessing steps facilitate interpretation of electronic properties, such as band gaps or Fermi surfaces, and are invoked via simple input files referencing prior save directories. The package is a standalone tool for performing all-electron DFT calculations on isolated atoms, primarily used to generate and test pseudopotentials required by PWscf and . It solves the radial to produce Kohn-Sham orbitals and energies, supporting methods like Troullier-Martins or Rabe-Rappe-Kaxiras-Joannopoulos for pseudization, and includes checks for transferability through logarithmic derivatives and ghost states. Users specify atomic configurations, relativistic effects, and exchange-correlation functionals to create norm-conserving, ultrasoft, or datasets, ensuring compatibility with the suite's core engines. Quantum ESPRESSO's core packages are implemented primarily in 90/95, with C wrappers for interfacing and some legacy Fortran-77 components, promoting portability across platforms. The modular architecture organizes code into shared libraries—such as Modules/ for utilities, upflib/ for handling, and FFTXlib/ for fast Fourier transforms—fostering interdependencies that minimize redundancy; for instance, PWscf and both rely on LAXlib/ for linear solvers, while PostProc accesses PWscf save files directly. This design facilitates extensions like calculations by building atop these foundations.

Plugins and Extensions

Quantum ESPRESSO provides a range of plugins and extensions that augment its core functionality, enabling specialized simulations beyond ground-state electronic structure calculations. These optional modules are designed to integrate seamlessly with the base packages, such as PWscf for self-consistent field computations, by reusing output data like charge densities and wavefunctions. They support advanced analyses in areas like vibrational properties, reaction pathways, and excited-state phenomena, making the suite versatile for research. The package implements linear-response calculations using density-functional (DFPT) to compute dispersions, constants, and effective charges. It allows users to evaluate vibrational properties at arbitrary wavevectors through of dynamical matrices obtained from DFPT responses. For instance, after a ground-state calculation with PWscf, processes the results to generate band structures, which are essential for understanding lattice dynamics in solids. This extension is included in the standard Quantum ESPRESSO distribution and compiled alongside core components. The NEB (Nudged Elastic Band) module, implemented in PWneb, facilitates the determination of minimum energy paths and transition states between atomic configurations, employing the climbing image nudged elastic band technique to optimize the . It is particularly useful for studying diffusion barriers or chemical reactions in materials, where multiple images are relaxed under spring-like constraints to converge on the . PWneb relies on PWscf outputs for initial and final states and is built as part of the main distribution, allowing chained workflows for pathway exploration. TDDFPT (Time-Dependent Density-Functional ) extends the suite to calculate , including absorption spectra, excitonic effects, and core-level , by solving linear-response equations in the time-dependent framework. Programs like turboDavidson.x and turboLanczos.x enable efficient computation of excitation energies and oscillator strengths for molecules and solids, often starting from KS orbitals obtained via PWscf. This module is integrated into the Quantum ESPRESSO release and supports applications in and . Additional extensions include EPW for ab initio electron-phonon interactions, which interpolates matrix elements using maximally localized to study , carrier mobilities, and thermal transport; it processes phonon and electronic data from Quantum ESPRESSO to compute coupling strengths efficiently on dense k-grids. Interfaces to Yambo provide access to many-body methods, such as approximations for energies and Bethe-Salpeter equation for excitons, by converting PWscf outputs via the p2y tool for seamless integration. These external codes, EPW and Yambo, are downloaded and compiled separately but share core libraries from Quantum ESPRESSO, enabling hybrid workflows like ground-state DFT followed by electron-phonon or post-processing. Installation of these plugins typically involves configuring the Quantum ESPRESSO build system with make or , where core extensions like , NEB, and TDDFPT are enabled by default in the distribution tarball, while EPW and Yambo require separate compilation against the QE libraries. Users can chain calculations, for example, generating a PWscf save directory for input to , ensuring modularity without redundant computations.

Computational Capabilities

Electronic Structure Methods

Quantum ESPRESSO primarily employs (DFT) to compute the electronic structure of materials, solving the Kohn-Sham equations iteratively to obtain the ground-state and total . These equations reformulate the many-electron problem into a set of single-particle equations, where the includes contributions from the external potential, term, and exchange-correlation effects. The iterative self-consistent field (SCF) procedure minimizes the total with respect to the , typically using mixing schemes like the modified Broyden method for . The software supports a range of exchange-correlation functionals to approximate the complex many-body interactions. Local density approximation (LDA) functionals, such as those parametrized by Ceperley and Alder, provide a basic treatment based on the uniform gas. Generalized gradient approximation (GGA) functionals, including Perdew-Burke-Ernzerhof (PBE) and Becke-Lee-Yang-Parr (BLYP), incorporate for improved accuracy in binding energies and structural properties. More advanced options include meta-GGA functionals like Tao-Perdew-Staroverov-Scuseria (TPSS) and such as PBE0 and Heyd-Scuseria-Ernzerhof (), which mix exact Hartree-Fock exchange to better describe band gaps and reaction barriers. Starting from version 7.2 (released 2023), oxidation-state constrained DFT enables precise control of atomic oxidation states by enforcing charge constraints on specific atoms or groups, useful for modeling complexes and electrochemical interfaces. Wavefunctions in Quantum ESPRESSO are expanded in a plane-wave basis set, suitable for periodic systems, with the expansion truncated at a cutoff E_{\rm cut} to balance accuracy and computational cost. This cutoff, often denoted as ecutwfc in input files, determines the number of plane waves and is typically chosen between 20-50 Ry depending on the and material. To handle efficiently, approximations replace the strong nuclear potential with a smoother , reducing the required basis size; supported types include norm-conserving, ultrasoft , and projector-augmented wave () methods. The core Kohn-Sham equation is solved in reciprocal space as a generalized eigenvalue problem: \hat{H} \psi_{n{\bf k}} ({\bf r}) = \varepsilon_{n{\bf k}} \psi_{n{\bf k}} ({\bf r}), where \hat{H} is the operator comprising the operator -\frac{\hbar^2}{2m} \nabla^2, the potential V_H({\bf r}), the exchange-correlation potential V_{xc}({\bf r}), and the V_{ps}({\bf r}). The wavefunctions \psi_{n{\bf k}} are expanded as \psi_{n{\bf k}}({\bf r}) = \sum_{\bf G} c_{n{\bf k}}({\bf G}) e^{i({\bf k}+{\bf G})\cdot {\bf r}}, with \bf G being vectors up to E_{\rm cut}. For structural optimization, Quantum ESPRESSO enables variable-cell relaxation by computing Hellmann-Feynman forces on ions and the stress tensor on the , allowing simultaneous minimization of forces and stresses to find equilibrium geometries. These forces derive directly from the DFT energy functional, ensuring no Pulay corrections are needed in the plane-wave basis when the cutoff is fixed.

Advanced Simulation Types

Quantum ESPRESSO enables advanced simulations that extend beyond ground-state (DFT) to probe dynamic, responsive, and excited-state properties of materials. These capabilities are implemented through specialized packages that leverage and path-sampling techniques, allowing users to model phenomena such as vibrations, chemical reaction pathways, and optical responses directly from first principles. molecular dynamics (AIMD) in Quantum ESPRESSO simulates the of positions while solving the on-the-fly, providing insights into and reactive processes. The Car-Parrinello method, implemented in the package, treats electrons and ions as fictitious classical via a unified : \mathcal{L} = \sum_I \frac{1}{2} M_I \dot{\mathbf{R}}_I^2 + \sum_i \mu \dot{\mathbf{r}}_i^2 - E[\{\mathbf{r}_i\}, \{\mathbf{R}_I\}] + \sum_I \hat{V}_{II}(\mathbf{R}_I), where M_I and \mu are ionic and electronic masses, \mathbf{R}_I and \mathbf{r}_i are coordinates, and E is the DFT energy functional. This approach efficiently propagates both subsystems without repeated diagonalizations. Alternatively, the Born-Oppenheimer scheme, available in the pw.x code, decouples nuclear motion from electronic relaxation by solving the electronic problem at each ionic step, suitable for longer timescales. Temperature control is achieved using thermostats like Nose-Hoover chains, which introduce fictitious degrees of freedom to sample the canonical ensemble. These methods have been applied to study diffusion in solids and liquid water properties, with the CP formulation originating from the seminal work on unified dynamics. Phonon and vibrational properties are computed using density functional perturbation theory (DFPT) in the package, which evaluates the second-order response of the energy to atomic displacements without finite differences. Starting from version 7.2 (2023), self-consistent calculations with a two-chemical potential approach support modeling doped semiconductors and superconductors. This was extended in version 7.4 (2024) to linear-response calculations using the two-chemical potential method, enabling accurate phonon dispersions in systems with unequal and chemical potentials, such as superconductors. The dynamical matrix D_{\alpha\beta}(\mathbf{q}) is constructed from first-order changes in the self-consistent potential and wavefunctions: D_{\alpha\beta}(\mathbf{q}) = \frac{1}{\sqrt{m_\kappa m_{\kappa'}}} \left[ \frac{\partial^2 E}{\partial u_{\kappa\alpha}(\mathbf{q}) \partial u_{\kappa'\beta}(-\mathbf{q})} \right], yielding phonon frequencies \omega(\mathbf{q}) via diagonalization at arbitrary wavevectors \mathbf{q}. This linear-response framework efficiently handles periodic systems, enabling dispersion relations and mode analysis for materials like semiconductors. Phonon linewidths, arising from electron-phonon coupling, are further quantified using the EPW interface, which computes scattering rates \gamma(\mathbf{q},j) from Fermi's golden rule integrals over the Brillouin zone. These tools underpin predictions of thermal conductivity and superconductivity, building on foundational DFPT developments. Transition states and reaction pathways are located using the Nudged Elastic Band (NEB) method in the PWneb package, which minimizes energy barriers by optimizing a chain of intermediate images between initial and final states. Springs connect images with projected forces perpendicular to the path, solving: E_{\text{NEB}} = \sum_i \left[ E(\mathbf{R}_i) + \frac{1}{2} k (|\mathbf{R}_{i+1} - \mathbf{R}_i| - \lambda)^2 \right], where k is the spring constant and \lambda enforces path length. Climbing-image variants accelerate convergence to the saddle point. The dimer method, also supported, refines saddle points by rotating a dimer along the lowest Hessian eigenvector to climb the potential energy surface. These techniques have facilitated studies of vacancy migration and surface reactions, originating from discrete path optimization strategies. Spectroscopic properties are derived from DFPT responses in the PHonon package for vibrational spectra and TDDFPT for electronic excitations. Raman and () intensities are obtained from mode-dependent and derivatives, \partial \alpha / \partial u and \partial \mu / \partial u, respectively, enabling assignment of peaks in spectra for molecular crystals. Optical absorption spectra arise from vertical excitations solved via the Casida equation in the turboTDDFT code: \begin{pmatrix} \mathbf{A} & \mathbf{B} \\ \mathbf{B}^* & \mathbf{A}^* \end{pmatrix} \begin{pmatrix} \mathbf{X} \\ \mathbf{Y} \end{pmatrix} = \omega \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix} \begin{pmatrix} \mathbf{X} \\ \mathbf{Y} \end{pmatrix}, where \mathbf{A} and \mathbf{B} couple Kohn-Sham orbital transitions, yielding oscillator strengths for UV-Vis peaks. These implementations support analysis of dye molecules and semiconductors. Many-body extensions in Quantum ESPRESSO primarily interface with external tools like Yambo for GW approximations, which compute quasiparticle energies beyond DFT by including screened Coulomb interactions and self-energy corrections \Sigma = iGW. The GW method evaluates the dielectric function and vertex via contour integration, providing band gap corrections for insulators like silicon. Full Bethe-Salpeter equation solutions for excitons are also supported, though detailed implementation resides in Yambo. These capabilities enhance accuracy for optical gaps, rooted in Hedin's equations.

Performance Optimization

Parallelization Strategies

Quantum ESPRESSO employs multiple levels of parallelization to distribute computational workloads across processors, primarily using the (MPI) for distributed-memory systems and for shared-memory threading. The core strategy revolves around domain decomposition, where the problem space—such as the reciprocal lattice or electronic states—is partitioned to enable efficient load balancing and minimize inter-processor communication. In MPI-based parallelization, the primary approach decomposes the computational domain over k-points, plane waves (G-vectors), and bands, particularly in the PWscf package for plane-wave calculations. K-points are distributed across independent pools of processors, allowing parallel execution of self-consistent field cycles for each k-point group, controlled by the input flag -npools (or -nk) to specify the number of pools. Plane waves are handled through three-dimensional fast transforms ( FFTs) distributed across processors, with task groups—defined by the flag -ntg (or -nt)—grouping G-vectors to reduce communication overhead during FFT operations. Band parallelization further divides the electronic wavefunctions across processors within each pool, using flags like -nband (or -nb), which is essential for systems with many bands, such as those involving correlated electrons or large unit cells. This multi-level decomposition ensures that data structures, including wavefunctions and potentials, are replicated or distributed as needed to support scalability on clusters. For shared-memory systems, threading is integrated to exploit multi-core architectures, targeting inner loops such as those over plane-wave coefficients and matrix diagonalization routines. Threading over plane-wave loops accelerates the application and orthogonalization steps, while dedicated support in diagonalization—via flags like -ndiag (or -nd) for specifying thread grids—optimizes the solution of generalized eigenvalue problems using libraries like or ELPA. In hybrid MPI+OpenMP setups, common on modern clusters, MPI handles inter-node distribution (e.g., over k-points or task groups), while manages intra-node parallelism (e.g., over bands or loops), reducing and communication costs compared to pure MPI. This hybrid model requires compilation with enabled and is invoked by setting environment variables like OMP_NUM_THREADS. Scalability in Quantum ESPRESSO is demonstrated through strong scaling benchmarks, where PWscf achieves efficient up to thousands of cores for systems with hundreds of atoms, such as supercells or molecular , limited primarily by I/O bottlenecks and the inherent sequential nature of some algorithms. Wavefunction parallelization extends this to larger systems by distributing the storage and operations on electronic states, enabling simulations of thousands of electrons while maintaining near-linear up to 10,000 processors in optimized configurations. Practical implementation relies on command-line flags to tune these strategies; for instance, running PWscf with mpirun -np 1024 pw.x -input si.scf.in -npools 4 -ntg 8 -nband 16 distributes four k-point pools, eight task groups for FFTs, and 16 processors per band group. These options allow users to balance load based on hardware topology, with documentation recommending experimentation for optimal performance on specific architectures.

GPU and Exascale Developments

Quantum ESPRESSO has incorporated GPU acceleration to enhance performance on systems, beginning with version 6.5 in 2019, which introduced initial support for offloading key computations in the Plane-Wave Self-Consistent Field (PWscf) code using OpenACC directives and Fortran. These efforts targeted computationally intensive operations, including the Hamiltonian-vector product (Hψ), fast transforms (FFT), and diagonalization routines, enabling significant speedups by leveraging GPU parallelism while minimizing data transfers between CPU and GPU. Subsequent versions, particularly in the 7.x series starting from v7.0 in 2022, expanded this support to include 5.0 target offload directives, facilitating portability across diverse GPU architectures beyond hardware. Under the MaX Centre of Excellence for materials design at the exascale, Quantum ESPRESSO's development has focused on achieving performance portability for exascale systems, supporting (e.g., V100 and A100), , and GPUs through a hybrid approach combining OpenACC and offload. A key strategy involves unifying CPU and GPU code paths into a single-source model, reducing duplication and improving maintainability by embedding directives that allow seamless compilation for both environments. This unification addresses the heterogeneity of modern supercomputers, such as those in the EuroHPC initiative, by enabling the same codebase to exploit accelerators without vendor-specific forks. Benchmarks demonstrate substantial gains from these optimizations; for instance, self-consistent field (SCF) cycles in PWscf for a CrI₃ supercell with 1152 atoms achieved speedups of approximately 10× on 96 A100 GPUs compared to equivalent CPU runs, primarily due to accelerated Hψ and FFT operations. Earlier tests on V100 GPUs reported 4-6× speedups over CPUs for similar workloads, highlighting the on pre-exascale systems like Marconi100. These improvements stem from optimizations targeting GPU-specific challenges, such as limitations and ensuring data residency on the device to avoid costly host-device transfers. Ongoing efforts, coordinated through the MaX Centre and the , aim to extend GPU offload to the full suite, including linear-response and codes, with unification and portability enhancements integrated into releases like v7.4.1 in 2025. This progression positions Quantum ESPRESSO for exascale deployment, emphasizing reduced communication overheads and band parallelism to handle massive simulations on upcoming systems.

Usage and Community

Installation and Workflow

Quantum ESPRESSO is typically installed by compiling the source code from the official GitLab repository at gitlab.com/QEF/q-e, where users can clone the latest stable release or development version. The build process requires several dependencies, including linear algebra libraries such as BLAS and LAPACK for matrix operations, and FFTW for fast Fourier transforms, along with a Fortran compiler like gfortran or Intel Fortran. Compilation is facilitated by CMake, which automates configuration and supports customization for parallel environments; users run cmake followed by make and make install in the source directory after setting environment variables for dependencies. For high-performance computing (HPC) clusters, pre-built binaries are often available through module systems, and tools like EasyBuild can automate the installation of optimized versions tailored to specific architectures. Input files for Quantum ESPRESSO programs, such as pw.x for plane-wave self-consistent field calculations, use a structured namelist format in plain ASCII text (.in files), consisting of Fortran-style namelists (e.g., &CONTROL, &SYSTEM) followed by cards for atomic species, positions, and k-points. Output files (.out) are primarily text-based but include XML-formatted data for interoperability with post-processing tools. , essential for representing , are supplied in UPF (Unified Pseudopotential Format) and sourced from libraries like the Standard Solid State Pseudopotentials (SSSP) for efficient, high-accuracy simulations or PseudoDojo for norm-conserving and projector-augmented wave sets with verified accuracy. A representative workflow begins with a self-consistent field (SCF) calculation to obtain the ground-state electronic density, using pw.x with an input file specifying the , pseudopotentials, plane-wave cutoff, and k-point grid. For example, a basic SCF input for in the diamond structure is:
&CONTROL
  calculation = 'scf'
  prefix = 'si'
  outdir = './'
  pseudo_dir = './'
/
&SYSTEM
  ibrav = 2
  celldm(1) = 10.26
  nat = 2
  ntyp = 1
  ecutwfc = 30.0
/
&ELECTRONS
  conv_thr = 1.0d-8
/
ATOMIC_SPECIES
 Si  28.0855  Si.pbe-n-kjpaw_psl.1.0.0.UPF
ATOMIC_POSITIONS crystal
 Si  0.00  0.00  0.00
 Si  0.25  0.25  0.25
K_POINTS automatic
 4 4 4 0 0 0
This computes the total energy and , saved in files for subsequent steps. Next, structural optimization employs pw.x in 'relax' mode to minimize forces on atoms while fixing the cell volume, iterating until criteria are met, producing an optimized . calculations then use ph.x on this structure to compute dynamical matrices at q-points, revealing vibrational modes and checking via frequencies. Finally, post-processing with dos.x generates the (DOS) from the SCF output, integrating over the to plot electronic or DOS for or thermodynamic analysis. Common troubleshooting issues include poor convergence of the plane-wave (ecutwfc), where users must incrementally increase the value (e.g., from 20 Ry to 50 Ry) and monitor total energy changes below 1 meV/atom to ensure basis set completeness. Similarly, insufficient k-point sampling can lead to inaccurate integration, particularly for metals or small-gap semiconductors; a denser Monkhorst-Pack grid (e.g., 8x8x8 instead of 4x4x4) is tested until properties like total energy or band structure stabilize within desired tolerances.

Applications and Ecosystem

Quantum ESPRESSO finds widespread application in materials discovery, particularly for energy storage and conversion systems. In the realm of battery technologies, it has been utilized to model the reactivity and formation of solid-state electrolyte interphases, aiding the design of novel electrolytes with improved ionic conductivity and stability. For semiconductors, simulations with Quantum ESPRESSO enable the prediction of electronic band structures and defect properties, facilitating the screening of materials for photovoltaic and optoelectronic devices. Catalysis simulations represent another key area, where density functional theory calculations within Quantum ESPRESSO elucidate reaction mechanisms on surfaces, such as water splitting for hydrogen production. High-throughput screening is enhanced through integrations like the AiiDA platform, which automates workflows for computing diverse using Quantum ESPRESSO codes, enabling efficient exploration of large chemical spaces. This capability supports systematic by managing provenance and scalability for thousands of concurrent simulations. The ecosystem surrounding Quantum ESPRESSO includes robust interfaces with tools like the Atomic Simulation Environment (ASE) for scripting and workflow automation, and pymatgen for handling crystal structures and . Community contributions occur primarily through merge requests to the core repository, fostering ongoing enhancements from developers worldwide. workshops, such as the 2025 International Workshop on and : Total Energy and Force Methods at ICTP, promote knowledge exchange and training on Quantum ESPRESSO applications. Quantum ESPRESSO's impact stems from its implementation of , central to the 1998 for quantum chemistry advancements, with the software applied in numerous high-profile studies. It supports a global community of thousands of active users, evidenced by extensive citations and downloads. Pseudopotential validation efforts, such as the Standard Solid State Pseudopotentials (SSSP) library, ensure accuracy by benchmarking against all-electron calculations for reliable simulations. Looking ahead, Quantum ESPRESSO is poised to play a pivotal role in research, integrating with AI-driven methods to accelerate simulations of complex systems like topological insulators and superconductors. enhancements, including surrogate models trained on Quantum ESPRESSO data, promise to expedite materials informatics workflows.

References

  1. [1]
    Quantum Espresso: Home Page
    Quantum ESPRESSO is an integrated suite of Open-Source computer codes for electronic-structure calculations and materials modeling at the nanoscale.Documentation · Pseudopotentials · Tutorials · What can QE do
  2. [2]
    [PDF] User's Guide for Quantum ESPRESSO (v.7.3.1)
    1 Introduction. This guide gives a general overview of the contents and of the installation of Quantum. ESPRESSO (opEn-Source Package for Research in ...
  3. [3]
    Quantum ESPRESSO: a modular and open-source software ... - arXiv
    Jun 14, 2009 · Quantum ESPRESSO is an integrated suite of computer codes for electronic-structure calculations and materials modeling, based on density-functional theory.
  4. [4]
    Quantum ESPRESSO toward the exascale - AIP Publishing
    Apr 17, 2020 · The Quantum ESPRESSO project was started in 2002, with the merger of the following three packages for density-functional theory (DFT) ...
  5. [5]
    what can QE do - Quantum Espresso
    Quantum ESPRESSO runs on many different architectures, ranging from the most powerful parallel machines to workstations and PCs. Ground-state calculations ...
  6. [6]
    Quantum ESPRESSO: One Further Step toward the Exascale
    Jul 31, 2023 · QUANTUM ESPRESSO is an integrated suite of computer codes for electronic-structure calculations and materials modeling, based on density- ...Code Development · Code Performance on... · Conclusions · References
  7. [7]
    1.2 People - Quantum Espresso
    The PWscf package (which in earlier releases included PHonon and PostProc) was originally developed by Stefano Baroni, Stefano de Gironcoli, Andrea Dal Corso ( ...Missing: initial 2001 founding
  8. [8]
    QUANTUM ESPRESSO FOUNDATION overview - Companies House
    Company type: Private Limited Company by guarantee without share capital use of 'Limited' exemption. Incorporated on: 24 February 2011 ...
  9. [9]
    A modular and open-source software project for quantum ...
    Sep 1, 2009 · Quantum ESPRESSO is an integrated suite of computer codes for electronic-structure calculations and materials modeling, based on density ...Missing: v4. modularity
  10. [10]
    Quantum ESPRESSO V.6.0
    Oct 15, 2016 · Version 6.0 of Quantum ESPRESSO is available for download. You can find all archives uploaded on QE-FORGE here.Missing: v6. 2017 scalability<|separator|>
  11. [11]
    qe-7.0 · QEF - Quantum ESPRESSO Foundation / q-e - GitLab
    Dec 21, 2021 · qe-7.0 includes extended GPU support, RMM-DIIS for CPU/GPU, DFT-D3 MPI parallelization, and fixes for out-of-bound errors in DFT+U.Missing: 2022 | Show results with:2022
  12. [12]
    Quantum ESPRESSO version 7.4.1 available for download
    Mar 14, 2025 · The new Quantum ESPRESSO version 7.4.1 is now available on the download page. Released in November 2024, QE version 7.4 has undergone a brief staging period.Missing: history milestones key
  13. [13]
    about - Foundation Quantum Espesso
    The foundation fosters and supports the design, implementation, maintenance, and free dissemination of high-quality, high-performance open-source scientific ...Missing: establishment | Show results with:establishment
  14. [14]
    road map - Quantum Espresso
    The following is an incomplete list of major projects related to Quantum ESPRESSO development: Extension of the GPU porting, unification of GPU and CPU codes ...Missing: history milestones key
  15. [15]
    Quantum ESPRESSO - MaX
    Quantum ESPRESSO is released under the GPL license. It has a sizeable basis of users, as apparent from the number of citations of the two documenting papers ...Missing: count | Show results with:count
  16. [16]
    User's Guide for the PWscf package - Quantum Espresso
    1 Introduction · 1.1 What can PWscf do · 1.2 People · 1.3 Terms of use · 2 Compilation · 3 Using PWscf · 3.1 Input data · 3.2 Data files · 3.3 Electronic ...Missing: 2001 founding CNR- IOM<|separator|>
  17. [17]
    CP's user guide (v.7.2) - Quantum Espresso
    This guide covers the usage of the CP package, a core component of the Quantum ESPRESSO distribution.
  18. [18]
  19. [19]
    User's Guide for the PP package
    **Summary of PostProc Package Functions (Quantum ESPRESSO v.7.2):**
  20. [20]
    [PDF] Notes on pseudopotential generation - Quantum Espresso
    The atomic package requires that you explicitly specify the configuration for unscreening in the “test” configuration: see the detailed input documentation. It ...
  21. [21]
    Quantum ESPRESSO: a modular and open-source software project ...
    Quantum ESPRESSO is an integrated suite of computer codes for electronic-structure calculations and materials modeling, based on density-functional theory.Missing: IOM | Show results with:IOM
  22. [22]
    User's Guide for the PHonon package - Quantum Espresso
    4.3 Calculation of electron-phonon interaction coefficients · 4.4 DFPT with the tetrahedron method · 4.5 Calculation of electron-phonon interaction coefficients ...
  23. [23]
    [PDF] PHonon User's Guide (v. 7.2) - Quantum Espresso
    This guide covers the usage of the PHonon package for linear-response calculations. It is also assumed that you know the physics behind Quantum ESPRESSO, ...
  24. [24]
    User's Guide for The Quantum ESPRESSO Nudged Elastic Band
    User's Guide for The Quantum ESPRESSO Nudged Elastic Band.
  25. [25]
    documentation - Quantum Espresso
    The general documentation (HTML or pdf) covers the installation and usage of the current stable release of Quantum ESPRESSO.
  26. [26]
    TDDFPT · master - QEF - Quantum ESPRESSO Foundation - GitLab
    ###Time Dependent Density Functional Perturbation Theory (TDDFPT) TDDFPT developers would be grateful if any scientific work done with TDDFPT contained a ...
  27. [27]
    EPW Software
    EPW is an open-source code for first-principles calculations of electron-phonon interactions and related materials properties.Documentation · Download and Install · About · Forum
  28. [28]
    Electron–phonon physics from first principles using the EPW code
    Aug 25, 2023 · EPW is an open-source software for ab initio calculations of electron–phonon interactions and related materials properties.
  29. [29]
  30. [30]
    [PDF] Many-body perturbation theory calculations using the yambo code
    Jun 27, 2019 · Interface with Quantum ESPRESSO. p2y (pwscf-2- yambo) is the yambo interface with Quantum ESPRESSO. Its development line followed two routes ...
  31. [31]
    2 Installation - Quantum Espresso
    2 Installation. Subsections. 2.1 Download · 2.2 Prerequisites · 2.3 Building with CMake · 2.4 Building with make · 2.4.1 Manual configuration · 2.5 Libraries.2.9 Installation tricks and... · 2.1 Download · 2.4 Building with makeMissing: plugins | Show results with:plugins
  32. [32]
    User's Guide for Quantum-ESPRESSO
    **Summary of Quantum-ESPRESSO User Guide (v.7.3.1) Sections**
  33. [33]
    None
    Summary of each segment:
  34. [34]
    3.3 Parallelization levels - Quantum Espresso
    In QUANTUM ESPRESSO several MPI parallelization levels are implemented, in which both calculations and data structures are distributed across processors.Missing: strategies | Show results with:strategies
  35. [35]
    [PDF] arXiv:1305.7313v1 [cond-mat.mtrl-sci] 31 May 2013
    May 31, 2013 · In this paper we describe our work to improve the scalability of. Quantum ESPRESSO [1] for treating very large cells and huge numbers of ...
  36. [36]
    Quantum ESPRESSO towards performance portability: GPU offload ...
    In this paper, coding approach and benchmark tests of the OpenMP porting of Plane-Wave Self-Consistent Field (PWSCF) code is presented and discussed.
  37. [37]
    Turning towards the exascale: porting and optimizing Quantum ...
    Developed under MaX – Center of Excellence, Quantum ESPRESSO (QE) is an integrated suite of open-source computer codes for electronic-structure calculations and ...
  38. [38]
    MaX software development update (April 2025) - HPC in Europe Portal
    Quantum ESPRESSO - Version 7.4.1 is available for download and integrates essential bug fixes and enhancements. The openMP GPU offloaded version of the Quantum ...Missing: v7. | Show results with:v7.
  39. [39]
    Input File Description - pw.x - Quantum Espresso
    Sep 3, 2025 · x / PWscf / Quantum ESPRESSO (version: 7.5). TABLE OF ... Used only for space groups that in the ITA allow the use of two different origins.
  40. [40]
    5 Troubleshooting - Quantum Espresso
    Verify if your system is metallic or is close to a metallic state, especially if you have few k-points. If the highest occupied and lowest unoccupied state(s) ...
  41. [41]
    An Atomistic Study of Reactivity in Solid-State Electrolyte Interphase ...
    Progress has been made in the design and discovery of novel solid-state electrolytes (SSE) (10−14) via prediction of their ionic conductivity, (15) ...
  42. [42]
    Computational discovery of energy materials in the era of big data ...
    In this report, recent advances in material discovery methods are reviewed for energy devices. Three paradigms based on empiricism-driven experiments, database ...
  43. [43]
    [PDF] Quantum Espresso Applications for Material Sciences and ... - Indico
    Nov 28, 2023 · In this presentation I will show how DFT calculations can help to better understand the performance of a material as a catalyst for the water ...Missing: electrolytes | Show results with:electrolytes
  44. [44]
    Making atomistic materials calculations accessible with the AiiDAlab ...
    Jul 25, 2025 · To overcome these barriers, we introduce the Quantum ESPRESSO app, an intuitive, web-based platform built on AiiDAlab that integrates user- ...Missing: electrolytes | Show results with:electrolytes
  45. [45]
    AiiDA 1.0, a scalable computational infrastructure for automated ...
    Thanks to this scalable architecture, the AiiDA engine is able to sustain high-throughput workloads involving tens of thousands of concurrent tasks every hour ...
  46. [46]
  47. [47]
    Add-ons for Analysis - pymatgen
    pymatgen-io-espresso: Provides support for the Quantum ESPRESSO (QE) DFT code. This package was created by Omar Ashour and maintained in the Griffin Group ...Missing: interfaces ASE
  48. [48]
    contribute - Quantum Espresso
    All the info about how you can do that are available in the Developer's Manual for Quantum ESPRESSO. Here you can find instructions on how to contribute using ...Missing: merge requests
  49. [49]
    Total Energy and Force Methods | (smr 4050) (08-10 January 2025)
    The “Total Energy” is a renowned workshop about recent progress in electronic structure methods and their applications. ... ICTP and the Quantum ESPRESSO ...Missing: annual | Show results with:annual
  50. [50]
    The Nobel Prize in Chemistry 1998 - NobelPrize.org
    The Royal Swedish Academy of Sciences has awarded the 1998 Nobel Prize in Chemistry in the area of quantum chemistry to Walter Kohn.Missing: ESPRESSO applications
  51. [51]
    Precision and efficiency in solid-state pseudopotential calculations
    Dec 6, 2018 · We propose a protocol to test publicly available pseudopotential libraries, based on several independent criteria including verification against all-electron ...Results · Sssp Testing Protocol · Discussion
  52. [52]
    Materials informatics: A review of AI and machine learning tools ...
    Simulation acceleration through AI models trained on quantum simulations that can perform simulations of larger systems over a longer period of time ...