OBE utilities

It is often useful to manipulate the data stored in an OBE container — e.g. to add a local term to the tight-binding Hamiltonian, to extend a non-spin-polarized OBE into a spin-resolved one, to fold a \(\mathbf{k}\)-dependent Hamiltonian to a coarser grid, or to apply a unitary rotation to the local basis. The helpers below operate directly on triqs_modest.obe_tb.OneBodyElementsTb and related containers.

triqs_modest.obe_tb.add_local_term

Dispatched C++ function(s).

triqs_modest.obe_tb.extend_to_spin

Dispatched C++ function(s).

triqs_modest.obe_tb.fold

Convert a tight binding Hamiltonian to its superlattice equivalent.

triqs_modest.obe_tb.rotate

Rotate a tight-binding Hamiltonian by a unitary matrix \(U\).