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
If you supply a Qubit to the QGL2 compiler where the qgl2main wants a QRegister, it should complain or convert it. Currently it appears to work until trying to run the compiled program.
It ends up with something created using Qubit() which is a new thing, not the one from the ChannelLibrary you want
Did type checking get disabled?
The text was updated successfully, but these errors were encountered:
If QGL2 recognized it had been given a real qubit, could it use it as is, rather than trying to create a new one? IE, could we make it work if you pass a real qubit?
If you supply a Qubit to the QGL2 compiler where the
qgl2main
wants aQRegister
, it should complain or convert it. Currently it appears to work until trying to run the compiled program.It ends up with something created using
Qubit()
which is a new thing, not the one from theChannelLibrary
you wantThe text was updated successfully, but these errors were encountered: