Logical NOT
Logical NOT is a unary Boolean operation that produces the complementary truth value of its operand.
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
- boolean operationkind of · A Boolean operation combines or transforms truth-valued inputs according to logical rules to produce a truth-valued result.
- x gateimplemented by · The X gate is a single-qubit quantum gate that exchanges the computational-basis states zero and one.
- filteringuses · Filtering is the operation of selecting or excluding items from data or a collection according to specified criteria.
- booleanproduces · A Boolean is a logical type or value representing truth or falsity, conventionally with two states: true and false.
- numerical overflowproduces · Numerical overflow is the condition in which an arithmetic result falls outside the range representable by its numeric type or format.
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.

