mirror of
https://github.com/vale981/master-thesis
synced 2025-03-05 10:01:43 -05:00
update deps
This commit is contained in:
parent
3b4283ff34
commit
ddcfb7ff79
2 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue