forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
transpile()
and generate_preset_pass_manager
to convert lo…
…ose input of constraints to a `Target` with `Target.from_configuration()` (Qiskit#12185) * Update transpile() to convert BackendV1 inputs to BackendV2 with BackendV2Converter * Rework use of instruction durations, move logic from transpile function to individual passes. * Convert loose constraints to target inside transpile. Cover edge cases where num_qubits and/or basis_gates is None. * Fix basis gates oversights, characterize errors in test_transpiler.py and comment out failing cases (temporary). * Fix pulse oversights * Add backend instructions to name mapping by default * Fix edge case 3: Add control flow to default basis gates * Add path for regular cases and path for edge cases that skips target construction. * Complete edge case handling, fix tests. * Update reno * Apply suggestion from Ray's code review Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com> * * Migrate full target-building capabilities from transpile to generate_preset_pass_manager. * Apply Matt's suggestions for custom mapping and control flow op names. * Extend docstring, fix typos. * Fix lint, update reno * Create new reno for 1.2 instead of modifying the 1.1 one. --------- Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
- Loading branch information
Showing
7 changed files
with
314 additions
and
118 deletions.
There are no files selected for viewing
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
Oops, something went wrong.