https://doi.org/10.1140/epjqt/s40507-025-00317-6
Research
Analysis of converting
-circuit into
-circuit
1 College of Intelligent Systems Science and Engineering, Hubei Minzu University, 44500, Enshi, China
2 School of Information and Software Engineering, University of Electronic Science and Technology of China, 610054, Chengdu, China
3 Big data research Center & School of Computer Science and Engineering, University of Electronic Science and Technology of China, 611731, Chengdu, China
Received:
5
June
2024
Accepted:
16
January
2025
Published online: 28 January 2025
A -circuit, which was proposed in Asiacypt 2022 by Huang and Sun (Advances in cryptology – ASIACRYPT 2022, pp. 614–644, 2022), can directly perform calculations with the existing quantum states, thereby reducing the use of quantum resources in quantum logic synthesis. We theoretically prove how to convert a
-circuit into the corresponding
-circuit through two lemmas and one theorem. The first lemma proves the interchangeability of CNOT gates and NOT gates by using the equivalence of quantum circuits. The second lemma proves that adding CNOT gates to the front of a quantum circuit whose initial states are all
s will not change the output states of the circuit. The theorem is used to describe what kind of
-circuit can be transformed into
-circuit, and the correctness of this transformation is proved. Our work will provide a theoretical basis for converting
-circuit to
-circuit. Then applying the theoretical analysis results to the multiplication over
, the constructed quantum circuit needs 27 Toffoli gates and 118 CNOT gates, which is 15 fewer Toffoli gates and 43 CNOT gates than the current best result. This shows that the method of constructing quantum circuits by using the conversion of
-circuit to
-circuit is very efficient.
Key words: Quantum circuit / Quantum logic synthesis / 𝕮*-circuit / Multiplication
© The Author(s) 2025
Open Access
This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.