The Hermitian Kirchhoff Index and Robustness of Mixed Graph

Large-scale social graph data poses significant challenges for social analytic tools to monitor and analyze social networks. .e information-theoretic distance measure, namely, resistance distance, is a vital parameter for ranking influential nodes or community detection. .e superiority of resistance distance and Kirchhoff index is that it can reflect the global properties of the graph fairly, and they are widely used in assessment of graph connectivity and robustness. .ere are various measures of network criticality which have been investigated for underlying networks, while little is known about the corresponding metrics for mixed networks. In this paper, we propose the positive walk algorithm to construct the Hermitian matrix for the mixed graph and then introduce the Hermitian resistance matrix and the Hermitian Kirchhoff index which are based on the eigenvalues and eigenvectors of the Hermitian Laplacian matrix. Meanwhile, we also propose a modified algorithm, the directed traversal algorithm, to select the edges whose removal will maximize the Hermitian Kirchhoff index in the general mixed graph. Finally, we compare the results with the algebraic connectivity to verify the superiority of the proposed strategy.


Introduction
Network science has been an emerging area in big data, cyberspace security, and artificial intelligence [1][2][3][4]. Many real-world networks are mixed, such as citation networks, web page link networks, e-mail networks, and information diffusion networks. Mixed networks, just like the underlying one, emerge in the fields of multiagent systems [5,6], biology [7], and society [8]. Many efficient algorithms have been proposed to resolve the function and topological structure of mixed networks, such as decentralized optimization [9], node anomaly detection algorithm [10], embedding algorithm [11], and magnetic Laplacian [12]. Undoubtedly, further analysis of mixed networks has become an indispensable topic in the research of network science and interdisciplinary.
1993, Klein and Randić first proposed resistance distance [13]. Xiao and Gutman [14] uncovered some properties of a resistance matrix. Combining the normalized Laplacian matrix and the transition probability matrix, Chen and Zhang [15] proposed a new degree-Kirchhoff index. Atik et al. [16] extended the resistance distance to the weighted graph. Up to this day, resistance distance has many important applied areas, such as phase transition [17], silicate network [18], electrical network [19,20], and complex networks [21]. Compared to the calculation of eigenvalues and eigenvectors, the advantage of resistance distance as a metric is that it better reflects the overall nature of the network, and it can reduce the computational complexity in a large-scale network. To the best of my knowledge, the research of resistance distance is mainly carried out in the unweighted and undirected networks. ere are few research studies about the resistance distance in mixed networks, which is the motivation of this paper. e focus in this paper is to establish a new resistance distance metric for the mixed networks.
As it is known to all, the study of the resistance distance is inseparable from matrix theory. Matrix theory, including Hermitian adjacency matrix [22,23], Laplacian matrix [24,25], nonnegative matrix factorization [26], and conditional probability matrix [27], is a powerful tool to deal with graph topology structure and function because it can transform complex calculations into a series of four operations, which are easy to improve computational performance. On the basis of [23], Mohar [28] proposed the Hermitian matrix of the second kind. Yu et al. [29][30][31] have been devoted to the study of Hermitian spectral theory for mixed graphs. e extension from the underlying graph to the mixed graph is actually an extension from the real field to the complex field. e importance of the Hermitian matrix is becoming increasingly prominent. e matrix construction depends on the graph direction, so how to give the graph direction that meets the conditions is also an urgent problem to be solved. With the development of the Hermitian matrix, more and more models and strategies have been put forward [32][33][34].
e Randic index has been widely used in network centrality, clustering algorithm, network connectivity, and robustness [35][36][37]. Meo et al. [38] estimated graph robustness through the Randic Index. Along the direction of the Hermitian matrix, we attempt to introduce the Hermitian resistance matrix and the Kirchhoff index of the general mixed graph to estimate robustness of the mixed graph.
In this paper, analogue to pseudoinverse matrix of the Laplacian matrix for underlying graph, we extend the corresponding invertible matrix X H for mixed graph. Our main contributions are as follows: (1) We propose the Hermitian resistance matrix and the Hermitian Kirchhoff index for positive mixed graph and then establish a formula for the determinant and the inverse of the Hermitian resistance matrix (2) We propose a positive walk algorithm for the general mixed graph (3) Robustness of the general mixed graph is evaluated by the modified directed traversal algorithm based on the Hermitian Kirchhoff index e remainder of the paper is organized as follows. Section 1 presents related work of the resistance matrix and the Kirchhoff index. Section 2 introduces the Hermitian Laplacian matrix. In Section 3, we define the Hermitian resistance matrix R H and compute its determinant in the positive mixed graph. In Section 4, we derive formulae for inverse of the Hermitian resistance matrix. Section 5 characterizes the Hermitian Kirchhoff index in the positive mixed graph. e statistical experimental analysis in the general mixed graph is shown in Section 6. Section 7 concludes the paper.

Hermitian Laplacian Matrix
Let G be a mixed graph with a finite vertices set V(G) and a subset E(G)⊆V(G) × V(G). e edge set E(G) is the union of undirected edges and the directed edges. For convenience, we define the undirected edge as v i ↔v j and the directed edge en, H is a Hermitian matrix if H * � H. e Hermitian adjacency matrix of a mixed graph is the matrix H ∈ C V×V [22,23], whose element Lemma 1 (see [30]). A mixed graph G is positive if and only if, for any two vertices v 1 and v 2 , all mixed paths from v 1 to v 2 have the same value.
Lemma 2 (see [31]). Let G be a connected mixed graph on vertices v 1 v 2 , . . . , v n . If L H � D − H is a positive semidefinite matrix and singular, then 0 is a simple eigenvalue with an eigenvector: where e Hermitian Laplacian eigenvalues and orthogonal eigenvectors will be denoted by λ i and u i � (u i1 , u i2 , . . . , u in ) T , respectively. Denote the unitary matrix: and i.e.,

Hermitian Resistance Matrix in Positive Mixed Graph
In this section, we establish the relationship between the Hermitian resistance matrix and the Hermitian Laplacian matrix in the positive mixed graph.
Lemma 3 (see [22]). Let G be a mixed graph. en, the following are equivalent: Lemma 4 (see [30]). Let G be a positive mixed graph. en, the following statements hold: By Lemma 3 and Lemma 4, we give the definition of n × n orientation matrix O H ∈ C: en, we establish the relationship between the Hermitian matrix and the corresponding matrix in the underlying graph by the orientation matrix O H .
Lemma 5 (see [22]). Let G be a positive mixed graph on n vertices and H and A be the Hermitian adjacency matrix and the adjacency matrix, respectively. For a diagonal matrix erefore, By equations (4) and (10), we have e matrix L H + 1/nJ H is nonsingular, and we define its inverse Similarly, we have the following corollary.

Corollary 2.
Let G be a positive mixed graph on n vertices and X � (L + 1/nJ) − 1 , where J denote the square with all entries equal to 1. en, X H is Hermitian and Now, we apply this process to the resistance matrix.

Theorem 1.
Let G is a positive mixed graph and R is the resistance matrix of the underlying graph; then, the Hermitian resistance matrix is Proof 1. By eorem 3 and the definition of resistance matrix, we have where x ii is the diagonal member of X.

□
In view of eorem 1, we have Mathematical Problems in Engineering where erefore, we have

Inverse of the Hermitian Resistance Matrix
In this section, we will show that the Hermitian resistance matrices are nonsingular and derive a formula for the inverse of them. For i � 1, 2, . . . , n, we define the n × 1 vector ω � (ω 1 , ω 2 , . . . , ω n ) T , such that Theorem 2. Let G be a positive mixed graph on n vertices and L H be the Hermitian Laplacian matrix associated with G. If the X H � diag(x 11 , x 22 , . . . , x nn ) and ω are defined as above, then Proof 2. Let d i be the degree of vertex i. According to en, us, Now, for i � 1, 2, . . . , n, we have Proof 3. By eorem 2, we have In view of eorem 1, we obtain at is, en, In a similar way, Finally, Applying equations (32)-(35), we obtain Obviously, ω * R H ω is a positive definite matrix.

□
Next, we show that the Hermitian resistance matrix is nonsingular and establish the inverse of them.

Mathematical Problems in Engineering
Proof 4. By eorem 1, we have en, By eorem 1, R H ω is nonzero. In view of L * H 1 H � 0, there exists a nonzero scalar β such that at is, Hence, (36)].
(40) erefore, the matrix R H is nonsingular, and

Hermitian Kirchhoff Index in Positive Mixed Graph
In this section, we establish the Hermitian Kirchhoff index in terms of the spectrum of L H in a positive mixed graph.

Theorem 5. Let G be a positive mixed graph on n vertices. en, the Hermitian Kirchhoff index is
Proof 5. By eorem 1, we have (42) □

Experimental Analysis of Hermitian Kirchhoff Index in General Mixed Graph
According to Lemma 5, we propose a positive walk algorithm (see Algorithm 1) to give a positive direction for a given undirected graph G.
In the real world, not all mixed graphs are positive. If L H is nonsingular, we compute the Hermitian resistance matrix by the Moore-Penrose generalized inverse L † of the Hermitian Laplacian matrix of the mixed graph: We establish the Hermitian Kirchhoff index in terms of the Hermitian resistance matrix in a mixed graph.

Theorem 6. Let G be a mixed graph on n vertices. en, the Hermitian Kirchhoff index is
ere is a close relationship between the Kirchhoff index and the robustness of network, for example, the bigger the Kirchhoff index, the lower the ability of network to function in an emergency situation.
e Kirchhoff index and the robustness of the network are negative correlation. Further more, algebraic connectivity is also widely used to measure the robustness of networks; however, algebraic connectivity is positively correlated with robustness. at is to say, algebraic connectivity is negatively correlated with the Kirchhoff index. Next, we will use Hermitian algebraic connectivity and Hermitian Kirchhoff index to measure the robustness of the general mixed graph, as a comparison of different robustness measures. In order to verify the rationality and applicability of our suggestion, we propose a directed traversal algorithm (see Algorithm 2) to obtain the edge set E max whose removal from a mixed graph G will maximize the Hermitian Kirchhoff index. en, we compare it with the results of algebraic connectivity. Peng et al. [39] investigated the robustness of undirected mesh graphs. We generalize mixed mesh graphs to random graphs.
We take two E-R mixed graphs as examples. A mixed graph of 12 points is established as in Figure 1 and a mixed graph of 34 points is established as in Figure 2. en, we use the directed traversal algorithm (see Algorithm 2) to calculate E max in the graphs, and we show the result in Table 1. 6 Mathematical Problems in Engineering   (5) for each i in (2, n) do (6) Randomly select an element of T for O ii (7) for each j in (0, i) do (8) if O jj � −O ii and A ij � 1 then (9) T\ O ii (10) Randomly select an element of T for O ii (11) end if (12) end for (13) end for (14) H � OAO * ALGORITHM 1: e positive walk algorithm.
Input: e mixed graph G Output: Edge set E max (1) Random select an edge e 0 of the mixed graph G (2) Obtain the Hermitian resistance matrix H of G − e 0 (3) Calculate the K(G − e 0 ) and initialize

Conclusion
Many strategies of community detection in social networks have been developed, among them the spectral clustering based on the resistance matrix is widely used in community detection. In this paper, we focus on the Hermitian resistance matrix for positive mixed graphs and general mixed graphs. e Hermitian resistance matrix is a generalization for the resistance matrix in underlying graphs. In addition, we derive the formulae for the determinant, inverse of the Hermitian resistance matrix, and obtain the Hermitian Kirchhoff index. In order to show the practicability of the Hermitian matrix, we utilize the Hermitian Kirchhoff index to analyze the robustness of general mixed networks. Furthermore, we put forward the positive walk algorithm and the directed graph traversal algorithm. Our future work will apply the Hermitian matrices on algorithms for mining key nodes of directed networks and community detection.

Data Availability
e data used to support the study are included within the article.

Conflicts of Interest
e authors declare that they have no conflicts of interest.