Adaptive spectral broadening

An NRG spectrum starts as a set of transitions with frequencies and integrated weights. Use several logarithmic discretizations shifted by \(z\) to sample the bath. In a fixed-width log-Gaussian, every transition receives the same width in log frequency. Adaptive broadening gives transitions that barely move with \(z\) a narrower kernel. This helps resolve sharp finite-frequency features such as a narrow impurity resonance. Lee and Weichselbaum, Phys. Rev. B 94, 235127

Run a calculation

Set adaptive_broadening=true and request a real-frequency FDM, CFS, or DMNRG spectrum. For a legacy scalar chain, prepare data and dhdz.in with nrginit, nrginit++, or scalar-template instantiate. Run nrg in each directory 1 through Nz. Use one uniformly spaced twist cycle, for example \(z=i/N_z\). savebins defaults to true in adaptive runs. Set broaden=false to do all broadening in the final step. Initializer details

For chain_file, prepare a version 2 dhdz.in for every twist. The matrix derivatives and the seed derivative must be in a consistent basis across the nearby twists. The spinless runner prepares these inputs with mixchain and compares fixed and adaptive curves using the same NRG bins. See the input format and the spinless examples.

For a spin-resolved FDM spectrum with eight twists at \(T=10^{-5}\), run this from the directory containing the numbered runs.

broaden -x 0.3 spec_FDM_dens_A_d-A_d-u.h5 8 1.5 1e-5

broaden reads the adaptive flag from the HDF5 input and writes spec.dat. -x 0.3 requests a second pass with the derivative of the Fermi function at width \(0.3T\). -f selects a Gaussian linear pass. With neither option, any exact-zero delta weight is reported in spec.elastic.dat. The solver also writes dhdz-states.dat with the energy slopes. Spectrum and diagnostic layouts

What determines the width

The solver propagates the physical derivative operator through the retained NRG basis along the Wilson chain. For each state it evaluates \(E_i'=\langle i|\partial H/\partial z|i\rangle\). The discrete transition at \(\omega_{ij}=E_j-E_i\) contributes to a frequency bin and a sensitivity bin with \(s_{ij}=|E_j'-E_i'|/|\omega_{ij}|\). broaden z-averages the joint bins and applies a log-Gaussian of width \(\alpha s/N_z\) to each. The sensitivity spacing and floor are 0.01. The cap is \(8\log\Lambda\), with at least the floor. Within an exactly degenerate symmetry sector the state expectations can depend on the chosen eigenbasis. The solver uses its ordinary eigenbasis. Method and degeneracy discussion

For finite-differenced matrix chains, compare results from adaptive_dz and half that step. Decreasing the step reduces stencil error and amplifies roundoff and uncertainty in the chain coefficients. Check the discretizer’s rank and star-sensitivity diagnostics if the derivatives change appreciably.

Explore the numerical parameters

The repository's broadening/ directory contains short scripts and parameter files for the examples. Start with the quick preset, which uses \(\Lambda=2.5\), four z shifts, and 256 kept states. The converged preset uses \(\Lambda=2\), 16 shifts, and 768 kept states. Vary one parameter at a time before comparing curves.

  • Change Nz to test sensitivity to bath sampling. Increasing it can reduce twist-to-twist oscillations. Compare at the same \(\Lambda\) and keep.
  • Lower Lambda to make the logarithmic discretization finer. Increase keep independently and verify that feature positions, widths, and weights stabilize. For a low-temperature spectrum, extend the chain until lowering Tmin_ratio leaves the result stable.
  • Adjust alpha to balance residual oscillations against resolution. Try 1 for the resonant level and 1.5 for the SIAM as starting points. Use --fixed-width on the same files to compare with conventional broadening. Pass \(\alpha\log\Lambda/N_z\) as the fixed logarithmic width.
  • At finite temperature, start with -x 0.3 and inspect frequencies of order \(T\) while varying the factor. Resolve the narrowest feature by refining the output mesh with -r or -L and the solver's bins setting independently.
  • Check the sum of the stored weights before interpreting a lineshape. The per-spin impurity fermion spectrum integrates to one. Check the sampled broadened area on a mesh that covers the kernel tails and include the elastic weight if it was saved separately.

Two off-symmetry examples

The noninteracting resonant level has \(\epsilon_d=-0.05\) and \(\Gamma=10^{-3}\) in half-bandwidth units. At this width the fixed kernel can dominate the physical linewidth. The table shows relative RMS errors against the exact flat-band spectrum within \(6\Gamma\) of the spin-resolved resonance with the quick preset. Analytic spectrum

Field Spin Fixed Adaptive
0 Up and down 0.801 0.417
\(10^{-3}\) Up 0.798 0.348
\(10^{-3}\) Down 0.803 0.413

The interacting example uses \(U=0.1\), \(\epsilon_d=-0.079\), and \(\Gamma=0.0052\). In a calibration with \(\Lambda=2\), eight twists, and 600 kept states, the zero-field occupation was \(n_d=1.0912\). Subtracting the matched CLEAN bath susceptibility from the total-spin susceptibility on the shell temperature plateau from \(2\times10^{-7}\) to \(3\times10^{-6}\) gave \(T_K=1/[4\chi_{\rm imp}(0)]\simeq1.18\times10^{-4}\).

With the quick preset and a linear width of \(0.3T\), the common zero-field peak height within \(|\omega|<0.003\) drops from 59.0 at \(T=10^{-5}\) to 37.7 at \(T=10^{-4}\). At \(B=10^{-3}\), the spin-up peak is near \(+8.4\times10^{-4}\) and the spin-down peak is near \(-9.8\times10^{-4}\) at both temperatures. The integrated weight is one per spin.

When you refine Nz or keep, compare at the same temperature, field, output mesh, and linear width to isolate the effect of the NRG calculation. At \(B=10^{-3}\), \(T=10^{-4}\), and \(\Lambda=2\), increasing from 16 twists and 768 kept states to 24 twists and 1024 kept states changed the curves within \(|\omega|<0.003\) by relative RMS differences of 0.56% for spin up and 0.98% for spin down on the shared plotting mesh.