Skip to content

Commit 29a3785

Browse files
TendonFFFcailixun
andauthored
fix typos in doc strings (#495)
Co-authored-by: cailixun <[email protected]>
1 parent 68e2d94 commit 29a3785

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/qobj/synonyms.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const trans = transpose
3434
const dag = adjoint
3535

3636
@doc raw"""
37-
matrix_element(i::QuantumObject, A::QuantumObject j::QuantumObject)
37+
matrix_element(i::QuantumObject, A::QuantumObject, j::QuantumObject)
3838
3939
Compute the generalized dot product `dot(i, A*j)` between three [`QuantumObject`](@ref): ``\langle i | \hat{A} | j \rangle``
4040
@@ -61,7 +61,7 @@ const operator_to_vector = mat2vec
6161
6262
Matrix square root of [`Operator`](@ref) type of [`QuantumObject`](@ref)
6363
64-
Note that for other types of [`QuantumObject`](@ref) use `sprt(A)` instead.
64+
Note that for other types of [`QuantumObject`](@ref) use `sqrt(A)` instead.
6565
"""
6666
sqrtm(A::QuantumObject{Operator}) = sqrt(A)
6767

src/time_evolution/time_evolution.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-
- `times::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

0 commit comments

Comments
 (0)