Controlled NOT on Computational Basis States

Controlled NOT keeps its control label and flips the target label exactly when the control is one under the chosen qubit ordering.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace two inputs
  2. Test the full truth table

Trace two inputs

With the first qubit as control, 10 becomes 11. Input 01 stays 01. This is a controlled application of the X gate.

Test the full truth table

A mistaken reversal of control and target can agree on 00 but disagree on the other inputs. Check the two asymmetric labels and both equal labels. See two-qubit basis indexing.[1][2]

References

  1. John Watrous, The Theory of Quantum Information ↩
  2. John Watrous, IBM Quantum Learning: Basics of Quantum Information ↩