diff --git a/netket_fidelity/driver/infidelity_optimizer.py b/netket_fidelity/driver/infidelity_optimizer.py index 8a56e66..05a139f 100644 --- a/netket_fidelity/driver/infidelity_optimizer.py +++ b/netket_fidelity/driver/infidelity_optimizer.py @@ -156,6 +156,7 @@ def run( *args, target_infidelity=None, callback=lambda *x: True, + show_progress=True, **kwargs, ): """ @@ -184,7 +185,7 @@ def run( ) callbacks = callbacks + (cb,) - super().run(n_iter, out, *args, callback=callbacks, **kwargs) + super().run(n_iter, out, *args, show_progress=show_progress, callback=callbacks, **kwargs) @property def cv(self) -> Optional[float]: