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
It is assumed there is some mechanism for automatically daggering, quantum controlling or powering (repeating) unitary subroutines. This may be higher order, with blocks. See #158#361 etc.
Users should also be able to specify specialist implementations of these.
I propose using dunder methods for this:
@guppy_unitaryclassMyOracle[N: int]:
param: int# can be parametric instances__impl__(self, q: array[qubit, N]):
...
__control__(self. q: array[qubit, N], ctrl: qubit):
...
# dagger and power are still default
The text was updated successfully, but these errors were encountered:
It is assumed there is some mechanism for automatically daggering, quantum controlling or powering (repeating) unitary subroutines. This may be higher order,
with
blocks. See #158 #361 etc.Users should also be able to specify specialist implementations of these.
I propose using dunder methods for this:
The text was updated successfully, but these errors were encountered: