You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After compiling and then submitting a circuit having a classical register exceeding 64 bits, we get this error:
ValueError: classical registers must not have more than 64 bits, you could try to set cut_pytket_register=True in the conversion
This is coming from pytket-qir, and isn't very helpful to the user since they can't set that parameter. (Even if they could, it would only split up the temporary registers, not the ones in the original circuit.)
We should catch this case earlier and suggest a workaround such as using Circuit.rename_units().