This class represents a generic SWAP gate, also called Fredkin gate
bits
Integer vector of length 2. First two bits are the control bits, third the target bit.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.