Toffoli gate(CCNOT gate)
Toffoli gate(CCNOT gate)
A CCNot gate is a universal reversible logic gate. It works on 3 bits, if the first two bits are one then the third bit is inverted
Keeping first two as input it can be used as an AND gate
A CCNot gate is a universal reversible logic gate. It works on 3 bits, if the first two bits are one then the third bit is inverted
Keeping first two as input it can be used as an AND gate