[Kwant] How to solve the Hamiltonian matrix with off-diagonal terms?