From 8e6837d7d3e5e194a608ad114e4662a8f2c258ee Mon Sep 17 00:00:00 2001 From: CalMacCQ <93673602+CalMacCQ@users.noreply.github.com> Date: Thu, 26 Oct 2023 12:07:27 +0100 Subject: [PATCH] add extra assert statement --- tests/backend_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/backend_test.py b/tests/backend_test.py index 3072b54a..100d98b5 100644 --- a/tests/backend_test.py +++ b/tests/backend_test.py @@ -1421,6 +1421,7 @@ def test_barriers_in_aer_simulators() -> None: backends = (state_backend, unitary_backend, shots_backend) for backend in backends: + assert OpType.Barrier in backend.backend_info.gate_set assert backend.valid_circuit(circ) state_result = state_backend.run_circuit(circ).get_state()