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?