We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d8b68 commit df75458Copy full SHA for df75458
test/core-test/entropy_and_metric.jl
@@ -20,7 +20,7 @@
20
# quantum relative entropy
21
@test entropy_relative(ρ1, ψ) == Inf
22
@test entropy_relative(ρ1, rand_dm(10, rank = 9)) == Inf
23
- @test entropy_relative(ψ, ψ) ≈ 0
+ @test entropy_relative(ψ, ψ) + 1 ≈ 1
24
@test entropy_relative(λ * ρ1 + (1 - λ) * ρ2, λ * σ1 + (1 - λ) * σ2) <=
25
λ * entropy_relative(ρ1, σ1) + (1 - λ) * entropy_relative(ρ2, σ2) # joint convexity
26
0 commit comments