Reducing C-NOT Counts for State Preparation and Block Encoding via Diagonal Matrix Migration
arXiv:2603.16492 · doi:10.1109/TCAD.2026.3707423
Abstract
Quantum state preparation and block encoding are versatile and practical input models for quantum algorithms in scientific computing. The circuit complexity of state preparation and block encoding frequently dominates the end-to-end gate complexity of quantum algorithms. We give algorithms with lower C-NOT counts for both the state preparation and block encoding. For a general -qubit state, we improve the C-NOT count of the Plesch-Brukner algorithm (2011) from to . For block encoding, our single-ancilla protocol for matrices uses the spectral norm as subnormalization and achieves a C-NOT count leading term . Further optimization is performed for low-rank matrices, which frequently arise in practical applications. Specifically, we achieve the C-NOT count leading term for a rank- matrix. This is the first quantum algorithm that encodes matrices using the optimal normalization factor while also allowing the C-NOT count to be adjusted according to the matrix rank. Our approach builds upon the recursive Block-ZXZ decomposition from Krol et al. (2024) and introduces a diagonal matrix migration technique based on the commutativity of the diagonal matrix and the uniformly controlled rotation about the -axis to minimize the use of C-NOT gates.
14 pages, 6 figures