Skip to content
Snippets Groups Projects
Commit aa8064c3 authored by Johanna Zijderveld's avatar Johanna Zijderveld
Browse files

change np.ones in Graphene example to sx

parent 0ebcf6aa
No related branches found
No related tags found
1 merge request!7Examples
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
......@@ -72,10 +72,10 @@ All we need to do is to convert this object to a tight-binding dictionary using
```{code-cell} ipython3
def onsite_int(site, U):
return U * np.ones((2, 2))
return U * sx
def nn_int(site1, site2, V):
return V * np.ones((2, 2))
return V * sx
builder_int = utils.build_interacting_syst(
builder=bulk_graphene,
......
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