triqs_modest.module.Hloc

triqs_modest.module.Hloc()

Function dispatched to the following (C++) functions:

[1] (H_sigma: [TbHamiltonian], atomic_shells: [AtomicOrbs])
  -> ndarray[ndarray[complex, 2], 2]

Compute Hloc = H(R=0) given n_sigma tight_binding Hamiltonians


Parameters
H_sigma:

a list of TB Hamiltonians of length n_sigma

atomic_shells:

a list of atomic shells corresponding to the orbitals contained in the TB Hamiltonian


Returns

Hloc, formated with dimensions [alphsa,sigma] each containing (n_orbitals_atom, n_orbitals_atom)