-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create new reno for 1.2 instead of modifying the 1.1 one.
- Loading branch information
Showing
2 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
releasenotes/notes/use-target-in-generate-preset-pm-5215e00d22d0205c.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
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. |
17 changes: 5 additions & 12 deletions
17
releasenotes/notes/use-target-in-transpile-7c04b14549a11f40.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The :func:`.generate_preset_pass_manager` (and by extension, :func:`.transpile`) | ||
function has been upgraded to, in most cases, | ||
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. | ||
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. | ||
The :func:`.transpile` function has been upgraded to internally convert | ||
`backend` inputs of type :class:`.BackendV1` to :class:`.BackendV2`, | ||
which allows the transpilation pipeline to now access the backend | ||
constraints through a :class:`.Target`. This change does not require any | ||
user action. |