From 1761957a50cc916b7235e968a2e96dc9acb1f5e5 Mon Sep 17 00:00:00 2001
From: Johanna <johanna@zijderveld.de>
Date: Fri, 3 May 2024 13:12:41 +0200
Subject: [PATCH] check everything locally and pipeline hopefully passes now

---
 docs/source/graphene_example.md | 6 ++++--
 docs/source/index.md            | 1 +
 pymf/__init__.py                | 1 -
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/docs/source/graphene_example.md b/docs/source/graphene_example.md
index f53045e..61f6eb6 100644
--- a/docs/source/graphene_example.md
+++ b/docs/source/graphene_example.md
@@ -55,7 +55,7 @@ h_int = kwant_utils.builder_to_tb(int_builder, params)
 model = model.Model(h_0, h_int, filling=2)
 ```
 
-To start the meanfield calculation we also need a starting guess. We will use our random guess generator for this. It creates a random Hermitian hopping dictionary based on the hopping keys provided and the number of degrees of freedom specified. As we don't expect the mean-field solution to contain terms more than the hoppings from the interacting part, we can use the hopping keys from the interacting part. We will use the same numbe of degrees as freedom as both the non-interacting and interacting part, so that they match.
+To start the meanfield calculation we also need a starting guess. We will use our random guess generator for this. It creates a random Hermitian hopping dictionary based on the hopping keys provided and the number of degrees of freedom specified. As we don't expect the mean-field solution to contain terms more than the hoppings from the interacting part, we can use the hopping keys from the interacting part. We will use the same number of degrees as freedom as both the non-interacting and interacting part, so that they match.
 
 ```{code-cell} ipython3
 guess = tb.utils.generate_guess(frozenset(h_int), len(list(h_0.values())[0]))
@@ -67,4 +67,6 @@ After we have defined the guess, we feed it together with the model into the mea
 
 ## Creating a phase diagram
 
-We can now create a phase diagram by varying the Hubbard interaction strength and the nearest neighbor interaction strength. We will use the same hopping dictionary for the non-interacting part as before. We will vary the onsite Hubbard interaction strength from
+We can now create a phase diagram of the gap of the interacting solution. We will use the same hopping dictionary for the non-interacting part as before. We will vary the onsite Hubbard interactio $U$ strength from $0$ to $2$ and the nearest neighbor interaction strength $V$ from $0$ to $1.5$.
+
+```{code-cell} ipython3
diff --git a/docs/source/index.md b/docs/source/index.md
index 3df6663..19853c7 100644
--- a/docs/source/index.md
+++ b/docs/source/index.md
@@ -19,6 +19,7 @@ kernelspec:
 :caption: Tutorials
 
 mf_notes.md
+graphene_example.md
 ```
 
 ## What is pymf?
diff --git a/pymf/__init__.py b/pymf/__init__.py
index 6808517..a0f2b6e 100644
--- a/pymf/__init__.py
+++ b/pymf/__init__.py
@@ -7,7 +7,6 @@ except ImportError:
     __version_tuple__ = (0, 0, "unknown", "unknown")
 
 from .mf import construct_density_matrix
-from . import mf
 
 __all__ = [
     "construct_density_matrix",
-- 
GitLab