Skip to content

Commit

Permalink
add extra assert statement
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Oct 26, 2023
1 parent 83a9726 commit 8e6837d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8e6837d

Please sign in to comment.