CX Gate (CNOT) and Entanglement

qc/gates qc/entanglement

Two-qubit gate: flips the target qubit iff the control qubit is |1⟩. When the control is in superposition, the two qubits become entangled — their measurement outcomes become perfectly correlated with no classical explanation.

This is the mechanism behind Bell States and GHZ States.

CZ — the symmetric sibling

CZ is the native two-qubit gate on IBM’s Heron devices (see Backend Properties) — it applies a phase only when both qubits are , which makes it symmetric under swapping the two qubits (unlike CX, which clearly distinguishes control from target). CX and CZ are interconvertible with single-qubit gates (), which is why the Error Mitigation section’s Ising circuits can build everything from CZ alone.

Self-Check

  • Could you explain CNOT to someone who’s never heard of it, including why it needs a “control” and a “target”?
  • Why does entanglement only happen when the control qubit is in superposition, not when it’s in a definite state?
  • Why are CX gates usually the bottleneck for Circuit Depth?
  • Why is CZ symmetric under swapping its two qubits, but CX isn’t?