You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/time_evolution/smesolve.jl
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,9 @@ Above, ``\hat{C}_i`` represent the collapse operators related to pure dissipatio
65
65
- The default tolerances in `kwargs` are given as `reltol=1e-2` and `abstol=1e-2`.
66
66
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
67
67
68
+
!!! tip "Performance Tip"
69
+
When `sc_ops` contains only one operator, it is highly recommended to put only the operator as the argument. This will ensure the stochastic noise to be diagonal, allowing for a faster simulation.
70
+
68
71
# Returns
69
72
70
73
- `prob`: The [`TimeEvolutionProblem`](@ref) containing the `SDEProblem` for the Stochastic Master Equation time evolution.
@@ -207,6 +210,9 @@ Above, ``\hat{C}_i`` represent the collapse operators related to pure dissipatio
207
210
- The default tolerances in `kwargs` are given as `reltol=1e-2` and `abstol=1e-2`.
208
211
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
209
212
213
+
!!! tip "Performance Tip"
214
+
When `sc_ops` contains only one operator, it is highly recommended to put only the operator as the argument. This will ensure the stochastic noise to be diagonal, allowing for a faster simulation.
215
+
210
216
# Returns
211
217
212
218
- `prob`: The [`TimeEvolutionProblem`](@ref) containing the Ensemble `SDEProblem` for the Stochastic Master Equation time evolution.
@@ -332,6 +338,9 @@ Above, ``\hat{C}_i`` represent the collapse operators related to pure dissipatio
332
338
- The default tolerances in `kwargs` are given as `reltol=1e-2` and `abstol=1e-2`.
333
339
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
334
340
341
+
!!! tip "Performance Tip"
342
+
When `sc_ops` contains only one operator, it is highly recommended to put only the operator as the argument. This will ensure the stochastic noise to be diagonal, allowing for a faster simulation.
343
+
335
344
# Returns
336
345
337
346
- `sol::TimeEvolutionStochasticSol`: The solution of the time evolution. See [`TimeEvolutionStochasticSol`](@ref).
Copy file name to clipboardExpand all lines: src/time_evolution/ssesolve.jl
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,9 @@ Above, ``\hat{S}_n`` are the stochastic collapse operators and ``dW_n(t)`` is th
67
67
- The default tolerances in `kwargs` are given as `reltol=1e-2` and `abstol=1e-2`.
68
68
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
69
69
70
+
!!! tip "Performance Tip"
71
+
When `sc_ops` contains only one operator, it is highly recommended to put only the operator as the argument. This will ensure the stochastic noise to be diagonal, allowing for a faster simulation.
72
+
70
73
# Returns
71
74
72
75
- `prob`: The `SDEProblem` for the Stochastic Schrödinger time evolution of the system.
@@ -207,6 +210,9 @@ Above, ``\hat{S}_n`` are the stochastic collapse operators and ``dW_n(t)`` is t
207
210
- The default tolerances in `kwargs` are given as `reltol=1e-2` and `abstol=1e-2`.
208
211
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
209
212
213
+
!!! tip "Performance Tip"
214
+
When `sc_ops` contains only one operator, it is highly recommended to put only the operator as the argument. This will ensure the stochastic noise to be diagonal, allowing for a faster simulation.
215
+
210
216
# Returns
211
217
212
218
- `prob::EnsembleProblem with SDEProblem`: The Ensemble SDEProblem for the Stochastic Shrödinger time evolution.
@@ -333,6 +339,9 @@ Above, ``\hat{S}_n`` are the stochastic collapse operators and ``dW_n(t)`` is th
333
339
- For more details about `alg` please refer to [`DifferentialEquations.jl` (SDE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/sde_solve/)
334
340
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
335
341
342
+
!!! tip "Performance Tip"
343
+
When `sc_ops` contains only one operator, it is highly recommended to put only the operator as the argument. This will ensure the stochastic noise to be diagonal, allowing for a faster simulation.
344
+
336
345
# Returns
337
346
338
347
- `sol::TimeEvolutionStochasticSol`: The solution of the time evolution. See [`TimeEvolutionStochasticSol`](@ref).
0 commit comments