Site Tools


quantum-gate-cx

Table of Contents

CX gate (Controlled-NOT)

CX gate (or CNOT gate, Controlled-NOT gate) is the most common two-qubit gate: flips the target qubit if the control qubit is . Essential for creating entanglement.

Matrix (control on qubit 0, target on qubit 1):

Action on basis states:

Bell states

CX creates Bell (maximally entangled) states:

Properties

  • Self-inverse:
  • Alternative notations: CNOT and CX are the same (CX = controlled X)
  • Control/target interchangeable (with Hadamards):

Uses

  • Entanglement: primary entangling gate on most quantum computers
  • Parity: CX chains measure parity (XOR of qubits)
  • Quantum algorithms: Deutsch-Jozsa, Grover, VQE, QAOA
  • Error correction: enables quantum information distribution via entanglement

Decomposition

  • From SWAPs: (three CXs)
  • Performance note: minimize CX count in circuit design (bottleneck for depth and fidelity)

Implementation

  • Superconducting qubits: parametric interaction (flux pulse) or resonant coupling; gate time ~20–100 ns; fidelity 98–99.5%
  • Trapped ions: Mølmer-Sørensen or similar entangling laser pulses; gate time ~1–10 μs; fidelity 99.5–99.9%
  • Photonic: challenging; probabilistic schemes or nonlinear media; lower fidelity
quantum-gate-cx.md · Last modified: