-
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.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
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,8 +1,8 @@ | ||
--- | ||
upgrade: | ||
- | | ||
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. | ||
The :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` to the pass manager. | ||
This change does not require any user action. |