Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
araujoms committed Jun 11, 2024
1 parent 8f2116b commit 055c04e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/partial_tra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ partial_trace(X::AbstractMatrix, remove::Integer, dims::Vector{<:Integer}) = par
export partial_trace

"""
partial_trasnpose(X::AbstractMatrix, transp::Vector, dims::Vector)
partial_transpose(X::AbstractMatrix, transp::Vector, dims::Vector)
Takes the partial transpose of matrix `X` with subsystem dimensions `dims` on the subsystems in `transp`.
"""
Expand Down Expand Up @@ -151,9 +151,9 @@ function partial_transpose(X::AbstractMatrix{T}, transp::Vector{<:Integer}, dims
return Y
end
"""
partial_trasnpose(X::AbstractMatrix, transp::Vector, dims::Vector)
partial_transpose(X::AbstractMatrix, transp::Vector, dims::Vector)
Takes the partial transpose of matrix `X` with subsystem dimensions `dims` on the subsystem `transp`.
"""
partial_transpose(X::AbstractMatrix, transp::Integer, dims::Vector{<:Integer}) = partial_transpose(X, [transp], dims)
export partial_transpose
export partial_transpose

0 comments on commit 055c04e

Please sign in to comment.