Algorithmic Quantum-State Generation for Simulating Quantum Field Theories on a Quantum Computer