Abstract

It is well-known that the Toffoli gate and the negation gate together yield a universal gate set, in the sense that every even permutation of {0,1}n can be implemented as a composition of these gates. An analogous result holds also on non-binary logic: For any finite set A, a finite set of reversible gates can generate all even permutations of An for all n. This means that a finite gate set can generate all permutations of An when the cardinality of A is odd, and that one auxiliary “borrowed” symbol is necessary and sufficient to obtain all permutations when the cardinality of A is even. We consider the conservative case, that is, those permutations of An 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 An without borrowed symbols. But we provide a finite gate set that can implement all those conservative permutations that are even within each weight class of An.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.