Examples
Compare changes
Files
2- Johanna Zijderveld authored
+ 36
− 0
@@ -83,3 +83,39 @@ mf_sol = pymf.solver(full_model, guess, nk=nk)
The `solver` function returns only the mean-field correction to the non-interacting Hamiltonian. To get the full Hamiltonian, we add the mean-field correction to the non-interacting Hamiltonian. To take a look at whether the result is correct, we first do the mean-field computation for a wider range of $U$ values and then plot the gap as a function of $U$.