-
Notifications
You must be signed in to change notification settings - Fork 2
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
UINTMAX
is hard-coded as 2^32 - 1
#165
Comments
UINTMAX
is hard-coded as $2^{32} - 1$, but if we have non-32-bit registers we'd want a different value. In pytket's QASM converters there is a maxwidth
parameter that can be used to set this value (defaulting to 32). Could something similar be done here?UINTMAX
is hard-coded as $2^{32} - 1$
UINTMAX
is hard-coded as $2^{32} - 1$UINTMAX
is hard-coded as 2^32 - 1
Hi @cqc-alec, is it possible to obtain the I don't currently see a way to remove this hard coded value without being able to uniformly access it for all programs. In any case, for QASM programs the value is correct. |
No it's not possible to obtain from a pytket |
In that case, I will let the value as is. We can come back to it when the backend changes. |
Reopening to make maxwidth a parameter to pytket-phir as discussed. |
Originally posted by @cqc-alec in #162 (comment)
The text was updated successfully, but these errors were encountered: