From 036abd44678a6ffd04bd4b71c8566da55055ca49 Mon Sep 17 00:00:00 2001 From: Johanna <johanna@zijderveld.de> Date: Tue, 7 May 2024 16:52:24 +0200 Subject: [PATCH] remove tqdm module use --- docs/source/hubbard_1d.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/hubbard_1d.md b/docs/source/hubbard_1d.md index 22b18af..b5b8094 100644 --- a/docs/source/hubbard_1d.md +++ b/docs/source/hubbard_1d.md @@ -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) -- GitLab