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: docs/src/spectrum.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The output of the above listed functions will always be in the type of `Vector{F
17
17
18
18
## Common and optional parameters
19
19
Furthermore, there are two common optional parameters for all the functions provided below:
20
-
-`verbose::Bool` : To display verbose output and progress bar during the process or not. Defaults to `true`.
20
+
-`progress_bar::Union{Val,Bool}`: Whether to show the progress bar. Defaults to `Val(true)`.
21
21
-`filename::String` : If filename was specified, the value of spectrum for each ω will be saved into the file "filename.txt" during the solving process.
22
22
23
23
If the filename is specified, the function will automatically save (update) the value (together with a comma behind it) to a new line in the file (with ".txt" behind the filename) once it obtains the solution of each specified ``\omega``. For example, if you specify `filename="test"` and `ωlist=0:1:5`, you will obtain a file `test.txt` where each line in this file (as shown below) is the result of spectrum corresponding to the given `ωlist`:
Calculate density of states for the fermionic system in frequency domain.
6
6
7
7
```math
@@ -14,7 +14,7 @@ Calculate density of states for the fermionic system in frequency domain.
14
14
- `d_op::QuantumObject` : The annihilation operator (``d`` as shown above) acting on the fermionic system.
15
15
- `ωlist::AbstractVector` : the specific frequency points to solve.
16
16
- `alg::SciMLLinearSolveAlgorithm` : The solving algorithm in package `LinearSolve.jl`. Default to `KrylovJL_GMRES(rtol=1e-12, atol=1e-14)`.
17
-
- `verbose::Bool` : To display verbose output and progress bar during the process or not. Defaults to `true`.
17
+
- `progress_bar::Union{Val,Bool}`: Whether to show the progress bar. Defaults to `Val(true)`.
18
18
- `filename::String` : If filename was specified, the value of spectrum for each ω will be saved into the file "filename.txt" during the solving process.
19
19
- `kwargs` : The keyword arguments for `LinearProblem`.
20
20
@@ -30,24 +30,22 @@ Calculate density of states for the fermionic system in frequency domain.
Copy file name to clipboardExpand all lines: src/deprecated.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ function C(args...)
53
53
end
54
54
55
55
_HEOMSuperOp_deprecated_method_error() =error(
56
-
"Specifying `mul_basis = \"L\", \"R\", or \"LR\"` to `HEOMSuperOp` has been deprecated, try to construct system SuperOperator manually by using `spre`, `spost`, or `sprepost`.",
56
+
"Specifying `mul_basis = \"L\", \"R\", or \"LR\"` to `HEOMSuperOp` is deprecated, try to construct system SuperOperator manually by using `spre`, `spost`, or `sprepost`.",
expvals = e_ops isa Nothing ?nothing:Array{ComplexF64}(undef, length(e_ops), length(tlist))
347
353
@@ -451,7 +457,7 @@ HEOMsolve_map(
451
457
# this method is for advanced usage
452
458
# User can define their own iterator structure, prob_func and output_func
453
459
# - `prob_func`: Function to use for generating the ODEProblem.
454
-
# - `output_func`: a `Tuple` containing the `Function` to use for generating the output of a single trajectory, the (optional) `ProgressBar` object, and the (optional) `RemoteChannel` object.
460
+
# - `output_func`: a `Tuple` containing the `Function` to use for generating the output of a single trajectory, the (optional) `Progress` object, and the (optional) `RemoteChannel` object.
455
461
#
456
462
# Return: An array of TimeEvolutionSol objects with the size same as the given iter.
457
463
functionHEOMsolve_map(
@@ -468,7 +474,13 @@ function HEOMsolve_map(
468
474
_prob_func =isnothing(prob_func) ? (prob, i, repeat) ->_se_me_map_prob_func(prob, i, repeat, iter) : prob_func
0 commit comments