Yambo

GW corrections and Bethe-Salpeter optical absorption beyond DFT.

Tool 018 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

Yambo, open-source tool for electronic structure of solids (periodic DFT): GW corrections and Bethe-Salpeter optical absorption beyond DFT.

What Yambo is

Yambo is a many-body perturbation theory code that starts from a DFT calculation and corrects it. DFT band gaps are systematically unreliable; the GW approximation computes quasiparticle energies, the energies to add or remove an electron, by including the screened Coulomb interaction between electrons. The Bethe-Salpeter equation (BSE) then describes optical absorption with electron-hole attraction, so excitons appear in the spectrum. Yambo implements both, together with RPA and TDDFT dielectric functions, electron-phonon coupling and real-time propagation for non-linear optics.

The workflow is: run Quantum ESPRESSO or ABINIT with many empty bands, convert the wavefunctions into the netCDF databases of Yambo with p2y or a2y, then generate and edit input files from the command line and run. ypp post-processes band structures, spectra and exciton wavefunctions, and the yambopy Python package automates convergence tests and plotting. Yambo runs with MPI and OpenMP and has a GPU build.

Convergence with respect to empty bands, k-points and dielectric cutoffs is demanding and is the main source of error and cost.

Features

What it is for

Verified facts

FamilyElectronic structure of solids (periodic DFT)
Language or basisMany-body perturbation theory
Repositoryhttps://github.com/yambo-code/yambo (GitHub)
LicenceGPL-2.0 (SPDX identifier as declared in the repository)
Main language on GitHubFortran
Last commit2026-11-27
Latest release5.3.0 (2025-01-16)
Stars139 on 2026-11-28
Open issues and pull requests79 on 2026-11-28
Repository created2017-02-16
Verified2026-11-28 by MolForge's checking script, against the host's API

Where Yambo fits

Codes for crystals, surfaces and periodic materials, with plane waves, augmented plane waves or localised bases. VASP, WIEN2k and CASTEP are the proprietary references.

Our comments on Yambo

MolForge does not run Yambo in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain Yambo and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.

Test status

Not tested by MolForge. To check Yambo yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.

Questions people ask

What DFT codes work with Yambo?
Quantum ESPRESSO through the p2y converter and ABINIT through a2y; both produce the netCDF databases Yambo reads. Other codes are not supported directly. The DFT run must include many empty bands and a dense k-point grid, which usually means a dedicated calculation rather than reusing a ground-state run.
Does Yambo run on GPUs?
Yes. A GPU-enabled build using CUDA Fortran and OpenACC covers the main GW and BSE kernels, and work on other accelerator back-ends continues. Memory per GPU constrains the size of the dielectric matrix that fits, so large systems still rely on distributing over many devices or nodes.
How is GW in Yambo different from hybrid functionals?
Hybrid functionals stay within DFT and often improve gaps by mixing in exact exchange, but the result depends on the chosen mixing. GW is a many-body method with a defined approximation to the self-energy, giving quasiparticle energies that correspond to photoemission experiments. It is more demanding and needs careful convergence, but does not involve a tunable fraction.
What is yambopy?
A Python package from the Yambo developers for preparing inputs, running convergence series, reading the netCDF databases of Yambo and plotting bands, spectra and excitons. It also handles Quantum ESPRESSO inputs. It is useful for the repetitive convergence tests that GW and BSE require and for reproducible workflows.
Is Yambo open source?
Yes. The repository declares the GPL-2.0 licence (SPDX identifier read from the host on 2026-11-28). Read the licence text in the repository before redistributing or embedding it.
Where is the Yambo source code?
At https://github.com/yambo-code/yambo (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
Is Yambo still maintained?
The last commit was pushed on 2026-11-27 and the latest tagged release is 5.3.0 from 2025-01-16; the repository had 79 open issues and pull requests on 2026-11-28.
Does MolForge use Yambo?
No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); Yambo is listed because of its place in electronic structure of solids (periodic DFT), not because we run it.

Other tools in electronic structure of solids (periodic DFT)