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
You can implement this gate as Circuit(2).CZ(0, 1).SWAP(0, 1) or Circuit(2).SWAP(0, 1).CZ(0, 1).
Currently I'm handling the FSWAP gate as a CircBox containing a CZ and SWAP gate. Maybe we should add it as a pytket OpType for convienicence?
I thought previously that you could implement FSWAP as an OpType.FSim gate for some appropriate choice of angles. However it doesn't work out as nicely as I thought.
(Low priority)
The text was updated successfully, but these errors were encountered:
The Fermionic SWAP gate has the unitary matrix
You can implement this gate as
Circuit(2).CZ(0, 1).SWAP(0, 1)
orCircuit(2).SWAP(0, 1).CZ(0, 1)
.Currently I'm handling the FSWAP gate as a
CircBox
containing a CZ and SWAP gate. Maybe we should add it as a pytketOpType
for convienicence?I thought previously that you could implement FSWAP as an
OpType.FSim
gate for some appropriate choice of angles. However it doesn't work out as nicely as I thought.(Low priority)
The text was updated successfully, but these errors were encountered: