Updated: Added Quantum Gen On State