Skip to content

NRG and CT-QMC Impurity Solvers: Validity and Error

Numerical renormalization group (NRG) and continuous-time quantum Monte Carlo (CT-QMC) answer complementary questions about an impurity model. NRG follows the flow across exponentially separated energy scales and supplies real-frequency transitions, but it approximates the bath, truncates states, and usually broadens a discrete spectrum. CT-QMC samples a continuous-time diagrammatic expansion without Trotter error, but it returns noisy imaginary-time or Matsubara data and may suffer from autocorrelation and a sign problem. Analytic continuation adds a separate inverse-problem uncertainty. A credible comparison therefore freezes one action and one observable, exposes each solver’s controls, and meets first on quantities that require neither NRG broadening nor Monte Carlo continuation.

Required background. The Anderson model supplies a shared benchmark. Convergence certification and covariance and resampling supply numerical error discipline.

Helpful background. Spectral moments supplies exact high-frequency checks.

Freeze the benchmark before choosing a solver

Section titled “Freeze the benchmark before choosing a solver”

Use the spin-degenerate Anderson model and specify the bath through the same hybridization function Δ(z)\Delta(z) in both codes. A concrete interacting benchmark is

D=1,Γ=0.1D,U=0.4D,εd=U2,βD=100,D=1,\qquad \Gamma=0.1D,\qquad U=0.4D,\qquad \varepsilon_d=-\frac{U}{2},\qquad \beta D=100,

with a flat, particle–hole-symmetric bath of half-bandwidth DD, zero field, and energies measured from the chemical potential. The bath-edge convention and the definition of Γ=ImΔR(0)\Gamma=-\operatorname{Im}\Delta^R(0) are part of the input, not implementation details.

This benchmark has exact checks before either solver runs:

  • particle–hole and spin symmetry give nd=1n_d=1 and ndσ=1/2n_{d\sigma}=1/2;
  • fermionic anticommutation gives Gσ(0)Gσ(0+)=1G_\sigma(0^-)-G_\sigma(0^+)=1;
  • the leading high-frequency terms are
Gσ(iωn)=1iωn+εd+Undσˉ(iωn)2+O(ωn3)=1iωn+O(ωn3);G_\sigma(i\omega_n) =\frac{1}{i\omega_n} +\frac{\varepsilon_d+U\langle n_{d\bar\sigma}\rangle}{(i\omega_n)^2} +O(\omega_n^{-3}) =\frac{1}{i\omega_n}+O(\omega_n^{-3});
  • at U=0U=0, each solver must reproduce the exact resonant-level result for the bath representation it actually uses,
G0σ(iωn)=1iωnεdΔ(iωn)G_{0\sigma}(i\omega_n) =\frac{1}{i\omega_n-\varepsilon_d-\Delta(i\omega_n)}

where Δ\Delta is that representation’s hybridization function. CT-QMC checks the specified continuous-bath target directly. For NRG, each (Λ,z)(\Lambda,z) calculation first checks the corresponding discretized ΔΛz\Delta_{\Lambda z}; only the controlled Λ1+\Lambda\to1^+ and zz-averaged limit is compared with the continuous-bath result.

The interacting comparison below uses the local susceptibility

χloc=(gμB)20βdτSz(τ)Sz(0),\chi_{\mathrm{loc}} =(g\mu_{\mathrm B})^2\int_0^\beta\mathrm d\tau\, \langle S_z(\tau)S_z(0)\rangle,

at zero field. This is not the thermodynamic impurity susceptibility χfullχbath\chi_{\mathrm{full}}-\chi_{\mathrm{bath}}. Comparing one definition from NRG with the other from CT-QMC would create a solver discrepancy before any numerics begin.

How NRG reaches exponentially small scales

Section titled “How NRG reaches exponentially small scales”

For a discretization parameter Λ>1\Lambda>1 and shift 0<z10<z\le1, NRG groups the positive and negative bath energies into intervals whose edges scale as DΛ(n+z)D\Lambda^{-(n+z)}. A unitary transformation maps one representative mode from each interval to a Wilson chain with asymptotic hopping

tnDΛn/2,t_n\propto D\Lambda^{-n/2},

so adding site NN resolves a characteristic scale

ωNDΛ(N1)/2.\omega_N\sim D\Lambda^{-(N-1)/2}.

The Hamiltonian is diagonalized iteratively. After each site is added, high rescaled-energy multiplets are discarded so the next Hilbert space remains finite. Those discarded states are not simply thrown away when observables are evaluated. Each discarded shell state is tensored with the untouched states of the later Wilson-chain “environment”; the union over shells forms the complete approximate many-body basis. The full-density-matrix construction then assigns the appropriate thermal and environment weight to each shell. Anders and Schiller 2005, pp. 196801-1–196801-4 supplies the complete-basis construction; Weichselbaum and von Delft 2007, Eqs. (5)–(13) develops the full density matrix.

An NRG convergence grid changes one control at a time:

  1. vary Λ1+\Lambda\to1^+ and increase the number of interleaved zz shifts;
  2. depending on the implementation, increase the number of kept multiplets, raise the rescaled energy cutoff, or tighten a separately defined discarded-weight tolerance;
  3. exploit exact symmetries without accidentally removing perturbations under study;
  4. move the temperature relative to the shell scale and verify known fixed-point spectra; and
  5. compare exact sum rules and moments before applying a spectral kernel.

The discarded-weight diagnostic estimates whether important density-matrix support lies near the truncation boundary; it is a convergence indicator, not a rigorous error bound. Weichselbaum 2011, §§II–III defines this diagnostic.

For a fermionic operator dσd_\sigma, complete-basis transitions give discrete Lehmann weights. Evaluate G(iωn)G(i\omega_n) directly from those unbroadened poles,

Gσ(iωn)=mn(Pm+Pn)mdσn2iωn+EmEn,G_\sigma(i\omega_n) =\sum_{mn}\frac{(P_m+P_n) |\langle m|d_\sigma|n\rangle|^2} {i\omega_n+E_m-E_n},

Here PmP_m denotes the appropriate full-density-matrix probability, including its shell and environment weight. Broadening is a later visualization or reconstruction step. A log-Gaussian width, its crossover to a linear kernel near ω=0\omega=0, and zz averaging can change a peak height or width without changing the underlying poles. Integrated weights and high-frequency moments should converge before pointwise line shapes are trusted. Bulla, Costi, and Pruschke 2008, §§II–IV reviews the discretization, truncation, thermodynamics, and spectral constructions.

CT-HYB expands the partition function in the impurity–bath hybridization. A configuration contains an ordered set of impurity creation and annihilation times; its weight is a local many-body trace times a determinant of hybridization functions connecting those times. CT-INT instead expands in interaction vertices, and its configuration weight contains a determinant of noninteracting propagators. The two algorithms are continuous in imaginary time, so there is no time-slice extrapolation, but their expansion orders, matrix conditioning, sign behavior, and efficient parameter regimes differ. Werner et al. 2006, Eqs. (2)–(5) introduces CT-HYB; Rubtsov, Savkin, and Lichtenstein 2005, §§II–III develops CT-INT.

Successive Monte Carlo configurations are correlated. For a scalar estimator OO, define

τint=12+t=1ρO(t),NeffN2τint.\tau_{\mathrm{int}}=\frac12+\sum_{t=1}^{\infty}\rho_O(t), \qquad N_{\mathrm{eff}}\simeq\frac{N}{2\tau_{\mathrm{int}}}.

Blocking lengths must exceed the measured autocorrelation scale, and independent replicas should agree. A vector such as G(τi)G(\tau_i) needs its full covariance matrix: nearby time bins are not independent data points.

If weights have signs or phases, sampling w|w| gives

O=sOwsw,s=ww.\langle O\rangle =\frac{\langle sO\rangle_{|w|}}{\langle s\rangle_{|w|}}, \qquad s=\frac{w}{|w|}.

The variance grows rapidly as the average sign decreases; more samples do not change that exponential complexity. The report therefore includes warmup, update acceptance and ergodicity tests, expansion-order distribution, matrix-stabilization checks, τint\tau_{\mathrm{int}}, binning, independent replicas, covariance, and average sign or phase. Gull et al. 2011, §§II, V, and IX compares the algorithm families and their error mechanisms.

Imaginary-axis information and continuation

Section titled “Imaginary-axis information and continuation”

A measured imaginary-time Green function is related to the local spectrum by

G(τ)=dωeτω1+eβωA(ω).G(\tau)=-\int_{-\infty}^{\infty}\mathrm d\omega\, \frac{e^{-\tau\omega}}{1+e^{-\beta\omega}}\mathcal A(\omega).

Here A=π1ImGR\mathcal A=-\pi^{-1}\operatorname{Im}G^R is the unit-normalized local density of states used throughout this impurity chapter; equivalently, the volume-wide spectral convention is A=2πAA=2\pi\mathcal A. The kernel exponentially suppresses fine real-frequency structure, so many distinct spectra fit noisy G(τ)G(\tau) within its covariance. No increase in sample count turns analytic continuation into a well-conditioned inversion.

A continuation result inherits its default model or prior, regularizer, frequency grid, covariance treatment, and hyperparameter choice. Validate it by (i) forward transforming the proposed spectrum into G(τ)G(\tau) or G(iωn)G(i\omega_n), including covariance; (ii) predicting held-out imaginary-axis points; (iii) testing synthetic spectra with comparable noise and resolution; and (iv) checking moments not imposed as priors. Normalizing Adω=1\int\mathcal A\,\mathrm d\omega=1 during continuation is not an independent validation of that normalization. Jarrell and Gubernatis 1996, §§2–4 explains the inverse problem and maximum-entropy regularization.

The next figure separates raw solver outputs from reconstruction-dependent spectra.

The same Anderson input enters an NRG lane controlled by Lambda, z shifts and truncation and a CT-HYB lane controlled by sampling, autocorrelation, covariance and sign; the lanes first merge at occupancy, double occupancy, local susceptibility, unbroadened Matsubara Green functions and moments, while NRG broadening and CT-QMC continuation remain separate before any real-frequency comparison.

Cross-solver validation begins before either real-frequency reconstruction. NRG supplies unbroadened complete-basis poles and CT-QMC supplies imaginary-axis estimates with their covariance; they first meet at definition-matched thermodynamics, G(iωn)G(i\omega_n), and exact moments. Broadened NRG and analytically continued CT-QMC spectra are compared only after their separate reconstruction controls pass. Original workflow schematic; not to scale.

The same relationships in a text-first form are:

StageNRG laneCT-HYB laneComparison or error rule
Frozen inputrepresent the declared Δ(z)\Delta(z) by (Λ,z)(\Lambda,z) intervals and a Wilson chainexpand the same continuous-bath action in hybridization eventshold U,εd,μ,T,DU,\varepsilon_d,\mu,T,D, spin/orbital normalization, and observable definitions fixed
Numerical controlsvary Λ\Lambda, interleaved zz shifts, chain length, kept multiplets or energy cutoff, and symmetriestest warmup, acceptance, ergodicity, matrix stabilization, τint\tau_{\mathrm{int}}, binning, replicas, covariance, and average signkeep discretization/truncation envelopes distinct from blocked sampling errors and sign diagnostics
Raw outputfull-density-matrix thermodynamics and unbroadened complete-basis polesG(τ)G(\tau) or G(iωn)G(i\omega_n) with covariance and local estimators with blocked errorsretain the native representation and its correlations
First mergedirect pole sums or transformsdirect imaginary-axis and equal-time estimatorscompare ndn_d, double occupancy, definition-matched χloc\chi_{\mathrm{loc}}, G(iωn)G(i\omega_n), identities, moments, and sum rules with no broadening or continuation
Optional real-frequency reconstructionvary log-Gaussian/linear kernels separately from Λ,z\Lambda,z, and truncationvary prior or default model, covariance treatment, grid, regularizer, and hyperparameterforward-test each reconstruction, then retain separate broadening and continuation envelopes
Real-frequency comparisonbroadened NRG A(ω)\mathcal A(\omega)continued CT-HYB A(ω)\mathcal A(\omega)compare only after the separate controls pass; never collapse both reconstruction envelopes into one unexplained error bar

A definition-matched cross-solver benchmark

Section titled “A definition-matched cross-solver benchmark”

For the frozen particle–hole-symmetric benchmark, compare quantities that require no continuation or broadening first:

For the unit-normalized local spectrum, define Mj=dωωjA(ω)M_j=\int_{-\infty}^{\infty}\mathrm d\omega\,\omega^j\mathcal A(\omega). Then M0=1M_0=1 per spin, and particle–hole symmetry makes M1=0M_1=0 for this benchmark.

ObservableNRG checkCT-QMC checkShared convention
Occupancy ndn_dfull-density-matrix trace, stable under Λ,z\Lambda,z, and truncationdirect/equal-time estimator with covariancespin sum; exact value 11 here
Double occupancy nn\langle n_\uparrow n_\downarrow\rangleunbroadened operator expectationlocal estimator with blocked errorsame U,βU,\beta, and action sign
χloc\chi_{\mathrm{loc}}the same imaginary-time local-spin correlator or its Lehmann integralintegrated local-spin correlator with covariancefield couples only to SzS_z; not χimp\chi_{\mathrm{imp}}
G(iωn)G(i\omega_n)direct transform of unbroadened complete-basis polesdirect Matsubara estimatorsame Fourier sign and frequency grid
Spectral weight and first momentpole sums and large-iωni\omega_n coefficientsequal-time discontinuity and large-iωni\omega_n fitM0=1M_0=1 per spin and M1=0M_1=0 here

For an NRG observable XX, report separate envelopes from (Λ,z)(\Lambda,z), truncation, and—where relevant—thermal-shell placement. For a CT-QMC scalar, report the blocked statistical error, replica spread, sign, and any estimator or tail-fit variation. For G(iωn)G(i\omega_n) use the CT-QMC covariance rather than treating frequencies as independent. If a combined uncertainty is quoted, state whether independent components were added in quadrature or conservative envelopes were added linearly; a truncation envelope is not automatically a Gaussian standard deviation.

A useful discrepancy diagnostic for a scalar is

RX=XNRGXQMCuNRG+uQMC.R_X=\frac{|X_{\mathrm{NRG}}-X_{\mathrm{QMC}}|} {u_{\mathrm{NRG}}+u_{\mathrm{QMC}}}.

RX1R_X\le1 means the declared conservative intervals overlap; it does not certify that both methods are unbiased. For a Matsubara vector, inspect the residual with the CT-QMC covariance and repeat the NRG control grid. Only after ndn_d, double occupancy, χloc\chi_{\mathrm{loc}}, G(iωn)G(i\omega_n), and the moments agree should one compare a real-frequency Kondo width. That last comparison must retain an NRG broadening envelope and a CT-QMC continuation ensemble separately.

The chapter structure diagram places both solvers after the model and its candidate fixed-point classification but before observable inference: numerical flow must test the candidate branch rather than assume it.

The impurity-model sequence separates a one-active-channel Anderson path from genuine multichannel inputs, follows their exchange theories to candidate infrared branches, and places controlled NRG or CT-QMC solution before physical observables.

NRG or CT-QMC must verify the candidate infrared branch and quantify solver-specific errors before observable inference. The one-orbital Anderson route supplies one active hybridization eigenchannel; multichannel branches require separate microscopic input. Original workflow schematic, not to scale.

The impurity claim test matrix states the solver-specific stopping rules.

Lowering an NRG energy cutoff to “keep more.” In the common rescaled-energy convention, increasing the cutoff keeps more states. Only a separately defined discarded-weight tolerance is reduced.

Comparing different susceptibilities. χloc\chi_{\mathrm{loc}} and χimp=χfullχbath\chi_{\mathrm{imp}}=\chi_{\mathrm{full}}-\chi_{\mathrm{bath}} answer different questions and can differ substantially.

Transforming a broadened NRG plot to Matsubara frequency. Use the unbroadened complete-basis poles. Broadening is not part of the Hamiltonian and should not contaminate a continuation-free comparison.

Using a continuation constraint as its own check. A unit-normalized spectrum proves nothing about M0M_0 if unit normalization was imposed. Check the equal-time discontinuity or the leading Matsubara coefficient independently.

Estimate the required Wilson-chain length. With D=1eVD=1\,\mathrm{eV} and Λ=2\Lambda=2, approximately which iteration reaches ωN=106eV\omega_N=10^{-6}\,\mathrm{eV}?

Solution

Solve 2(N1)/2=1062^{-(N-1)/2}=10^{-6}. Since log2(106)19.93\log_2(10^6)\simeq19.93,

N1+2(19.93)41.N\simeq1+2(19.93)\simeq41.

This is only a scale estimate. The usable resolution also depends on zz averaging, truncation, temperature, and the observable.

Convert autocorrelation into effective samples. A CT-HYB run records N=2.0×106N=2.0\times10^6 measurements with τint=25\tau_{\mathrm{int}}=25. Estimate NeffN_{\mathrm{eff}}. If the average sign is 0.200.20, what rough sign-reweighted scale warns about the variance?

Solution

The autocorrelation estimate is

Neff2.0×1062(25)=4.0×104.N_{\mathrm{eff}}\simeq\frac{2.0\times10^6}{2(25)}=4.0\times10^4.

Sign reweighting often inflates variance roughly as s2\langle s\rangle^{-2}. The corresponding warning scale is Neffs21.6×103N_{\mathrm{eff}}\langle s\rangle^2\simeq1.6\times10^3. This is not a universal error formula, but it shows why the raw measurement count is misleading.

Check the symmetric high-frequency moment. Show why the coefficient of (iωn)2(i\omega_n)^{-2} vanishes for εd=U/2\varepsilon_d=-U/2 at spin symmetry.

Solution

Spin and particle–hole symmetry give ndσˉ=1/2\langle n_{d\bar\sigma}\rangle=1/2. Hence

εd+Undσˉ=U2+U2=0.\varepsilon_d+U\langle n_{d\bar\sigma}\rangle =-\frac U2+\frac U2=0.

Both solvers must therefore approach G(iωn)=1/(iωn)+O(ωn3)G(i\omega_n)=1/(i\omega_n)+O(\omega_n^{-3}). A nonzero fitted first moment points to insufficient high-frequency range, a bath/action mismatch, broken symmetry, or an estimator error.

Diagnose a false agreement. NRG and CT-QMC give the same occupancy, but their real-frequency peak widths disagree by 30%. List the next variations.

Solution

For NRG, vary Λ\Lambda, zz averaging, kept-state threshold, and broadening kernel separately, checking moments after each change. For CT-QMC, inspect covariance and autocorrelation, vary statistics, continuation method, default model, frequency grid, and synthetic-recovery tests. Compare G(iωn)G(i\omega_n) directly before continuing. Occupancy agreement validates one integral but cannot determine a narrow spectral width.

  • Anders, F. B., and Schiller, A. (2005). “Real-time dynamics in quantum-impurity systems: A time-dependent numerical renormalization-group approach.” Physical Review Letters 95, 196801. doi:10.1103/PhysRevLett.95.196801.
  • Bulla, R., Costi, T. A., and Pruschke, T. (2008). “Numerical renormalization group method for quantum impurity systems.” Reviews of Modern Physics 80, 395–450. doi:10.1103/RevModPhys.80.395.
  • Gull, E., Millis, A. J., Lichtenstein, A. I., Rubtsov, A. N., Troyer, M., and Werner, P. (2011). “Continuous-time Monte Carlo methods for quantum impurity models.” Reviews of Modern Physics 83, 349–404. doi:10.1103/RevModPhys.83.349.
  • Jarrell, M., and Gubernatis, J. E. (1996). “Bayesian inference and the analytic continuation of imaginary-time quantum Monte Carlo data.” Physics Reports 269, 133–195. doi:10.1016/0370-1573(95)00074-7.
  • Rubtsov, A. N., Savkin, V. V., and Lichtenstein, A. I. (2005). “Continuous-time quantum Monte Carlo method for fermions.” Physical Review B 72, 035122. doi:10.1103/PhysRevB.72.035122.
  • Weichselbaum, A. (2011). “Discarded weight and entanglement spectra in the numerical renormalization group.” Physical Review B 84, 125130. doi:10.1103/PhysRevB.84.125130.
  • Weichselbaum, A., and von Delft, J. (2007). “Sum-rule conserving spectral functions from the numerical renormalization group.” Physical Review Letters 99, 076402. doi:10.1103/PhysRevLett.99.076402.
  • Werner, P., Comanac, A., de’ Medici, L., Troyer, M., and Millis, A. J. (2006). “Continuous-time solver for quantum impurity models.” Physical Review Letters 97, 076405. doi:10.1103/PhysRevLett.97.076405.