Abstract
Among the cost metrics characterizing a quantum circuit, the -count stands out as one of the most crucial as its minimization is particularly important in various areas of quantum computation such as fault-tolerant quantum computing and quantum circuit simulation. In this work, we contribute to the -count reduction problem by proposing efficient -count optimizers with low execution times. In particular, we greatly improve the complexity of TODD, an algorithm currently providing the best -count reduction on various quantum circuits. We also propose some modifications to the algorithm which are leading to a significantly lower number of gates. In addition, we propose another algorithm which has an even lower complexity and that achieves a better or equal -count than the state of the art on most quantum circuits evaluated. We also prove that the number of gates in the circuit obtained after executing our algorithms on a Hadamard-free circuit composed of qubits is upper bounded by , which improves on the worst-case -count of existing optimization algorithms. From this we derive an upper bound of for the number of gates in a Clifford circuit where is the number of internal Hadamard gates in the circuit, i.e. the number of Hadamard gates lying between the first and the last gate of the circuit.