Quantum Random Walks and Vanishing of the Second Hochschild Cohomology