The Classification of Reversible Bit Operations
Open accessAbstract
We present a complete classification of all possible sets of classical reversible gates acting on bits, in terms of which reversible transformations they generate, assuming swaps and ancilla bits are available for free. Our classification can be seen as the reversible-computing analogue of Post's lattice, a central result in mathematical logic from the 1940s. It is a step toward the ambitious goal of classifying all possible quantum gate sets acting on qubits. Our theorem implies a linear-time algorithm (which we have implemented), that takes as input the truth tables of reversible gates G and H, and that decides whether G generates H. Previously, this problem was not even known to be decidable. The theorem also implies that any n-bit reversible circuit can be "compressed" to an equivalent circuit, over the same gates, that uses at most 2^n*poly(n) gates and O(1) ancilla bits; these are the first upper bounds on these quantities known, and are close to optimal. Finally, the theorem implies that every non-degenerate reversible gate can implement either every reversible transformation, or every affine transformation, when restricted to an "encoded subspace." Briefly, the theorem says that every set of reversible gates generates either all reversible transformations on n-bit strings (as the Toffoli gate does); no transformations; all transformations that preserve Hamming weight (as the Fredkin gate does); all transformations that preserve Hamming weight mod k for some k; all affine transformations (as the Controlled-NOT gate does); all affine transformations that preserve Hamming weight mod 2 or mod 4, inner products mod 2, or a combination thereof; or a previous class augmented by a NOT or NOTNOT gate. Ruling out the possibility of additional classes, not in the list, requires some arguments about polynomials, lattices, and Diophantine equations.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Reversible classical channels are fully generated by the set of isometries and auxiliary classical randomness, as they correspond to injective Boolean functions.
“Furthermore, reversible classical channels are fully generated by the set of isometries and auxiliary classical randomness [53,55,56], as they correspond to injective Boolean functions.”
From Simple formulation of no-cloning and no-hiding that admits efficient and robust verification (2024) · cites this paper as [55]
Section 1.1 (p. 4) defines a reversible bit gate as a permutation of bit strings, supporting the injective-function aspect for the gates studied. But Theorem 3 (p. 16) distinguishes all reversible transformations from restricted classes, and Theorem 38 (p. 34) treats isometries as one such class. The paper does not say that isometries and auxiliary classical randomness generate all reversible classical channels. (LLM, conf=0.86)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
The Art of Computer Programming
Knuth, D. E. (1968) · Cited by 16,097 · see citing works
Elementary gates for quantum computation
Barenco, A., Bennett, C. H., Cleve, R., DiVincenzo, D. P., Margolus, N., Shor, P., Sleator, T., Smolin, J. A., & Weinfurter, H. (1995) · Physical Review A · doi:10.1103/physreva.52.3457 · Cited by 4,311 · see citing works
Logical Reversibility of Computation
Bennett, C. H. (1973) · IBM Journal of Research and Development · doi:10.1147/rd.176.0525 · Cited by 3,679 · see citing works
Irreversibility and heat generation in the computing process
Landauer, R. W. (2000) · IBM Journal of Research and Development · doi:10.1147/rd.441.0261 · Cited by 2,617 · see citing works
Improved simulation of stabilizer circuits
Aaronson, S., & Gottesman, D. (2004) · Physical Review A · doi:10.1103/physreva.70.052328 · Cited by 1,515 · see citing works
Self-citationFredkin, E., & Toffoli, T. (2001) · Cited by 1,307 · see citing works
Class of quantum error-correcting codes saturating the quantum Hamming bound
Gottesman, D. (1996) · Physical Review A · doi:10.1103/physreva.54.1862 · Cited by 1,227 · cited 1× · see citing works
“There are also sets of quantum gates that are known not to be universal: for example, the basispreserving gates, the 1-qubit gates, and most interestingly, the so-called stabilizer gates [11, 3] (that is, the CNOT, Hadamard, and π/4-Phase gates), as well as the stabilizer gates conjugated by 1qubit unitary transformat…”
BackgroundPower of One Bit of Quantum Information
Knill, E. H., & Laflamme, R. (1998) · Physical Review Letters · doi:10.1103/physrevlett.81.5672 · Cited by 880 · see citing works
The Two-Valued Iterative Systems of Mathematical Logic. (AM-5)
Post, E. L. (1942) · Princeton University Press eBooks · doi:10.1515/9781400882366 · Cited by 611 · see citing works
Synthesis of reversible logic circuits
Shende, V., Prasad, A. K., Markov, I. L., & Hayes, J. P. (2003) · IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · doi:10.1109/tcad.2003.811448 · Cited by 567 · see citing works
Synthesis and optimization of reversible circuits—a survey
Saeedi, M., & Markov, I. L. (2013) · ACM Computing Surveys · doi:10.1145/2431211.2431220 · Cited by 294 · see citing works
Fast parallel circuits for the quantum Fourier transform
Cleve, R., & Watrous, J. (2002) · Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.2000.892140 · Cited by 223 · see citing works
ALGORITHMIC PROBLEMS IN VARIETIES
Kharlampovich, O., & Sapir, M. (1995) · International Journal of Algebra and Computation · doi:10.1142/s0218196795000227 · Cited by 161 · see citing works
Function algebras on finite sets : a basic course on many-valued logic and clone theory
Lau, D. (2006) · CERN Document Server (European Organization for Nuclear Research) · doi:10.1007/3-540-36023-9 · Cited by 103 · see citing works
Reversible logic circuit synthesis
Shende, V., Prasad, A. K., Markov, I. L., & Hayes, J. P. (2003) · doi:10.1109/iccad.2002.1167558 · Cited by 68 · see citing works
Generation of universal linear optics by any beam splitter
Bouland, A., & Aaronson, S. (2014) · Physical Review A · doi:10.1103/physreva.89.062316 · Cited by 43 · see citing works
Self-citationComputing algebraic formulas with a constant number of registers
Cleve, R. (1988) · ACM Symposium on Theory of Computing (STOC) · doi:10.1145/62212.62236 · Cited by 31 · see citing works
Classification and Universality of Reversible Logic Elements with One-Bit Memory
Morita, K., Ogiro, T., Tanaka, K., & Kato, H. (2005) · Lecture notes in computer science · doi:10.1007/978-3-540-31834-7_20 · Cited by 20 · see citing works
Encoded Universality in Physical Implementations of a Quantum ComputerPreprint
Bacon, D., Kempe, J., Divincenzo, D. P., Lidar, D. A., & Whaley, K. B. (2001) · arXiv (Cornell University) · doi:10.48550/arxiv.quant-ph/0102140 · Cited by 17 · see citing works
Complexity classification of local Hamiltonian problemsPreprint
Cubitt, T. S., & Montanaro, A. (2013) · arXiv (Cornell University) · doi:10.48550/arxiv.1311.3161 · Cited by 9 · see citing works
Any non-affine one-to-one binary gate suffices for computationPreprint
Lloyd, S. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1504.03376 · Cited by 1 · see citing works
Flagged first, then by citations
1 of the 22 references couldn’t be matched to a known paper.
Research works printed but not linked: 7
- [1][1] S. Aaronson and A. Arkhipov. The computational complexity of linear optics. Theory of Computing , 9(4):143-252, 2013. Conference version in Proceedings of ACM STOC'2011. ECCC TR10-170, arXiv:1011.3245. - · arXiv
- [13][13] P. Kerntopf, M. A. Perkowski, and M. Khan. On universality of general reversible multiplevalued logic gates. In IEEE International Symposium on Multiple-Valued Logic , pages 68-73, 2004. -
- [20][20] J. MacWilliams. Orthogonal matrices over finite fields. American Mathematical Monthly , 76(2):152-164, 1969. -
- [26][26] Y. Shi. Both Toffoli and controlled-NOT need little help to do universal quantum computation. Quantum Information and Computation , 3(1):84-92, 2002. quant-ph/0205115. - · arXiv
- [27][27] I. Strazdins. Universal affine classification of Boolean functions. Acta Applicandae Mathematica , 46(2):147-167, 1997. -
- [28][28] T. Toffoli. Reversible computing. In Proc. Intl. Colloquium on Automata, Languages, and Programming (ICALP) , pages 632-644. Springer, 1980. -
- [29][29] A. De Vos and L. Storme. r-universal reversible logic gates. Journal of Physics A: Mathematical and General , 37(22):5815-5824, 2004.
Cited by
Sorted by citations
Universal quantum circuits for quantum chemistry
Arrazola, J. M., Matteo, O. D., Quesada, N., Jahangiri, S., Delgado, A., & Killoran, N. (2022) · Quantum · doi:10.22331/q-2022-06-20-742 · Cited by 73 · see citing works
Number-Theoretic Characterizations of Some Restricted Clifford+T Circuits
Amy, M., Glaudell, A., & Ross, N. J. (2019) · Quantum · doi:10.22331/q-2020-04-06-252 · Cited by 43 · see citing works
Universal Extensions of Restricted Classes of Quantum Operations
Oszmaniec, M., & Zimborás, Z. (2017) · Physical Review Letters · doi:10.1103/physrevlett.119.220502 · Cited by 28 · see citing works
Reversible Computation: Extending Horizons of Computing
Ulidowski, I., Lanese, I., Schultz, U. P., & Ferreira, C. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-47361-7 · Cited by 22 · see citing works
The Group of Reversible Turing Machines
Barbieri, S., Kari, J., & Salo, V. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-39300-1_5 · Cited by 20 · see citing works
Optimization of CNOT circuits on limited-connectivity architecture
Wu, B., He, X., Yang, S., Shou, L., Tian, G., Zhang, J., & Sun, X. (2023) · Physical Review Research · doi:10.1103/physrevresearch.5.013065 · Cited by 18 · see citing works
Realization of arbitrary doubly-controlled quantum phase gatesPreprint
Hill, A. D., Hodson, M. J., Didier, N., & Reagor, M. J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2108.01652 · Cited by 17 · see citing works
The Classification of Clifford Gates over Qubits
Grier, D., & Schaeffer, L. (2022) · Quantum · doi:10.22331/q-2022-06-13-734 · Cited by 15 · see citing works
Self-citationAn investigation on support vector clustering for big data in quantum paradigm
Bishwas, A. K., Mani, A., & Palade, V. (2020) · Quantum Information Processing · doi:10.1007/s11128-020-2606-x · Cited by 16 · see citing works
Ballistic Reversible Gates Matched to Bit Storage: Plans for an Efficient CNOT Gate Using Fluxons
Osborn, K. D., & Wustmann, W. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-99498-7_13 · Cited by 12 · see citing works
Choudhury, V., Karwowski, J., & Sabry, A. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3498667 · Cited by 10 · see citing works
New Hardness Results for the Permanent Using Linear OpticsPreprint
Grier, D., & Schaeffer, L. (2016) · arXiv (Cornell University) · doi:10.4230/lipics.ccc.2018.19 · Cited by 8 · see citing works
Self-citationQuantum Key-Recovery Attacks on Permutation-Based Pseudorandom Functions
Sun, H.-W., Gao, F., Xu, R.-X., Li, D., Li, Z., & Zhang, K. (2025) · IEEE Internet of Things Journal · doi:10.1109/jiot.2025.3579024 · Cited by 7 · see citing works
Study of Reversible Ternary Functions with Homogeneous Component Functions
Kerntopf, P., Podlaski, K., Moraga, C., & Stanković, R. S. (2017) · IEEE International Symposium on Multiple-Valued Logic (ISMVL) · doi:10.1109/ismvl.2017.54 · Cited by 7 · see citing works
Cockett, J. R. B., & Comfort, C. (2019) · Electronic Proceedings in Theoretical Computer Science · doi:10.4204/eptcs.287.4 · Cited by 7 · see citing works
The Classification of Stabilizer Operations over QubitsPreprint
Grier, D., & Schaeffer, L. (2016) · arXiv (Cornell University) · Cited by 6 · see citing works
Self-citationCosine series quantum sampling method with applications in signal and image processingPreprint
Wereszczynski, K., Michalczuk, A., Eszor, D. P., Paszkuta, M., Cyran, K., & Polański, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2011.12738 · Cited by 12 · see citing works
Tight Bounds on the Spooky Pebble Game: Recycling Qubits with Measurements
Kornerup, N., Sadun, J., & Soloveichik, D. (2025) · Quantum · doi:10.22331/q-2025-02-18-1636 · Cited by 8 · see citing works
Ternary/MV Reversible Functions with Component Functions from Different Equivalence Classes
Kerntopf, P., Stanković, R. S., Podlaski, K., & Moraga, C. (2018) · IEEE International Symposium on Multiple-Valued Logic (ISMVL) · doi:10.1109/ismvl.2018.00027 · Cited by 5 · see citing works
Finite generating sets for reversible gate sets under general conservation laws
Boykett, T., Kari, J., & Salo, V. (2017) · Theoretical Computer Science · doi:10.1016/j.tcs.2016.12.032 · Cited by 4 · see citing works
Big Data Quantum Support Vector Clustering.Preprint
Bishwas, A. K., Mani, A., & Palade, V. (2018) · arXiv (Cornell University) · Cited by 4 · see citing works
New Results on Reversible Boolean Functions Having Component Functions with Specified Properties
Kerntopf, P., Podlaski, K., Moraga, C., & Stanković, R. S. (2019) · Springer eBooks · doi:10.1007/978-3-030-20323-8_10 · Cited by 3 · see citing works
Universal quantum computation via quantum controlled classical operations
Horvat, S., Gao, X., & Dakić, B. (2021) · Journal of Physics A Mathematical and Theoretical · doi:10.1088/1751-8121/ac4393 · Cited by 3 · see citing works
Motion Planning Algorithms for Safety and Quantum Computing Efficiency
Lathrop, P., & (NNSA), U. N. N. S. A. (2023) · doi:10.2172/2229652 · Cited by 3 · see citing works
Simple formulation of no-cloning and no-hiding that admits efficient and robust verification
Girling, M., Cîrstoiu, C., & Jennings, D. (2024) · Physical Review Research · doi:10.1103/physrevresearch.6.023090 · Cited by 2 · see citing works
Chen, C.-H., Choudhury, V., Carette, J., & Sabry, A. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-52482-1_10 · Cited by 2 · see citing works
Characteristic Vectors of Reversible Boolean Functions with Threshold Components
Karalic, A., Pantović, J., & Suknjaja, H. (2022) · IEEE International Symposium on Multiple-Valued Logic (ISMVL) · doi:10.1109/ismvl52857.2022.00024 · Cited by 1 · see citing works
Research on Reversible Functions Having Component Functions with Specified Properties: An Overview
Kerntopf, P., Moraga, C., Podlaski, K., & Stanković, R. S. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-47361-7_4 · Cited by 1 · see citing works
Notes on the maximality of reversible gate sets under borrow and ancilla closure
Boykett, T. (2021) · Science of Computer Programming · doi:10.1016/j.scico.2021.102714 · Cited by 1 · see citing works
Circuit Relations for Real Stabilizers: Towards TOF+HPreprint
Comfort, C. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.10614 · Cited by 1 · see citing works
The Spooky Pebble Game.Preprint
Kornerup, N., Sadun, J., & Soloveichik, D. (2021) · arXiv (Cornell University)
Framework for Learning and Control in the Classical and Quantum DomainsPreprint
Vedaie, S. S., Dalal, A., Paez, E. J., & Sanders, B. C. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2307.04256
The Group of Reversible Turing Machines: Subgroups, Generators and ComputabilityPreprint
Barbieri, S., Kari, J., & Salo, V. (2023) · SSRN Electronic Journal · doi:10.2139/ssrn.4536620
Design of Number-Theoretic Transforms Using Diemitko Numbers
Gordeev, S., Anton, S., & Lapina, M. (2026) · Lecture notes in networks and systems · doi:10.1007/978-3-032-27834-0_15
- Authors
- Aaronson, S., Grier, D., & Schaeffer, L.
- Affiliations
- Massachusetts Institute of Technology (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2015
- Volume
- 22
- Pages
- 34
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 1504.05155
- OpenAlex
- W246788058
- Cited by
- 33
- References
- 22
- Citations by year
- 2026: 1 · 2025: 2 · 2023: 4 · 2022: 4 · 2021: 4 · 2020: 6 · 2019: 3 · 2018: 3 · 2017: 3 · 2016: 3
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) (submittedVersion, cc-by)
- arXiv (Cornell University)
- Leibniz international proceedings in informatics (cc-by)
- Electronic colloquium on computational complexity
- Conference on Innovations in Theoretical Computer Science
- Funders
- National Science Foundation (1122374, 1249349)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Quantum Computing Algorithms and Architecture
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Quantum-Dot Cellular Automata
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Computability, Logic, AI Algorithms
- Keywords
- reversible computation, reversible logic gates, Toffoli gate, Fredkin gate, CNOT gate, affine transformation, circuit compression, decidability, quantum gate sets, Diophantine equations
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review