  Initializing classical data in a quantum device is an essential step in many
quantum algorithms. As a consequence of measurement and noisy operations, some
algorithms need to reinitialize the prepared state several times during its
execution. In this work, we propose a quantum state preparation algorithm
called CVO-QRAM with computational cost O(kM), where M is the number of nonzero
probability amplitudes and $k$ is the maximum number of bits with value 1 in
the patterns to be stored. The proposed algorithm can be an alternative to
create sparse states in future NISQ devices.
