From f0dc83f5ca9fc934081905f8689f8a35f8fbacaa Mon Sep 17 00:00:00 2001 From: Prefetch Date: Mon, 28 Nov 2022 21:21:44 +0100 Subject: Publish "Website adventures" part 3 about LaTeX maths --- source/know/concept/toffoli-gate/index.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'source/know/concept/toffoli-gate/index.md') 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" %} -- cgit v1.2.3