triqs.atom_diag.AtomDiag
- triqs.atom_diag.AtomDiag(*args, **kwargs)[source]
Construct an exact diagonalization solver, dispatched on the Hamiltonian type.
Returns
AtomDiagRealwhen the Hamiltonian (and any further operator arguments) is purely real, andAtomDiagComplexotherwise. The arguments are forwarded unchanged to the chosen class constructor; seeAtomDiagRealfor 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/AtomDiagComplexconstructor (e.g.fops,hyb,n_min/n_maxorqn_vector).
- Returns:
- AtomDiagReal or AtomDiagComplex
Solved diagonalization problem.