Reducing C-NOT Counts for State Preparation and Block Encoding via Diagonal Matrix Migration
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 from Plesch-Brukner algorithm, proposed in 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 . This result even exceeds the lower bound of for -qubit unitary synthesis. 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. Our approach builds upon the recursive block-ZXZ decomposition from Krol et al. 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.
Cite
@article{arxiv.2603.16492,
title = {Reducing C-NOT Counts for State Preparation and Block Encoding via Diagonal Matrix Migration},
author = {Zexian Li and Guofeng Zhang and Xiao-Ming Zhang},
journal= {arXiv preprint arXiv:2603.16492},
year = {2026}
}
Comments
10 pages, 5 figures