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 Would Be Nice to define gates by some circuit decomposition. This is different than DEFCIRCUIT since those are simply for expansion and not meant to represent "Gates".
DEFGATE CZ p q AS CIRCUIT:
H p
CNOT p q
H p
This is not a DEFCIRCUIT! This is the expression of a unitary operation (which is not expanded!) as a sequence of gates.
Concrete qubit indices shouldn't be allowed.
The text was updated successfully, but these errors were encountered:
It Would Be Nice to define gates by some circuit decomposition. This is different than DEFCIRCUIT since those are simply for expansion and not meant to represent "Gates".
This is not a
DEFCIRCUIT
! This is the expression of a unitary operation (which is not expanded!) as a sequence of gates.Concrete qubit indices shouldn't be allowed.
The text was updated successfully, but these errors were encountered: