go to link: https://cocalc.com import and analyze: 1D_chain_finite_real-space_TB.sagews