summaryrefslogtreecommitdiff
path: root/source/know/concept
diff options
context:
space:
mode:
authorPrefetch2022-11-28 21:21:44 +0100
committerPrefetch2022-11-28 21:25:23 +0100
commitf0dc83f5ca9fc934081905f8689f8a35f8fbacaa (patch)
treea56a6df04c9c5ce6c78c77fb064d432470ce06f4 /source/know/concept
parent41420c0e32cba69d4f4e19175bd3350fed427275 (diff)
Publish "Website adventures" part 3 about LaTeX maths
Diffstat (limited to 'source/know/concept')
-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" %}