qiskit/releasenotes/notes/0.23/target-aware-unroll-custom-...

9 lines
390 B
YAML

---
features:
- |
The :class:`~.UnrollCustomDefinitions` transpiler pass has a new keyword
argument, ``target``, on its constructor. This argument can be used to
specify a :class:`~.Target` object that represents the compilation target.
If used it supersedes the ``basis_gates`` argument to determine if an
instruction in the circuit is present on the target backend.