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
This part is still under construction, please read the docstrings for the following functions first:
92
+
The solutions are different for solvers which compute multiple trajectories, such as the [`TimeEvolutionMCSol`](@ref) (Monte Carlo) or the [`TimeEvolutionStochasticSol`](@ref) (stochastic methods). The expectation values and states for all trajectories at each time points will be stored in these solutions. The index-order of the elements in fields `states` and `expect` are:
93
93
94
-
-[`TimeEvolutionMCSol`](@ref)
95
-
-[`TimeEvolutionStochasticSol`](@ref)
94
+
```julia
95
+
sol.states[trajectory][time]
96
+
sol.expect[e_op,trajectory,time]
97
+
```
98
+
99
+
We also provide the following functions for statistical analysis of multi-trajectory `sol`utions:
100
+
101
+
|**Functions**|**Description**|
102
+
|:------------|:----------------|
103
+
|[`average_states(sol)`](@ref average_states) | Return the trajectory-averaged result states (as density [`Operator`](@ref)) at each time point. |
104
+
|[`average_expect(sol)`](@ref average_expect) | Return the trajectory-averaged expectation values at each time point. |
105
+
|[`std_expect(sol)`](@ref std_expect) | Return the trajectory-wise standard deviation of the expectation values at each time point. |
106
+
107
+
Multi-trajectory solutions also keep the random number generator (`rng`) to allow recomputing the results:
108
+
109
+
```julia
110
+
rng = sol.rng # this can be specified as a keyword argument (`rng = rng`) to the solvers
0 commit comments