Results 1 to 2 of 2

Math Help - NAND gate

  1. #1
    Senior Member Sampras's Avatar
    Joined
    May 2009
    Posts
    301

    NAND gate

    Consider the NAND gate:  (a,b) \to \neg(a \wedge b) . This is irreversible at first glance. But why does using Toffoli gates allow one to convert this into a reversible process? For example if we use the following gate:  (a,b,c \oplus a \wedge b) .
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Lord of certain Rings
    Isomorphism's Avatar
    Joined
    Dec 2007
    From
    IISc, Bangalore
    Posts
    1,465
    Thanks
    6
    Quote Originally Posted by Sampras View Post
    Consider the NAND gate:  (a,b) \to \neg(a \wedge b) . This is irreversible at first glance. But why does using Toffoli gates allow one to convert this into a reversible process? For example if we use the following gate:  (a,b,c \oplus a \wedge b) .
    I have never heard of Toffoli gates. But from wiki, I think choosing c=1, will implement NAND in terms of Toffoli gates.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Half-adder with NAND gates
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: December 12th 2010, 06:56 AM
  2. Inverter/Unversal NAND inverter
    Posted in the Math Topics Forum
    Replies: 1
    Last Post: August 7th 2009, 07:32 PM
  3. Hydrostatic force with a gate?
    Posted in the Calculus Forum
    Replies: 10
    Last Post: June 24th 2008, 04:33 PM

Search Tags


/mathhelpforum @mathhelpforum