Linear Circuit Synthesis using Weighted Steiner Trees

Nir Gavrielov,Alexander Ivrii,Shelly Garion
2024-08-08
Abstract:CNOT circuits are a common building block of general quantum circuits. The problem of synthesizing and optimizing such circuits has received a lot of attention in the quantum computing literature. This problem is especially challenging for quantum devices with restricted connectivity, where two-qubit gates can only be placed between adjacent qubits. The state-of-the-art algorithms for optimizing the number of CNOT gates are heuristic algorithms that are based on Gaussian elimination and that use Steiner trees to connect between different subsets of qubits. In this article, we suggest considering weighted Steiner trees, and we present a simple low-cost heuristic to compute weights. The simulated evaluation shows that the suggested heuristic is almost always beneficial and reduces the number of CNOT gates by up to 10%.
Quantum Physics
What problem does this paper attempt to address?
This paper attempts to address the problem of CNOT gate optimization in quantum circuit synthesis, particularly in scenarios where quantum device connectivity is limited. CNOT gates are common building blocks in universal quantum circuits, and these gates can only be placed between adjacent qubits. Therefore, optimizing the number of CNOT gates is crucial for reducing the noise in quantum circuits and improving their execution efficiency. Specifically, the paper proposes a new method based on weighted Steiner trees to optimize the number of CNOT gates. Existing optimization algorithms typically rely on heuristic methods, such as Gaussian elimination, and use Steiner trees to connect different subsets of qubits. However, these methods do not consider edge weights, which may lead to suboptimal solutions. The authors of this paper suggest using weighted Steiner trees and propose a low-computational-cost heuristic method to calculate the weights. Through simulation evaluations, this method is almost always beneficial, reducing the number of CNOT gates by up to 10%. Additionally, the paper demonstrates the performance of this method under different quantum device connectivity architectures, including heavy hexagon, 2D grid, and fully connected architectures. The results show that this method is particularly effective for highly connected architectures or scenarios requiring the synthesis of large circuits. This provides new directions and tools for future research in the field of quantum circuit optimization.