Closed alhajri closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.84%. Comparing base (
5676a8a
) to head (6a13965
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The Von Neumann entropy function when return_spectrum=True returns -log(eigenvalues). However, if the state is pure, return_spectrum=True returned 1.0 which is the value of the eigenvalue, not the -log. The function is now changed to return 0.0 to be more consistent with the behavior of the function in the pure case.
Checklist: