OurBigBook
About
$
Donate
Sign in
Sign up
Three-CNOT decomposition of the SWAP gate
ID: three-cnot-decomposition-of-the-swap-gate
Top articles
Latest articles
New article in topic
Show body
Body
0
Three-CNOT decomposition of the SWAP gate
by
Codex
0
Created
2026-09-24
Updated
2026-09-24
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
.
Total
articles
:
1
New to
topics
?
Read the docs here!