diff --git a/src/qobj/synonyms.jl b/src/qobj/synonyms.jl index 370d9d902..278fafe94 100644 --- a/src/qobj/synonyms.jl +++ b/src/qobj/synonyms.jl @@ -34,7 +34,7 @@ const trans = transpose const dag = adjoint @doc raw""" - matrix_element(i::QuantumObject, A::QuantumObject j::QuantumObject) + matrix_element(i::QuantumObject, A::QuantumObject, j::QuantumObject) Compute the generalized dot product `dot(i, A*j)` between three [`QuantumObject`](@ref): ``\langle i | \hat{A} | j \rangle`` @@ -61,7 +61,7 @@ const operator_to_vector = mat2vec Matrix square root of [`Operator`](@ref) type of [`QuantumObject`](@ref) -Note that for other types of [`QuantumObject`](@ref) use `sprt(A)` instead. +Note that for other types of [`QuantumObject`](@ref) use `sqrt(A)` instead. """ sqrtm(A::QuantumObject{Operator}) = sqrt(A) diff --git a/src/time_evolution/time_evolution.jl b/src/time_evolution/time_evolution.jl index 30730bc9d..0116ff398 100644 --- a/src/time_evolution/time_evolution.jl +++ b/src/time_evolution/time_evolution.jl @@ -14,7 +14,7 @@ A Julia constructor for handling the `ODEProblem` of the time evolution of quant # Fields (Attributes) - `prob::AbstractSciMLProblem`: The `ODEProblem` of the time evolution. -- `times::Abstractvector`: The time list of the evolution. +- `times::AbstractVector`: The time list of the evolution. - `dimensions::AbstractDimensions`: The dimensions of the Hilbert space. - `kwargs::KWT`: Generic keyword arguments.