The CNOT Gate

The CNOT (controlled-NOT) gate is a reversible gate that maps a pair of bits x x and y y to x CNOT y = ( x , ( x + y ) mod 2 ) x\:\text{CNOT}\:y = \big(x,(x+y) \text{ mod}\: 2\big) . Find 1 CNOT 1 1\:\text{CNOT}\:1 .

(1,1) (0,1) (1,0) (0,0)

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Matt DeCross
Jan 19, 2016

( 1 + 1 ) mod 2 = 2 mod 2 = 0 (1+1) \text{ mod}\: 2 = 2 \text{ mod}\:2 = 0 , so 1 CNOT 1 = ( 1 , 0 ) 1\:\text{CNOT}\:1 = (1,0) .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...