qiskit/releasenotes/notes/1.0/fix-barrier-arg-list-check-...

8 lines
294 B
YAML

---
fixes:
- |
Fixed an issue with the :class:`.Barrier` class. When adding a
:class:`.Barrier` instance to a :class:`.QuantumCircuit` with the
:meth:`.QuantumCircuit.append` method, previously there was no validation
that the size of the barrier matched the qargs specified.