use float() with tqdm instead of `np.asarray`
Created by: PhilipVinc
Sometimes np.asarray returns a devicearray (why? no idea)
EDIT: I found why: if you .run()
twice a TDVP
driver, the first time driver.t
is a float, while the second time it is a devicearray
so it was breaking tqdm.