Examples
Compare changes
- Johanna Zijderveld authored
+ 6
− 0
@@ -69,6 +69,7 @@ After we have defined the guess, we feed it together with the model into the mea
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.
@@ -199,3 +200,8 @@ plt.ylabel('U')