Site Tools


quantum-gate-two-qubit

Table of Contents

Two-qubit gates

Two-qubit gates are unitary operations that act on a pair of qubits. They are represented by unitary matrices and form the Lie group . Unlike single-qubit gates, which only rotate individual qubits on their own Bloch spheres, two-qubit gates can create entanglement between qubits, which is what makes a quantum computer more than a collection of independent classical bits.

A two-qubit gate is applied to a joint state to produce . Two-qubit gates compose like any other gate (matrix product), and combined with arbitrary single-qubit gates they form a universal gate set: any -qubit unitary can be built from single-qubit rotations plus one entangling two-qubit gate, typically CNOT or CZ.

Not every two-qubit gate entangles. A gate that factors as for single-qubit unitaries acts independently on each qubit and creates no correlation. The gates of interest here, CX, CZ, SWAP, and the parametric // family, are exactly the ones that don't factor this way.

List of gates

Matrix representations

Controlled gates (control on qubit 1, target on qubit 2):

SWAP family:

Parametric Ising-coupling gates (angle ):

Note: , and up to single-qubit phases.

Group structure

Two-qubit gates form (dimension 15); the local subgroup has dimension 6. The entangling content of a gate, the part that can't be absorbed into surrounding single-qubit gates, lives in the remaining 9-dimensional quotient .

has no Bloch-sphere-like picture. Instead its entangling content is captured by a small set of local invariants, unchanged under pre/post-composition with local gates, and reduces to just three numbers.

KAK decomposition

The intuition: any two-qubit gate can be sorted into “local dressing”, single-qubit rotations that don't cost an entangling operation on hardware, wrapped around one irreducible entangling core. KAK decomposition makes this split explicit. Any factors as local gates sandwiching one canonical entangling gate , where are single-qubit unitaries, local by construction:

This is the Cartan KAK decomposition of : all entangling content is isolated in , since the entangle nothing.

The triples range over the Weyl chamber; gates related by local operations map to the same point. CX, CZ, and iSWAP sit at distinct points; SWAP sits at the corner of maximal entanglement. This also bounds circuit cost: any two-qubit unitary needs at most 3 CNOTs, an entangling one at least 1.

Uses

  • Entanglement generation: Bell pairs, GHZ states, correlated-qubit protocols
  • Variational algorithms: VQE and QAOA alternate single-qubit rotations with entangling layers
  • Error correction: CX/CZ entangle data qubits with ancillas to measure stabilizers
  • Circuit synthesis: KAK decomposition is how compilers target native gates
  • State transfer: SWAP moves information between non-adjacent qubits

Implementation

  • Superconducting: CZ is usually native (~20–60 ns, tunable coupler); CX is synthesized from CZ + Hadamards; fidelity 99–99.9%
  • Trapped ions: native Mølmer-Sørensen gate is effectively (~10–200 μs); CX/CZ synthesized from it; fidelity 99.9%+
  • Photonic: deterministic gates need weak optical nonlinearity, so CZ is often probabilistic/measurement-induced; fidelity limited by photon loss

CX is rarely the physically native gate; it's a compiler target synthesized from whatever the hardware actually implements (usually CZ or an -type coupling).

Relations

  • CX, CY, CZ: the controlled-Pauli family, interconvertible via single-qubit basis changes
  • SWAP, iSWAP: exchange-type gates, at extremal points of the Weyl chamber
  • XX, YY, ZZ: parametric Ising-coupling gates, the native form on many platforms
  • Single-qubit gates: plus one entangling two-qubit gate, form a universal gate set
  • Clifford gates: CX, CY, CZ, SWAP, iSWAP are two-qubit Cliffords
  • Three-qubit gates: built from two-qubit gates plus control logic
  • : group structure of two-qubit unitaries
  • Weyl chamber: geometric classification of two-qubit gates up to local equivalence
quantum-gate-two-qubit.md · Last modified: