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: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
- Fix `cite()` bibtex output. ([#552])
11
11
- Implement `sesolve_map` and `mesolve_map` for solving multiple initial states and parameter sets in parallel. ([#554])
12
12
- Add `qeye_like` and `qzero_like`, which are synonyms of `one` and `zero`. ([#555])
13
+
- Add steadystate and DSF benchmarks. The `SteadyStateODESOlver` tolerances are lowered to `terminate_reltol=1e-4` and `terminate_abstol=1e-6` to improve speed at the cost of accuracy. ([#557])
Copy file name to clipboardExpand all lines: src/steadystate.jl
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,8 @@ end
47
47
alg = Tsit5(),
48
48
ψ0 = nothing,
49
49
tmax = Inf,
50
-
terminate_reltol = 1e-5,
51
-
terminate_abstol = 1e-7
50
+
terminate_reltol = 1e-4,
51
+
terminate_abstol = 1e-6
52
52
)
53
53
54
54
An ordinary differential equation (ODE) solver for solving [`steadystate`](@ref). It solves the stationary state based on [`mesolve`](@ref) with a termination condition.
@@ -69,8 +69,8 @@ or
69
69
- `alg::OrdinaryDiffEqAlgorithm=Tsit5()`: The algorithm to solve the ODE.
70
70
- `ψ0::Union{Nothing,QuantumObject}=nothing`: The initial state of the system. If not specified, a random pure state will be generated.
71
71
- `tmax::Real=Inf`: The final time step for the steady state problem.
72
-
- `terminate_reltol` = The relative tolerance for stationary state terminate condition. Default to `1e-5`.
73
-
- `terminate_abstol` = The absolute tolerance for stationary state terminate condition. Default to `1e-7`.
72
+
- `terminate_reltol` = The relative tolerance for stationary state terminate condition. Default to `1e-4`.
73
+
- `terminate_abstol` = The absolute tolerance for stationary state terminate condition. Default to `1e-6`.
74
74
75
75
!!! warning "Tolerances for terminate condition"
76
76
The terminate condition tolerances `terminate_reltol` and `terminate_abstol` should be larger than `reltol` and `abstol` of [`mesolve`](@ref), respectively.
0 commit comments