-
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
Circuit widths should be checked before compiling for backend #1949
Comments
Hi, I'm interested in taking on this issue. Just a few questions to clarify some things. It looks like with the 0.9 Qiskit release the new way to create your qobj will be with |
Hi @mstypulk, great! I would say wait until #2166 is merged, as it extensively touches the same files you would be working with. Yes, you should modify the Iniside this function, you have a list of Basically the |
Hi @ajavadia, I've been working on this, and just had a quick question. After the parsing is done, if the elements of the list of Would this be an acceptable way of doing this? |
@Matt-Stypulkoski sorry did not see this, but I think the way you have done it in the PR is right. If coupling_map is None, then this check is irrelevant and does not need to be done. |
What is the expected enhancement?
Since we allow fior different width circuits in compile / transpile the width of the circuits should be validated to fit on the backend that they are being compiled for BEFORE actually being compiled. This prevents compiling many circuits only to have an exception thrown because a later one is not compatible with the backend.
The text was updated successfully, but these errors were encountered: