Reference API
Notebooks
Extra
Bases: discopy.frobenius.Swap, Box
discopy.frobenius.Swap
Box
A tensor swap is a frobenius swap in a tensor diagram.
left (Dim) – The type on the top left and bottom right.
right (Dim) – The type on the top right and bottom left.