Closed NikFriedrich closed 2 years ago
I think the problem lies in the construction of H
which does not properly encode the boron atoms. The H.construct
call here just sets onsite energies and nearest hoppings as if all sites were carbon.
Try changing the line to H = h.sp2(g)
.
Indeed, that did the trick. Thanks a lot.
Trying to calculate the topological edge state of 2B-doped armchair graphene nanoribbon, the TB code seems to fail. The code used to be capable of calculating this state. I don't understand why it fails now.
Here is the script I used to generate the figure:
no_topo_state.pdf