- Published 2016 in ArXiv

It is well-known that the Toffoli gate and the negation gate together yield a universal gate set, in the sense that every permutation of {0, 1} can be implemented as a composition of these gates. Since every bit operation that does not use all of the bits performs an even permutation, we need to use at least one auxiliary bit to perform every permutation, and it is known that one bit is indeed enough. Without auxiliary bits, all even permutations can be implemented. We generalize these results to non-binary logic: For any finite set A, a finite gate set can generate all even permutations of A for all n, without any auxiliary symbols. This directly implies the previously published result that a finite gate set can generate all permutations of A when the cardinality of A is odd, and that one auxiliary symbol is necessary and sufficient to obtain all permutations when the cardinality of A is even. We also consider the conservative case, that is, those permutations of A that preserve the weight of the input word. The weight is the vector that records how many times each symbol occurs in the word or, more generally, the image of the word under a fixed monoid homomorphism from A to a commutative monoid. It turns out that no finite conservative gate set can, for all n, implement all conservative even permutations of A without auxiliary bits. But we provide a finite gate set that can implement all those The authors would like to acknowledge the contribution of the COST Action IC1405. This work was partially funded by SFB Project F5004 of the Austrian Science Foundation, FWF, by the Academy of Finland grant 296018, and by FONDECYT research grant 3150552. A preliminary version of this work was presented at the 8th International Conference on Reversible Computation, RC 2016 [3]. Preprint submitted to Theoretical Computer Science November 8, 2016 conservative permutations that are even within each weight class of A.

@article{Boykett2016FiniteGS,
title={Finite generating sets for reversible gate sets under general conservation laws},
author={Tim Boykett and Jarkko Kari and Ville Salo},
journal={CoRR},
year={2016},
volume={abs/1611.01523}
}