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

commit to hopefully get back to branch

parent 0f0b1882
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.
......@@ -69,6 +69,7 @@ After we have defined the guess, we feed it together with the model into the mea
## Creating a phase diagram of the gap
<<<<<<< HEAD
We can now create a phase diagram of the gap of the interacting solution. In order to calculate the gap we first create a function which takes a hopping dictionary and a Fermi energy and returns the indirect gap. The gap is defined as the difference between the highest occupied and the lowest unoccupied energy level. We will use a dense k-grid to calculate the gap. In order to obtain the Hamiltonian on a dense k-grid, we use the `tb_to_khamvector` function from the `transforms` module.
```{code-cell} ipython3
......@@ -199,3 +200,8 @@ plt.ylabel('U')
plt.title('Spin Density Wave Order Parameter')
plt.show()
```
=======
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
>>>>>>> b0c88cd (check everything locally and pipeline hopefully passes now)
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