for learning quantum walk