Skip to content

Commit

Permalink
Fix cross-reference to SparseOperator which only exists in QOBase (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: David Plankensteiner <[email protected]>
  • Loading branch information
david-pl and david-pl authored Jan 26, 2024
1 parent 35e721b commit a3b09c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "QuantumInterface"
uuid = "5717a53b-5d69-4fa3-b976-0bf2f97ca1e5"
authors = ["QuantumInterface.jl contributors"]
version = "0.3.3"
version = "0.3.4"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
4 changes: 3 additions & 1 deletion src/sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"""
sparse(op::AbstractOperator)
Convert an arbitrary operator into a [`SparseOperator`](@ref).
Convert an arbitrary operator into a sparse one.
See also: QuantumOpticsBase.SparseOperator
"""
sparse(a::AbstractOperator) = throw(ArgumentError("Direct conversion from $(typeof(a)) not implemented. Use sparse(full(op)) from QuantumOptics instead."))

Expand Down

2 comments on commit a3b09c2

@david-pl
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/99639

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.4 -m "<description of version>" a3b09c203e12bd297dc44635edee60bbb1ce0da0
git push origin v0.3.4

Please sign in to comment.