Skip to content

Commit 47ecdb8

Browse files
fix few docstring typos (#99)
1 parent 3a3217b commit 47ecdb8

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/QSymbolicsBase/linalg.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ children(x::SConjugate) = [:conj, x.obj]
106106
conj(x::Symbolic{AbstractOperator})
107107
conj(x::Symbolic{AbstractSuperOperator})
108108
109-
Symbolic transpose operation. See also [`SConjugate`](@ref).
109+
Symbolic complex conjugate operation. See also [`SConjugate`](@ref).
110110
"""
111111
conj(x::Symbolic{T}) where {T<:QObj} = SConjugate{T}(x)
112112
conj(x::SZero) = x
@@ -234,19 +234,19 @@ children(x::SDagger) = [:dagger, x.obj]
234234
"""
235235
dagger(x::Symbolic{AbstractKet})
236236
237-
Symbolic transpose operation. See also [`SDagger`](@ref).
237+
Symbolic adjoint operation. See also [`SDagger`](@ref).
238238
"""
239239
dagger(x::Symbolic{AbstractKet})= SDagger{AbstractBra}(x)
240240
"""
241241
dagger(x::Symbolic{AbstractBra})
242242
243-
Symbolic transpose operation. See also [`SDagger`](@ref).
243+
Symbolic adjoint operation. See also [`SDagger`](@ref).
244244
"""
245245
dagger(x::Symbolic{AbstractBra})= SDagger{AbstractKet}(x)
246246
"""
247247
dagger(x::Symbolic{AbstractOperator})
248248
249-
Symbolic transpose operation. See also [`SDagger`](@ref).
249+
Symbolic adjoint operation. See also [`SDagger`](@ref).
250250
"""
251251
dagger(x::Symbolic{AbstractOperator}) = SDagger{AbstractOperator}(x)
252252
dagger(x::SScaled) = conj(x.coeff)*dagger(x.obj)
@@ -491,7 +491,7 @@ Base.show(io::IO, x::SExpOperator) = print(io, "exp($(x.op))")
491491
"""
492492
exp(x::Symbolic{AbstractOperator})
493493
494-
Symbolic inverse of an operator. See also [`SExpOperator`](@ref).
494+
Symbolic exponential of an operator. See also [`SExpOperator`](@ref).
495495
"""
496496
exp(x::Symbolic{AbstractOperator}) = SExpOperator(x)
497497

src/QSymbolicsBase/literal_objects.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ SOperator(name) = SOperator(name, qubit_basis)
6666
"""
6767
@op(name, basis=SpinBasis(1//2))
6868
69-
Define a symbolic ket of type `SOperator`. By default, the defined basis is the spin-1/2 basis.
69+
Define a symbolic operator of type `SOperator`. By default, the defined basis is the spin-1/2 basis.
7070
7171
```jldoctest
7272
julia> @op A

src/QSymbolicsBase/rules.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ The defined rewriters for simplification are the following objects:
131131
- `qsimplify_pauli`
132132
- `qsimplify_commutator`
133133
- `qsimplify_anticommutator`
134+
- `qsimplify_fock`
134135
135136
```jldoctest
136137
julia> qsimplify(σʸ*commutator(σˣ*σᶻ, σᶻ))

0 commit comments

Comments
 (0)