Choosing A Symmetry Type

The symmetry type (symtype) decides which quantum numbers label the invariant subspaces. Use the largest symmetry that the complete Hamiltonian conserves, including the impurity, bath, coupling, and any field, anisotropy, or pairing term. A larger symmetry gives more and smaller blocks and makes diagonalization faster. nrginit++ checks that the seed Hamiltonian preserves the selected symmetry within numerical tolerance. With legacy nrginit, verify the symmetry of custom terms yourself because diagonalization in separate blocks omits intersector matrix elements.

By Physical Problem

Problem Normal bath Superconducting bath
Spin-rotation invariant (no field, no anisotropy) QS SPSU2
Magnetic field along \(z\), spin-polarized bath, XXZ exchange, axial anisotropy \(D S_z^2\) QSZ SPU1
Rhombic anisotropy \(E(S_x^2-S_y^2)\), with \(D\), \(B_z\) QSZ4 SPZ4
Arbitrary spin terms (transverse fields, spin-orbit coupling without \(J\) conservation) U1 P (or NONE)
Particle-hole symmetric problems ISO, ISO2 (with spin SU(2)), ISOSZ (with \(S_z\)), SU2 (isospin only)
Spin-1 Kondo model with equivalent half-filled channels SP2KSU2 (isotropic), SP2KSZ (axial)
Two channels with left-right mirror symmetry QSLR, QSZLR, ISOLR, ISO2LR, ISOSZLR SPSU2LR, SPU1LR
Two channels with separately conserved charges or isospins DBLQSZ, DBLSU2, DBLISOSZ PP (fermion parity of each channel)
Three channels forming an orbital triplet QST (orbital SU(2)), QSTZ (\(T_z\)), QSZTZ (\(S_z\) and \(T_z\))
Three channels with total angular momentum \(J\) conserved QJ
Spinless fermions SL, SL3

The superconducting types do not conserve charge; their pairing term is described in Superconducting baths. For anisotropic spins see Magnetic anisotropy, and for several bath channels Multi-channel problems.

Capabilities

The table gives the solver's capabilities. Use the model initialization guide to check which model, bath, and initial-cluster choices can generate a seed for each symmetry.

Type Quantum numbers Channels substeps polarized Pairing Spin-resolved spectra Build
QS Q, SS ≥1 yes basic
QSZ Q, SSZ ≥1 yes yes yes basic
ISO II, SS ≥1 SYM_MORE
ISO2 II, SS 1–2 SYM_MORE
ISOSZ II, SSZ ≥1 yes SYM_MORE
SP2KSU2 SS, a1, …, ak 1–5 SYM_MORE
SP2KSZ SSZ, a1, …, ak 1–5 SYM_MORE
SPSU2 SS ≥1 yes yes SYM_MORE
SPU1 SSZ ≥1 yes yes yes yes SYM_MORE
DBLQSZ Q1, Q2, SSZ 2 yes SYM_ALL
DBLSU2 II1, II2 2 SYM_ALL
DBLISOSZ II1, II2, SSZ 2 yes SYM_ALL
ISOLR II, SS, P 2 SYM_ALL
ISO2LR II, SS, P 2 SYM_ALL
ISOSZLR II, SSZ, P 2 yes SYM_ALL
NONE x ≥1 yes yes yes SYM_ALL
P P ≥1 yes yes yes SYM_ALL
PP Pa, Pb 2 yes yes SYM_ALL
SL Q ≥1 SYM_ALL
SL3 Q1, Q2, Q3 3 SYM_ALL
SPSU2LR SS, P 2 yes SYM_ALL
SPU1LR SSZ, P 1–2 yes yes SYM_ALL
SU2 II ≥1 SYM_ALL
QSLR Q, SS, P 2 SYM_ALL
QST Q, SS, T 3 SYM_ALL
QSTZ Q, SS, TZ 3 SYM_ALL
QSZTZ Q, SSZ, TZ 3 yes SYM_ALL
QSZLR Q, SSZ, P 2 yes SYM_ALL
QJ Q, JJ 3 SYM_ALL
U1 Q ≥1 yes yes SYM_ALL
QSZ4 Q, SSZ (mod4) ≥1 yes yes yes SYM_ALL
SPZ4 SSZ (mod4) ≥1 yes yes yes yes SYM_ALL
  • Quantum numbers: see Quantum-number labels for their meaning and encoding.
  • Channels are counted with substeps=false. "≥1" indicates any positive channel count. For \(K\) channels the added sites have \(4^K\) states with spin and \(2^K\) in the spinless case.
  • substeps: interleaved diagonalization, one channel per step.
  • polarized: spin-dependent Wilson chains (separate coefficients for spin up and down).
  • Pairing: on-site pairing in the bath (bcsgap); anomalous hopping (kappa) is supported by SPSU2, SPU1, SPU1LR, SPZ4, and SPSU2LR.
  • Spin-resolved spectra: doublet spectra are computed per spin and requested as specd=A-A-u A-A-d.
  • Build: types outside the basic set require -DSYM_MORE=ON or -DSYM_ALL=ON.
  • Mixing options require substeps=false. Use rungs=true for channel mixing with two-channel QS or QSZ, or pol2x2=true for spin mixing with U1. Legacy pairing input and coefficient tables

The build sets and runtime capabilities are defined in c++/symmetries.def. set_symmetry() checks the channel count and chain options before the calculation starts. QST, QSTZ, QSZTZ, and QJ require matching normalized bath chains across all three orbitals. See Model and initialization.