Visualizing quantum walks on small graphs
This page has all the Julia code necessary for creating the images; as such, it must begin with a couple of trivialities, as loading the dependencies and defining the adjacency matrix of a graph.
adjacency_matrix (generic function with 2 methods)
Quantum Walk representation
I am representing a quantum walk as the adjacency matrix of the graph.
I also created a custom
heatmap function for displaying the matrices.
heatmap (generic function with 1 method)
Then it is easy to create an animation: Just iterate over a bunch of times and display the component-wise absolute value of
animate (generic function with 1 method)
I can now display some quantum walks. I will show for