Controlled-NOT gate (source code)

= Controlled-NOT gate
{wiki}

= CNOT gate
{c}
{synonym}

The controlled-NOT gate maps $|a,b\rangle$ to $|a,b\mathbin\oplus a\rangle$.