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

remove tqdm module use

parent 72075de9
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.
......@@ -21,7 +21,6 @@ First, the basic imports are done.
import numpy as np
import matplotlib.pyplot as plt
import pymf
from tqdm import tqdm
```
After this, we start by constructing the non-interacting Hamiltonian. As we expect the ground state to be an antiferromagnet, we build a two-atom cell. We name the two sublattices, $A$ and $B$. The Hamiltonian is then:
......@@ -114,7 +113,7 @@ def compute_phase_diagram(
):
gaps = []
vals = []
for U in tqdm(Us):
for U in Us:
full_sol = compute_sol(U, h_0, nk)
gap, _vals = compute_gap_and_vals(full_sol, nk_dense)
gaps.append(gap)
......
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