Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 18, 2024
1 parent cbda593 commit 577043b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_quantum_info_entropies.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,7 @@ def test_mutual_information(backend, base, check_hermitian):
state_b = random_density_matrix(4, backend=backend)
state = backend.np.kron(state_a, state_b)

assert (
mutual_information(state, [0, 1], base, check_hermitian, backend) == 0.0
)
assert mutual_information(state, [0, 1], base, check_hermitian, backend) == 0.0


@pytest.mark.parametrize("base", [2, 10, np.e, 5])
Expand Down

0 comments on commit 577043b

Please sign in to comment.