Toffoli
The Toffoli gate, named after Tommaso Toffoli, is a three-qubit reversible gate commonly described as the controlled-controlled-not (CCNOT) gate. It maps the input state |a,b,c> to |a,b,c XOR (a AND b)>, meaning the third qubit (the target) is flipped only when both of the first two qubits (the controls) are in the state 1. All other basis states remain unchanged.
In classical reversible computing, the Toffoli gate is universal: any reversible Boolean function can be constructed
Applications of the Toffoli gate appear in quantum algorithms and circuits that require a conditional operation