SWAP Gate (SWAP)

SWAP Gate (SWAP): Exchanges two qubits. Composed from 3 CNOTs. See the formula SWAP|a,b⟩ = |b,a⟩, use cases, and jump straight to the solver — free on Quantr…

This reference entry is part of Quantrix Lab, a free, research-grade suite of interactive physics, chemistry, and mathematics tools that runs entirely in your browser. Every computation is reproducible: parameters, solver settings, tolerances, and version metadata are captured with each run so you can re-execute or export the exact same numerical result later.

Use the interactive controls to change inputs and watch the plots, wavefunctions, band structures, or numerical output update in real time. Results can be exported as high-resolution PNG, SVG, PDF, XLSX, JSON, and — for time-evolving simulations — animated MP4 or GIF, ready for lab notebooks, publications, coursework, and teaching slides.

Related topics covered on this page include swap gate, SWAP, gate, swap, routing, qubit mapping.

Quantrix Lab is built by researchers and educators for students, postgraduates, and working scientists. Numerical benchmarks against textbook analytic states (Bell, GHZ, W, QFT, hydrogen 1s/2p, harmonic oscillator, 1D Schrödinger box) are versioned in the repository, and each module is labeled Verified or Estimated so you always know the confidence level of a result. No sign-up, no paywall, and no data leaves your device unless you explicitly export it.