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 n-qubit state, we improve the C-NOT count of the Plesch-Brukner algorithm (2011) from 23242n to 11122n. For block encoding, our single-ancilla protocol for 2n-1× 2n-1 matrices uses the spectral norm as subnormalization and achieves a C-NOT count leading term 11484n. Further optimization is performed for low-rank matrices, which frequently arise in practical applications. Specifically, we achieve the C-NOT count leading term (2K+1112)2n for a rank-K 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. and introduces a diagonal matrix migration technique based on the commutativity of the diagonal matrix and the uniformly controlled rotation about the z-axis to minimize the use of C-NOT gates.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.