加载中…
GCD computations and variants of the Euclidean algorithm enjoy broad uses in both classical and quantum algorithms. In this paper, we propose quantum circuits for GCD computation with depth with O(n) ancillae. Prior circuit construction needs running time with O(n) ancillae. The proposed construction is based on the binary GCD algorithm and it benefits from log-depth circuits for 1-bit shift, comparison/subtraction, and managing ancillae. The worst-case gate count remains , as in traditional circuits.

生成讲解博客的中文版本

生成AI智能校验的中文版本