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
This tries to allocate a qubit calling Qubit(), and assumes that measure is destructive.
We do not currently have a qubit allocation method, and measure is Qubit -> (bool, Qubit).
If we want to keep this structure, we need a pair of quantum alloc/free functions.
The text was updated successfully, but these errors were encountered:
I'm trying to modify the
planqc
examples to work with the current runner.This is the original
rx
example (plus some imports and module definitions).This tries to allocate a qubit calling
Qubit()
, and assumes thatmeasure
is destructive.We do not currently have a qubit allocation method, and
measure
isQubit -> (bool, Qubit)
.If we want to keep this structure, we need a pair of quantum alloc/free functions.
The text was updated successfully, but these errors were encountered: