Binary Tree Block Encoding of Classical Matrix
Zexian Li, Xiao‐Ming Zhang, Chunlin Yang +1 more
State preparation and block-encoding are essential subroutines in quantum computing. The former provides basic encoding of quantum states, while the latter transforms classical data into a matrix representation within a quantum circuit. Some quantum advantages are built on the assumption that the subroutine– block encoding has been compiled in the quantum circuit, and this derives a problem of how to efficiently compile a block encoding. The resource trade-offs of block encoding, such as circuit size, subnormalization factor, compilation complexity (both time and space), and robustness against errors are central to its efficiency. In this work, the Binary Tree Block-Encoding (BITBLE) protocol is introduced, which optimizes these trade-offs. For a classical matrix in C2n× 2n, our approach reduces the compilation time toO(n22n) using n ancilla qubits, achieving superior resource trade-offs compared to existing methods. Numerical experiments further reveal that the approach outlined in BITBLE enhances compilation efficiency, resource scalability, and robustness against single-qubit gate errors in various standard data encoding tasks. Moreover, all algorithms are available as open-source.
arXiv:2504.05624•IEEE Transactions on Quantum Engineering•Oct 23, 2025•1 citation