RC3X gate
The simplified 3-controlled Toffoli gate.
The simplified Toffoli gate implements the Toffoli gate up to relative phases. Note that the simplified Toffoli is not equivalent to the Toffoli, but can be used in places where the Toffoli gate is uncomputed again.
Composer reference | OpenQASM reference | Q-sphere | Note about q-sphere representations |
---|
| rc3x a, b, c, d;
| | The q-sphere representation shows the state after the gate operates on the initial equal superposition state where is the number of qubits needed to support the gate. |