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/mesolve.jl
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ where
46
46
47
47
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
48
48
- 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.
49
+
- If `H` is an [`Operator`](@ref), `ψ0` is a [`Ket`](@ref) and `c_ops` is `Nothing`, the function will call [`sesolveProblem`](@ref) instead.
49
50
- The default tolerances in `kwargs` are given as `reltol=1e-6` and `abstol=1e-8`.
50
51
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
throw(ArgumentError("The keyword argument \"save_idxs\" is not supported in QuantumToolbox."))
72
84
@@ -141,6 +153,7 @@ where
141
153
142
154
- The states will be saved depend on the keyword argument `saveat` in `kwargs`.
143
155
- 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.
156
+
- If `H` is an [`Operator`](@ref), `ψ0` is a [`Ket`](@ref) and `c_ops` is `Nothing`, the function will call [`sesolve`](@ref) instead.
144
157
- The default tolerances in `kwargs` are given as `reltol=1e-6` and `abstol=1e-8`.
145
158
- For more details about `alg` please refer to [`DifferentialEquations.jl` (ODE Solvers)](https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/)
146
159
- For more details about `kwargs` please refer to [`DifferentialEquations.jl` (Keyword Arguments)](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/)
0 commit comments