Abstract
We present a method based on Mealy machines for constructing reversible circuitry for multiplying integers by arbitrary integer constants. The circuits generate no garbage and use no ancillae. The circuits are quite compact for small constants and are, in the worst case, bounded by O(n2) multi-control Toffoli gates per bit-slice, where nis the number of bits in the constant. These gates will have O(n) inputs, so the total number of pass-transistors needed to implement the circuit is O(n3) transistors per bit slice, and the quantum cost (which is exponential in the number of inputs to a Toffoli gate) is O(2n). For some interesting cases, the cost can be reduced to O(n) gates per bit-slice, reducing the cost to O(n2) transistors per bit slice. The quantum cost is still O(2n), as the remaining gates have O(n) inputs. We also look at an alternative construction that, at the cost of adding O(n) ancillae, reduces the cost for arbitrary constants to O(n) gates, O(n2) transistors, though still with O(2n) quantum cost.
Originalsprog | Engelsk |
---|---|
Artikelnummer | 12 |
Tidsskrift | A C M Journal on Emerging Technologies in Computing Systems |
Vol/bind | 11 |
Udgave nummer | 2 |
Antal sider | 18 |
ISSN | 1550-4832 |
DOI | |
Status | Udgivet - 1 okt. 2014 |