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
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
iSWAP matters because it is often what the hardware gives you for free: an always-on or easily-pulsed XY coupling between two qubits generates iSWAP (or a family member) directly, making it a common native two-qubit gate rather than something compiled from CNOT.
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 →
Definition
in the basis — a SWAP gate with an extra factor of attached to the states it actually exchanges.
Action on basis states
Unlike plain SWAP, iSWAP entangles superposition inputs: (an eigenstate, only a phase), but , which is entangled even though the input was a product state.
Physical origin
is exactly the time evolution generated by the isotropic exchange interaction:
Schuch and Siewert (2003) analyze this family of gates and show that, unlike an Ising () coupling which needs single-qubit gates to reach a CNOT-equivalent, the interaction alone already yields an entangling gate — but reaching full CNOT-equivalence still needs single-qubit rotations layered around it, since and are only locally equivalent, not identical.
Key identities
- : two iSWAPs give minus the ordinary swap (the two accumulated factors of multiply to ).
- -like phase structure: iSWAP and CNOT are related by a "magic basis" change and are both maximally entangling, but not identical — a combined with single-qubit gates is itself sometimes used as a native entangling gate on hardware where a full iSWAP pulse is harder to calibrate than a half-angle one.
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 →
- Qubits
- 2
- Depth
- 1 gate
- Generator
- exp(iπ/4 (XX+YY))
- Matrix
- swap block with i off-diagonal entries
- Fixed points
- |00⟩, |11⟩
- Relation to SWAP
- iSWAP² = -SWAP
- Gate family
- Non-Clifford, maximally entangling
iSWAPon q[0], q[1]
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.
Nobody has reviewed this record for gaps yet.
OPENQASM 3.0;
include "stdgates.inc";
qubit[2] q;
x q[0];
iswap q[0], q[1];Related entries
- SWAP gate
Gates
- Controlled-Z gate
Gates
- Superdense coding circuit
Algorithms
References
- Natural two-qubit gate for quantum computation using the XY interaction
Norbert Schuch, Jens Siewert · 2002
Analyzes the iSWAP-family gate that arises naturally from an XY-type two-qubit interaction, the physical basis gate on several superconducting platforms.
- Quantum Computation and Quantum Information: 10th Anniversary Edition
Michael A. Nielsen and Isaac L. Chuang · 2010
Standard reference for single- and multi-qubit gate matrices, Euler-angle decomposition, and universal gate sets.