Abstract
Compared to general quantum states, the sparse states arise more frequently in the field of quantum computation. In this work, we consider the preparation for -qubit sparse quantum states with non-zero amplitudes and propose two algorithms. The first algorithm uses gates, improving upon previous methods by . We further establish a matching lower bound for any algorithm which is not amplitude-aware and employs at most ancillary qubits. The second algorithm is tailored for binary strings that exhibit a short Hamiltonian path. An application is the preparation of -invariant state with down-spins in a chain of length , including Bethe states, for which our algorithm constructs a circuit of size . This surpasses previous results by and is close to the lower bound . Both the two algorithms shrink the existing gap theoretically and provide increasing advantages numerically.