Im studying a small circular wafer with a set hamiltonian. The problem
comes when i try to introduce disorder in the onsite parameter. I first use
the discretize function on the hamiltonian to get the discretized template,
then modify the onsite function to my needs while maintaining the hoppings
the same, but I can't seem to use the template in my code so that it builds
my system. Im currently using the modified output of the print(template),
and embedding it in a new function called def template2(): to then use it
in the fill function. What am I doing wrong here?

Reply via email to