-
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
add warning for default language #502
Conversation
"The circuit is currently submitted as QASM by default. \ | ||
The default is going to change. If you want to continue to use QASM \ | ||
please add `language=Language.QASM` to the process_circuits function \ | ||
to ensure the expected behavior. If you want to try QIR, please add \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure "expected behavior" is the right thing to say here: the behaviour should be indistinguishable, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was not really sure what to say, but there are some differences.
The main point are, that QIR can handle conditionals more efficient, but it might be hitting the register limit earlier.
Co-authored-by: Alec Edgington <54802828+cqc-alec@users.noreply.github.com>
Co-authored-by: Alec Edgington <54802828+cqc-alec@users.noreply.github.com>
Thank you for the suggestions! |
Description
Add warning when using process_circuit without language argument and fixes #496
Checklist