@@ -99,7 +99,8 @@ A structure storing the results and some information from solving quantum trajec
9999- `times::AbstractVector`: The time list of the evolution.
100100- `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory.
101101- `expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times`.
102- - `expect_all::Union{AbstractMatrix,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times`
102+ - `average_expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times`.
103+ - `runs_expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times`
103104- `col_times::Vector{Vector{Real}}`: The time records of every quantum jump occurred in each trajectory.
104105- `col_which::Vector{Vector{Int}}`: The indices of which collapse operator was responsible for each quantum jump in `col_times`.
105106- `converged::Bool`: Whether the solution is converged or not.
@@ -122,7 +123,8 @@ struct TimeEvolutionMCSol{
122123 times:: TT
123124 states:: TS
124125 expect:: TE
125- expect_all:: TEA
126+ average_expect:: TE # Currently just a synonym for `expect`
127+ runs_expect:: TEA
126128 col_times:: TJT
127129 col_which:: TJW
128130 converged:: Bool
@@ -140,7 +142,7 @@ function Base.show(io::IO, sol::TimeEvolutionMCSol)
140142 if sol. expect isa Nothing
141143 print (io, " num_expect = 0\n " )
142144 else
143- print (io, " num_expect = $(size (sol. expect , 1 )) \n " )
145+ print (io, " num_expect = $(size (sol. average_expect , 1 )) \n " )
144146 end
145147 print (io, " ODE alg.: $(sol. alg) \n " )
146148 print (io, " abstol = $(sol. abstol) \n " )
@@ -159,7 +161,8 @@ A structure storing the results and some information from solving trajectories o
159161- `times::AbstractVector`: The time list of the evolution.
160162- `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory.
161163- `expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times`.
162- - `expect_all::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times`
164+ - `average_expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times`.
165+ - `runs_expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times`
163166- `converged::Bool`: Whether the solution is converged or not.
164167- `alg`: The algorithm which is used during the solving process.
165168- `abstol::Real`: The absolute tolerance which is used during the solving process.
@@ -178,7 +181,8 @@ struct TimeEvolutionStochasticSol{
178181 times:: TT
179182 states:: TS
180183 expect:: TE
181- expect_all:: TEA
184+ average_expect:: TE # Currently just a synonym for `expect`
185+ runs_expect:: TEA
182186 converged:: Bool
183187 alg:: AlgT
184188 abstol:: AT
@@ -194,7 +198,7 @@ function Base.show(io::IO, sol::TimeEvolutionStochasticSol)
194198 if sol. expect isa Nothing
195199 print (io, " num_expect = 0\n " )
196200 else
197- print (io, " num_expect = $(size (sol. expect , 1 )) \n " )
201+ print (io, " num_expect = $(size (sol. average_expect , 1 )) \n " )
198202 end
199203 print (io, " SDE alg.: $(sol. alg) \n " )
200204 print (io, " abstol = $(sol. abstol) \n " )
0 commit comments