quantum gate directory

Gates Groups SDKs GitHub
$R_{zx}$

rotations· 2 qubits ·1 parameter

$zx$ Rotation

Rotation generated by the $Z \otimes X$ interaction, the native cross-resonance interaction of fixed-frequency superconducting qubits.

Open in Quirk ↗ with $\theta = 2\pi t$

The $zx$ rotation is generated by the two-body interaction $Z \otimes X$:

$$ R_{zx}(\theta) = \exp\left(-i \frac{\theta}{2} Z \otimes X\right) $$

In the computational basis:

$$ \begin{bmatrix} \cos\tfrac{\theta}{2} & -i\sin\tfrac{\theta}{2} & 0 & 0 \\ -i\sin\tfrac{\theta}{2} & \cos\tfrac{\theta}{2} & 0 & 0 \\ 0 & 0 & \cos\tfrac{\theta}{2} & i\sin\tfrac{\theta}{2} \\ 0 & 0 & i\sin\tfrac{\theta}{2} & \cos\tfrac{\theta}{2} \end{bmatrix} $$

The block structure makes the action clear: the target is rotated by $R_x(\theta)$ when the first qubit is $|0\rangle$ and by $R_x(-\theta)$ when it is $|1\rangle$.

Properties

  • Unlike its cousins $R_{xx}$, $R_{yy}$, and $R_{zz}$, the generator is asymmetric, so the two qubits play different roles.
  • Related to $R_{zz}$ by a basis change on the target: $R_{zx}(\theta) = (I \otimes H) \, R_{zz}(\theta) \, (I \otimes H)$.
  • A single $R_{zx}(\pi/2)$ plus one-qubit gates yields a CNOT.

Usage

  • The cross-resonance interaction is what an all-microwave two-qubit gate on fixed-frequency transmons actually implements; IBM's native ECR gate is two echoed $R_{zx}(\pi/4)$ half-pulses with an $X$ on the control in between, which cancels the always-on error terms.
  • Direct $R_{zx}(\theta)$ pulses enable shorter circuits for quantum simulation than compiling through CNOTs.

Also written

  • $R_{zx}(\theta)$
  • $\mathrm{ZX}(\theta)$
  • $\mathrm{CR}(\theta)$

Data

  • This gate as JSON
  • Edit this page on GitHub

The unitary, drawn

Every entry of the matrix as a disc. The area is the transition probability $|U_{jk}|^2$; the colour and the hand are the phase. Rows are outputs $\langle j|$, columns inputs $|k\rangle$, in the computational basis. Each parameter has a slider; play runs through the family along the path of the Quirk link ($\theta = 2\pi t$).

Phase

Disc area $= |U_{jk}|^2$. Hover an entry for its value, or take the JSON.

Weyl chamber

Where this gate sits among all two-qubit gates, up to single-qubit rotations before and after.

  • this gate
  • other gates
  • perfect entanglers

Coordinates:

not entangling entangling perfect entangler

$(a, b, c)$ means the gate equals $e^{i(a\,XX + b\,YY + c\,ZZ)}$ up to single-qubit gates, reduced to the chamber $\pi/4 \ge a \ge b \ge |c|$ (the convention of the canonical gate, Qiskit and Cirq). The $a = \pi/4$ face is a mirror: $(\pi/4, b, c)$ and $(\pi/4, b, -c)$ are the same gate. Drag the figure to rotate it, double-click to reset.

SDK support

How to call this gate in each framework. Hover a ⓘ for a note; the support matrix compares every gate at once.

SDKName
Qiskit qiskit.circuit.library.RZXGate
PennyLane — ⓘ
Cirq — ⓘ
Q# — ⓘ
PyQuil —
Braket —
BQSKit —
Qibo qibo.gates.RZX
pytket — ⓘ
Stim —
OpenQASM —

← All gates

gate.directory made by nts $\oplus$ rdls