@@ -14,7 +14,7 @@ A Julia constructor for handling the `ODEProblem` of the time evolution of quant
1414# Fields (Attributes)
1515
1616- `prob::AbstractSciMLProblem`: The `ODEProblem` of the time evolution.
17- - `tlist ::AbstractVector`: The time list of the evolution.
17+ - `times ::AbstractVector`: The time list of the evolution.
1818- `dimensions::AbstractDimensions`: The dimensions of the Hilbert space.
1919- `kwargs::KWT`: Generic keyword arguments.
2020
@@ -23,7 +23,7 @@ A Julia constructor for handling the `ODEProblem` of the time evolution of quant
2323"""
2424struct TimeEvolutionProblem{PT<: AbstractSciMLProblem ,TT<: AbstractVector ,DT<: AbstractDimensions ,KWT}
2525 prob:: PT
26- tlist :: TT
26+ times :: TT
2727 dimensions:: DT
2828 kwargs:: KWT
2929end
@@ -37,7 +37,7 @@ function Base.getproperty(prob::TimeEvolutionProblem, key::Symbol)
3737 end
3838end
3939
40- TimeEvolutionProblem (prob, tlist , dims) = TimeEvolutionProblem (prob, tlist , dims, nothing )
40+ TimeEvolutionProblem (prob, times , dims) = TimeEvolutionProblem (prob, times , dims, nothing )
4141
4242@doc raw """
4343 struct TimeEvolutionSol
@@ -46,10 +46,10 @@ A structure storing the results and some information from solving time evolution
4646
4747# Fields (Attributes)
4848
49- - `times::AbstractVector`: The list of time points at which the states are stored during the evolution.
50- - `tlist ::AbstractVector`: The list of time points at which the expectation values are calculated during the evolution.
51- - `states::Vector{QuantumObject}`: The list of result states corresponding to each time point in `times `.
52- - `expect::Union{AbstractMatrix,Nothing}`: The expectation values corresponding to each time point in `tlist `.
49+ - `times::AbstractVector`: The list of time points at which the expectation values are calculated during the evolution.
50+ - `times_states ::AbstractVector`: The list of time points at which the states are stored during the evolution.
51+ - `states::Vector{QuantumObject}`: The list of result states corresponding to each time point in `times_states `.
52+ - `expect::Union{AbstractMatrix,Nothing}`: The expectation values corresponding to each time point in `times `.
5353- `retcode`: The return code from the solver.
5454- `alg`: The algorithm which is used during the solving process.
5555- `abstol::Real`: The absolute tolerance which is used during the solving process.
@@ -66,7 +66,7 @@ struct TimeEvolutionSol{
6666 RT<: Real ,
6767}
6868 times:: TT1
69- tlist :: TT2
69+ times_states :: TT2
7070 states:: TS
7171 expect:: TE
7272 retcode:: RETT
@@ -99,12 +99,12 @@ A structure storing the results and some information from solving quantum trajec
9999# Fields (Attributes)
100100
101101- `ntraj::Int`: Number of trajectories
102- - `times::AbstractVector`: The list of time points at which the states are stored during the evolution.
103- - `tlist ::AbstractVector`: The list of time points at which the expectation values are calculated during the evolution.
104- - `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory and each time point in `times `.
105- - `expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `tlist `.
106- - `average_expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `tlist `.
107- - `runs_expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `tlist `
102+ - `times::AbstractVector`: The list of time points at which the expectation values are calculated during the evolution.
103+ - `times_states ::AbstractVector`: The list of time points at which the states are stored during the evolution.
104+ - `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory and each time point in `times_states `.
105+ - `expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times `.
106+ - `average_expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times `.
107+ - `runs_expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times `
108108- `col_times::Vector{Vector{Real}}`: The time records of every quantum jump occurred in each trajectory.
109109- `col_which::Vector{Vector{Int}}`: The indices of which collapse operator was responsible for each quantum jump in `col_times`.
110110- `converged::Bool`: Whether the solution is converged or not.
@@ -126,7 +126,7 @@ struct TimeEvolutionMCSol{
126126}
127127 ntraj:: Int
128128 times:: TT1
129- tlist :: TT2
129+ times_states :: TT2
130130 states:: TS
131131 expect:: TE
132132 average_expect:: TE # Currently just a synonym for `expect`
@@ -164,12 +164,12 @@ A structure storing the results and some information from solving trajectories o
164164# Fields (Attributes)
165165
166166- `ntraj::Int`: Number of trajectories
167- - `times::AbstractVector`: The list of time points at which the states are stored during the evolution.
168- - `tlist ::AbstractVector`: The list of time points at which the expectation values are calculated during the evolution.
169- - `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory and each time point in `times `.
170- - `expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `tlist `.
171- - `average_expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `tlist `.
172- - `runs_expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `tlist `
167+ - `times::AbstractVector`: The list of time points at which the expectation values are calculated during the evolution.
168+ - `times_states ::AbstractVector`: The list of time points at which the states are stored during the evolution.
169+ - `states::Vector{Vector{QuantumObject}}`: The list of result states in each trajectory and each time point in `times_states `.
170+ - `expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times `.
171+ - `average_expect::Union{AbstractMatrix,Nothing}`: The expectation values (averaging all trajectories) corresponding to each time point in `times `.
172+ - `runs_expect::Union{AbstractArray,Nothing}`: The expectation values corresponding to each trajectory and each time point in `times `
173173- `converged::Bool`: Whether the solution is converged or not.
174174- `alg`: The algorithm which is used during the solving process.
175175- `abstol::Real`: The absolute tolerance which is used during the solving process.
@@ -188,7 +188,7 @@ struct TimeEvolutionStochasticSol{
188188}
189189 ntraj:: Int
190190 times:: TT1
191- tlist :: TT2
191+ times_states :: TT2
192192 states:: TS
193193 expect:: TE
194194 average_expect:: TE # Currently just a synonym for `expect`
0 commit comments