Quantum Automation