QE 3 · Quantum ESPRESSO · 7 min read

How does Quantum ESPRESSO use pseudopotentials?

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 reads one pseudopotential file per element, usually in the UPF format, from the folder set by pseudo_dir, as named in the ATOMIC_SPECIES card. The kind of pseudopotential decides the two cutoffs: ecutwfc for the wavefunctions, and ecutrho for the charge density, which defaults to four times ecutwfc but usually needs more for ultrasoft ones.

What does pw.x need a pseudopotential for?

pw.x describes the electrons with plane waves. Close to a nucleus the electrons' orbitals change very fast, and describing that in plane waves would take far too many of them. A pseudopotential replaces the nucleus and its innermost (core) electrons with a smoother stand-in, so that only the outer (valence) electrons are calculated and a modest number of plane waves describes them. The general idea is in What is a pseudopotential?, shown there with VASP.

The PWscf user guide lists the three kinds pw.x reads:

  • norm-conserving pseudopotentials (Hamann-Schlüter-Chiang, in separable form);
  • ultrasoft pseudopotentials (Vanderbilt);
  • the projector augmented-wave (PAW) method.

Each species in the input names its own file, in the third column of the ATOMIC_SPECIES card:

Example
ATOMIC_SPECIES
 Si  28.086  Si.pz-vbc.UPF

What is a UPF file?

UPF stands for Unified Pseudopotential File, the format defined in the repository's pseudopotential library, upflib. The input reference says pw.x assumes the new UPF format; if that does not work, it guesses an older format from the file name (.vdb or .van for the Vanderbilt ultrasoft code, .RRKJ3 for an older format of Andrea Dal Corso's code, anything else for the old PWscf norm-conserving format). The upflib folder also builds upfconv.x, which converts pseudopotentials from other formats into UPF.

A UPF file is text you can read. Here is the start of one shipped in the repository's pseudo/ folder, an ultrasoft pseudopotential for gold generated with the atomic code that comes with Quantum ESPRESSO:

Example
<UPF version="2.0.1">
  <PP_INFO>
    Generated using "atomic" code by A. Dal Corso  (Quantum ESPRESSO distribution)
    Author: ADC
    Generation date: 15Feb2010
    Pseudopotential type: USPP
    Element: Au
    Functional: LDA
    Suggested minimum cutoff for wavefunctions:  23. Ry
    Suggested minimum cutoff for charge density: 297. Ry

The human-readable PP_INFO section says what the file is: the element, the kind (USPP is ultrasoft), the exchange-correlation functional it was made with, and the cutoffs its author suggests as a minimum. The PP_HEADER that follows carries the same facts as attributes for the program, such as pseudo_type="USPP", z_valence (the number of valence electrons) and wfc_cutoff and rho_cutoff. Not every file fills these in: in the same folder, Fe.pz-n-nc.UPF gives 0. Ry for both suggestions.

Where does pw.x look for the files?

In the folder named by pseudo_dir in &CONTROL. Without it, pw.x uses the environment variable ESPRESSO_PSEUDO if it is set, else $HOME/espresso/pseudo/.

A copy of the pseudopotential files is also written into the data folder, outdir/prefix.save. The general user guide warns that if some processor cannot reach that folder, the files are read from pseudo_dir instead, and "unpredictable results may follow" if the two copies are not the same file.

How does the pseudopotential set the cutoffs?

Two cutoffs, both in Ry, set how many plane waves pw.x uses:

  • ecutwfc, the kinetic-energy cutoff for the wavefunctions. It has no default: it must always be given.
  • ecutrho, the cutoff for the charge density and the potential. It defaults to 4 * ecutwfc.

The input reference ties ecutrho to the kind of pseudopotential:

PseudopotentialWhat the input reference says about ecutrho
Norm-conservingStick to the default; reducing it a little introduces noise, especially in forces and stress.
UltrasoftA larger value than the default is often desirable, typically 8 to 12 times ecutwfc.
PAWCan often be used at 4 times ecutwfc, but it depends on the shape of the augmentation charge: "testing is mandatory".

It adds that gradient-corrected functionals, especially in cells with vacuum, and pseudopotentials without a nonlinear core correction usually need a higher ecutrho to be converged. The troubleshooting section says the same twice more: for ultrasoft pseudopotentials, raising ecutrho usually helps a self-consistency that converges badly, and it reduces the "negative or imaginary charge" warnings.

PWscf example 1 shows both patterns. Silicon, with a norm-conserving pseudopotential, sets only ecutwfc = 18.0, and the output reports the default charge-density cutoff:

Example
     kinetic-energy cutoff     =      18.0000  Ry
     charge density cutoff     =      72.0000  Ry

Copper, with an ultrasoft pseudopotential (Cu.pz-d-rrkjus.UPF), sets both, at twelve times:

Example
    ecutwfc = 25.0, ecutrho = 300.0

Do all the pseudopotentials have to match?

In their functional, yes. The PWscf user guide says the flavor of DFT used in the calculation should be the one the pseudopotentials were generated with, and all of them with the same one. pw.x reads the functional from each file and stops with an inconsistent DFT error if they differ. The input variable input_dft overrides this, which the guide allows "at your own risk".

The functional pw.x read shows near the top of the output; for the silicon example:

Example
     Exchange-correlation      =  SLA  PZ   NOGX NOGC ( 1  1  0  0 0 0)

For spin-orbit coupling, the guide adds that at least one pseudopotential must be fully relativistic; with only scalar-relativistic ones, the calculation is noncollinear but has no spin-orbit coupling.

Where do I get pseudopotentials?

What the repository itself points to:

  • The examples' source. PW/examples downloads any file it lacks from the address in environment_variables, NETWORK_PSEUDO=https://pseudopotentials.quantum-espresso.org/upf_files/.
  • pslibrary. The atomic code's README says a large set of input data for generating pseudopotentials is available from the pslibrary project, at pslibrary.quantum-espresso.org or dalcorso.github.io/pslibrary/.
  • Making your own. The atomic code (ld1.x) generates and tests norm-conserving, ultrasoft and PAW pseudopotentials; its input reference is atomic/Doc/INPUT_LD1.def.

The documentation also names the project's website, quantum-espresso.org, as the place for downloads. It and the addresses above could not be opened while this page was written, so check the website for the pseudopotential libraries it lists.

How do I cite the pseudopotentials?

The project's citation file, Doc/quote.tex, asks that you name the pseudopotentials you used and where they came from, with this example: "We used the pseudopotentials C.pbe-rrjkus.UPF and O.pbe-vbc.UPF from http://www.quantum-espresso.org".

What do people mix up?

The mix-upWhat is true
"ecutrho takes care of itself."Its default, 4 × ecutwfc, is meant for norm-conserving pseudopotentials; ultrasoft ones typically need 8 to 12 times, and for PAW the reference says testing is mandatory.
"The suggested cutoff in the file is the converged value."PP_INFO calls it a suggested minimum. Whether it is enough for your quantity has to be tested.
"I can mix an LDA and a PBE pseudopotential."pw.x stops with an inconsistent DFT error unless you force a functional with input_dft, at your own risk.
"pw.x reads only the files in pseudo_dir."It also writes a copy into outdir/prefix.save, and can read either; keep them the same file.
"Any file name works as long as it is UPF."The file must be in pseudo_dir under exactly the name in ATOMIC_SPECIES; for non-UPF files, the name's ending tells pw.x the format.

Which value should I use?

The documentation read for this page gives no value for ecutwfc: a pseudopotential's author may suggest a minimum, and the input reference says testing is mandatory for PAW. None of the repository files read for this page describes how to converge ecutwfc and ecutrho; test them on your own system.

Verlet runs VASP and LAMMPS today and does not support Quantum ESPRESSO; everything on this page works without it.