English

Sparse quantum state preparation with improved Toffoli cost

Quantum Physics 2026-01-15 v1

Abstract

The preparation of quantum states is one of the most fundamental tasks in quantum computing, and a key primitive in many quantum algorithms. Of particular interest to areas such as quantum simulation and linear-system solvers are sparse quantum states, which contain only a small number ss of non-zero computational basis states compared to a generic state. In this work, we present an approach that prepares ss-sparse states on nn qubits, reducing the number of Toffoli gates required compared to prior art. We work in the established framework of first preparing a dense state on a log(s)\lceil{\log(s)}\rceil-qubit sub-register, and then mapping this state to the target state via an isometry, with the latter step dominating the cost of the full algorithm. The speed-up is achieved by designing an efficient algorithm for finding and implementing the isometry. The worst-case Toffoli cost of our isometry circuit, which may be viewed as a batched version of an approach by Malvetti et al., is essentially 2s2s for sufficiently large values of nn, yielding roughly a log(s)/2\log(s)/2 improvement factor over the state-of-the-art. In numerical benchmarks on randomly chosen states, the cost is closer to ss. With the improved isometry circuit, we examine the dense-state preparation step and present ways to optimize the joint cost of both steps, particularly in the case of target states with purely real coefficients, by outsourcing some sub-tasks from the dense-state preparation to the isometry.

Cite

@article{arxiv.2601.09388,
  title  = {Sparse quantum state preparation with improved Toffoli cost},
  author = {Felix Rupprecht and Sabine Wölk},
  journal= {arXiv preprint arXiv:2601.09388},
  year   = {2026}
}

Comments

20 (16 + 4) pages, 10 Figures, code available, feedback and comments welcome

R2 v1 2026-07-01T09:04:10.601Z