Skip to content

Commit

Permalink
test: missing _get_engine instance in test
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Feb 21, 2024
1 parent 96fd929 commit 0d4bbbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_quantum_info_clifford.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def construct_clifford_backend(backend):
with pytest.raises(NotImplementedError):
clifford_backend = CliffordBackend(backend.name)
else:
backend = backend.name if backend.platform is None else backend.platform
return CliffordBackend(backend)
return CliffordBackend(_get_engine_name(backend))


@pytest.mark.parametrize("nqubits", [2, 10, 50, 100])
Expand Down

0 comments on commit 0d4bbbd

Please sign in to comment.