- Fundamentals
iSWAP Gate
A two-qubit entangling gate that swaps the states of two qubits while applying a phase of i to the swapped components, native to several superconducting qubit platforms.
The iSWAP gate is a two-qubit entangling gate that swaps the and components of a two-qubit state while multiplying each by a factor of . It is a natural gate for superconducting qubit platforms where qubits interact via a transverse (XY) coupling, and it forms part of Google’s native gate set.
Matrix representation
In the computational basis , the iSWAP gate has the matrix:
Its action on basis states:
The and states are unchanged, while and are swapped with an added phase of .
Physical origin
The iSWAP arises naturally from the XY (transverse) coupling Hamiltonian between two qubits:
where is the coupling strength. Evolving under this Hamiltonian for a time produces the iSWAP gate (up to single-qubit phases). This interaction is physically realized when two transmon qubits are brought into resonance, either by tuning their frequencies together or by activating a tunable coupler.
Google’s Sycamore processor uses the gate (half the interaction time) as its primary entangling gate. The is often preferred because it produces maximal entanglement with shorter gate times, reducing exposure to decoherence.
Relationship to other gates
The iSWAP is equivalent to a SWAP gate followed by a controlled-Z, up to single-qubit phases:
where is the phase gate. Any two-qubit gate can be decomposed into at most three iSWAP gates (or two gates) plus single-qubit rotations.
A CNOT gate can be constructed from two iSWAP gates:
This decomposition matters when targeting hardware that uses iSWAP natively, since expressing algorithms in terms of native gates avoids additional transpilation overhead.
The gate
The square root of iSWAP, obtained by evolving under the XY Hamiltonian for half the time, has the matrix:
This gate creates a maximally entangled state from or , making it a natural entangling primitive.
Why it matters for learners
Understanding the iSWAP gate is essential for working with Google’s quantum processors and for appreciating how hardware physics shapes gate set design. The choice between CX-based (IBM) and iSWAP-based (Google) native gates affects transpilation strategies and circuit depths for the same algorithm. When benchmarking or comparing hardware platforms, knowing the native two-qubit gate is necessary to make fair comparisons.