Here, a,b, and c are integers between 0 and n.
- SWAP gate:
SW (a, b); or SW (a b);
- Toffoli gate with the control bits a and b:
Tf (a b, c);
- Toffoli gate with the control bits b and c:
Tf (a, b c);
- Fredkin gate with the SWAPped bits b and c:
Fr (a, b c);
- Fredkin gate with the SWAPped bits a and b:
Fr (a b, c);
root
2004-06-15