Skip to content

Commit a3b09c2

Browse files
authored
Fix cross-reference to SparseOperator which only exists in QOBase (#21)
Co-authored-by: David Plankensteiner <[email protected]>
1 parent 35e721b commit a3b09c2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "QuantumInterface"
22
uuid = "5717a53b-5d69-4fa3-b976-0bf2f97ca1e5"
33
authors = ["QuantumInterface.jl contributors"]
4-
version = "0.3.3"
4+
version = "0.3.4"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

src/sparse.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"""
66
sparse(op::AbstractOperator)
77
8-
Convert an arbitrary operator into a [`SparseOperator`](@ref).
8+
Convert an arbitrary operator into a sparse one.
9+
10+
See also: QuantumOpticsBase.SparseOperator
911
"""
1012
sparse(a::AbstractOperator) = throw(ArgumentError("Direct conversion from $(typeof(a)) not implemented. Use sparse(full(op)) from QuantumOptics instead."))
1113

0 commit comments

Comments
 (0)