Optimize code that process hoppings and onsites into numerical functions
In current implementation code fails when hamiltonian
passed to Discretizer is of type sympy.matrices.immutable.ImmutableMatrix
for example.
In current implementation code fails when hamiltonian
passed to Discretizer is of type sympy.matrices.immutable.ImmutableMatrix
for example.