logo

NOR Gate

NOR Gate

양자정보이론
[ 펼치기 · 접기 ]

Definition1

The following Boolean function is called the NOR\text{NOR} gate or negated logical sum and is denoted as follows.

:{0,1}2{0,1} \downarrow : \left\{ 0, 1 \right\}^{2} \to \left\{ 0, 1 \right\}

00=1,01=0,10=0,11=0 0\downarrow 0 = 1,\quad 0\downarrow 1 = 0,\quad 1\downarrow 0 = 0,\quad 1\downarrow 1 = 0

Description

It is a composition of the NOT\text{NOT} gate and the OR\text{OR} gate, and it is named NOR\text{NOR} by borrowing N(OT)\text{N(OT)} and OR\text{OR}.

=¬ \begin{equation} \downarrow = \lnot \circ \lor \end{equation}

ab=¬(ab) a \downarrow b = \lnot (a \lor b)

It operates opposite to the OR\text{OR} gate and produces a true output only when all inputs are false. Furthermore, {}\left\{ \downarrow \right\} is functionally complete, which can be seen as obvious due to (1)(1).

부울 함수기호진리표
NOR\text{NOR}
aabbaba \downarrow b
000011
001100
110000
111100

Theorem

If the replication function is allowed, then {}\left\{ \downarrow \right\} is functionally complete. In other words, \downarrow is a universal gate.

Proof

Theorem

The set of NOT\text{NOT} and OR\text{OR} gates, {¬,}\left\{ \lnot, \lor \right\}, is functionally complete.

According to the above theorem, it suffices to show that the NOT\text{NOT} gate and the OR\text{OR} gate can be made only with the replication function cl\text{cl} and \downarrow.

  • NOT\text{NOT} gate

    ¬=cl¬a=aa \lnot = \downarrow \circ \operatorname{cl} \\ \lnot a = a \downarrow a

    holds.

    cl(0)=00=1=¬0cl(1)=11=0=¬1 \begin{align*} \downarrow \circ \operatorname{cl}(0) = 0 \downarrow 0 = 1 = \lnot 0 \\ \downarrow \circ \operatorname{cl}(1) = 1 \downarrow 1 = 0 = \lnot 1 \\ \end{align*}

  • OR\text{OR} gate

    =clab=(ab)(ab) \lor = \downarrow \circ \operatorname{cl} \circ \downarrow \\ a \lor b = (a \downarrow b) \downarrow (a \downarrow b)

    holds.

    (00)(00)=(11)=0=00(01)(01)=(00)=1=01(10)(10)=(00)=1=10(11)(11)=(11)=1=11 \begin{align*} (0 \downarrow 0) \downarrow (0 \downarrow 0) = (1 \downarrow 1) = 0 = 0 \lor 0 \\ (0 \downarrow 1) \downarrow (0 \downarrow 1) = (0 \downarrow 0) = 1 = 0 \lor 1 \\ (1 \downarrow 0) \downarrow (1 \downarrow 0) = (0 \downarrow 0) = 1 = 1 \lor 0 \\ (1 \downarrow 1) \downarrow (1 \downarrow 1) = (1 \downarrow 1) = 1 = 1 \lor 1 \\ \end{align*}


  1. Kim Young-hoon and Heo Jae-seong, Quantum Information Theory (2020), p86-87 ↩︎