QE 1 · Quantum ESPRESSO · 6 min read
What is Quantum ESPRESSO?
Checked against the docs · Quantum ESPRESSO repository, tag qe-7.6 · Last checked 12 November 2026 · Spot a mistake? Tell us
Short answer
Quantum ESPRESSO is a free, open-source suite of programs for electronic-structure calculations of materials with density-functional theory, plane waves and pseudopotentials. Its core program, pw.x, finds the ground-state energy, forces and stresses of a structure, and can relax it or run molecular dynamics.
What is Quantum ESPRESSO?
Quantum ESPRESSO is a suite of computer codes for modeling materials at the scale of electrons and atoms. Its name stands for opEn-Source Package for Research in Electronic Structure, Simulation, and Optimization.
Its user guide describes the method in one line: electronic-structure calculations within density-functional theory (DFT), using a plane-wave basis set and pseudopotentials. In plain words: the electrons are described by a sum of simple waves across a repeating cell, and the inside of each atom (the nucleus and its innermost electrons) is replaced by a softer stand-in, so that only the outer electrons need to be calculated.
It is free software, released under the GNU General Public License (version 2 or, at your option, any later version), and distributed as source code that you compile, though the guide notes that binary packages may also be available.
What does it contain?
Quantum ESPRESSO is not one program but a set of packages. The two at its core are:
- PWscf (Plane-Wave Self-Consistent Field), whose program is
pw.x: the one most calculations start with; - CP (Car-Parrinello), whose program is
cp.x, for Car-Parrinello molecular dynamics.
Others build on them, among them PHonon (vibrational and dielectric properties with density-functional perturbation theory), PWneb (energy barriers and reaction paths with the nudged elastic band method, through neb.x), PostProc (post-processing), EPW (electron-phonon coupling and transport) and HP (Hubbard parameters). The repository's README lists them all.
What can pw.x calculate?
The PWscf user guide lists, among other things:
- the ground-state energy and the one-electron (Kohn-Sham) orbitals, the forces on the atoms and the stresses;
- structural optimization, also with a variable cell;
- molecular dynamics on the Born-Oppenheimer surface, also with a variable cell;
- macroscopic polarization through Berry phases, and finite electric fields.
It works for insulators and metals in any crystal structure, with many exchange-correlation functionals (including spin polarization, DFT+U, meta-GGA, nonlocal and hybrid functionals), and with three kinds of pseudopotential: norm-conserving, ultrasoft and PAW (projector augmented waves). Noncollinear magnetism and spin-orbit coupling are implemented too.
What does a run look like in practice?
A pw.x run reads one text input file and one pseudopotential file per element, and writes a text report and a folder of data.
| Going in | What it holds |
|---|---|
The input file (for example si.scf.in) | Everything about the calculation: a few namelists (&CONTROL, &SYSTEM, &ELECTRONS, and others when needed) followed by cards (ATOMIC_SPECIES, ATOMIC_POSITIONS, K_POINTS, and others). See What is in a Quantum ESPRESSO input file? |
One pseudopotential file per element (for example Si.pz-vbc.UPF) | The stand-in for each element's core, usually in the UPF format, read from the folder named by pseudo_dir. See How does Quantum ESPRESSO use pseudopotentials? |
| Coming out | What you find in it |
|---|---|
The output (for example si.scf.out) | The report pw.x writes to standard output, which you redirect to a file: the settings it read, each step of the electron loop, the total energy, and forces and stress when asked for. |
outdir/prefix.save | The data folder: a "head" data file in XML format, the binary data a later run (a band structure, for example) reads back, and a copy of the pseudopotential files. prefix defaults to pwscf. |
The examples start pw.x with the input redirected into it, and the general guide shows the parallel form with -i:
mpirun -np 4 pw.x -i file.in > file.outThe guide adds that a machine that does not allow interactive use needs this run through its batch queuing system; on a SLURM cluster that is a job script (How do I submit a job on SLURM?). How to launch in parallel, and with which MPI library, depends on the machine; the guide's advice is to ask your system administrator.
What do people mix up?
| The mix-up | What is true |
|---|---|
| "Quantum ESPRESSO is one program." | It is a suite of packages. pw.x (PWscf) does the self-consistent ground-state work; cp.x, ph.x, neb.x and others do other jobs. NEB calculations are no longer run by pw.x but by neb.x. |
| "Quantum ESPRESSO is DFT." | DFT is the theory; Quantum ESPRESSO is a set of programs that implement it, with plane waves and pseudopotentials. |
| "Energies are in eV and lengths in Å." | The input reference says every quantity whose units are not stated is in Rydberg atomic units: energies in Ry, lengths in bohr. Some cards take a unit option, such as angstrom. |
| "The pseudopotentials come with the code." | The repository's pseudo/ folder holds the files its examples use; the example scripts download the others they need. For your own work you choose and download your own. |
"The results are in outdir." | The text report goes wherever you redirect standard output; outdir/prefix.save holds the data files a later run reads. |
Which value should I use?
Each setting has its own page:
- The input file, namelist by namelist: What is in a Quantum ESPRESSO input file?
- The pseudopotentials and the two cutoffs,
ecutwfcandecutrho: How does Quantum ESPRESSO use pseudopotentials? - A whole first calculation, from input to total energy: How do I run my first Quantum ESPRESSO calculation?
How do I cite Quantum ESPRESSO?
The project asks that work done with it cite its papers, in its documentation and in the request printed at the top of a pw.x output (the example output in How do I run my first Quantum ESPRESSO calculation? shows one). The file Doc/quote.tex lists two:
- P. Giannozzi et al., J. Phys.: Condens. Matter 21, 395502 (2009);
- P. Giannozzi et al., J. Phys.: Condens. Matter 29, 465901 (2017);
and, for the GPU-enabled version, also P. Giannozzi et al., J. Chem. Phys. 152, 154105 (2020). The file gives the full author lists, asks for the form "Quantum ESPRESSO" when the code is named in the text, and points to each package's own documentation for further citations. The papers are listed here as the documentation lists them; this page was checked against the documentation, not the papers.
Verlet runs VASP and LAMMPS today and does not support Quantum ESPRESSO; everything on this page works without it.