Circuit complexity of quantum access models for encoding classical data

Circuit complexity of quantum access models for encoding classical data

Xiao-Ming Zhang & Xiao Yuan 

npj Quantum Information volume 10, Article number: 42 (2024

Published: 23 April 2024

Abstract

How to efficiently encode classical data is a fundamental task in quantum computing. While many existing works treat classical data encoding as a black box in oracle-based quantum algorithms, their explicit constructions are crucial for the efficiency of practical algorithm implementations. Here, we unveil the mystery of the classical data encoding black box and study the Clifford + T complexity in constructing several typical quantum access models. For general matrices (even including sparse ones), we prove that sparse-access input models and block-encoding both require nearly linear circuit complexities relative to the matrix dimension. We also give construction protocols achieving near-optimal gate complexities. On the other hand, the construction becomes efficient with respect to the data qubit when the matrix is a linear combination of polynomial terms of efficiently implementable unitaries. As a typical example, we propose improved block-encoding when these unitaries are Pauli strings. Our protocols are built upon improved quantum state preparation and a select oracle for Pauli strings, which hold independent values. Our access model constructions provide considerable flexibility, allowing for tunable ancillary qubit numbers and offering corresponding space-time trade-offs.

Fig. 1: State preparation achieving O(N) Clifford + T count for few qubit case.

figure 1

The operation is decomposed into uniformly controlled Z- and Y-rotations, whose control and rotation parts are denoted with red and blue colors respectively. Each m-UCR is decomposed into 2m multi-qubit controlled single-qubit rotations, and m increases with the opacity of the control part (red). Each Z- or Y-rotation is decomposed into Clifford + T gates, and the decomposition accuracy increases with the opacity of the rotation part (blue).