Examples
Compare changes
Files
2- Johanna Zijderveld authored
+ 3
− 1
@@ -42,7 +42,7 @@ We verify this tight-binding model by plotting the band structure and observing
@@ -69,12 +69,14 @@ $$
In order to find a meanfield solution, we combine the non interacting Hamiltonian with the interaction Hamiltonian and the relevant filling into a `Model` object. We then generate a starting guess for the meanfield solution and solve the model using the `solver` function. It is important to note that the guess will influence the possible solutions which the `solver` can find in the meanfield procedure. The `generate_guess` function generates a random Hermitian tight-binding dictionary, with the keys provided as hopping vectors and the values of the size as specified.