Skip to content
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

declarations of type 'uint' are not supported #10

Open
jwoehr opened this issue Mar 17, 2023 · 3 comments
Open

declarations of type 'uint' are not supported #10

jwoehr opened this issue Mar 17, 2023 · 3 comments

Comments

@jwoehr
Copy link

jwoehr commented Mar 17, 2023

The openqasm example adder.qasm fails to import with the error:
qiskit_qasm3_import.exceptions.ConversionError: 24,0: declarations of type 'uint' are not supported

@jakelishman
Copy link
Member

Yeah, it's kind of deliberate at the moment (hence the error message) - Terra doesn't have support for representing any sort of non-const uint runtime value, so I had the importer raise errors.

Would it be better if I made the messages say "... because Terra cannot represent them"?

@jwoehr
Copy link
Author

jwoehr commented Mar 18, 2023

Eh, just wanted to know

@jwoehr
Copy link
Author

jwoehr commented Mar 18, 2023

Thanks @jakelishman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants