14namespace triqs::experimental::lattice {
16 using dcomplex = std::complex<double>;
33 using w90_tb_data_t = std::tuple<r_vector_list_t, hopping_list_t, position_op_list_t, nda::matrix<double>>;
66 return {std::move(Rs), std::move(hoppings)};
93 return {std::move(Rs), std::move(hoppings)};
Tight-binding Hamiltonian on a 3D lattice.
w90_hr_data_t read_wannier90_hr_data(std::string const &w90_path_and_seedname)
Read a Wannier90 *_hr.dat file and return the lattice vectors and hopping matrices.
std::vector< std::array< long, 3 > > r_vector_list_t
A list of real-space lattice vectors , in crystal (lattice) coordinates.
std::tuple< r_vector_list_t, hopping_list_t, position_op_list_t, nda::matrix< double > > w90_tb_data_t
Data read from a Wannier90 *_tb.dat file: lattice vectors, hopping matrices, position operators and U...
w90_tb_data_t read_wannier90_tb_data(std::string const &w90_path_and_seedname)
Read a Wannier90 *_tb.dat file and return the lattice vectors, hopping matrices, position operators a...
tb_hk make_tb_hk_from_w90_tb_file(std::string const &w90_path_and_seedname)
Build a tight-binding Hamiltonian from a Wannier90 *_tb.dat file.
std::tuple< r_vector_list_t, hopping_list_t > w90_hr_data_t
Data read from a Wannier90 *_hr.dat file: lattice vectors and hopping matrices.
std::vector< nda::array< dcomplex, 2 > > hopping_list_t
A list of hopping (overlap) matrices , one per lattice vector.
tb_hk make_tb_hk_from_w90_hr_file(std::string const &w90_path_and_seedname)
Build a tight-binding Hamiltonian from a Wannier90 *_hr.dat file.
std::vector< nda::array< dcomplex, 3 > > position_op_list_t
A list of position-operator matrices in the real-space Wannier basis, one per lattice vector.