qiskit/releasenotes/notes/1.2/use-target-in-generate-pres...

20 lines
1.0 KiB
YAML

---
features_transpiler:
- |
A new ``dt`` argument has been added to :func:`.generate_preset_pass_manager` to match
the set of arguments of :func:`.transpile`. This will allow for the internal conversion
of transpilation constraints to a :class:`.Target` representation.
upgrade_transpiler:
- |
The :func:`.generate_preset_pass_manager` function has been upgraded to, when possible,
internally convert transpiler constraints into a :class:`.Target` instance.
If a `backend` input of type :class:`.BackendV1` is provided, it will be
converted to :class:`.BackendV2` to expose its :class:`.Target`. This change does
not require any user action.
fixes:
- |
A series of input-handling inconsistencies between :func:`.transpile` and :func:`.generate_preset_pass_manager`
have been fixed. These inconsistencies would lead to different transpilation outputs for the same inputs,
or :func:`.generate_preset_pass_manager` failing for certain input combinations accepted by :func:`.transpile`.