Swaps

The examples below can be seen as implementations of the two styles of multi-hop swapping, which is available on Algebra. The examples below are not a ready-to-use code, and are implemented in the most simple manner possible, just so it’s easier for you to learn.