Skip to content
Snippets Groups Projects
Commit 39a621da authored by Kostas Vilkelis's avatar Kostas Vilkelis :flamingo:
Browse files

update import path

parent 701c4ec4
No related branches found
No related tags found
1 merge request!4Interface refactoring
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
import kwant import kwant
import numpy as np import numpy as np
from . import utils from .kwant_helper.utils import build_interacting_syst
s0 = np.identity(2) s0 = np.identity(2)
sz = np.diag([1, -1]) sz = np.diag([1, -1])
...@@ -26,7 +26,7 @@ def graphene_extended_hubbard(): ...@@ -26,7 +26,7 @@ def graphene_extended_hubbard():
def nn_int(site1, site2, V): def nn_int(site1, site2, V):
return V * np.ones((2, 2)) return V * np.ones((2, 2))
syst_V = utils.build_interacting_syst( syst_V = build_interacting_syst(
builder=bulk_graphene, builder=bulk_graphene,
lattice = graphene, lattice = graphene,
func_onsite = onsite_int, func_onsite = onsite_int,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment