The graph sum of graphs and is the graph with adjacency matrix given by the sum of adjacency matrices of and . A graph sum is defined when the orders of and are the same. The example illustrated above shows the graph sum of the pentatope graph and the cycle graph , corresponding to adjacency matrices
Graph sums can be computed in the Wolfram Language using GraphSum[g, h].