Skip to content

Commit 3773c03

Browse files
Resolving issue related to QuantumOpticsBase. (#49)
1 parent b3be671 commit 3773c03

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# News
22

3-
## v0.3.9 - 2025-04-03
3+
## v0.3.9 - 2025-04-20
44

5+
- Improvements to implementation of `entropy_vn`.
56
- Deprecate `equal_bases`.
67
- Add `GabsRepr` type for representations in Gabs.
78

src/metrics.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ wherein it is understood that ``0 \\log(0) \\equiv 0``.
1010
Consult specific implementation for function arguments and logarithmic basis.
1111
"""
1212
function entropy_vn end
13-
13+
# avoids causing a breaking change in QuantumOpticsBase.jl
14+
entropy_vn(::StateVector; kwargs...) = 0
1415
"""
1516
Calculate the joint fidelity of two density operators, defined as
1617

0 commit comments

Comments
 (0)