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
@@ -126,8 +126,8 @@ Monte Carlo evolutions often need hundreds of trajectories to obtain sufficient
126
126
See the [documentation of `DifferentialEquations.jl`](https://docs.sciml.ai/DiffEqDocs/stable/features/ensemble/) for more details. Also, see Julia's documentation for more details about multithreading and adding more processes.
|`sol.times`| The list of time points at which the expectation values are calculated during the evolution. |
16
+
|`sol.times_states`| The list of time points at which the states are stored during the evolution. |
17
+
|`sol.states`| The list of result states corresponding to each time point in `sol.times_states`. |
17
18
|`sol.expect`| The expectation values corresponding to each time point in `sol.times`. |
18
19
|`sol.alg`| The algorithm which is used during the solving process. |
19
20
|`sol.abstol`| The absolute tolerance which is used during the solving process. |
@@ -54,7 +55,7 @@ nothing # hide
54
55
55
56
Recall that `Julia` uses `Fortran`-style indexing that begins with one (i.e., `[1,:]` represents the 1-st observable, where `:` represents all values corresponding to `tlist`).
56
57
57
-
Together with the array of times at which these expectation values are calculated:
58
+
Together with the list of time points at which these expectation values are calculated:
58
59
59
60
```@example TE-solution
60
61
times = sol.times
@@ -83,6 +84,13 @@ State vectors, or density matrices, are accessed in a similar manner:
83
84
sol.states
84
85
```
85
86
87
+
Together with the list of time points at which these states are stored:
88
+
89
+
```@example TE-solution
90
+
times = sol.times_states
91
+
nothing # hide
92
+
```
93
+
86
94
Here, the solution contains only one (final) state. Because the `states` will be saved depend on the keyword argument `saveat` in `kwargs`. 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). One can also specify `e_ops` and `saveat` separately.
Copy file name to clipboardExpand all lines: src/correlations.jl
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ end
19
19
C::QuantumObject;
20
20
kwargs...)
21
21
22
-
Returns the two-times correlation function of three operators ``\hat{A}``, ``\hat{B}`` and ``\hat{C}``: ``\left\langle \hat{A}(t) \hat{B}(t + \tau) \hat{C}(t) \right\rangle`` for a given initial state ``|\psi_0\rangle``.
22
+
Returns the two-time correlation function of three operators ``\hat{A}``, ``\hat{B}`` and ``\hat{C}``: ``\left\langle \hat{A}(t) \hat{B}(t + \tau) \hat{C}(t) \right\rangle`` for a given initial state ``|\psi_0\rangle``.
23
23
24
24
If the initial state `ψ0` is given as `nothing`, then the [`steadystate`](@ref) will be used as the initial state. Note that this is only implemented if `H` is constant ([`QuantumObject`](@ref)).
25
25
"""
@@ -96,7 +96,7 @@ end
96
96
reverse::Bool=false,
97
97
kwargs...)
98
98
99
-
Returns the two-times correlation function of two operators ``\hat{A}`` and ``\hat{B}`` : ``\left\langle \hat{A}(t + \tau) \hat{B}(t) \right\rangle`` for a given initial state ``|\psi_0\rangle``.
99
+
Returns the two-time correlation function of two operators ``\hat{A}`` and ``\hat{B}`` : ``\left\langle \hat{A}(t + \tau) \hat{B}(t) \right\rangle`` for a given initial state ``|\psi_0\rangle``.
100
100
101
101
If the initial state `ψ0` is given as `nothing`, then the [`steadystate`](@ref) will be used as the initial state. Note that this is only implemented if `H` is constant ([`QuantumObject`](@ref)).
Copy file name to clipboardExpand all lines: src/time_evolution/brmesolve.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ Solves for the dynamics of a system using the Bloch-Redfield master equation, gi
158
158
159
159
- `H`: The system Hamiltonian. Must be an [`Operator`](@ref)
160
160
- `ψ0`: Initial state of the system $|\psi(0)\rangle$. It can be either a [`Ket`](@ref), [`Operator`](@ref) or [`OperatorKet`](@ref).
161
-
- `tlist`: List of times at which to save either the state or the expectation values of the system.
161
+
- `tlist`: List of time points at which to save either the state or the expectation values of the system.
162
162
- `a_ops`: Nested list with each element is a `Tuple` of operator-function pairs `(a_op, spectra)`, and the coupling [`Operator`](@ref) `a_op` must be hermitian with corresponding `spectra` being a `Function` of transition energy
163
163
- `c_ops`: List of collapse operators corresponding to Lindblad dissipators
164
164
- `sec_cutoff`: Cutoff for secular approximation. Use `-1` if secular approximation is not used when evaluating bath-coupling terms.
Copy file name to clipboardExpand all lines: src/time_evolution/mcsolve.jl
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ If the environmental measurements register a quantum jump, the wave function und
89
89
90
90
- `H`: Hamiltonian of the system ``\hat{H}``. It can be either a [`QuantumObject`](@ref), a [`QuantumObjectEvolution`](@ref), or a `Tuple` of operator-function pairs.
91
91
- `ψ0`: Initial state of the system ``|\psi(0)\rangle``.
92
-
- `tlist`: List of times at which to save either the state or the expectation values of the system.
92
+
- `tlist`: List of time points at which to save either the state or the expectation values of the system.
93
93
- `c_ops`: List of collapse operators ``\{\hat{C}_n\}_n``. It can be either a `Vector` or a `Tuple`.
94
94
- `e_ops`: List of operators for which to calculate expectation values. It can be either a `Vector` or a `Tuple`.
95
95
- `params`: Parameters to pass to the solver. This argument is usually expressed as a `NamedTuple` or `AbstractVector` of parameters. For more advanced usage, any custom struct can be used.
@@ -195,7 +195,7 @@ If the environmental measurements register a quantum jump, the wave function und
195
195
196
196
- `H`: Hamiltonian of the system ``\hat{H}``. It can be either a [`QuantumObject`](@ref), a [`QuantumObjectEvolution`](@ref), or a `Tuple` of operator-function pairs.
197
197
- `ψ0`: Initial state of the system ``|\psi(0)\rangle``.
198
-
- `tlist`: List of times at which to save either the state or the expectation values of the system.
198
+
- `tlist`: List of time points at which to save either the state or the expectation values of the system.
199
199
- `c_ops`: List of collapse operators ``\{\hat{C}_n\}_n``. It can be either a `Vector` or a `Tuple`.
200
200
- `e_ops`: List of operators for which to calculate expectation values. It can be either a `Vector` or a `Tuple`.
201
201
- `params`: Parameters to pass to the solver. This argument is usually expressed as a `NamedTuple` or `AbstractVector` of parameters. For more advanced usage, any custom struct can be used.
@@ -320,7 +320,7 @@ If the environmental measurements register a quantum jump, the wave function und
320
320
321
321
- `H`: Hamiltonian of the system ``\hat{H}``. It can be either a [`QuantumObject`](@ref), a [`QuantumObjectEvolution`](@ref), or a `Tuple` of operator-function pairs.
322
322
- `ψ0`: Initial state of the system ``|\psi(0)\rangle``.
323
-
- `tlist`: List of times at which to save either the state or the expectation values of the system.
323
+
- `tlist`: List of time points at which to save either the state or the expectation values of the system.
324
324
- `c_ops`: List of collapse operators ``\{\hat{C}_n\}_n``. It can be either a `Vector` or a `Tuple`.
325
325
- `alg`: The algorithm to use for the ODE solver. Default to `Tsit5()`.
326
326
- `e_ops`: List of operators for which to calculate expectation values. It can be either a `Vector` or a `Tuple`.
0 commit comments