Local complementation
In graph theory, local complementation (also known as vertex inversion) is an operation on a graph that toggles adjacencies among the neighbours of a chosen vertex, while all other adjacencies remain unchanged. Despite its simple definition, it preserves interesting properties and generates a complex equivalence relation. The operation was introduced by Anton Kotzig and later studied in depth by André Bouchet and Von-Der-Flaass.
Formally, the local complementation of a simple undirected graph at a vertex is an operation that produces a new graph, denoted by . This operation is defined by replacing the subgraph of induced by with its complementary subgraph. In other words, two distinct vertices and are adjacent in the graph when exactly one of the following holds:
- vertices and are adjacent in ; or
- both vertices and are neighbours of in .
Two graphs are said to be locally equivalent if one can be obtained from the other through a sequence of local complementations. This defines an equivalence relation on graphs, whose equivalence classes are known as local equivalence classes. For example, the star graph and complete graph on vertices are locally equivalent, and they form a local equivalence class. The local equivalence classes on graphs with up to 12 vertices has been computed.[1] The size of a local equivalence class is at most , and this collection of graphs can be enumerated efficiently.
Applications
Structural graph theory
The Robertson–Seymour theorem states that the graph minor relation is a well-quasi ordering. It was proved in a series of twenty papers spanning over 500 pages from 1983 to 2004. The algorithmic consequences are vast - together with an efficient algorithm for graph minor testing, the result provides efficient algorithms for solving a range of computational problems where the optimal value is monotonic in the graph minor relation.
Local complementations are central to the vertex-minor relation, which shares many similarities with the graph minor relation. Better understanding of the local complementation operation could extend the Robertson–Seymour theorem to prove that the vertex-minor relation is also a well-quasi ordering.
Measurement based quantum computing
For a given the graph state , the action of the local Clifford operation is equivalent[2] to the local complementation transformation on the graph . The study of graph states that are locally equivalent is relevant to building quantum circuits in measurement based quantum computing (MBQC)[1]
Similarly, local complementation is also related to state preparation in photonic quantum computing (PQC).
Properties
- The local complement operation is self inverse; that is, .
- Local complementations commute only when vertices are non-adjacent; that is, unless .
- Connected components are preserved by the local complementation operation, so it is common analyse each component of the graph independently. So without loss of generality, all graphs will be assumed to be connected.
- All locally equivalent graphs can be reached after a sequence of at most local complementations[3].
- Locally equivalent trees are isomorphic (Mulder's conjecture), and there exists a simple expression to count such trees.[4]
- If a graph is locally equivalent to a tree, it has a subgraph isomorphic to that tree.[5]
- If a graph is locally equivalent to the cycle graph, it contains a Hamiltonian cycle.[5]
- If a graph is locally equivalent to its complement, it is self-complementary.[5]
- The number of essentially different ways of transforming one graph into another via local complementation is or for some .[5]
- Any class of locally equivalent distance-hereditary graphs is equal to the class of the circle graphs of the Euler tours of some 4-regular graph.
- Locally equivalent graphs have the same rank-width.
- Counting locally equivalent graphs is #P-complete.[6]
- Determining the minimum degree that can be reached by means of local complementation is NP-complete and APX-hard, and can be computed by an algorithm.[7][8]
- Determining the minimum total edge weight by means of local complementation is NP-complete.[9]
- Determining the minimum number of edges by means of local complementation is likely NP-complete.
Pivot operation
Local complementations do not commute for adjacent vertices, motivating the following operation that performs complementations at adjacent vertices.
For adjacent vertices and , the pivot operation (also historically known as an edge complementation) is defined asIt can be shown that , and hence the pivot operation is well defined. Alternatively, the graph can be obtained from by toggling adjacencies between every pair of vertices in two different sets among , and then switching the labels and . The pivot operation satisfies the identities and [10].
Two graphs are said to be pivot equivalent if one can be obtained from the other through a sequence of pivot operations. Since pivot operations consist of local complementation operations, pivot equivalent graphs are locally equivalent. The converse is true for bipartite graphs[3], but is not generally true. If and are pivot equivalent graphs, there are pairwise disjoint edges such that . Fon-Der-Flass proved that if graphs and are locally equivalent, they are pivot equivalent to some and respectively such that and is an independent set in and [11].
The size of a pivot equivalence class is at most , and this collection of graphs can be enumerated efficiently.
Pivot equivalence has been studied using even binary delta-matroids[12].
Invariants
Cut-rank function
As a graph undergoes local complementation, its adjacency matrix changes in a well defined way. In particular, the entries that change are exactly some sub-matrix (excluding the main diagonal). Hence, it may be natural to study the local complementation operation using linear algebra.
For a graph with vertex set , the cut-rank function (also historically known as the connectivity function) is denoted . It is defined over the vertex subsets such that is the rank of the bi-adjacency matrix of the partition , defined over the finite field GF(2). That is, the rank of the binary matrix where when is an edge in . Intuitively, is a measure of how complex the connectivity is between and the remaining vertices.
Since the rank of a matrix is preserved by elementary row and column operations, a straightforward argument shows that locally equivalent graphs have identical cut-rank functions. However, the converse is not true - a counterexample can be constructed using labelled Petersen graphs. It is known that bipartite graphs with identical cut-rank functions are pivot-equivalent[13], and so locally equivalent bipartite graphs are also pivot-equivalent.
The cut-rank function is submodular since it can be shown that for any vertex set and . However, it is not monotone.
Local sets
The cut-rank can be considered 'most interesting' when it is either rank 1 or full rank. Since the cut-rank is invariant over local complementation, so are the sets with a particular cut-rank. The sets of rank 1 are studied using canonical split decompositions in a later section. Here, we define a local set as a vertex set which does not have full cut-rank.
Define A set of vertices is local in if for some subset . Now if is local in , it is also local in any graph locally equivalent to . Local sets can equivalently be defined as the sets of vertices which do not have full cut-rank (i.e. the sets where ). Intuitively, a local set is some linear combination of the closed neighbourhoods of . Local sets are used to study the degrees of vertices in .[14]
This invariant may be a helpful tool to quickly show that graphs are not locally equivalent. However, there are graphs with the same local sets which are not locally equivalent, since there are graphs with identical cut-rank functions which are not locally equivalent.[15]
Totally isotropic subspaces
The richest description of a class of locally equivalent graphs is an extension of the local sets idea, involving a linear algebra structure over the Klein four-group. Each locally equivalent graph, equipped with two specific vectors, corresponds to some graphic presentations of the same totally isotropic subspace.
Let be the Klein four-group. A vector is said to be complete if is nonzero for every . Two vectors are said to be supplementary if and are nonzero and distinct for every . For a set , define as the vector where if , and otherwise.
A subspace of is called a totally isotropic subspace if , and every two complete vectors in are not supplementary.
A graphic presentation of a totally isotropic subspace is a triple where is a simple graph on the vertex set and and are supplementary vectors of , such that is spanned by the set For a fixed , there is a one-to-one correspondence between every graphic presentation and every complete vector where , the vectors here are known are Eulerian vectors. Furthermore, if is a graphic presentation of , so is and The fundamental graphs of form a local equivalence class. These facts leads to important results about determining local equivalence and locally equivalent class sizes, which is discussed in the next 2 sections.
This structure can be considered as an extension of the local sets structure, since , and when , .[16]
Characterisation of local equivalence
The following characterisations of locally equivalent graphs are straightforward results using totally isotropic subspaces. This leads to a efficient algorithm to recognise locally equivalent graphs.
Let and be simple graphs and fix supplementary vectors and . he graphs and are locally equivalent if and only if there are supplementary vectors and such that and are graphic presentations of the same totally isotropic subspace. The existence of such vectors and can be determined in by solving a system of linear equations[17]. A modification to this algorithm can, with the same time complexity, recover a sequence of at most local complementations transforming into [18].
An equivalent characterisation can be formulated using vertex sets. Let and denote the neighbourhood functions of and respectively. Then graphs and are locally equivalent if and only if there are vertex subsets such that for every pair of vertices , and the symmetric difference of with is the entire vertex set.[17]
Global interlace polynomial
The global interlace polynomial (also known as the Tutte-Martin polynomial), is a polynomial that corresponds to a simple graph . It is defined recursively asNow if and are locally equivalent, for any [15]. Additionally,
- is a multiple of the number of graphs locally equivalent to . In particular, if is a fundamental graph of a totally isotropic subspace , this gives the number of Eulerian vectors in .
- is the number of induced Eulerian subgraphs in . (An Eulerian graph contains only vertices of even degree).
The polynomial has closed-form formulas in certain cases:
- The path graphs have the closed form where and .
- More generally, a tree has the global interlace polynomial , where is the number of matchings of size in .
- The cycle graphs have the closed form [15].
An equivalent definition of the global interlace polynomial involves a summation over subsets of vertex sets. Let the graph have the adjacency matrix over the binary field. For a vertex set , write to denote the sub-matrix of . Let be the diagonal matrix over the binary field such that the -entry is 1 when , and 0 otherwise. The global interlace polynomial can equivalently be defined asThere are some interesting similarities to the canonical Tutte polynomial. In particular, the recurrence looks similar to the deletion-contraction formula, and both polynomials can be formulated as a sum of terms raised to the power of a matrix rank. Isomorphic graphs have the same Tutte polynomial, while locally equivalent or isomorphic graphs have the same global interlace polynomial.
Canonical split decomposition
A split of a graph is a partition of its vertex set such that and . This happens exactly when the connectivity between and is a complete bipartite graph, and complete bipartite graphs have a simple known structure over local complementation.
If a graph admits a split, it can be built by the 1-join of two graphs. The 1-join of two graphs and with marker vertices and is defined to be the graph obtained from the disjoint union of and by adding an edge between every neighbour of in and every neighbour of in .
The canonical split decomposition can be constructed using the following procedure: Start from a set consisting of a single graph. Repeatedly pick a graph from this set that admits a split. Then replace with smaller graphs whose 1-join reconstructs . This process is applied only when is neither a complete graph nor a star. The set now contains all induced prime subgraphs of along with some star graphs and cliques. Lastly, associate a tree by having one node for each graph in the resulting set and adding edges between corresponding marker vertices.[4]
The canonical split decomposition is unique and has preserves important structural properties over local complementation.
- The rank-width of is the maximum rank-width of all prime induced subgraphs.
Vertex-minor relation
Local complementation gives rise to several derived operations that play a central role in graph minor theory. A graph is a vertex-minor (also historically known as l-reduction or i-minor) of a graph if is an induced subgraph of a graph locally equivalent to .[19]
Deciding whether is a vertex-minor of for two input graphs and is NP-complete, even if is a complete graph and is a circle graph.[20]. However, for each fixed circle graph , there is an -time algorithm to decide whether an input -vertex graph contains a vertex-minor isomorphic to [21]. Every prime graph with at least 6 vertices has a prime vertex-minor with one less vertex.[19]
Distance-hereditary graphs are exactly the graphs with no vertex-minor isomorphic to [22], and exactly the graphs which are the vertex-minor of a tree[23].
Pivot-minor relation
A graph is a pivot-minor of a graph if is an induced subgraph of a graph pivot-equivalent to . Bipartite graphs with the pivot-minor relation are essentially equivalent to binary matroids with the matroid minor relation.
Relation to circle graphs
For a circle graph , performing a local complementation at corresponds to an graphical transformation of its chord diagram. In particular, the chord diagram of is obtains from the chord diagram of by cutting the circumference by chord representing , then reversing one arc[17][15]. The class of circle graphs are hence closed under local complementation, and they are also closed under taking vertex-minors.
References
- ^ a b Cabello, Adan; Danielsen, Lars Eirik; Lopez-Tarrida, Antonio J.; Portillo, Jose R. (2011-04-16). "Optimal preparation of graph states". Physical Review A. 83 (4) 042314. arXiv:1011.5464. Bibcode:2011PhRvA..83d2314C. doi:10.1103/PhysRevA.83.042314.
- ^ Ji, Z.-F.; Chen, J.-X.; Wei, Z.-H.; Ying, M.-S. (January 2010). "The LU-LC conjecture is false". Quantum Information and Computation. 10 (1&2): 97–108. doi:10.26421/QIC10.1-2-8.
- ^ a b Koršunov, Aleksej D. (1996). Discrete Analysis and Operations Research. Mathematics and Its Applications. Dordrecht: Springer Netherlands. ISBN 978-94-010-7217-5.
- ^ a b Bouchet, André (1988). "Transforming trees by successive local complementations". Journal of Graph Theory. 12 (2): 195–207. doi:10.1002/jgt.3190120210. ISSN 1097-0118.
- ^ a b c d Fon-Der-Flaas, D. G. (1988). "On local complementations of graphs". zbmath.org. Retrieved 2026-02-26.
- ^ Dahlberg, Axel; Helsen, Jonas; Wehner, Stephanie (2019-07-18). "Counting single-qubit Clifford equivalent graph states is #P-complete". Journal of Mathematical Physics. 61 (2) 022202. arXiv:1907.08024. doi:10.1063/1.5120591.
- ^ Javelle, Jérôme; Mhalla, Mehdi; Perdrix, Simon (2012-04-20). "On the Minimum Degree up to Local Complementation: Bounds and Complexity". Graph-Theoretic Concepts in Computer Science. Lecture Notes in Computer Science. Vol. 7551. pp. 138–147. arXiv:1204.4564. doi:10.1007/978-3-642-34611-8_16. ISBN 978-3-642-34610-1.
- ^ Cattanéo, David; Perdrix, Simon (2016-08-17). "Minimum Degree up to Local Complementation: Bounds, Parameterized Complexity, and Exact Algorithms". Algorithms and Computation. Lecture Notes in Computer Science. Vol. 9472. pp. 259–270. arXiv:1503.04702. doi:10.1007/978-3-662-48971-0_23. ISBN 978-3-662-48970-3.
- ^ Sharma, Hemant; Goodenough, Kenneth; Borregaard, Johannes; Rozpędek, Filip; Helsen, Jonas (2026-01-27). "Minimising the number of edges in LC-equivalent graph states". Quantum. 10 2001. arXiv:2506.00292. doi:10.22331/q-2026-02-09-2001.
- ^ Oum, Sang-il (2005-09-01). "Rank-width and vertex-minors". Journal of Combinatorial Theory, Series B. 95 (1): 79–100. doi:10.1016/j.jctb.2005.03.003. ISSN 0095-8956.
- ^ D. G., Fon-Der-Flaass (1989). "Distance between locally equivalent graphs". Metody Diskret. Analiz. 48: 85–94 – via Novosibirsk: Institute of Mathematics of the USSR Academy of Sciences.
- ^ Bouchet, A.; Duchamp, A. (1991-02-15). "Representability of △-matroids over GF(2)". Linear Algebra and Its Applications. 146: 67–78. doi:10.1016/0024-3795(91)90020-W. ISSN 0024-3795.
- ^ Seymour, P. D (1988-08-01). "On the connectivity function of a matroid". Journal of Combinatorial Theory, Series B. 45 (1): 25–30. doi:10.1016/0095-8956(88)90052-4. ISSN 0095-8956.
- ^ Høyer, Peter; Mhalla, Mehdi; Perdrix, Simon (2006). Asano, Tetsuo (ed.). "Resources Required for Preparing Graph States". Algorithms and Computation. Berlin, Heidelberg: Springer: 638–649. doi:10.1007/11940128_64. ISBN 978-3-540-49696-0.
- ^ a b c d Bouchet, André (1993-04-28). "Recognizing locally equivalent graphs". Discrete Mathematics. 114 (1): 75–86. doi:10.1016/0012-365X(93)90357-Y. ISSN 0012-365X.
- ^ Bouchet, André (1988-08-01). "Graphic presentations of isotropic systems". Journal of Combinatorial Theory, Series B. 45 (1): 58–76. doi:10.1016/0095-8956(88)90055-X. ISSN 0095-8956.
- ^ a b c Bouchet, André (1991-12-01). "An efficient algorithm to recognize locally equivalent graphs". Combinatorica. 11 (4): 315–329. doi:10.1007/BF01275668. ISSN 1439-6912.
- ^ Fon-Der-Flaass, D. G. (1996), Korshunov, Alekseǐ D. (ed.), "Local Complementations of Simple and Directed Graphs", Discrete Analysis and Operations Research, Dordrecht: Springer Netherlands, pp. 15–34, doi:10.1007/978-94-009-1606-7_3, ISBN 978-94-009-1606-7, retrieved 2026-02-26
{{citation}}: CS1 maint: work parameter with ISBN (link) - ^ a b Bouchet, André (1987-08-01). "Unimodularity and circle graphs". Discrete Mathematics. 66 (1): 203–208. doi:10.1016/0012-365X(87)90132-4. ISSN 0012-365X.
- ^ Dahlberg, Axel; Helsen, Jonas; Wehner, Stephanie (2019-06-12). "The complexity of the vertex-minor problem". arXiv:1906.05689 [math.CO].
- ^ Courcelle, Bruno; Oum, Sang-il (2007-01-01). "Vertex-minors, monadic second-order logic, and a conjecture by Seese". Journal of Combinatorial Theory, Series B. 97 (1): 91–126. doi:10.1016/j.jctb.2006.04.003. ISSN 0095-8956.
- ^ Kwon, O.-Joung; Oum, Sang-il (2014-03-24). "Unavoidable vertex-minors in large prime graphs". European Journal of Combinatorics. 41: 100–127. arXiv:1306.3066. doi:10.1016/j.ejc.2014.03.013.
- ^ Bouchet, André (1987-09-01). "Reducing prime graphs and recognizing circle graphs". Combinatorica. 7 (3): 243–254. doi:10.1007/BF02579301. ISSN 1439-6912.