Reversible computing: Difference between revisions

Content deleted Content added
References: Noted new link is a PDF.
Logical reversibility: Clarified first paragraph under logical reversibility a bit.
Line 31:
 
==Logical reversibility==
LogicalFor reversibilitya computational operation to be logically reversible means that the output (or final state) of the operation can be computed from the input (or initial state), and vice versa. Reversible functions are [[bijection|bijective]]. This means that reversible gates (and [[Circuit (computer science)|circuits]], i.e. compositions of multiple gates) generally have the same number of inputsinput bits as outputsoutput bits (assuming that all input bits are consumed by the operation, and that all input/output states are possible).
 
An [[inverter (logic gate)|inverter]] (NOT) gate is logically reversible because it can be ''undone''. The NOT gate may however not be physically reversible, depending on its implementation.