Skip to content

Commit

Permalink
add barriers into gateset for Aer sims
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Oct 26, 2023
1 parent c9b3f32 commit 83a9726
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytket/extensions/qiskit/backends/aer.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ def _tket_gate_set_from_qiskit_backend(
for gate_str in config.basis_gates
if gate_str in _gate_str_2_optype
}

gate_set.add(OpType.Barrier)

if "unitary" in config.basis_gates:
gate_set.add(OpType.Unitary1qBox)
gate_set.add(OpType.Unitary2qBox)
Expand Down

0 comments on commit 83a9726

Please sign in to comment.