triqs.atom_diag.AtomDiag

triqs.atom_diag.AtomDiag(*args, **kwargs)[source]

Construct an exact diagonalization solver, dispatched on the Hamiltonian type.

Returns AtomDiagReal when the Hamiltonian (and any further operator arguments) is purely real, and AtomDiagComplex otherwise. The arguments are forwarded unchanged to the chosen class constructor; see AtomDiagReal for the full list of supported overloads.

Parameters:
hOperator

Many-body Hamiltonian to be diagonalized.

*args, **kwargs

Additional positional and keyword arguments forwarded to the AtomDiagReal / AtomDiagComplex constructor (e.g. fops, hyb, n_min/n_max or qn_vector).

Returns:
AtomDiagReal or AtomDiagComplex

Solved diagonalization problem.