@@ -103,6 +103,7 @@ A structure storing the results and some information from solving quantum trajec
103103- `times::AbstractVector`: The time list of the evolution.
104104- `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory and each time point in `times`.
105105- `expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times`.
106+ - `rng::AbstractRNG`: Random number generator for reproducibility.
106107- `col_times::Vector{Vector{Real}}`: The time records of every quantum jump occurred in each trajectory.
107108- `col_which::Vector{Vector{Int}}`: The indices of which collapse operator was responsible for each quantum jump in `col_times`.
108109- `converged::Bool`: Whether the solution is converged or not.
@@ -127,6 +128,7 @@ struct TimeEvolutionMCSol{
127128 TT<: AbstractVector{<:Real} ,
128129 TS<: AbstractVector ,
129130 TE<: Union{AbstractArray,Nothing} ,
131+ TR<: AbstractRNG ,
130132 TJT<: Vector{<:Vector{<:Real}} ,
131133 TJW<: Vector{<:Vector{<:Integer}} ,
132134 AlgT<: OrdinaryDiffEqAlgorithm ,
@@ -137,6 +139,7 @@ struct TimeEvolutionMCSol{
137139 times:: TT
138140 states:: TS
139141 expect:: TE
142+ rng:: TR
140143 col_times:: TJT
141144 col_which:: TJW
142145 converged:: Bool
@@ -173,6 +176,8 @@ A structure storing the results and some information from solving trajectories o
173176- `times::AbstractVector`: The time list of the evolution.
174177- `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory and each time point in `times`.
175178- `expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times`.
179+ - `rng::AbstractRNG`: Random number generator for reproducibility.
180+ - `measurement::Union{AbstractArray,Nothing}`: Measurements for each trajectories and stochastic collapse operators (`sc_ops`).
176181- `converged::Bool`: Whether the solution is converged or not.
177182- `alg`: The algorithm which is used during the solving process.
178183- `abstol::Real`: The absolute tolerance which is used during the solving process.
@@ -195,6 +200,7 @@ struct TimeEvolutionStochasticSol{
195200 TT<: AbstractVector{<:Real} ,
196201 TS<: AbstractVector ,
197202 TE<: Union{AbstractArray,Nothing} ,
203+ TR<: AbstractRNG ,
198204 TEM<: Union{AbstractArray,Nothing} ,
199205 AlgT<: StochasticDiffEqAlgorithm ,
200206 AT<: Real ,
@@ -204,6 +210,7 @@ struct TimeEvolutionStochasticSol{
204210 times:: TT
205211 states:: TS
206212 expect:: TE
213+ rng:: TR
207214 measurement:: TEM
208215 converged:: Bool
209216 alg:: AlgT
0 commit comments