-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add transpile option to disable routing #4053
Comments
I gave an example in #3999, which you rightly pointed out won't work.
Instead, I think the correct way to this is actually:
This means assume all the characteristics of that device, just override its coupling map to be fully connected. |
Why |
I like |
Sorry just meant backend.num_qubits
How does raising early work with routing_method=‘none’? Seems like by choosing that option you are assuming responsibility, and don’t want errors.
… On Apr 1, 2020, at 11:48 AM, Luciano Bello ***@***.***> wrote:
I like routing_method='none'.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
If a user selects routing_method='none', we still have a coupling map so we can still run the equivalent of |
What is the expected enhancement?
In some contexts, users want to manually route their circuits. If a circuit is already routed, the default transpile levels will skip running the router, but a) this is not publicly documented and b) if a user makes a mistake in their routing, the routing stage will still run (and the user will likely not immediately notice their error).
#3999 added
routing_method
as a keyword argument totranspile
. We should add an argument likerouting_method='none'
to allow users to specify that the routing should not be run.The text was updated successfully, but these errors were encountered: