summaryrefslogtreecommitdiff
path: root/source/know
diff options
context:
space:
mode:
Diffstat (limited to 'source/know')
-rw-r--r--source/know/concept/toffoli-gate/index.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/know/concept/toffoli-gate/index.md b/source/know/concept/toffoli-gate/index.md
index ba9d3ba..b9d9528 100644
--- a/source/know/concept/toffoli-gate/index.md
+++ b/source/know/concept/toffoli-gate/index.md
@@ -13,15 +13,13 @@ and *universal* (all reversible logic circuits can be built using Toffoli gates)
It takes three input bits $$A$$, $$B$$ and $$C$$,
of which it returns $$A$$ and $$B$$ unchanged,
-and flips $$C$$ if both $$A$$ and $$B$$ are true.
-In circuit diagrams, its representation is:
+and flips $$C$$ only if both $$A$$ and $$B$$ are true.
+In circuit logic diagrams, its representation is:
{% include image.html file="toffoli.png" width="19%" alt="Toffoli gate symbol" %}
-This gate is reversible, because $$A$$ and $$B$$ are preserved,
-and are all you need to reconstruct to $$C$$.
-Moreover, this gate is universal,
-because we can make a NAND gate from it:
+This gate is reversible because $$A$$ and $$B$$ are preserved,
+and it is universal because we can make a NAND gate from it:
{% include image.html file="nand.png" width="38%" alt="NAND gate made of Toffoli gate" %}