qiskit/releasenotes/notes/0.22/fix-qasm2-identity-as-unita...

8 lines
308 B
YAML

---
fixes:
- |
The OpenQASM 2 exporter (:meth:`.QuantumCircuit.qasm`) will now correctly
define the qubit parameters for :class:`~.library.UnitaryGate` operations that do
not affect all the qubits they are defined over.
Fixed `#8224 <https://github.com/Qiskit/qiskit-terra/issues/8224>`__.