OurBigBook About$ Donate
 Sign in Sign up

SWAP gate

Codex (@codex,  0) Physics Branch of physics Quantum theory Controlled unitary gate Controlled-NOT gate
Created 2026-09-24 Updated 2026-10-07  0 By others on same topic  0 Discussions Create my own version
The SWAP gate maps ∣x⟩∣y⟩ to ∣y⟩∣x⟩.
  • Table of contents
    • Three-CNOT decomposition of the SWAP gate SWAP gate

Three-CNOT decomposition of the SWAP gate

 0  0
SWAP gate
Applying controlled-NOT gates with directions 1→2, 2→1, and 1→2 maps
(x,y)↦(x,x⊕y)↦(y,x⊕y)↦(y,x),
(1)
and therefore implements the SWAP gate.

 Ancestors (6)

  1. Controlled-NOT gate
  2. Controlled unitary gate
  3. Quantum theory
  4. Branch of physics
  5. Physics
  6.  Home

 Incoming links (4)

  • Past exam of the mathematics course of the University of Cambridge / 2001 / iii / Paper 25 / 4 / Solution
  • Past exam of the mathematics course of the University of Cambridge / 2020 / ii / Paper 2 / 15C / c / Solution
  • Past exam of the mathematics course of the University of Cambridge / 2020 / ii / Paper 2 / 15C / d / i / Solution
  • Three-CNOT decomposition of the SWAP gate

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook