← Atlas

Gates · Two-qubit gate

iSWAP gate

A two-qubit gate that swaps |01⟩ and |10⟩ while attaching a factor of i, arising naturally from XY-type physical couplings and native to several superconducting and photonic platforms.

Exact & formalUpdated

View frozen graph

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

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

Expected outcomes

  • |01⟩ → i|10⟩100%
  • |00⟩, |11⟩ unchanged100%
  • Steps1
  • Wires2
  • Qubits2
  • Depth1 gate
  • Generatorexp(iπ/4 (XX+YY))
  • Papers2

Quantum vs classical

Classical baseline

Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.

Quantum claim

The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.

How to compare

Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.

References

Exact & formal
  • Unitary / matrix equivalence
  • Direct mathematics
  • Peer-reviewed paper
Method
Compare the iSWAP matrix against exp(iπ(XX+YY)/4) and apply it to the four computational-basis states to check the exchange-with-phase pattern.
Result
Pass · iSWAP|01⟩ = i|10⟩, iSWAP|10⟩ = i|01⟩, and |00⟩, |11⟩ are fixed, matching the closed-form XY-interaction evolution exactly.
OpenQASM 3 standard gate set ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
iswaptwo qubithardware nativexy interaction

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