1. Background
The study of networks and transport in networks is of great interest for the sport-science field. For instance, the iterative process of building a team for the Olympics, which consists in evaluating the collective performance through the permutation of athletes inside the team, is a key process in maximizing the team’s performance and winning a medal. Another example includes the modeling of the communication between athletes in a team during a match, which changes with time, or the identification of the "institutional trajectories" of athletes, i.e., assessing the structures (alternatively, the coaches) which are critical in the institutional network of sport organizations. More generally, transport in complex (or scale-free) networks is relevant for various natural and artificial systems. These networks have a degree distribution that follows a power law
P(k)∼k−γ (or truncated power law), where
k is the node degree and
γ is an exponent. Natural and artificial systems forming such networks can be altered with time, and often exhibit properties related to the percolation phenomena, where links are lost or destroyed with time. This can illustrate the loss of information between athletes during a match (due to the adversary breaking a link between two athletes, for instance), or the loss of a path (i.e., possibility to move from one structure/coach to another) between two institutional structures (or coaches), which may endanger the sport organization at the national level. Previous studies have shown that scale-free networks are fragile and prone to collapse. This was demonstrated theoretically and for multiple dynamical real-world systems, such as (species) evolution and ecosystems, the financial sector, and social networks. The stability of such systems can be jeopardized with the removal of just one element, possibly leading to collapse.
In this hackathon, we aim at modeling a simplified version of these processes in quantum computers. The ultimate objective is to avoid the computing bottleneck of the whole process (construction of the graph + solving equation (2), and see section 2.3) that occurs when simulating large networks with millions of nodes.
Specific resources: [1, 2]
2. Modeling and simulating the process
One experience can be described as follows: build a network according to a set of parameters then iteratively remove links in this network according to a predefined strategy, until a stopping condition (which stops the experience) is met. The transport dynamics inside the networks is described by the Kirchhoff’s equations. The methodology is:
- Build a network, then assign a source node and a drain node with potentials 1 and 0 respectively.
- Solve for the fluxes in each link of the network.
- Remove one link according to a pre-defined strategy, then back to step 2 until a specific condition is met.
2.1 Core mechanisms
Construct a random network with
N0 nodes, see section 2.2). In each realization of the network, randomly select a pair of source and drain nodes, at which the potential is fixed to be 1 and 0, respectively. The flux through the network satisfies conservation of mass [3]: at every node
i we impose
∑jqi,j=0, where
qi,j is the flux through the link connecting nodes
i and
j. These fluxes are calculated as:
qi,j=−(Pi−Pj)
where
Pi and
Pj are the potentials at the nodes
i and
j respectively, and we set the unit resistance for all links. In such a setup, the system of linear Kirchhoff’s equations describing the transport in a network is:
LP⊤=S⊤
with
⊤ denoting transposition and where
P⊤ is the vector of
N0−2 unknown potentials,
L is the Laplacian matrix of
(N0−2)×(N0−2) elements obtained after removal of two lines and two columns corresponding to the source and drain nodes (at which the potentials are fixed), and
S⊤ is a
(N0−2)×1 column vector, in which each element corresponds to the total flux exiting each node
i:
S={10if node i is adjacent to the source nodeotherwise
Each element of
L is defined as:
Li,j=⎩⎨⎧ki−10if i=jif node i=j, and i is adjacent to node jotherwise
The system described in eq. (2) is solved for
P numerically using a custom routine in Matlab (see section 2.3). The distributions of potentials on nodes and fluxes in links are then obtained. In particular, we compute the total flux
Q, that is the sum of fluxes exiting from the source node.
The constructed network evolves at discrete steps according to a pre-selected strategy. At each evolution step, we solve the system of Kirchhoff’s equations (2) and remove either the weakest link (pseudo-Darwinian strategy) or a random link (random strategy) [1]. After a link removal, we also remove “dead-end” nodes (i.e., nodes whose degree equals 1), thus requiring any existing node after an evolutionary step to have at least degree 2. Each evolution step is associated with “time”
t, and
t0