Exact and Efficient Circuit Construction for Block Encoding Matrix Polynomials
A recent interpolation-based Quantum Signal Processing (QSP) framework by Alase bypasses the phase-finding procedures required in conventional QSP, allowing for a direct encoding of the target polynomial into a quantum circuit. However, this approach assumes access to a diagonal block encoding of function values without providing an explicit circuit construction. In this work, we address this gap by developing an explicit quantum circuit construction method for diagonal block encodings. We prove that the resulting algorithm is numerically stable and constructs block-encoding circuits for matrix polynomials of degree \(d\) in \(\mathcal{O}(d\log d)\) classical time, improving on the best known theoretical bounds for this task. Numerical results confirm these theoretical findings. For polynomial degrees of order $10^7$, the proposed algorithm computes the phase factors in about a minute on a standard CPU. In double precision, the encoding error remains below $10^{-11}$ for all tested degrees up to $2^{16}$.