Skip to content

Commit

Permalink
Remove general p-norm option, always use 2 norm for operators.
Browse files Browse the repository at this point in the history
  • Loading branch information
bastikr committed Mar 24, 2017
1 parent c900bab commit 40550f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operators_dense.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ function Base.expm(op::DenseOperator)
end

"""
p-norm of given operator.
Norm of given operator.
"""
Base.norm(op::DenseOperator, p) = norm(op.data, p)
Base.norm(op::DenseOperator) = norm(op.data)


# Partial trace for dense operators.
Expand Down

0 comments on commit 40550f4

Please sign in to comment.