Quantum-state preparation with universal gate decompositions