qiskit/releasenotes/notes/0.23/target-aware-optimize-1q-de...

9 lines
390 B
YAML

---
features:
- |
The :class:`~.Optimize1qGatesDecomposition` 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 superscedes the ``basis`` argument to determine if an
instruction in the circuit is present on the target backend.