Reversible computing
Reversible computing is any model of computation where the computational process, to some extent, is time-reversible. In a model of computation that uses deterministic transitions from one state of the abstract machine to another, a necessary condition for reversibility is that the relation of the mapping from states to their successors must be one-to-one. Reversible computing is a form of unconventional computing.
Due to the unitarity of quantum mechanics, quantum circuits are reversible, as long as they do not "collapse" the quantum states on which they operate.[1]
Reversibility
There are two major, closely related types of reversibility that are of particular interest for this purpose: physical reversibility and logical reversibility.[2]
A process is said to be physically reversible if it results in no increase in physical entropy; it is isentropic. There is a style of circuit design ideally exhibiting this property that is referred to as charge recovery logic, adiabatic circuits, or adiabatic computing (see Adiabatic process). Although in practice no nonstationary physical process can be exactly physically reversible or isentropic, there is no known limit to the closeness with which we can approach perfect reversibility, in systems that are sufficiently well isolated from interactions with unknown external environments, when the laws of physics describing the system's evolution are precisely known.
A motivation for the study of technologies aimed at implementing reversible computing is that they offer what is predicted to be the only potential way to improve the computational energy efficiency (i.e., useful operations performed per unit energy dissipated) of computers beyond the fundamental von Neumann–Landauer limit[3][4] of kT ln(2) energy dissipated per irreversible bit operation. Although the Landauer limit was millions of times below the energy consumption of computers in the 2000s and thousands of times less in the 2010s,[5] proponents of reversible computing argue that this can be attributed largely to architectural overheads which effectively magnify the impact of Landauer's limit in practical circuit designs, so that it may prove difficult for practical technology to progress very far beyond current levels of energy efficiency if reversible computing principles are not used.[6]
Relation to thermodynamics
As was first argued by Rolf Landauer while working at IBM,[7] in order for a computational process to be physically reversible, it must also be logically reversible. Landauer's principle is the rigorously valid observation that the oblivious erasure of n bits of known information must always incur a cost of nkT ln(2) in thermodynamic entropy. A discrete, deterministic computational process is said to be logically reversible if the transition function that maps old computational states to new ones is a one-to-one function; i.e. the output logical states uniquely determine the input logical states of the computational operation.
For computational processes that are nondeterministic (in the sense of being probabilistic or random), the relation between old and new states is not a single-valued function, and the requirement needed to obtain physical reversibility becomes a slightly weaker condition, namely that the size of a given ensemble of possible initial computational states does not decrease, on average, as the computation proceeds forwards.
Physical reversibility
Landauer's principle (and indeed, the second law of thermodynamics) can also be understood to be a direct logical consequence of the underlying reversibility of physics, as is reflected in the general Hamiltonian formulation of mechanics, and in the unitary time-evolution operator of quantum mechanics more specifically.[8]
The implementation of reversible computing thus amounts to learning how to characterize and control the physical dynamics of mechanisms to carry out desired computational operations so precisely that the experiment accumulates a negligible total amount of uncertainty regarding the complete physical state of the mechanism, per each logic operation that is performed. In other words, precisely track the state of the active energy that is involved in carrying out computational operations within the machine, and design the machine so that the majority of this energy is recovered in an organized form that can be reused for subsequent operations, rather than being permitted to dissipate into the form of heat.
Although achieving this goal presents a significant challenge for the design, manufacturing, and characterization of ultra-precise new physical mechanisms for computing, there is at present no fundamental reason to think that this goal cannot eventually be accomplished, allowing someday to build computers that generate much less than 1 bit's worth of physical entropy (and dissipate much less than kT ln 2 energy to heat) for each useful logical operation that they carry out internally.
Today, the field has a substantial body of academic literature. A wide variety of reversible device concepts, logic gates, electronic circuits, processor architectures, programming languages, and application algorithms have been designed and analyzed by physicists, electrical engineers, and computer scientists.
This field of research awaits the detailed development of a high-quality, cost-effective, nearly reversible logic device technology, one that includes highly energy-efficient clocking and synchronization mechanisms, or avoids the need for these through asynchronous design. This sort of solid engineering progress will be needed before the large body of theoretical research on reversible computing can find practical application in enabling real computer technology to circumvent the various near-term barriers to its energy efficiency, including the von Neumann–Landauer bound. This may only be circumvented by the use of logically reversible computing, due to the second law of thermodynamics.[9]
Logical reversibility
For a 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 bijective. This means that reversible gates (and circuits, i.e. compositions of multiple gates) generally have the same number of input bits as output bits (assuming that all input bits are consumed by the operation, and that all input/output states are possible).
An inverter (NOT) gate is logically reversible because it can be undone. The NOT gate may however not be physically reversible, depending on its implementation.
The exclusive or (XOR) gate is irreversible because its two inputs cannot be unambiguously reconstructed from its single output, or alternatively, because information erasure is not reversible. However, a reversible version of the XOR gate—the controlled NOT gate (CNOT)—can be defined by preserving one of the inputs as a 2nd output. The three-input variant of the CNOT gate is called the Toffoli gate. It preserves two of its inputs a,b and replaces the third c by [math]\displaystyle{ c\oplus (a\cdot b) }[/math]. With [math]\displaystyle{ c=0 }[/math], this gives the AND function, and with [math]\displaystyle{ a\cdot b=1 }[/math] this gives the NOT function. Because AND and NOT together is a functionally complete set, the Toffoli gate is universal and can implement any Boolean function (if given enough initialized ancilla bits).
Similarly, in the Turing machine model of computation, a reversible Turing machine is one whose transition function is invertible, so that each machine state has at most one predecessor.
Yves Lecerf proposed a reversible Turing machine in a 1963 paper,[10] but apparently unaware of Landauer's principle, did not pursue the subject further, devoting most of the rest of his career to ethnolinguistics. In 1973 Charles H. Bennett, at IBM Research, showed that a universal Turing machine could be made both logically and thermodynamically reversible,[11] and therefore able in principle to perform an arbitrarily large number of computation steps per unit of physical energy dissipated, if operated sufficiently slowly. Thermodynamically reversible computers could perform useful computations at useful speed, while dissipating considerably less than kT of energy per logical step. In 1982 Edward Fredkin and Tommaso Toffoli proposed the Billiard ball computer, a mechanism using classical hard spheres to do reversible computations at finite speed with zero dissipation, but requiring perfect initial alignment of the balls' trajectories, and Bennett's review[12] compared these "Brownian" and "ballistic" paradigms for reversible computation. Aside from the motivation of energy-efficient computation, reversible logic gates offered practical improvements of bit-manipulation transforms in cryptography and computer graphics. Since the 1980s, reversible circuits have attracted interest as components of quantum algorithms, and more recently in photonic and nano-computing technologies where some switching devices offer no signal gain.
Surveys of reversible circuits, their construction and optimization, as well as recent research challenges, are available.[13][14][15][16][17]
See also
- Engineering:Adiabatic circuit – Low-power electronic circuits which use reversible logic to conserve energy
- Bidirectional transformation – Computer programs able to produce inputs from outputs
- Billiard-ball computer – Type of conservative logic circuit
- Fredkin gate – Universal reversible logic gate, applied in quantum computing
- Generalized lifting
- Janus (time-reversible computing programming language)
- Maximum entropy thermodynamics – Application of information theory to thermodynamics and statistical mechanics, on the uncertainty interpretation of the second law of thermodynamics
- Physics:Maxwell's demon – Thought experiment of 1867
- Reverse computation
- Reversible cellular automaton – Cellular automaton that can be run backwards
- Physics:Reversible process (thermodynamics) – Thermodynamic process whose direction can be reversed to return the system to its original state
- Quantum computing – Technology that uses quantum mechanics
- Quantum dot cellular automaton – Type of cellular automaton, a variant of reversible cellular automata
- Toffoli gate – Universal reversible logic gate, applied in quantum computing
- Superconducting quantum computing – Quantum computing implementation
- Uncomputation
- Unconventional computing – Computing by new or unusual methods
References
- ↑ Williams, Colin P. (2011). Explorations in Quantum Computing. Springer. pp. 25–29. ISBN 978-1-84628-887-6.
- ↑ "The Reversible and Quantum Computing Group (Revcomp)". http://www.cise.ufl.edu/research/revcomp/.
- ↑ Landauer, Rolf (1961), "Irreversibility and heat generation in the computing process", IBM Journal of Research and Development 5 (3): 183–191, doi:10.1147/rd.53.0183, http://worrydream.com/refs/Landauer%20-%20Irreversibility%20and%20Heat%20Generation%20in%20the%20Computing%20Process.pdf, retrieved 2015-02-18, "The entropy of a closed system, e.g., a computer with its own batteries, cannot decrease; hence this entropy must appear elsewhere as a heating effect, supplying 0.6931 kT per restored bit to the surroundings."
- ↑ J. von Neumann (1966). Theory of self-reproducing automata. University of Illinois Press. https://archive.org/details/theoryofselfrepr00vonn_0. Retrieved 2022-05-21. Third lecture: Statistical Theories about Information
- ↑ Bérut, Antoine; Arakelyan, Artak; Petrosyan, Artyom; Ciliberto, Sergio; Dillenschneider, Raoul; Lutz, Eric (March 2012). "Experimental verification of Landauer's principle linking information and thermodynamics". Nature 483 (7388): 187–189. doi:10.1038/nature10872. PMID 22398556. Bibcode: 2012Natur.483..187B.
- ↑ Michael P. Frank. Foundations of Generalized Reversible Computing. Conference on Reversible Computation, July 6–7, 2017, Kolkata, India. doi:10.1007/978-3-319-59936-6 2 Preprint available at https://www.osti.gov/servlets/purl/1456440 (PDF).
- ↑ Landauer, R. (July 1961). "Irreversibility and Heat Generation in the Computing Process". IBM Journal of Research and Development 5 (3): 183–191. doi:10.1147/rd.53.0183.
- ↑ Frank, Michael P.; Shukla, Karpur (June 1, 2021). "Quantum Foundations of Classical Reversible Computing" (in en). Entropy 23 (6): 701. doi:10.3390/e23060701. ISSN 1099-4300. PMID 34206044. Bibcode: 2021Entrp..23..701F.
- ↑ Frank, Michael P. (2018). "Physical Foundations of Landauer's Principle". in Kari, Jarkko; Ulidowski, Irek (in en). Reversible Computation. Lecture Notes in Computer Science. 11106. Cham: Springer International Publishing. pp. 3–33. doi:10.1007/978-3-319-99498-7_1. ISBN 978-3-319-99498-7. https://link.springer.com/chapter/10.1007/978-3-319-99498-7_1.
- ↑ Lecerf (Y.): Logique Mathématique : Machines de Turing réversibles. Comptes rendus des séances de l'académie des sciences, 257: 2597–2600, 1963.
- ↑ C. H. Bennett, "Logical reversibility of computation", IBM Journal of Research and Development, vol. 17, no. 6, pp. 525–532, 1973
- ↑ Bennett, Charles H. (December 1982). "The thermodynamics of computation—a review". International Journal of Theoretical Physics 21 (12): 905–940. doi:10.1007/BF02084158. Bibcode: 1982IJTP...21..905B.
- ↑ Rolf Drechsler, Robert Wille. From Truth Tables to Programming Languages: Progress in the Design of Reversible Circuits. International Symposium on Multiple-Valued Logic, 2011. http://www.informatik.uni-bremen.de/agra/doc/konf/11_ismvl_reversible_circuit_design_tutorial.pdf
- ↑ Saeedi, Mehdi; Markov, Igor L. (1 February 2013). "Synthesis and optimization of reversible circuits—a survey". ACM Computing Surveys 45 (2): 1–34. doi:10.1145/2431211.2431220.
- ↑ Rolf Drechsler and Robert Wille. Reversible Circuits: Recent Accomplishments and Future Challenges for an Emerging Technology. International Symposium on VLSI Design and Test, 2012. http://www.informatik.uni-bremen.de/agra/doc/konf/2012_vdat_reversible_circuits_accompl_chall.pdf
- ↑ Cohen, Eyal; Dolev, Shlomi; Rosenblit, Michael (26 April 2016). "All-optical design for inherently energy-conserving reversible gates and circuits". Nature Communications 7 (1): 11424. doi:10.1038/ncomms11424. PMID 27113510. Bibcode: 2016NatCo...711424C.
- ↑ Ang, Y. S.; Yang, S. A.; Zhang, C.; Ma, Z. S.; Ang, L. K. (2017). "Valleytronics in merging Dirac cones: All-electric-controlled valley filter, valve, and universal reversible logic gate". Physical Review B 96 (24): 245410. doi:10.1103/PhysRevB.96.245410. Bibcode: 2017PhRvB..96x5410A.
Further reading
- Frank, Michael P. (2017). "The Future of Computing Depends on Making It Reversible"" (web) / "Throwing Computing Into Reverse" (print). IEEE Spectrum. 54 (9): 32–37. doi:10.1109/MSPEC.2017.8012237.
- Denning, Peter; Lewis, Ted (2017). "Computers That Can Run Backwards". American Scientist 105 (5): 270. doi:10.1511/2017.105.5.270.
- Glück, Robert; Yokoyama, Tetsuo (2023). "Reversible computing from a programming language perspective". Theoretical Computer Science 953: 113429. doi:10.1016/j.tcs.2022.06.010.
- Lange, Klaus-Jörn; McKenzie, Pierre; Tapp, Alain (April 2000). "Reversible Space Equals Deterministic Space". Journal of Computer and System Sciences 60 (2): 354–367. doi:10.1006/jcss.1999.1672.
- Perumalla K. S. (2014), Introduction to Reversible Computing, CRC Press.
- Vitányi, Paul (2005). "Time, space, and energy in reversible computing". Proceedings of the 2nd conference on Computing frontiers – CF '05. pp. 435–444. doi:10.1145/1062261.1062335. ISBN 1595930191.
External links
- Introductory article on reversible computing
- First International Workshop on reversible computing
- Publications of Michael P. Frank: Sandia (2015-), FSU (2004-'15), UF (1999-2004), MIT 1996-'99).
- Internet Archive backup of the "Reversible computing community Wiki" that was administered by Frank
- Reversible Computation workshop/conference series
- CCC Workshop on Physics & Engineering Issues in Adiabatic/Reversible Classical Computing
- Open-source toolkit for reversible circuit design
![]() | Original source: https://en.wikipedia.org/wiki/Reversible computing.
Read more |