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
I'm producing a zx.Circuit, and as qualtran natively supports states and effects, it would be very useful to have atomic zx gates that can represent these. I see that InitAncilla and PostSelect are there, but they add a Z spider, i.e. $\ket+$ and $\bra+$ respectively.
Could they be extended with flags to select the basis and basis state (i.e. one of $\ket0, \ket1, \ket+, \ket-$)? Or is there a more direct way to add states and effects?
The text was updated successfully, but these errors were encountered:
Hi! I am currently implementing a lowering from Qualtran to pyzx (quantumlib/Qualtran#1550).
I'm producing a$\ket+$ and $\bra+$ respectively.
zx.Circuit
, and as qualtran natively supports states and effects, it would be very useful to have atomic zx gates that can represent these. I see thatInitAncilla
andPostSelect
are there, but they add aZ
spider, i.e.Could they be extended with flags to select the basis and basis state (i.e. one of$\ket0, \ket1, \ket+, \ket-$ )? Or is there a more direct way to add states and effects?
The text was updated successfully, but these errors were encountered: