Minimization of AND-XOR Expressions with Decoders for Quantum Circuits
Sonia Yang, Ali Al-Bayaty, Marek Perkowski
TL;DR
This work introduces multi-valued input, binary output (MVI) logic as a foundation for reversible quantum circuit synthesis, formulating two canonical forms—MVI-FPRM and MVI-GRM—to minimize quantum costs. It develops two practical synthesis paths: (i) a products-matching method to compute exact MVI-FPRM representations and corresponding decoder-based circuits, and (ii) a butterfly-diagram approach to transform minterms into fixed polarities; MVI-GRM further factorizes MVI-FPRM forms to reduce circuit size. Through detailed examples including a 2-bit adder and multi-output functions, the paper demonstrates substantial cost benefits over ESOP-based realizations, particularly as circuit size grows and decoder costs amortize. The results establish a concrete, decoder-enabled framework for low-cost quantum circuit synthesis, with future work focusing on decoder selection, variable pairing, and extending to incompletely specified functions.
Abstract
This paper introduces a new logic structure for reversible quantum circuit synthesis. Our synthesis method aims to minimize the quantum cost of reversible quantum circuits with decoders. In this method, multi-valued input, binary output (MVI) functions are utilized as a mathematical concept only, but the circuits are binary. We introduce the new concept of ``Multi-Valued Input Fixed Polarity Reed-Muller (MVI-RM)" forms. Our decoder-based circuit uses three logical levels in contrast to commonly-used methods based on Exclusive-or Sum of Products (ESOP) with two levels (AND-XOR expressions), realized by Toffoli gates. In general, the high number of input qubits in the resulting Toffoli gates is a problem that greatly impacts the quantum cost. Using decoders decreases the number of input qubits in these Toffoli gates. We present two practical algorithms for three-level circuit synthesis by finding the MVI-FPRM: products-matching and the newly developed butterfly diagrams. The best MVI-FPRM forms are factorized and reduced to approximate Multi-Valued Input Generalized Reed-Muller (MVI-GRM) forms.
