Quantum automata and quantum computing