Introduction
Hello, I am Ryo Nagai from Preferred Networks. Among its activities, the Materials team at PFN develops methods that make electronic-structure calculations more accurate. In this post, I introduce a new method we have developed for band calculations, which are central to electronic-structure calculations of solids.
Bands describe the energies that electrons in a solid can have. Of particular importance is the band gap, the energy difference between the highest filled level (the top of the valence band) and the lowest empty level (the bottom of the conduction band). The band gap governs the properties of semiconductors and the efficiency of solar-cell materials, and matters in many industrial applications.
Density functional theory (DFT) is the standard method for computing bands, but its inexpensive exchange–correlation functionals, the so-called semilocal functionals such as LDA, PBE [1] and r²SCAN [2], tend to underestimate the band gap, which makes quantitative predictions difficult. In some cases they even predict a semiconductor to be a metal. More accurate methods, such as HSE and GW, yield accurate band gaps, but their cost makes them hard to apply to large systems.
Practical materials often contain disordered atomic arrangements, thermal displacements of the atoms or defects, and describing them requires large cells. Such calculations therefore often face this trade-off between accuracy and cost.
To resolve this, we have developed a method that makes band gaps accurate by adding a lightweight post-processing step to a DFT calculation. Conceptually, it is a quasiparticle correction that, like one-shot GW, leaves the ground state unchanged and corrects only the one-electron levels. It approximates the physics behind the correction, the screened exchange, with a local model. Although it is a simple correction that runs at about the cost of a semilocal functional, it is more accurate than HSE06 [3] on average and markedly improves the gaps of wide-gap insulators. The result is a method with a good balance between accuracy and cost.
A lightweight post-processing step on the DFT output
After a DFT calculation with an inexpensive exchange–correlation functional such as PBE or r²SCAN (the base functional), our method corrects the resulting eigenvalues (bands) as follows:
\[\epsilon'_n = \epsilon_n - s g \langle u_\mathrm{V}\rangle_n \quad (\text{occupied states})\]
\[\epsilon'_n = \epsilon_n + s g \langle u_\mathrm{C}\rangle_n \quad (\text{empty states})\]
Here \(\langle u \rangle_n\) is the average of \(u(\mathbf r)\) weighted by the density of state \(n\), \(|\psi_n(\mathbf r)|^2\). Not only the band edges but every occupied state moves down and every empty state moves up, each by its own amount. The band gap opens by the sum of the shifts of the valence-band maximum (VBM) and the conduction-band minimum (CBM), \(s g (\langle u_\mathrm{V}\rangle_\mathrm{VBM} + \langle u_\mathrm{C}\rangle_\mathrm{CBM})\). These shifts follow from adding to the functional the term \(E_\mathrm{S} = \sum_i f_i(1-f_i)\int s g u_i(\mathbf r) |\psi_i(\mathbf r)|^2 d\mathbf r\), which depends on the occupation numbers \(f\). When every occupation is 0 or 1, \(f(1-f)=0\), so the total energy, the electron density and the forces on the atoms remain exactly those of the original DFT calculation; only the eigenvalues move.
Correcting only the eigenvalues afterwards is, physically, a quasiparticle correction. Kohn–Sham eigenvalues, apart from the highest occupied one, do not strictly correspond to the energies of adding or removing an electron, but a suitable correction brings them close to the quasiparticle levels observed in experiments such as photoemission spectroscopy. The three factors are as follows.
- \(u\) is the magnitude of the exchange that the semilocal functional lacks. Compared with exact (Fock) exchange, semilocal functionals place the occupied levels too high and the empty levels too low, and this is the main reason why they underestimate gaps. \(u\) estimates this missing exchange locally from the electron density at each point, its gradient and the quantity \(\alpha\) that meta-GGAs use to measure how localized the orbitals are. There is one form for occupied states, \(u_\mathrm{V}\), and one for empty states, \(u_\mathrm{C}\). Their coefficients were fitted to exact-exchange corrections computed for ten representative semiconductors (no experimental data were used). Only the density and orbitals after the self-consistent field (SCF) calculation are needed: the field is built once on the grid and averaged over each state, at negligible cost.
- \(g\) is the screening, the degree to which exchange is weakened inside a solid. In a solid, the exchange interaction between electrons is screened by the other electrons, so only about a fraction \(1/\varepsilon_\infty\) of it remains (\(\varepsilon_\infty\) is the electronic dielectric constant). \(g\) is this fraction, obtained from a dielectric constant computed from the Kohn–Sham eigenvalues and the momentum matrix elements between states. It has no adjustable parameter and agrees with the experimental \(1/\varepsilon_\infty\) with a root-mean-square deviation (RMSD) of 6% on a logarithmic scale, from silicon to lithium fluoride. For isolated systems such as molecules \(g=1\), and for metals \(g\) is close to 0. The dielectric constant requires empty bands (up to twice the number of occupied bands), and computing them accounts for most of the cost of the correction.
- \(s\) is a single constant for each base functional. It is the fraction of the missing exchange that actually appears as a shift of the quasiparticle levels, and it is related to the quasiparticle renormalization factor of GW. We fitted it not to solids but to highly accurate quantum-chemistry (CCSD(T)) ionization energies of 66 small molecules of the GW100 benchmark. The value fitted on molecules transfers to solids without change: for PBE, it agrees well with the fraction of 0.68 obtained from the GW corrections of the band edges of 34 solids. Being a constant, it adds no cost.
In total, computing these takes about 0.2–0.4 times the SCF calculation with the base functional. Because the exchange operator does not have to be computed at every SCF step, as it does in HSE06, the method remains affordable for any cell in which the semilocal calculation itself is feasible.
One caveat concerns the base functional. If the base functional closes the gap (predicts a metal), \(g\) takes its metallic value, and the correction cannot open the gap. We therefore also developed a base functional, LOCUS, which adds to r²SCAN a term that lowers the levels of closed d shells (the shell term) and a dispersion correction (rVV10). LOCUS opens the gap in systems where r²SCAN closes it, such as copper and silver compounds. With a meta-GGA base (r²SCAN or LOCUS), the corrected gaps approach GW accuracy; with PBE as the base, the accuracy is at the level of HSE06. The paper gives the value of \(s\) for each base functional. The results below use LOCUS as the base.
Applications
Band gaps of solids: the Borlido benchmark
We first checked the accuracy on the benchmark set of Borlido et al. [4], a collection of several hundred crystals with known experimental band gaps, from semiconductors to insulators with a wide range of gap sizes. On the 438 crystals not used to fit any coefficient, Table 1 compares the mean absolute error (MAE) against experiment of our method with literature values for HSE06, mBJ [5] and several GW methods. mBJ (the modified Becke–Johnson potential) is a model exchange potential that is not derived from an energy functional; using a coefficient determined from the density of the whole cell, it is the most widely used method for correcting gaps at semilocal cost. However, it gives no total energy or forces, and its band positions on the vacuum scale have no physical meaning. In our tests with GPAW on 19 crystals, its SCF did not converge within 300 iterations for 5 of them, and its total time was at least 1.9 times that of our method (LOCUS plus the correction).
Table 1. Mean absolute errors (MAEs) for band gaps on the Borlido benchmark.
| Method | MAE (eV) | Data points | MAE of our method on the same data (eV) |
|---|---|---|---|
| Base functional (LOCUS) alone | 0.71 | 438 | 0.43 |
| Our method (LOCUS + correction) | 0.43 | 438 | — |
| HSE06 | 0.52 | 438 | 0.43 |
| mBJ | 0.49 | 437 | 0.43 |
| G₀W₀@PBE (one-shot GW, plasmon-pole approximation) | 0.60 | 281 | 0.42 |
| QPG₀W₀ (one-shot GW with full frequency dependence) | 0.31 | 132 | 0.42 |
| QSGŴ (quasiparticle self-consistent GW with vertex corrections) | 0.25 | 82 | 0.42 |
(Spin–orbit coupling is included in our method, QPG₀W₀ and QSGŴ.)
The HSE06, mBJ and GW values are literature values from Grossmann et al. [6]. The number of data points differs because that work does not report every method for every crystal; GW in particular is expensive, and the more expensive a method, the fewer crystals it covers. Because the MAE depends on which crystals are included, the right-hand column gives the MAE of our method on the same crystals only.
For semiconductors with gaps below 3 eV, our method is as accurate as HSE06. For wide-gap insulators, HSE06 and mBJ severely underestimate the gaps, whereas the error of our method is less than half that of HSE06 and about 60% of that of mBJ (on the 35 crystals with experimental gaps above 6 eV: 0.80 eV for our method, 1.88 eV for HSE06 and 1.32 eV for mBJ). Compared with GW, our method is more accurate than standard one-shot GW (G₀W₀@PBE) and 0.1–0.2 eV less accurate than GW with full frequency dependence or self-consistency.
Halide perovskites at room temperature
The method is most useful for systems that need many large cells. As an example, we computed the band gaps of halide perovskites (CsPbI₃, MAPbI₃ and others), which have attracted attention as solar-cell materials.
Predicting the gaps of halide perovskites has been a difficult problem:
- At room temperature the lattice fluctuates strongly, and the gap is set by this fluctuating structure. Computed for the ideal high-symmetry crystal structure, the gap is 0.5–1.1 eV below experiment.
- Because they contain heavy elements such as lead, spin–orbit coupling must be included, and it narrows the gap considerably.
- Describing the fluctuations requires many molecular-dynamics snapshots in cells of tens to hundreds of atoms, which is too expensive for HSE06 or GW. Accurate methods have therefore been applied only to small cells, with the effects of temperature and spin–orbit coupling added from separate calculations.
A representative recent approach is that of Wang et al. [7]. It applies a hybrid functional whose fraction of exchange is set by the dielectric constant (DSH) [8] only to a small cell of the experimental low-temperature crystal structure, and adds spin–orbit coupling, zero-point motion and temperature effects computed separately with PBE. It reaches an MAE of 0.17 eV against experiment for inorganic halide perovskites, but it has limitations. First, it estimates the effect of temperature in the harmonic approximation (which treats the atoms as vibrating slightly around their equilibrium positions), so it cannot be used for cubic phases, in which the atoms fluctuate so strongly that the harmonic approximation fails. Second, it is expensive: in addition to the hybrid-functional calculation, it needs a dielectric calculation for each material. It is therefore hard to apply directly to large cells of fluctuating structures, and the effect of temperature must be treated with separate approximations.
With our method, we run molecular dynamics at 300 K with PFP, the universal machine-learning potential developed by PFN, apply the correction with spin–orbit coupling to each snapshot and simply average the gaps. No parameter is fitted to any gap. Because the fluctuating structures are computed directly, no harmonic approximation is needed for the effect of temperature, and cubic phases, which the method of Wang et al. cannot treat, are handled as well; in fact, we computed the cesium and formamidinium compounds in cubic cells with the experimental lattice constants of their cubic phases. Over 11 compositions with lead and tin, cesium and organic cations (methylammonium and formamidinium), and mixed halides, the MAE against experiment is 0.05 eV (Figure 1). PBE with spin–orbit coupling underestimates every gap, by 0.87 eV on average. Restricted to the five cesium compounds computed by Wang et al., the MAE is 0.07 eV for our method and 0.13 eV for theirs. Our method also reproduces how the gap changes with composition, for example the gap minimum at intermediate tin–lead compositions.

Figure 1. Calculated versus experimental band gaps for 11 halide perovskite compositions (Fig. 4a of the paper). Blue circles, our method (averages over molecular-dynamics snapshots at 300 K; bars, standard deviation across snapshots). The grey open circles and crosses are also our method: open circles, structures relaxed from the last snapshot (corresponding to structures at absolute zero); crosses, the high-symmetry crystal structures. Orange diamonds, the earlier method of Wang et al. (a dielectric-dependent hybrid functional on the experimental crystal structure, with temperature and other effects added separately).
Conclusion
We believe that our method is a powerful way to make band gaps and related quantities, which are essential in practical electronic-structure calculations, accurate at little additional cost. We hope to use it to improve electronic-structure calculations of systems that need large cells, where quantitative predictions have been out of reach, and to advance materials discovery.
The paper describing the method is available at arXiv:2611.35958. Code that reads the output of open-source DFT software and applies the method is available at https://github.com/pfnet-research/locus-es.
We are continuing to refine this method, including its performance and implementation. For companies interested in applying it to real-world materials discovery, we offer joint or commissioned research and can share our newest technical information and know-how as part of the collaboration. If you are interested, please contact us at materials_biz@preferred.jp.
References
[1] J. P. Perdew, K. Burke, and M. Ernzerhof “Generalized Gradient Approximation Made Simple.” Phys. Rev. Lett. 77, 3865–3868 (1996).
[2] J. W. Furness et al. “Accurate and Numerically Efficient r²SCAN Meta-Generalized Gradient Approximation.” J. Phys. Chem. Lett. 11, 8208–8215 (2020).
[3] A. V. Krukau et al. “Influence of the exchange screening parameter on the performance of screened hybrid functionals.” J. Chem. Phys. 125, 224106 (2006).
[4] P. Borlido et al. “Large-Scale Benchmark of Exchange–Correlation Functionals for the Determination of Electronic Band Gaps of Solids.” J. Chem. Theory Comput. 15, 5069–5079 (2019).
[5] F. Tran and P. Blaha “Accurate Band Gaps of Semiconductors and Insulators with a Semilocal Exchange-Correlation Potential.” Phys. Rev. Lett. 102, 226401 (2009).
[6] M. Großmann et al. “Many-body perturbation theory vs. density functional theory: a systematic benchmark for band gaps of solids.” npj Comput. Mater. 12, 25 (2026).
[7] H. Wang et al. “Accurate and efficient band-gap predictions for metal halide perovskites at finite temperature.” npj Comput. Mater. 8, 237 (2022).
[8] Z.-H. Cui et al. “Doubly Screened Hybrid Functional: An Accurate First-Principles Approach for Both Narrow- and Wide-Gap Semiconductors.” J. Phys. Chem. Lett. 9, 2338–2345 (2018).


