From ddcfb7ff798a63d3725f3bfc7348bb1856716e8a Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Wed, 13 Apr 2022 14:00:00 +0200 Subject: [PATCH] update deps --- .../07_one_bath_systematics/poetry.lock | 2 +- .../07_one_bath_systematics/scripts/integrate_slip.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/energy_flow_proper/07_one_bath_systematics/poetry.lock b/python/energy_flow_proper/07_one_bath_systematics/poetry.lock index 1f1ce7b..e5dcd37 100644 --- a/python/energy_flow_proper/07_one_bath_systematics/poetry.lock +++ b/python/energy_flow_proper/07_one_bath_systematics/poetry.lock @@ -413,7 +413,7 @@ qutip = "^4.6.3" type = "git" url = "git@github.com:vale981/two_qubit_model.git" reference = "main" -resolved_reference = "bc49789a1138812a23ad4a5b6d062823af812839" +resolved_reference = "90afb3b525d0f52e25bda6baa22bdb7f2a0ccdf5" [[package]] name = "hops" diff --git a/python/energy_flow_proper/07_one_bath_systematics/scripts/integrate_slip.py b/python/energy_flow_proper/07_one_bath_systematics/scripts/integrate_slip.py index 4b3988c..88051bd 100644 --- a/python/energy_flow_proper/07_one_bath_systematics/scripts/integrate_slip.py +++ b/python/energy_flow_proper/07_one_bath_systematics/scripts/integrate_slip.py @@ -11,7 +11,7 @@ import qutip as qt import ray ray.shutdown() -ray.init() +ray.init(address="auto") from hops.util.logging_setup import logging_setup import logging @@ -50,9 +50,9 @@ plot_interaction_consistency( k_models = [ QubitModel( - δ=0.2, + δ=0.1, ω_c=2, - t=np.concatenate([np.linspace(0, 5, 400), np.linspace(5.1, 20, 100)]),#np.concatenate([np.linspace(0, 5, 400), np.linspace(5.01, 20, 100)]), + t=np.linspace(0, 20, int(20/0.01)), ψ_0=qt.basis([2], [0]), description=f"Find out the convergence behaviour wrt the influence tolerance.", k_max=int(k), @@ -61,7 +61,7 @@ k_models = [ driving_process_tolerance=StocProcTolerances(1e-6, 1e-6), ) for k in np.arange(2, 12, 2) -][:3] +][-3:-2] aux.integrate_multi(k_models, 100_000) @@ -72,7 +72,7 @@ ensmeble_arg = dict( plot_interaction_consistency( k_models, - # alt_tol_models[0], + k_models[-1], label_fn=lambda m: fr"k=${m.k_max}$", **ensmeble_arg )