Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Reversible computing
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Reversible Turing Machines (RTMs) == The Reversible Turing Machine (RTM) is a foundational model in reversible computing. An RTM is defined as a [[Turing machine]] whose transition function is invertible, ensuring that each machine configuration (state and tape content) has at most one predecessor configuration. This guarantees backward determinism, allowing the computation history to be traced uniquely.<ref>{{cite web |url=https://scispace.com/pdf/what-do-reversible-programs-compute-uwj26erp4f.pdf |title=What do reversible programs compute? |website=SciSpace |access-date=April 26, 2025}}</ref> Formal definitions of RTMs have evolved over the last decades. While early definitions focused on invertible transition functions, more general formulations allow for bounded head movement and cell modification per step. This generalization ensures that the set of RTMs is closed under composition (executing one RTM after another results in another RTM) and inversion (the inverse of an RTM is also an RTM), forming a group structure for reversible computations.<ref>{{cite book | arxiv=1603.08715 | doi=10.1007/978-3-319-39300-1_5 | chapter=The Group of Reversible Turing Machines | title=Cellular Automata and Discrete Complex Systems | series=Lecture Notes in Computer Science | date=2016 | last1=Barbieri | first1=Sebastián | last2=Kari | first2=Jarkko | last3=Salo | first3=Ville | volume=9664 | pages=49–62 | isbn=978-3-319-39299-8 }}</ref> This contrasts with some classical TM definitions where composition might not yield a machine of the same class.<ref>{{cite book | arxiv=1603.08715 | doi=10.1007/978-3-319-39300-1_5 | chapter=The Group of Reversible Turing Machines | title=Cellular Automata and Discrete Complex Systems | series=Lecture Notes in Computer Science | date=2016 | last1=Barbieri | first1=Sebastián | last2=Kari | first2=Jarkko | last3=Salo | first3=Ville | volume=9664 | pages=49–62 | isbn=978-3-319-39299-8 }}</ref> The dynamics of an RTM can be described by a global transition function that maps configurations based on a local rule.<ref>{{cite arXiv | eprint=2404.07288 | last1=Bruera | first1=Renzo | last2=Cardona | first2=Robert | last3=Miranda | first3=Eva | last4=Peralta-Salas | first4=Daniel | title=Topological entropy of Turing complete dynamics (With an appendix by Ville Salo) | date=2024 | class=math.DS }}</ref> [[:fr:Yves Lecerf|Yves Lecerf]] proposed a reversible Turing machine in a 1963 paper,<ref>Lecerf (Y.): [http://vadeker.net/corpus/reversible/lecerf.pdf Logique Mathématique : Machines de Turing réversibles.] Comptes rendus des séances de l'académie des sciences, 257: 2597–2600, 1963.</ref> but apparently unaware of Landauer's principle, did not pursue the subject further, devoting most of the rest of his career to ethnolinguistics. A landmark result by [[Charles H. Bennett]] in 1973 demonstrated that any standard Turing machine can be simulated by a reversible one.<ref>C. H. Bennett, "[http://www.dna.caltech.edu/courses/cs191/paperscs191/bennett1973.pdf Logical reversibility of computation]", IBM Journal of Research and Development, vol. 17, no. 6, pp. 525–532, 1973</ref> Bennett's construction involves augmenting the TM with an auxiliary "history tape". The simulation proceeds in three stages:<ref>{{cite book | arxiv=2405.20842 | doi=10.1007/978-3-031-62076-8_2 | chapter=Compositional Reversible Computation | title=Reversible Computation | series=Lecture Notes in Computer Science | date=2024 | last1=Carette | first1=Jacques | last2=Heunen | first2=Chris | last3=Kaarsgaard | first3=Robin | last4=Sabry | first4=Amr | volume=14680 | pages=10–27 | isbn=978-3-031-62075-1 }}</ref> # '''Compute:''' The original TM's computation is simulated, and a record of every transition rule applied is written onto the history tape. # '''Copy Output:''' The final result on the work tape is copied to a separate, initially blank output tape. This copy operation itself must be done reversibly (e.g., using CNOT gates). # '''Uncompute:''' The simulation runs in reverse, using the history tape to undo each step of the forward computation. This process erases the work tape and the history tape, returning them to their initial blank state, leaving only the original input (preserved on its tape) and the final output on the output tape. This construction proves that RTMs are computationally equivalent to standard TMs in terms of the functions they can compute, establishing that reversibility does not limit computational power in this regard.<ref>{{cite book | arxiv=2405.20842 | doi=10.1007/978-3-031-62076-8_2 | chapter=Compositional Reversible Computation | title=Reversible Computation | series=Lecture Notes in Computer Science | date=2024 | last1=Carette | first1=Jacques | last2=Heunen | first2=Chris | last3=Kaarsgaard | first3=Robin | last4=Sabry | first4=Amr | volume=14680 | pages=10–27 | isbn=978-3-031-62075-1 }}</ref> However, this standard simulation technique comes at a cost. The history tape can grow linearly with the computation time, leading to a potentially large space overhead, often expressed as <code>S'(n) = O(S(n)T(n))</code> where S and T are the space and time of the original computation.<ref>C. H. Bennett, "[http://www.dna.caltech.edu/courses/cs191/paperscs191/bennett1973.pdf Logical reversibility of computation]", IBM Journal of Research and Development, vol. 17, no. 6, pp. 525–532, 1973</ref> Furthermore, history-based approaches face challenges with local compositionality; combining two independently reversibilized computations using this method is not straightforward.<ref>{{cite book | arxiv=2405.20842 | doi=10.1007/978-3-031-62076-8_2 | chapter=Compositional Reversible Computation | title=Reversible Computation | series=Lecture Notes in Computer Science | date=2024 | last1=Carette | first1=Jacques | last2=Heunen | first2=Chris | last3=Kaarsgaard | first3=Robin | last4=Sabry | first4=Amr | volume=14680 | pages=10–27 | isbn=978-3-031-62075-1 }}</ref> This indicates that while theoretically powerful, Bennett's original construction is not necessarily the most practical or efficient way to achieve reversible computation, motivating the search for methods that avoid accumulating large amounts of "garbage" history.<ref>{{cite book | arxiv=2405.20842 | doi=10.1007/978-3-031-62076-8_2 | chapter=Compositional Reversible Computation | title=Reversible Computation | series=Lecture Notes in Computer Science | date=2024 | last1=Carette | first1=Jacques | last2=Heunen | first2=Chris | last3=Kaarsgaard | first3=Robin | last4=Sabry | first4=Amr | volume=14680 | pages=10–27 | isbn=978-3-031-62075-1 }}</ref> RTMs compute precisely the set of injective (one-to-one) computable functions.<ref>{{cite web |url=https://scispace.com/pdf/what-do-reversible-programs-compute-uwj26erp4f.pdf |title=What do reversible programs compute? |website=SciSpace |access-date=April 26, 2025}}</ref> They are not strictly universal in the classical sense because they cannot directly compute non-injective functions (which inherently lose information). However, they possess a form of universality termed "RTM-universality" and are capable of self-interpretation.<ref>{{cite web |url=https://scispace.com/pdf/what-do-reversible-programs-compute-uwj26erp4f.pdf |title=What do reversible programs compute? |website=SciSpace |access-date=April 26, 2025}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)