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
When initializing a qubit using SUse or SUseS, we can add the qubit to the context. However, what should be done when elaborating function parameters? For reference, this decision needs to be made in the curry function on line 115 of Elab.ml.
The text was updated successfully, but these errors were encountered:
I think while declaring the callable we may need to add the arguments to the context to be able to type check the body, but when we are done with the body, the local arguments/parameters will need to be removed from the context. This is similar to entering a smaller scope and exiting it.
When initializing a qubit using
SUse
orSUseS
, we can add the qubit to the context. However, what should be done when elaborating function parameters? For reference, this decision needs to be made in thecurry
function on line 115 ofElab.ml
.The text was updated successfully, but these errors were encountered: