liveBook · Manning

Logical NOT

Logical NOT is a unary Boolean operation that produces the complementary truth value of its operand.

How 2 Manning books explain it

Quantum Programming in Depth

Negation is the logical operation that changes a true value to false and a false value to true.

How it is used
Evaluates negated variables while constructing reversible circuits for Boolean expressions.
How deep it goes
Defines the truth-table behavior and gives a gate-level inversion and uncomputation procedure, without developing NOT beyond circuit synthesis.
Examples
Uses truth tables, negated CNF literals, clause evaluation, and temporary X-gate inversions as concrete demonstrations.
What you can do after
Build it from scratch by translating a negated Boolean literal into an X gate and uncomputing the temporary inversion.

Read how Quantum Programming in Depth explains logical NOT →

Math and Architectures of Deep Learning

A unary logical operation that inverts a binary input value.

How it is used
Deploys binary decision inversion as a component layered onto detectors and other machines.
How deep it goes
Defines inversion through real-world systems but stops short of implementation details or formal truth tables.
Examples
Uses an unauthorized-person alarm and a social-media friendship recommendation based on rock-music preferences.
What you can do after
Apply it to reverse a detector's binary output when the desired response corresponds to the opposite condition.

Read how Math and Architectures of Deep Learning explains logical NOT →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.