Tight-binding Hamiltonians as MPOs: a gentle introduction
Pedagogical notes that introduce the ideas behind TensorBinding.jl by hand, on a chain of just eight sites. Writing each site label in binary, the notes build the shift operator as a matrix product operator core by core, encode on-site potentials and hopping profiles as tensor trains, and develop the MPO/MPS algebra needed to assemble the Hamiltonian and compute with it. Every formula is checked numerically, with the short NumPy scripts collected in a final code section. Further parts — longer-range hoppings, tensor cross interpolation, and Julia versions of the code — will follow.