Skip to content

Commit

Permalink
fix test GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Sep 23, 2024
1 parent 8712e3f commit eef60eb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_quantum_info_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,14 +255,6 @@ def test_fidelity_and_infidelity_and_bures(backend, check_hermitian):
atol=PRECISION_TOL,
)

state = random_unitary(4, backend=backend)
target = random_unitary(4, backend=backend)
if backend.__class__.__name__ in ["CupyBackend", "CuQuantumBackend"]:
with pytest.raises(NotImplementedError):
test = fidelity(state, target, check_hermitian=True, backend=backend)
else:
test = fidelity(state, target, check_hermitian=True, backend=backend)


@pytest.mark.parametrize("seed", [10])
def test_process_fidelity_and_infidelity(backend, seed):
Expand Down

0 comments on commit eef60eb

Please sign in to comment.