Skip to content

Commit

Permalink
Fix entropy test (name and precision)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendesignolle committed Jul 4, 2024
1 parent a7aa9a4 commit b793eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/entropy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@test conditional_entropy(pAB) conditional_entropy(ℯ, pAB) / log(R(2))
rhoAB = Diagonal(vec(pAB'))
@test conditional_entropy(pAB) conditional_entropy(rhoAB, 2, [2, 3])
@test conditional_entropy(phiplus(), 2, [2, 2]) == -1
@test conditional_entropy(state_phiplus(), 2, [2, 2]) -1
ρ = random_state(Complex{R}, 6)
@test conditional_entropy(ρ, 2, [2, 3]) conditional_entropy(ℯ, ρ, 2, [2, 3]) / log(R(2))
@test conditional_entropy(ρ, [1, 2], [2, 3]) == 0
Expand Down

0 comments on commit b793eef

Please sign in to comment.