Abstract
Quantum state preparation is a fundamental and significant subroutine in quantum computing. In this paper, we conduct a systematic investigation on the circuit size (the total count of elementary gates in the circuit) for sparse quantum state preparation. A quantum state is said to be -sparse if it has only non-zero amplitudes. For the task of preparing an -qubit -sparse quantum state, we obtain the following results: \textbf{Without ancillary qubits:} Any -qubit -sparse quantum state can be prepared by a quantum circuit of size without using ancillary qubits, which improves the previous best results. It is asymptotically optimal when , and this optimality holds for a broader scope under some reasonable assumptions. \textbf{With limited ancillary qubits:} (i) Based on the first result, we prove for the first time a trade-off between the number of ancillary qubits and the circuit size: any -qubit -sparse quantum state can be prepared by a quantum circuit of size using ancillary qubits for any . (ii) We establish a matching lower bound under some reasonable assumptions, and obtain a slightly weaker lower bound without any assumptions. \textbf{With unlimited ancillary qubits:} Given arbitrary amount of ancillary qubits available, the circuit size for preparing -qubit -sparse quantum states is .