← 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
Takes2 qubitsWhat joins here

Takes a 2-qubit register and states no assumption about what is on it. That is the whole condition: anything returning 2 qubits can feed it.

16 entries meet this end. Named below.

Returns2 qubitsWhat joins here

Returns a 2-qubit register a next stage can take. This is the end that joins.

11 entries meet this end. Named below.

A unitary. The same register goes in and comes out, and this entry states no assumption about what is on it — which is what lets anything of the same width feed it. See all 29 →

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.