D2 · Electronic and Magnetic Properties

Density of States and Projected Density of States

Part D branches by the observable required to answer the research question. This topic is chosen only when that quantity is needed; it is not a required step in every DFT study.

Go directly to practical resources for this task.

Inspect the spectrum, scale, and projection closure

Open the total and projected DOS as quantitative plots with energy reference, ordinate scale, spin convention, broadening, and integration grid stated. Compare total and projected curves, integrate the occupied range where meaningful, and inspect whether important features persist under denser sampling or different broadening.

A visually plausible peak is not sufficient evidence of orbital identity, electron count, or metallicity. Check projection completeness and compare the full-zone sampling with any band-path view. Common plotting and projection routes are listed under electronic-property tools and specialist tools; use literature sources for experimental or independent computational comparison.

Calculate a density of states (DOS) when the question concerns how many electronic states occur in an energy interval across the Brillouin zone. A DOS needs an accepted structure and reference electronic state followed by a sufficiently dense, compatible uniform-zone calculation; a high-symmetry band path is not a DOS parent. Reconstruct a Stored Total DOS and Define Closure Tests reconstructs a real QE 7.5 total-DOS result. It does not perform an electron-count closure or contain projected DOS, so those remain explicit next actions rather than passed checks.

Run a total DOS from a uniform-zone state

Prepare scf.in, a denser compatible dos-nscf.in, and dos.x.in. Keep the structure, pseudopotentials, basis settings, charge, spin/SOC treatment, Hubbard definition, prefix, and accessible outdir consistent. The NSCF mesh, occupations, number of bands, and energy coverage must be chosen for the DOS question rather than copied from a path calculation.

pw.x -in scf.in > scf.out
grep -E '^[[:space:]]+convergence has been achieved in[[:space:]]+[0-9]+ iterations[[:space:]]*$' scf.out
grep -F "JOB DONE." scf.out

This creates the parent density. The first check asks whether QE reported electronic SCF convergence; the second checks program termination only.

pw.x -in dos-nscf.in > dos-nscf.out
grep -F "JOB DONE." dos-nscf.out
dos.x -in dos.x.in > dosx.out
grep -F "JOB DONE." dosx.out

The uniform NSCF run supplies full-zone eigenvalues and weights. dos.x integrates them and writes the total-DOS file named by fildos. The markers show that the programs terminated; they do not establish mesh, broadening, energy-grid, empty-band, or DOS convergence.

If the question requires site- or orbital-projected weight, run the separate projector route against the same compatible state:

projwfc.x -in projwfc.in > projwfc.out
grep -F "JOB DONE." projwfc.out

projwfc.x produces projection-resolved files under its declared projector convention. This command is not evidence that the total-DOS example ran a PDOS calculation or that projected components close to the total.

A DOS is a full-zone integration, not a band path

For the declared one-electron model,

g(E)=∑n∫BZδ ⁣(E−εn(k)) dkΩBZ.g(E) = \sum_n \int_{\mathrm{BZ}} \delta\!\left(E-\varepsilon_n(\mathbf{k})\right)\,\frac{d\mathbf{k}}{\Omega_{\mathrm{BZ}}}.

Record the mesh and weights, symmetry reduction, integration or smearing rule, broadening, energy grid, number of bands, occupations, spin/SOC state, energy reference, and normalization. States/eV/cell, states/eV/formula unit, states/eV/atom, and per-spin values are not interchangeable.

Discrete eigenvalues need a stated integration method

Finite meshes replace delta functions with a declared tetrahedron or smearing construction. Increasing it merges nearby peaks when the broadening width is enlarged, while a smaller width can expose an insufficient mesh. Changing the kernel can make a smooth curve; a smooth curve may be a consequence of the chosen kernel rather than a physical feature.

The integrated DOS,

N(E)=∫−∞Eg(E′) dE′,N(E)=\int_{-\infty}^{E} g(E')\,dE',

can be compared with the expected occupation under a declared normalization and integration convention. Treat that comparison as a diagnostic that must be carried out, not as an automatic PASS: agreement does not prove adequate k sampling or spectral accuracy, and disagreement can arise from the energy window, band count, grid, normalization, or parser.

Projected DOS is a partition chosen by a projector

A projected DOS uses weights from a specified subspace,

gA(E)=∑n∫BZwA,n(k) δ ⁣(E−εn(k)) dkΩBZ.g_A(E)=\sum_n \int_{\mathrm{BZ}} w_{A,n}(\mathbf{k})\,\delta\!\left(E-\varepsilon_n(\mathbf{k})\right)\,\frac{d\mathbf{k}}{\Omega_{\mathrm{BZ}}}.

Compare the sum of displayed projections with the total DOS on the same grid and report the residual. Incomplete or nonorthogonal projectors, interstitial weight, truncation, and normalization choices can prevent exact closure. Do not silently renormalize components until they add up, and do not infer a basis-independent bond or oxidation state from a projector label.

Spin, spinors, and orbital labels need their own meaning

Collinear spin channels use a declared quantization axis. With noncollinear SOC, an up/down curve can instead be a spinor projection onto a chosen axis. Preserve that axis, the magnetic state, SOC setting, local orbital convention, and projector definition before interpreting spin or orbital weight.

Set the energy reference before comparing curves

Displaying E−EFE-E_F is a convention for one calculation. Separate compositions, charge states, surfaces, interfaces, or Hamiltonians need a physically justified common alignment before their curves support an energy comparison.

Decide whether the DOS is usable

Inspect the produced file header, energy range, grid spacing, Fermi or chosen alignment reference, spin channels, finite values, and expected number of rows. Then repeat the calculation while changing the full-zone mesh, integration method or broadening, energy grid, number of bands, and any state variable relevant to the intended conclusion. Compare the actual target: near-edge DOS, a peak separation, integrated weight, spin asymmetry, or another stated observable. A smooth curve alone is not convergence.

A DOS integrates full-zone weight but does not locate a band edge or pocket. A low-DOS interval needs a full-zone extremum search before it supports a gap claim, and a band path cannot establish that search. Plot broadening is not a quasiparticle lifetime; aligning separate curves at their reported EFE_F values is not a band offset.

DOS is not a measured spectral function

Photoemission, tunnelling, and optical spectra include matrix elements, resolution, temperature, surface sensitivity, excitations, and possibly many-body self-energy. Numerical DOS broadening is not a calculated lifetime, and visual agreement with an experimental peak is not observable-level validation.

Decide what the spectrum may support

A converged and normalized DOS can support energy-resolved state counts for the declared model and integration procedure. A declared projection can support a basis-dependent decomposition only after its residual has actually been evaluated. If electron-count or projection closure has not been performed, label the page as a reconstruction and stop before orbital-population claims. It does not establish a band-edge location, reciprocal-space pocket, fundamental or experimental gap, chemical bond, charge transfer, oxidation state, magnetic mechanism, quasiparticle spectrum, transport coefficient, material stability, or device performance. Preserve total and projected arrays, inputs, parent-state identity, integration settings, diagnostics, convergence series, plotting transforms, and source hashes.

Sources and methods

Practical resources

Implementation detail and bounded examples for this researcher-scale task.

Practical Guides

Authoritative references

  • Official method or implementation source. Quantum ESPRESSO projwfc.x input reference
  • Method or specialist reference. Improved tetrahedron integration
  • Deeper theory. Feliciano Giustino, Materials Modelling Using Density Functional Theory: Properties and Predictions, Oxford University Press (2014). Use to connect theory to measurable materials properties and to identify the calculation and validation needed for a target observable.