Showing changes from revision #36 to #37:
Added | Removed | Changed
This page is an experiment, written by Tomi Johnson. For the time being, it should no longer be edited. Instead, ongoing work should take place on the blog article in progress.
Guest post by Tomi Johnson
If you were to randomly click a hyperlink on this web page and keep doing so on each page that followed, where would you end up?
As an esteemed user of Azimuth, I’d like to think you browse more intelligently, but the above is the question Google asks when deciding how to rank the world’s web pages.
Recently, together with the team (Mauro Faccin, Jacob Biamonte and Piotr Migdał) at the ISI Foundation in Turin, we attended a workshop where several of the attendees were asking a similar question with a twist. “What if you, the web surfer, behaved quantum mechanically?”
Now don’t panic! I have no reason to think you might enter a superposition of locations or tunnel through a wall. This merely forms part of a recent drive towards understanding the role that network science can play in quantum physics.
As we’ll find, to play with quantum networks is fun. It could also become a necessity. The size of natural systems in which quantum effects have been identified has grown steadily over the past few years. For example, attention has recently turned to explaining the remarkable efficiency of light-harvesting complexes, comprising tens of molecules and thousands of atoms, using quantum mechanics. If this expansion continues, perhaps quantum physicists will have to embrace the concepts of complex networks.
To begin studying quantum complex networks, we found a revealing toy model. Let me tell you about it. Like all good stories, it starts with a graph: this time representing the internet!
If this taster gets you interested, there are more details available online at:
We’ll be working through Sec II.A and Sec II.B of this paper but no further. We’ll end by bounding the difference between a stochastic walk (like the randomly clicking web surfer mentioned above) and a corresponding quantum walk, in terms of the energy of the walker.
As we all know, the idea of the internet is to connect computers to each other. What do these connections look like when abstracted as a network, with each computer a node and each connection an edge?
The internet on a local scale, such as in your house or office, might look something like this
with several devices connected to a central hub. Each hub connects to other hubs, and so the internet on a slightly larger scale might look something like this
What about the full global, not local, structure of the internet? To answer this question, researchers have developed representations of the whole internet, such as this one
While such representations are pretty awe inspiring, how can we make any sense of them? (Or are they merely excellent desktop wallpapers and new-age artworks?)
In terms of complex network theory, there’s actually a lot that can be said that is not immediately obvious from the above representation.
For example, we find something very interesting if we plot the number of web pages with different incoming links (called degree) on a log-log axis. What is found is the following
This shows that very few computers are connected to a very large number others, while a very large number of computers have very few connections. More precisely, what this shows is a power law distribution, the signature of which is a straight line on a log-log axis.
In fact, power law distributions arise in a diverse number of real world networks, human-built networks such as the internet and naturally occurring networks. It is often discussed alongside the concept of the preferential attachment; highly connected nodes seem to accumulate connections more quickly. We all know of a successful blog whose success had led to an increased presence and more success. That’s an example of preferential attachment.
It’s clear then that degree is an important concept in network theory, and its distribution across the nodes a useful characteristic of a network. Degree gives one indication of how important a node is in a network.
And this is where stochastic walks come in. Google, who are in the business of ranking the importance of nodes (web pages) in a network (the web), use (up to a small modification) the idealized model of a stochastic walker (web surfer) who randomly hops to connected nodes (follows one of the links on a page). This is called the uniform escape model, since the total rate of leaving any node (web page) is set to be the same for all nodes (pages). Leaving the walker (surfer) to wander (surf) for a long while, Google then takes the probability of the walker (surfer) being on a node (page) to rank the importance of that node (page). In the case that the network is undirected (all links are reciprocated) this long-time probability, and therefore the rank of the node (page), is proportional to the degree of the node (page).
So node degrees and the uniform escape model play an important role in the fields of complex networks and stochastic walks. But can they tell us anything about the much more poorly understood topics of quantum networks and quantum walks? In fact, yes, and demonstrating that to you is the purpose of this post.
Before we move on to the interesting bit, the math, it’s worth just listing a few properties of quantum walks that make them hard to analyze, and explaining why they are poorly understood. These are the difficulties we will show how to overcome below.
No convergence. In a stochastic walk, if you leave the walker to wander for a long time, eventually the probability of finding a walker at a node converges to a constant value. In a quantum walk, this doesn’t happen, so the walk can’t be characterized by its long-time properties.
Dependence on initial states. In some stochastic walks the long-time properties of the walk are independent of the initial state. It is possible to characterize the stochastic walk without referring to the initialization of the walker. No such characterization is possible in quantum walks, properties always depends on the initialization of the walker. Is it even possible then to say something useful that applies to all initializations?
Stochastic and quantum generators differ. Those of you familiar with the network theory series (for example part 16) know that some generators produce both stochastic and quantum walks. However, most stochastic walk generators, including that for the uniform escape model, do not generate quantum walks and vice versa. How do we then compare stochastic and quantum walks when their generators differ?
With the task outlined, let’s get started!
In the next couple of sections I’m going to explain the diagram below to you. If you’ve been following the network theory series, in particular part 20, you’ll find parts of it familiar. But as it’s been a while since the last post covering this topic, let’s start with the basics.
A simple graph can be used to define both stochastic and quantum walks. A simple graph is something like this
where there is at most one edge between any two nodes, there are no edges from a node to itself and all edges are undirected. To avoid complications, let’s stick to simple graphs with a finite number of nodes. Let’s also assume you can get from every node to every other node via some combination of edges i.e. the graph is connected.
In the particular example above the graph represents a network of nodes, where nodes 3 and 4 have degree (number of edges) 3, and nodes 1, 2 and 5 have degree 2.
Every simple graph defines a matrix , called the adjacency matrix. For a network with nodes, this matrix is of size , and each element is unity if there is an edge between nodes and , and zero otherwise (let’s use this basis for the rest of this post). For the graph drawn above the adjacency matrix is
By construction, every adjacency matrix is symmetric (the means the transposition of the elements in the node basis) and further, because each is real, it is self-adjoint (the means conjugate transpose).
This is nice, since (as seen in parts 16 and 20) a self-adjoint matrix generates a continuous-time quantum walk.
To recap from the series, a quantum walk is an evolution arising from a quantum walker moving on a network.
A state of a quantum walk is represented by a size complex column vector . Each element of this vector is the so-called amplitude associated with node and the probability of the walker being found on that node (if measured) is the modulus of the amplitude squared . Here is the standard basis vector with a single non-zero -th entry equal to unity, and is the usual inner vector product.
A quantum walk evolves in time according to the Schrödinger equation
where is called the Hamiltonian. If the initial state is then the solution is written as
The probabilities are guaranteed to be correctly normalized when the Hamiltonian is self-adjoint.
There are other matrices that are defined by the graph. Perhaps the most familiar is the Laplacian, which has recently been a topic on this blog (see parts 15, 16 and 20 of the series, and this recent post).
The Laplacian is the matrix , where the degree matrix is an diagonal matrix with elements given by the degrees
For the graph drawn above the degree matrix and Laplacian are
The Laplacian is self-adjoint and generates a quantum walk.
The Laplacian has another property; it is infinitesimal stochastic. This means that its off diagonal elements are non-positive and its columns sum to zero. This is interesting because an infinitesimal stochastic matrix generates a continuous-time stochastic walk.
To recap from the series, a stochastic walk is an evolution arising from a stochastic walker moving on a network.
A state of a stochastic walk is represented by a size non-negative column vector . Each element of this vector is the probability of the walker being found on node .
A stochastic walk evolves in time according to the master equation
where is called the stochastic Hamiltonian. If the initial state is then the solution is written
The probabilities are guaranteed to be non-negative and correctly normalized when the stochastic Hamiltonian is infinitesimal stochastic.
So far, I have just presented what has been covered on Azimuth previously. However, to analyze the important uniform escape model we need to go beyond the class of (Dirichlet) generators that produce both quantum and stochastic walks. Further, we have to somehow find a related quantum walk. We’ll see below that both tasks are achieved by considering the normalized Laplacians: one generating the uniform escape stochastic walk and the other a related quantum walk.
The two normalized Laplacians are
the asymmetric normalized Laplacian (that generates the uniform escape tochastic walk) and
the symmetric normalized Laplacian (that generates a uantum walk).
For the graph drawn above the asymmetric normalized Laplacian is
The identical diagonal elements indicates that the total rates of leaving each node are identical, and the equality within each column of the other non-zero elements indicates that the walker is equally likely to hop to any node connected to its current node. This is the uniform escape model!
For the same graph the symmetric normalized Laplacian is
Puzzle 1. Show that in general is infinitesimal stochastic but not self-adjoint.
Puzzle 2. Show that in general is self-adjoint but not infinitesimal stochastic.
So a graph defines two matrices: one that generates a stochastic walk, and one that generates a quantum walk. The natural question to ask is whether these walks are related. The answer is that they are!
Underpinning this relationship is the mathematic property that and are similar. They are related by the following similarity transformation
which means that any eigenvector of associated to eigenvalue implies that is an eigenvector of associated to the same eigenvalue. To show this, insert identity into
and multiply from the left with to obtain
The same works in the opposite direction. Any eigenvector of implies an eigenvector of associated to the same eigenvalue .
The mathematics is also particularly nice because is self-adjoint. A self-adjoint matrix is diagonalizable, and has real eigenvalues and orthogonal eigenvectors.
As a result, the symmetric normalized Laplacian can be decomposed as
where is real and are orthogonal projectors. Each acts as identity only on vectors in the space spanned by and as zero on all others, such that .
Multiplying from the left by and the right by results in a similar decomposition for
with orthogonal projectos .
We now have all the ingredients necessary to study the walks generated by the normalized Laplacians and discover the relationship between them. I promised above that I would explain the following diagram
Let’s summarize what it represents now:
If this has only warmed you up, next I’ll talk you through the mathematics of the uniform escape stochastic walk and how it connects to the degrees of the nodes in the long-time limit. Then I’ll show you how this helps us solve aspects of the quantum walk generated by .
The uniform escape stochastic walk generated by is popular because it has a really useful stationary state.
To recap from part 20 in the series, a stationary state of a stochastic walk is one that does not change in time. From the master equation the stationary state must be an eigenvector of with eigenvalue .
A fantastic pair of theorems hold:
There is always a unique (up to multiplication by a positive number) positive eigenvector (abbreviated as ) of with eigenvalue , i.e., a unique stationary state .
Regardless of the initial state , the stationary state is obtained in the long-time limit .
To find this unique stationary state, consider the Laplacian , which is both infinitesimal stochastic and symmetric. Among other things, this means the rows of sum to zero
which means the all ones vector is an eigenvector of with zero eigenvalue
Inserting the identity into this equation we then find is a zero eigenvector of
Therefore we just need to normalize this to get the long-time stationary state of the walk
Each element of this state, the long-time probability of finding a walker at node , is proportional to the degree of node !
We can check this holds for the graph drawn above, where is
which implies long-time probability for nodes , and , and for nodes and . Comparing this to the original graph
this exactly reflects the arrangement of degrees, as we knew it must. Math works!
Next up is the quantum walk generated by . Not a lot is known about quantum walks on networks of arbitrary geometry, but below we’ll see some analytical results are obtained by exploiting the similarity of and .
Where to start? Well, let’s start from the bottom, what quantum physicists call the ground state. In contrast to stochastic walks, for a quantum walk every eigenvector of is a stationary state of the quantum walk (in puzzle 7, at the bottom of this page, I ask you to prove this). The stationary state is of particular interest physically and mathematically. Physically, since eigenvectors of the correspond to states of well-defined energy equal to the associated eigenvalue, is the state of lowest energy , hence the name ground state (in puzzle 5 we ask you to prove that all eigenvalues of are non-negative, so zero really does correspond to the ground state).
Mathematically, the relationship between eigenvectors implied by the similarity of and means . So, if in the ground state, the probability of being measured to be at node is . Amazingly, this probability is proportional to the degree and so is exactly the same as , the probability in the stationary state of the stochastic walk.
A zero energy quantum walk leads to exactly the same distribution of the walker over the nodes as in the long-time limit of the uniform escape stochastic walk .
The normally classical notion of degree distribution plays a role in quantum walks!
This is already pretty exciting. But what else can we say? If you are someone who feels faint at the sight of quantum mechanics, well done for getting this far, but be prepared for what’s coming next.
What if the walker starts in some other initial state? Is there some quantum walk analogue of the unique long-time state of a stochastic walk?
In fact, the quantum walk in general does not converge to a stationary state. But there is a probability distribution that can be thought to characterize the quantum walk in the same way as the long-time state characterizes the stochastic walk. It’s the long-time average probability vector .
If you didn’t know the time that had passed since the beginning of a quantum walk, then the best estimate for the probability of your measuring the walker to be at node would be the long-time average probability
There’s a bit that we can do to simplify this expression. As always, lets start with the trick of inserting the decomposition into to get and thus
Due to the integral over all time the interferences between terms corresponding to different eigenvalues average to zero, leaving
The long-time average probability is then the sum of terms contributed by the projections of the initial state onto each eigenspace.
So we have a distribution that characterizes a quantum walk for a general initial state but it’s a complicated beast. What can we say about it?
Our best hope of understanding the long-time average probability is through the term associated with the zero energy eigenspace, since we know everything about this space.
For example, we know the zero energy eigenspace is one-dimensional and spanned by the eigenvector . This means that the projector is just the usual outer product
where we have normalized according to the inner product . (If you’re wondering why I’m using all these angled brackets, well, it’s a type of notation named after Dirac that is adored by quantum physicists.)
The zero eigenspace contribution to the long-time average probability then breaks nicely into two
This is just the product of two probabilities!
First the probability for a quantum state in the zero energy eigenspace to be at node (as we found above) and second the probability of being in this eigenspace to begin with (in quantum mechanics the probability of measuring the system to have an energy is the modulus squared of the projection of the state onto the associated eigenspace, which for the one dimensional zero energy eigenspace means just the inner product with the ground state.)
This is all we need to say something interesting about the long-time average probability for all states. We’ve basically shown that we can break the long-time probability vector into a sum of two normalized probability vectors
the first being the degree dependent stochastic stationary state associated with the zero energy eigenspace and the second associated with the higher energy eigenspaces , with
The weight of each term is governed by the parameter
which you could think of as the quantumness of the result. This is unity minus the probability of the walker being in the zero energy eigenspace, or equivalently the probability of the walker being outside the zero energy eigenspace.
Puzzle 3. Show, using a triangle inequality, that the trace distance between the two characteristic stochastic and quantum distributions and is upper-bounded by .
Can we say anything physical about when the quantumness is big or small?
Because the eigenvalues of have a physical interpretation in terms of energy, the answer is yes. The quantumness is the probability of being outside the zero energy state. Call the next lowest eigenvalue the energy gap. If the quantum walk is not in the zero energy eigenspace then it must be in an eigenspace of energy greater or equal to . Therefore the expected energy of the quantum walker must bound the quantumness .
This tells us that a quantum walk with a low energy is similar to a stochastic walk in the long-time limit (we already knew this exactly in the zero energy limit).
So little is known about quantum walks on networks of arbitrary geometry, that we were very pleased to find this result. It says there is a special case in which the walk is characterized by the degree distribution of the network and gives us a clear physical parameter that bounds how far the walk is from this special case.
Also, in finding it we learnt that the difficulties of the initial state dependence, enhanced by the lack of convergence to a stationary state, could be overcome for a quantum walk, and that the relationships between quantum and stochastic walks extend beyond those with shared generators.
That’s all for the latest bit of idea sharing at the interface between stochastic and quantum systems.
I hope I’ve piqued your interest about quantum walks. There’s so much still left to work out about this topic, and your help is needed!
Other questions we have include: What holds analytically about the form of the quantum correction? Numerically it is known that the so-called quantum correction tends to enhance the probability of being found on nodes of low degree compared to , can someone explain why? What happens if a small amount of stochastic noise is added to a quantum walk? Or a lot of noise?
It’s difficult to know who is best placed to answer these questions: experts in quantum physics, graph theory, complex networks or stochastic processes? I suspect it’ll take a bit of help from everyone.
To close, the ISI team recently attended (in fact helped organize) a workshop at IQC on the topic of quantum complex networks. Needless to say, there were talks on papers related to quantum mechanics and networks!
Some researchers at the workshop gave exciting talks based on numerical examinations of what happens if a quantum walk is used instead of a stochastic walk to rank the nodes of a network:
G. D. Paparo and M. A. Martin-Delgado, Google in a Quantum Network, Sci. Rep. 2, 444 (2012).
E. Sánchez-Burillo, J. Duch, J. Gómez-Gardenes, and D. Zueco, Quantum Navigation and Ranking in Complex Networks, Sci. Rep. 2, 605 (2012).
Others attending the workshop have numerically examined what happens when using quantum computers to represent the stationary state of a stochastic process
It was a fun workshop and we plan to organize/attend more in the future.
A couple of text books with comprehensive sections on non-negative matrices and continuous-time stochastic processes are:
P. Lancaster and M. Tismenetsky The theory of matrices: with applications, 2nd Ed. (Academic Press, San Diego, 1985).
J. R. Norris, Markov Chains (Cambridge University Press, Cambridge, 1997).
There is, of course, the book that arose from the Azimuth network theory series, which considers several relationships between quantum and stochastic processes on networks:
Another couple on complex networks are:
M. Newman, Networks: An Introduction (Oxford University Press, Oxford, 2010).
E. Estrada, The Structure of Complex Networks: Theory and Applications, (Oxford University Press, Oxford, 2011). Note that the first chapter is free online.
Puzzle 4. (For the hard core) Prove there is always a unique positive eigenvector for a stochastic walk generated by . You’ll need the assumption that the graph is connected. It’s not simple, and you’ll probably need help from a book, perhaps one of those above by Lancaster and Tismenetsky, and Norris.
Puzzle 5. Show that the eigenvalues of (and therefore ) are non-negative i.e. . A good way to start this proof is to apply the Perron-Frobenius theorem to the non-negative matrix . This means has a positive eigenvalue equal to its spectral radius ( where are the eigenvalues of ), and the associated eigenvector is positive. Since , it follows that shares the eigenvectors of and the associated eigenvalues are related by inverted translation .
Puzzle 6. Prove that regardless of the initial state , the zero eigenvector is obtained in the long-time limit of the walk generated by . This breaks down into three parts:
(a) Using the approach from puzzle 5, to show that , the positivity of and the infinitesimal stochastic property imply that and thus is actually the unique zero eigenvector and stationary state of (its uniqueness follows from puzzle 4, you don’t need to re-prove it).
(b) By inserting the decomposition into and using the result of puzzle 5, complete the proof.
(Though I ask you to use the diagonalizability of , the main results still hold if the generator is irreducible but not diagonalizable.)
Puzzle 7. In quantum mechanics, probabilities are given by the moduli squared of amplitudes, so multiplying a state by a number of modulus unity has no physical effect. By inserting into the quantum evolution matrix show that if then , hence is a stationary state as probabilities don’t change in time.
Puzzle 8. By expanding the initial state in terms of the complete orthogonal basis vectors , show that for a quantum walk never converges to a stationary state unless it began in one.