-
Notifications
You must be signed in to change notification settings - Fork 13
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
Don't remove unused qubits in default compilation pass #116
Comments
This solution would mean we're rejecting valid Circuits that only need to call *The analogy I've been working with for removing wires is as with Routing for other algorithms, where we remove empty wires and add ancillas to find a good solution. I think this works around Dan's problems sufficiently - but can update it to just not remove empty wires if that is preferred* though I don't think this is a better solution. |
I thought the issue was that Dan wants to run the default compilation pass on circuits that contain blank wires and for the result to still contain blank wires. However I'm not sure that's a reasonable request. Maybe having |
Just to give my view as a user, there are a couple of themes which guide my requests:
I think maybe these both apply here? Many thanks for looking into this! |
This causes sometimes-surprising differences with other backends. To get around the problem of QASM insisting on contiguous zero-indexed registers, can we omit this step and relabel the qubits including the blank ones?
The text was updated successfully, but these errors were encountered: