[Paper Review] Synthesis of Reversible Functions Beyond Gate Count and Quantum Cost
This paper proposes extending reversible and quantum logic synthesis beyond traditional metrics like gate count and quantum cost by introducing technology-aware cost metrics, particularly Nearest Neighbor Cost (NNC) for Linear Nearest Neighbor (LNN) architectures. It presents a modified synthesis flow that achieves NNC-optimality while reducing quantum cost by up to 83% (56% average) through macro-based optimization and reordering, enabling physically realizable quantum circuits with minimal overhead.
Many synthesis approaches for reversible and quantum logic have been proposed so far. However, most of them generate circuits with respect to simple metrics, i.e. gate count or quantum cost. On the other hand, to physically realize reversible and quantum hardware, additional constraints exist. In this paper, we describe cost metrics beyond gate count and quantum cost that should be considered while synthesizing reversible and quantum logic for the respective target technologies. We show that the evaluation of a synthesis approach may differ if additional costs are applied. In addition, a new cost metric, namely Nearest Neighbor Cost (NNC) which is imposed by realistic physical quantum architectures, is considered in detail. We discuss how existing synthesis flows can be extended to generate optimal circuits with respect to NNC while still keeping the quantum cost small.
Motivation & Objective
- To address the gap in existing synthesis approaches that focus only on gate count and quantum cost, ignoring real-world physical constraints in quantum architectures.
- To evaluate how alternative cost metrics, especially Nearest Neighbor Cost (NNC), affect the performance evaluation of synthesis methods.
- To develop a synthesis flow that generates NNC-optimal circuits for Linear Nearest Neighbor (LNN) quantum architectures without incurring excessive quantum cost.
- To reduce the quantum cost of NNC-optimized circuits through macro-based optimization and reordering techniques.
- To demonstrate that considering NNC leads to more practical and physically realizable quantum circuit designs.
Proposed method
- Introduces Nearest Neighbor Cost (NNC) as a new cost metric reflecting physical constraints in LNN quantum architectures, where only adjacent qubits can interact.
- Proposes a synthesis flow that integrates NNC-optimality into existing reversible logic synthesis frameworks by modifying gate placement and routing strategies.
- Applies macro-based optimization to replace sequences of SWAP and Toffoli gates with more efficient equivalent structures that preserve NNC while reducing quantum cost.
- Employs reordering techniques—both global and local—to minimize quantum cost in NNC-optimized circuits, with experimental validation on benchmark functions.
- Uses a multi-method decomposition strategy, evaluating all possible decomposition variants and selecting the best in terms of combined NNC and quantum cost.
- Employs exact synthesis and line reordering methods similar to those used in classical logic synthesis, adapted for quantum circuit constraints.
Experimental results
Research questions
- RQ1How does the evaluation of synthesis approaches change when additional physical cost metrics like NNC are considered, beyond gate count and quantum cost?
- RQ2To what extent can NNC-optimality be achieved without significantly increasing quantum cost in quantum circuit synthesis?
- RQ3Can macro-based optimization and reordering techniques effectively reduce the quantum cost of NNC-optimized circuits?
- RQ4What is the trade-off between NNC-optimality and quantum cost in LNN quantum architectures?
- RQ5How can existing synthesis flows be extended to support NNC as a primary optimization criterion?
Key findings
- The naive method of achieving NNC-optimality via SWAP gates increases quantum cost by approximately one order of magnitude on average.
- By applying macro-based optimization and reordering, the quantum cost of NNC-optimized circuits is reduced by up to 83% in the best case and 56% on average.
- Reordering techniques improve results in most cases, with only minor degradation in a few benchmarks (e.g., 0410184_169, add64_184).
- The proposed method enables the synthesis of NNC-optimal circuits with a moderate increase in quantum cost, making them physically viable for LNN architectures.
- All execution times for the proposed method remain negligible, allowing practical evaluation of multiple decomposition variants to select the optimal one.
- The study demonstrates that considering NNC leads to fundamentally different conclusions about synthesis performance compared to traditional metrics alone.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.