document and warn that identityoperator(::DenseOperator)
returns an (inefficient) DenseOperator
type
#118
Labels
identityoperator(::DenseOperator)
returns an (inefficient) DenseOperator
type
#118
And that it is better to use
identityoperator(basis(::DenseOperator))
.Maybe down the line consider changing that convention. The reason of the convention is that we are mimicking
Base.one
, but that leads to inefficiencies.Discussed more at #116 (comment)
The text was updated successfully, but these errors were encountered: