From aa8064c3441bd2c739485a9d8ddba3abf5241861 Mon Sep 17 00:00:00 2001
From: Johanna <johanna@zijderveld.de>
Date: Wed, 8 May 2024 11:17:46 +0200
Subject: [PATCH] change np.ones in Graphene example to sx

---
 docs/source/tutorial/graphene_example.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/source/tutorial/graphene_example.md b/docs/source/tutorial/graphene_example.md
index 4b2e982..afda9f2 100644
--- a/docs/source/tutorial/graphene_example.md
+++ b/docs/source/tutorial/graphene_example.md
@@ -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,
-- 
GitLab