← Atlas

Gates · Two-qubit gate

ECR (echoed cross-resonance) gate

The maximally entangling two-qubit gate native to IBM's newer superconducting processors, built from an 'echoed' pair of opposite-sign cross-resonance pulses around a control-qubit X flip, and locally equivalent to CX.

Exact & formalUpdated

View frozen graph

q[0]q[1]Step 1 of 1 · ECR · on q[0], q[1]ECR

1 step across 2 wires. Hover a step, or press play to go through them in order.

Expected outcomes

  • P(|10⟩) from |00⟩50%
  • P(|11⟩) from |00⟩50%
  • Steps1
  • Wires2
  • Qubits2
  • Depth1 native pulse (2× RZX + 1× X in the echo decomposition)
  • ConventionQiskit ECRGate
  • Papers2

Definition (Qiskit convention)

ECR=12(001i00i11−i00−i100)\mathrm{ECR} = \frac{1}{\sqrt2}\begin{pmatrix} 0&0&1&i\\0&0&i&1\\1&-i&0&0\\-i&1&0&0 \end{pmatrix}

using Qiskit's ECRGate convention, with qubit 0 as the "control" side of the underlying RZX pulses. This matrix is maximally entangling and locally equivalent to CX\mathrm{CX} (same Weyl-chamber point), but is not identical to it.

Action on basis states

ECR∣00⟩=12(∣10⟩−i∣11⟩),ECR∣10⟩=12(∣00⟩+i∣01⟩)\mathrm{ECR}|00\rangle = \tfrac{1}{\sqrt2}(|10\rangle - i|11\rangle), \qquad \mathrm{ECR}|10\rangle = \tfrac{1}{\sqrt2}(|00\rangle + i|01\rangle)

Every computational-basis input is mapped to an equal-weight superposition of two basis states on the other qubit's block, confirming maximal entangling power from a product-state input.

Decomposition

ECR=RZX(−π/4)⋅(X⊗I)⋅RZX(π/4)\mathrm{ECR} = \mathrm{RZX}(-\pi/4)\cdot (X\otimes I) \cdot \mathrm{RZX}(\pi/4)

RZX(θ)=e−iθ(Z⊗X)/2\mathrm{RZX}(\theta) = e^{-i\theta (Z\otimes X)/2} is itself a native two-qubit rotation driven directly by the cross-resonance microwave tone — it is not decomposed further here, since on IBM hardware it is a calibrated pulse, not a compiled circuit. Multiplying the three 4×44\times4 matrices in circuit order (RZX(π/4), then an X flip on qubit 0, then RZX(-π/4)) reproduces the ECR matrix above exactly, entry by entry.

Key identities

  • ECR\mathrm{ECR} is a Clifford gate per Qiskit's ECRGate documentation, since it is locally equivalent to CX\mathrm{CX}; standard Clifford-simulator and transpiler passes treat it as such.
  • The "echo" structure — RZX(−π/4)\mathrm{RZX}(-\pi/4) and RZX(π/4)\mathrm{RZX}(\pi/4) with an intervening XX on the control — is the standard technique (Sheldon et al. 2016) for canceling static ZZZZ and IXIX/IYIY crosstalk terms that a bare cross-resonance pulse would otherwise leave in the effective Hamiltonian.
  • RZX\mathrm{RZX} is not part of OpenQASM 3's core stdgates.inc; it is exposed as a hardware-native gate by IBM's backend dialect, the same status ECR itself has.
  • Because ECR is locally equivalent to CX\mathrm{CX}, any circuit expressed with CX\mathrm{CX} plus single-qubit gates can be retargeted to ECR plus single-qubit gates by a transpiler, which is exactly how Qiskit compiles CX-based circuits for ECR-native IBM backends.

References

  • Procedure for systematically tuning up crosstalk in the cross resonance gate

    Sarah Sheldon, Easwar Magesan, Jerry M. Chow, Jay M. Gambetta · 2016

    Introduces the echoed cross-resonance pulse sequence RZX(π/4)–X–RZX(−π/4) that the ECR gate implements, canceling unwanted interaction terms via the X echo.

  • Efficient Z-Gates for Quantum Computing

    David C. McKay, Christopher J. Wood, Sarah Sheldon, Jerry M. Chow, Jay M. Gambetta · 2016

    Establishes the virtual-Z / calibrated-pulse framework that IBM's native two-qubit gates, including the cross-resonance family, are compiled within.

Exact & formal
  • Unitary / matrix equivalence
  • Direct mathematics
  • Peer-reviewed paper
Method
Multiply the 4×4 matrices for RZX(π/4), a control-qubit X flip, and RZX(-π/4) in circuit order and compare the product entry-by-entry against Qiskit's published ECRGate matrix.
Result
Pass · the product matches 1/√2·[[0,0,1,i],[0,0,i,1],[1,-i,0,0],[-i,1,0,0]] exactly in all 16 entries.
Qiskit ECRGate documentation ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
ecrcross resonancehardware nativetwo qubitibm

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.