This program simulates a quantum walk with one-step memory on a cycle of finite length for finite amount of time steps. The figure below is an example of a cycle of length 8. The nodes are numbered starting from 0.
Enter the cycle length and number of steps: