Skip to content

Commit ffb3194

Browse files
Remove alg as argument from all problem definitions
1 parent 23f6bb7 commit ffb3194

File tree

7 files changed

+12
-46
lines changed

7 files changed

+12
-46
lines changed

src/qobj/eigsolve.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ function eigsolve_al(
379379
L_evo,
380380
QuantumObject(ρ0, type = Operator, dims = H.dims),
381381
[zero(T), T];
382-
alg = alg,
383382
params = params,
384383
progress_bar = Val(false),
385384
kwargs...,

src/time_evolution/mcsolve.jl

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ end
135135
ψ0::QuantumObject{<:AbstractArray{T2},KetQuantumObject},
136136
tlist::AbstractVector,
137137
c_ops::Union{Nothing,AbstractVector,Tuple}=nothing;
138-
alg::OrdinaryDiffEqAlgorithm=Tsit5(),
139138
e_ops::Union{Nothing,AbstractVector,Tuple}=nothing,
140139
H_t::Union{Nothing,Function,TimeDependentOperatorSum}=nothing,
141140
params::NamedTuple=NamedTuple(),
@@ -183,7 +182,6 @@ If the environmental measurements register a quantum jump, the wave function und
183182
- `ψ0::QuantumObject`: Initial state of the system ``|\psi(0)\rangle``.
184183
- `tlist::AbstractVector`: List of times at which to save the state of the system.
185184
- `c_ops::Union{Nothing,AbstractVector,Tuple}`: List of collapse operators ``\{\hat{C}_n\}_n``.
186-
- `alg::OrdinaryDiffEqAlgorithm`: Algorithm to use for the time evolution.
187185
- `e_ops::Union{Nothing,AbstractVector,Tuple}`: List of operators for which to calculate expectation values.
188186
- `H_t::Union{Nothing,Function,TimeDependentOperatorSum}`: Time-dependent part of the Hamiltonian.
189187
- `params::NamedTuple`: Dictionary of parameters to pass to the solver.
@@ -196,7 +194,6 @@ If the environmental measurements register a quantum jump, the wave function und
196194
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
197195
- If `e_ops` is empty, the default value of `saveat=tlist` (saving the states corresponding to `tlist`), otherwise, `saveat=[tlist[end]]` (only save the final state). You can also specify `e_ops` and `saveat` separately.
198196
- The default tolerances in `kwargs` are given as `reltol=1e-6` and `abstol=1e-8`.
199-
- For more details about `alg` please refer to [`DifferentialEquations.jl` (ODE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/)
200197
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
201198
202199
# Returns
@@ -208,7 +205,6 @@ function mcsolveProblem(
208205
ψ0::QuantumObject{DT2,KetQuantumObject},
209206
tlist::AbstractVector,
210207
c_ops::Union{Nothing,AbstractVector,Tuple} = nothing;
211-
alg::OrdinaryDiffEqAlgorithm = Tsit5(),
212208
e_ops::Union{Nothing,AbstractVector,Tuple} = nothing,
213209
params::NamedTuple = NamedTuple(),
214210
rng::AbstractRNG = default_rng(),
@@ -269,14 +265,13 @@ function mcsolveProblem(
269265
params...,
270266
)
271267

272-
return mcsolveProblem(H_eff_evo, ψ0, tlist, alg, params2, jump_callback; kwargs2...)
268+
return mcsolveProblem(H_eff_evo, ψ0, tlist, params2, jump_callback; kwargs2...)
273269
end
274270

275271
function mcsolveProblem(
276272
H_eff_evo::QuantumObjectEvolution{DT1,OperatorQuantumObject},
277273
ψ0::QuantumObject{DT2,KetQuantumObject},
278274
tlist::AbstractVector,
279-
alg::OrdinaryDiffEqAlgorithm,
280275
params::NamedTuple,
281276
jump_callback::DiscreteLindbladJumpCallback;
282277
kwargs...,
@@ -288,14 +283,13 @@ function mcsolveProblem(
288283
haskey(kwargs2, :callback) ? merge(kwargs2, (callback = CallbackSet(cb1, cb2, kwargs2.callback),)) :
289284
merge(kwargs2, (callback = CallbackSet(cb1, cb2),))
290285

291-
return sesolveProblem(H_eff_evo, ψ0, tlist; alg = alg, params = params, kwargs2...)
286+
return sesolveProblem(H_eff_evo, ψ0, tlist; params = params, kwargs2...)
292287
end
293288

294289
function mcsolveProblem(
295290
H_eff_evo::QuantumObjectEvolution{DT1,OperatorQuantumObject},
296291
ψ0::QuantumObject{DT2,KetQuantumObject},
297292
tlist::AbstractVector,
298-
alg::OrdinaryDiffEqAlgorithm,
299293
params::NamedTuple,
300294
jump_callback::ContinuousLindbladJumpCallback;
301295
kwargs...,
@@ -313,15 +307,14 @@ function mcsolveProblem(
313307
haskey(kwargs2, :callback) ? merge(kwargs2, (callback = CallbackSet(cb1, cb2, kwargs2.callback),)) :
314308
merge(kwargs2, (callback = CallbackSet(cb1, cb2),))
315309

316-
return sesolveProblem(H_eff_evo, ψ0, tlist; alg = alg, params = params, kwargs2...)
310+
return sesolveProblem(H_eff_evo, ψ0, tlist; params = params, kwargs2...)
317311
end
318312

319313
@doc raw"""
320314
mcsolveEnsembleProblem(H::QuantumObject{<:AbstractArray{T1},OperatorQuantumObject},
321315
ψ0::QuantumObject{<:AbstractArray{T2},KetQuantumObject},
322316
tlist::AbstractVector,
323317
c_ops::Union{Nothing,AbstractVector,Tuple}=nothing;
324-
alg::OrdinaryDiffEqAlgorithm=Tsit5(),
325318
e_ops::Union{Nothing,AbstractVector,Tuple}=nothing,
326319
H_t::Union{Nothing,Function,TimeDependentOperatorSum}=nothing,
327320
params::NamedTuple=NamedTuple(),
@@ -373,7 +366,6 @@ If the environmental measurements register a quantum jump, the wave function und
373366
- `ψ0::QuantumObject`: Initial state of the system ``|\psi(0)\rangle``.
374367
- `tlist::AbstractVector`: List of times at which to save the state of the system.
375368
- `c_ops::Union{Nothing,AbstractVector,Tuple}`: List of collapse operators ``\{\hat{C}_n\}_n``.
376-
- `alg::OrdinaryDiffEqAlgorithm`: Algorithm to use for the time evolution.
377369
- `e_ops::Union{Nothing,AbstractVector,Tuple}`: List of operators for which to calculate expectation values.
378370
- `H_t::Union{Nothing,Function,TimeDependentOperatorSum}`: Time-dependent part of the Hamiltonian.
379371
- `params::NamedTuple`: Dictionary of parameters to pass to the solver.
@@ -391,7 +383,6 @@ If the environmental measurements register a quantum jump, the wave function und
391383
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
392384
- If `e_ops` is empty, the default value of `saveat=tlist` (saving the states corresponding to `tlist`), otherwise, `saveat=[tlist[end]]` (only save the final state). You can also specify `e_ops` and `saveat` separately.
393385
- The default tolerances in `kwargs` are given as `reltol=1e-6` and `abstol=1e-8`.
394-
- For more details about `alg` please refer to [`DifferentialEquations.jl` (ODE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/)
395386
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
396387
397388
# Returns
@@ -403,7 +394,6 @@ function mcsolveEnsembleProblem(
403394
ψ0::QuantumObject{DT2,KetQuantumObject},
404395
tlist::AbstractVector,
405396
c_ops::Union{Nothing,AbstractVector,Tuple} = nothing;
406-
alg::OrdinaryDiffEqAlgorithm = Tsit5(),
407397
e_ops::Union{Nothing,AbstractVector,Tuple} = nothing,
408398
params::NamedTuple = NamedTuple(),
409399
rng::AbstractRNG = default_rng(),
@@ -434,7 +424,6 @@ function mcsolveEnsembleProblem(
434424
ψ0,
435425
tlist,
436426
c_ops;
437-
alg = alg,
438427
e_ops = e_ops,
439428
params = merge(params, (global_rng = rng, seeds = seeds)),
440429
rng = rng,

src/time_evolution/mesolve.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ end
5858
ψ0::QuantumObject,
5959
tlist::AbstractVector,
6060
c_ops::Union{Nothing,AbstractVector,Tuple}=nothing;
61-
alg::OrdinaryDiffEqAlgorithm=Tsit5(),
6261
e_ops::Union{Nothing,AbstractVector,Tuple}=nothing,
6362
H_t::Union{Nothing,Function,TimeDependentOperatorSum}=nothing,
6463
params::NamedTuple=NamedTuple(),
@@ -83,7 +82,6 @@ where
8382
- `ψ0::QuantumObject`: The initial state of the system.
8483
- `tlist::AbstractVector`: The time list of the evolution.
8584
- `c_ops::Union{Nothing,AbstractVector,Tuple}=nothing`: The list of the collapse operators ``\{\hat{C}_n\}_n``.
86-
- `alg::OrdinaryDiffEqAlgorithm=Tsit5()`: The algorithm used for the time evolution.
8785
- `e_ops::Union{Nothing,AbstractVector,Tuple}=nothing`: The list of the operators for which the expectation values are calculated.
8886
- `H_t::Union{Nothing,Function,TimeDependentOperatorSum}=nothing`: The time-dependent Hamiltonian or Liouvillian.
8987
- `params::NamedTuple=NamedTuple()`: The parameters of the time evolution.
@@ -95,7 +93,6 @@ where
9593
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
9694
- If `e_ops` is empty, the default value of `saveat=tlist` (saving the states corresponding to `tlist`), otherwise, `saveat=[tlist[end]]` (only save the final state). You can also specify `e_ops` and `saveat` separately.
9795
- The default tolerances in `kwargs` are given as `reltol=1e-6` and `abstol=1e-8`.
98-
- For more details about `alg` please refer to [`DifferentialEquations.jl` (ODE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/)
9996
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
10097
10198
# Returns
@@ -107,7 +104,6 @@ function mesolveProblem(
107104
ψ0::QuantumObject{DT2,StateOpType},
108105
tlist,
109106
c_ops::Union{Nothing,AbstractVector,Tuple} = nothing;
110-
alg::OrdinaryDiffEqAlgorithm = Tsit5(),
111107
e_ops::Union{Nothing,AbstractVector,Tuple} = nothing,
112108
params::NamedTuple = NamedTuple(),
113109
progress_bar::Union{Val,Bool} = Val(true),

src/time_evolution/sesolve.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ end
4040
sesolveProblem(H,
4141
ψ0,
4242
tlist;
43-
alg=Tsit5()
4443
e_ops = nothing,
4544
params=NamedTuple(),
4645
progress_bar=Val(true),
@@ -57,7 +56,6 @@ Generates the ODEProblem for the Schrödinger time evolution of a quantum system
5756
- `H::Union{QuantumObject,Tuple}`: The Hamiltonian of the system ``\hat{H}``.
5857
- `ψ0::QuantumObject`: The initial state of the system ``|\psi(0)\rangle``.
5958
- `tlist::AbstractVector`: The time list of the evolution.
60-
- `alg::OrdinaryDiffEqAlgorithm`: The algorithm used for the time evolution.
6159
- `e_ops::Union{Nothing,AbstractVector,Tuple}`: The list of operators to be evaluated during the evolution.
6260
- `H_t::Union{Nothing,Function,TimeDependentOperatorSum}`: The time-dependent Hamiltonian of the system. If `nothing`, the Hamiltonian is time-independent.
6361
- `params::NamedTuple`: The parameters of the system.
@@ -69,7 +67,6 @@ Generates the ODEProblem for the Schrödinger time evolution of a quantum system
6967
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
7068
- If `e_ops` is empty, the default value of `saveat=tlist` (saving the states corresponding to `tlist`), otherwise, `saveat=[tlist[end]]` (only save the final state). You can also specify `e_ops` and `saveat` separately.
7169
- The default tolerances in `kwargs` are given as `reltol=1e-6` and `abstol=1e-8`.
72-
- For more details about `alg` please refer to [`DifferentialEquations.jl` (ODE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/)
7370
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
7471
7572
# Returns

src/time_evolution/ssesolve.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ _ScalarOperator_e2_2(op, f = +) =
102102
ψ0::QuantumObject,
103103
tlist::AbstractVector;
104104
sc_ops::Union{Nothing,AbstractVector,Tuple}=nothing;
105-
alg::StochasticDiffEqAlgorithm=SRA1()
106105
e_ops::Union{Nothing,AbstractVector,Tuple} = nothing,
107106
H_t::Union{Nothing,Function,TimeDependentOperatorSum}=nothing,
108107
params::NamedTuple=NamedTuple(),
@@ -136,7 +135,6 @@ Above, `C_n` is the `n`-th collapse operator and `dW_j(t)` is the real Wiener i
136135
- `ψ0::QuantumObject`: The initial state of the system ``|\psi(0)\rangle``.
137136
- `tlist::AbstractVector`: The time list of the evolution.
138137
- `sc_ops::Union{Nothing,AbstractVector,Tuple}=nothing`: List of stochastic collapse operators ``\{\hat{C}_n\}_n``.
139-
- `alg::StochasticDiffEqAlgorithm`: The algorithm used for the time evolution.
140138
- `e_ops::Union{Nothing,AbstractVector,Tuple}=nothing`: The list of operators to be evaluated during the evolution.
141139
- `H_t::Union{Nothing,Function,TimeDependentOperatorSum}`: The time-dependent Hamiltonian of the system. If `nothing`, the Hamiltonian is time-independent.
142140
- `params::NamedTuple`: The parameters of the system.
@@ -148,7 +146,6 @@ Above, `C_n` is the `n`-th collapse operator and `dW_j(t)` is the real Wiener i
148146
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
149147
- If `e_ops` is empty, the default value of `saveat=tlist` (saving the states corresponding to `tlist`), otherwise, `saveat=[tlist[end]]` (only save the final state). You can also specify `e_ops` and `saveat` separately.
150148
- The default tolerances in `kwargs` are given as `reltol=1e-2` and `abstol=1e-2`.
151-
- For more details about `alg` please refer to [`DifferentialEquations.jl` (SDE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/sde_solve/)
152149
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
153150
154151
# Returns
@@ -160,7 +157,6 @@ function ssesolveProblem(
160157
ψ0::QuantumObject{DT2,KetQuantumObject},
161158
tlist::AbstractVector,
162159
sc_ops::Union{Nothing,AbstractVector,Tuple} = nothing;
163-
alg::StochasticDiffEqAlgorithm = SRA1(),
164160
e_ops::Union{Nothing,AbstractVector,Tuple} = nothing,
165161
params::NamedTuple = NamedTuple(),
166162
rng::AbstractRNG = default_rng(),
@@ -234,7 +230,6 @@ end
234230
ψ0::QuantumObject,
235231
tlist::AbstractVector;
236232
sc_ops::Union{Nothing,AbstractVector,Tuple} = nothing;
237-
alg::StochasticDiffEqAlgorithm=SRA1()
238233
e_ops::Union{Nothing,AbstractVector,Tuple} = nothing,
239234
params::NamedTuple=NamedTuple(),
240235
rng::AbstractRNG=default_rng(),
@@ -272,7 +267,6 @@ Above, `C_n` is the `n`-th collapse operator and `dW_j(t)` is the real Wiener i
272267
- `ψ0::QuantumObject`: The initial state of the system ``|\psi(0)\rangle``.
273268
- `tlist::AbstractVector`: The time list of the evolution.
274269
- `sc_ops::Union{Nothing,AbstractVector,Tuple}=nothing`: List of stochastic collapse operators ``\{\hat{C}_n\}_n``.
275-
- `alg::StochasticDiffEqAlgorithm`: The algorithm used for the time evolution.
276270
- `e_ops::Union{Nothing,AbstractVector,Tuple}=nothing`: The list of operators to be evaluated during the evolution.
277271
- `params::NamedTuple`: The parameters of the system.
278272
- `rng::AbstractRNG`: The random number generator for reproducibility.
@@ -288,7 +282,6 @@ Above, `C_n` is the `n`-th collapse operator and `dW_j(t)` is the real Wiener i
288282
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
289283
- If `e_ops` is empty, the default value of `saveat=tlist` (saving the states corresponding to `tlist`), otherwise, `saveat=[tlist[end]]` (only save the final state). You can also specify `e_ops` and `saveat` separately.
290284
- The default tolerances in `kwargs` are given as `reltol=1e-2` and `abstol=1e-2`.
291-
- For more details about `alg` please refer to [`DifferentialEquations.jl` (SDE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/sde_solve/)
292285
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
293286
294287
# Returns
@@ -300,7 +293,6 @@ function ssesolveEnsembleProblem(
300293
ψ0::QuantumObject{DT2,KetQuantumObject},
301294
tlist::AbstractVector,
302295
sc_ops::Union{Nothing,AbstractVector,Tuple} = nothing;
303-
alg::StochasticDiffEqAlgorithm = SRA1(),
304296
e_ops::Union{Nothing,AbstractVector,Tuple} = nothing,
305297
params::NamedTuple = NamedTuple(),
306298
rng::AbstractRNG = default_rng(),
@@ -330,7 +322,6 @@ function ssesolveEnsembleProblem(
330322
ψ0,
331323
tlist,
332324
sc_ops;
333-
alg = alg,
334325
e_ops = e_ops,
335326
params = merge(params, (global_rng = rng, seeds = seeds)),
336327
rng = rng,
@@ -441,7 +432,6 @@ function ssesolve(
441432
ψ0,
442433
tlist,
443434
sc_ops;
444-
alg = alg,
445435
e_ops = e_ops,
446436
params = params,
447437
rng = rng,

src/time_evolution/time_evolution.jl

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,22 +124,23 @@ A structure storing the results and some information from solving trajectories o
124124
- `reltol::Real`: The relative tolerance which is used during the solving process.
125125
"""
126126
struct TimeEvolutionSSESol{
127-
TT<:Vector{<:Real},
127+
TT<:AbstractVector{<:Real},
128128
TS<:AbstractVector,
129129
TE<:Matrix{ComplexF64},
130130
TEA<:Array{ComplexF64,3},
131-
T1<:Real,
132-
T2<:Real,
131+
AlgT<:StochasticDiffEqAlgorithm,
132+
AT<:Real,
133+
RT<:Real,
133134
}
134135
ntraj::Int
135136
times::TT
136137
states::TS
137138
expect::TE
138139
expect_all::TEA
139140
converged::Bool
140-
alg::StochasticDiffEqAlgorithm
141-
abstol::T1
142-
reltol::T2
141+
alg::AlgT
142+
abstol::AT
143+
reltol::RT
143144
end
144145

145146
function Base.show(io::IO, sol::TimeEvolutionSSESol)

src/time_evolution/time_evolution_dynamical.jl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ function dfd_mesolveProblem(
143143
c_ops::Function,
144144
maxdims::Vector{T2},
145145
dfd_params::NamedTuple = NamedTuple();
146-
alg::OrdinaryDiffEqAlgorithm = Tsit5(),
147146
e_ops::Function = (dim_list) -> Vector{Vector{DT1}}([]),
148147
params::NamedTuple = NamedTuple(),
149148
tol_list::Vector{<:Number} = fill(1e-8, length(maxdims)),
@@ -188,7 +187,7 @@ function dfd_mesolveProblem(
188187
haskey(kwargs2, :callback) ? merge(kwargs2, (callback = CallbackSet(cb_dfd, kwargs2.callback),)) :
189188
merge(kwargs2, (callback = cb_dfd,))
190189

191-
return mesolveProblem(H₀, ψ0, tlist, c_ops₀; e_ops = e_ops₀, alg = alg, params = params2, kwargs2...)
190+
return mesolveProblem(H₀, ψ0, tlist, c_ops₀; e_ops = e_ops₀, params = params2, kwargs2...)
192191
end
193192

194193
@doc raw"""
@@ -227,7 +226,6 @@ function dfd_mesolve(
227226
c_ops,
228227
maxdims,
229228
dfd_params;
230-
alg = alg,
231229
e_ops = e_ops,
232230
params = params,
233231
tol_list = tol_list,
@@ -350,7 +348,6 @@ function dsf_mesolveProblem(
350348
op_list::Union{AbstractVector,Tuple},
351349
α0_l::Vector{<:Number} = zeros(length(op_list)),
352350
dsf_params::NamedTuple = NamedTuple();
353-
alg::OrdinaryDiffEqAlgorithm = Tsit5(),
354351
e_ops::Function = (op_list, p) -> (),
355352
params::NamedTuple = NamedTuple(),
356353
δα_list::Vector{<:Real} = fill(0.2, length(op_list)),
@@ -401,7 +398,7 @@ function dsf_mesolveProblem(
401398
haskey(kwargs2, :callback) ? merge(kwargs2, (callback = CallbackSet(cb_dsf, kwargs2.callback),)) :
402399
merge(kwargs2, (callback = cb_dsf,))
403400

404-
return mesolveProblem(H₀, ψ0, tlist, c_ops₀; e_ops = e_ops₀, alg = alg, params = params2, kwargs2...)
401+
return mesolveProblem(H₀, ψ0, tlist, c_ops₀; e_ops = e_ops₀, params = params2, kwargs2...)
405402
end
406403

407404
@doc raw"""
@@ -447,7 +444,6 @@ function dsf_mesolve(
447444
op_list,
448445
α0_l,
449446
dsf_params;
450-
alg = alg,
451447
e_ops = e_ops,
452448
params = params,
453449
δα_list = δα_list,
@@ -611,7 +607,6 @@ function dsf_mcsolveEnsembleProblem(
611607
op_list::Union{AbstractVector,Tuple},
612608
α0_l::Vector{<:Number} = zeros(length(op_list)),
613609
dsf_params::NamedTuple = NamedTuple();
614-
alg::OrdinaryDiffEqAlgorithm = Tsit5(),
615610
e_ops::Function = (op_list, p) -> (),
616611
params::NamedTuple = NamedTuple(),
617612
ntraj::Int = 1,
@@ -663,7 +658,6 @@ function dsf_mcsolveEnsembleProblem(
663658
tlist,
664659
c_ops₀;
665660
e_ops = e_ops₀,
666-
alg = alg,
667661
params = params2,
668662
ntraj = ntraj,
669663
ensemble_method = ensemble_method,

0 commit comments

Comments
 (0)