---
title: 2-Local Complementation in Graph Theory
url: https://www.emergentmind.com/topics/2-local-complementation
type: topic
---

# 2-Local Complementation in Graph Theory

Searching arXiv for the supplied topic and ids to ground the article in recent and relevant papers.
2-local complementation is a context-dependent term in graph theory and quantum information. In the most common usage it denotes **edge local complementation**—also called **pivot**—on an edge \(uv\), given by the three-step composition
\[
G * uv \;=\; \tau_u \circ \tau_v \circ \tau_u(G)
\;=\; \tau_v \circ \tau_u \circ \tau_v(G),
\]
where \(\tau_u\) is local complementation at a single vertex \(u\). In qutrit graph-state theory, however, the phrase can also refer to the \(\lambda=2\) instance of weighted local complementation over \(\mathbb{F}_3\). Across these usages, the unifying idea is that local graph rewiring generated by local complementations organizes local-Clifford equivalence, vertex-minor extraction, code equivalence, and several network-routing procedures [1105.3921, 1805.04559].

## 1. Scope, definitions, and terminological ambiguity

For a simple graph \(G=(V,E)\) and a vertex \(a\in V\), local complementation replaces the induced subgraph on the neighborhood \(N_a\) by its complement. In the adjacency-matrix formulation used for graph states, if \(\Gamma_G\) is the adjacency matrix and \(\Theta_a\) is the complete graph on \(N_a\), then
\[
\Gamma_{\tau_a(G)}=\Gamma_G+\Theta_a \pmod 2.
\]
Equivalently, every edge between distinct neighbors of \(a\) is toggled, while no other edge is changed [1805.04559].

The most standard graph-theoretic meaning of 2-local complementation is the edge-centered operation obtained by composing three local complementations on two vertices. In the graph-state and coding literature this appears as
\[
ELC(a,b)=LC(a)\,LC(b)\,LC(a)=LC(b)\,LC(a)\,LC(b),
\]
and is described as edge local complementation on the edge \(\{a,b\}\) [1105.3921]. The same operation is also written as a pivot:
\[
G*uv:=\tau_u(\tau_v(\tau_u(G)))=\tau_v(\tau_u(\tau_v(G))).
\]
This is the sense in which 2-local complementation is usually tied to a pair of vertices or to an edge [0710.2243].

A persistent source of ambiguity is that the phrase is not uniform across subfields. Some graph- and matroid-oriented discussions describe ordinary local complementation itself as “2-local” because it toggles adjacency among **pairs** of neighbors of a distinguished vertex [1905.11363]. By contrast, the qutrit ZX-calculus and qutrit graph-state literature reserve “2-local complementation” for the weighted operation with parameter \(\lambda=2\),
\[
\Gamma'(v,w)=\Gamma(v,w)+2\,\Gamma(v,u)\Gamma(u,w)\pmod 3,
\]
which is one of the two qutrit local-complementation variants \(\lambda\in\{1,2\}\) [1704.05955]. A common misconception is therefore to treat “2-local complementation” as a single universally fixed primitive; the literature instead supports at least two established readings, both derived from the same local-complementation framework.

## 2. Algebraic and matroidal structure

Local complementation, pivot, and loop complementation admit a compact algebraic description over \(\mathbb{F}_2\). For set systems and graphs with loops allowed, single-vertex pivot and loop complementation are represented by the matrices
\[
\alpha_*=\begin{pmatrix}0&1\\1&0\end{pmatrix},
\qquad
\alpha_+=\begin{pmatrix}1&1\\0&1\end{pmatrix},
\]
and the operations they generate on a fixed vertex form the permutation group \(S_3\). This yields normal forms for sequences of pivots and loop complementations and gives an alternative proof of the classic identity equating edge complementation with a triple local complementation on simple graphs [0909.4004].

From this viewpoint, edge local complementation is not an independent primitive but a short word in the local generators. On simple graphs,
\[
H *\{u,v\}=H *\{u\} *\{v\} *\{u\}
          =H *\{v\} *\{u\} *\{v\},
\]
so the 2-vertex operation is generated by three 1-vertex operations [0909.4004]. This identity underlies much of the later coding and graph-state literature: a pairwise rewiring can be studied either as a pivot or as a constrained path in an LC orbit.

The isotropic matroid \(M[IAS(G)]\) provides a classification framework for local equivalence. For a looped simple graph \(G\), one forms
\[
IAS(G)=(\,I \mid A(G) \mid I+A(G)\,),
\]
whose columns are partitioned into vertex triples \(\{v_\phi,v_\chi,v_\psi\}\). Traldi’s main result is that \(M[IAS(G)]\) classifies \(G\) up to local equivalence; in particular, for simple graphs,
\[
M[IAS(G_1)] \cong M[IAS(G_2)]
\quad\text{iff}\quad
G_2
\text{ is obtained from }G_1
\text{ by a sequence of simple local complementations.}
\]
Within this formalism, loop complementation, non-simple local complementation, and edge pivots become local \(S_3\)-permutations on the corresponding vertex triples [1301.4946].

This algebraic rephrasing has two consequences. First, it shows that 2-local complementation in the edge-pivot sense is already built into the same local symmetry group as ordinary local complementation. Second, it furnishes invariants—matroid isomorphism type, Tutte-type specializations, and associated delta-matroids and isotropic systems—that are stable under these operations [1301.4946].

## 3. Graph states and local Clifford implementations

For a graph \(G=(V,E)\), the associated qubit graph state is
\[
|G\rangle=\prod_{(i,j)\in E}CZ_{i,j}\,|+\rangle^{\otimes V}.
\]
In this setting local complementation is exactly a local Clifford transformation. If \(a\in V\), then
\[
|\tau_a(G)\rangle = U_a^\tau |G\rangle,
\qquad
U_a^\tau=(iX_a)^{1/2}(-iZ_{N_a})^{1/2}.
\]
Hence every LC move is physically a product of single-qubit Clifford gates, and LC-equivalence is the graph-theoretic expression of local-Clifford equivalence [1805.04559].

The edge-pivot interpretation appears naturally when Pauli measurements are rewritten as graph transformations. In the routing analysis of graph states, an \(X\)-measurement on a vertex \(v_2\) with chosen neighbor \(v_1\) is expressed as
\[
X_2 = LC_1\,LC_2\,Z_2\,LC_1.
\]
On the graph this is exactly the three-step pattern
\[
\tau_{v_1}\circ\tau_{v_2}\circ\tau_{v_1},
\]
followed by deletion of \(v_2\) via \(Z_2\). In graph-theoretic language, this is a pivot on the edge \((v_1,v_2)\) plus deletion of one endpoint [1805.04559]. The same mechanism generalizes along a path: repeated \(X\)-measurements on intermediate vertices are equivalent to a chain of local complementations followed by \(Z\)-measurements on the deleted vertices.

A related but more explicit physical realization is given for edge local complementation itself. If two graph states are connected by a single \(CZ\) gate on core qubits \(c_1,c_2\), and the neighborhoods of \(c_1\) and \(c_2\) are disjoint, then
\[
ELC(c_1,c_2)\,|G_u\rangle
=
H_{c_1}H_{c_2}\,|G_u\rangle.
\]
In that regime, edge local complementation on the edge \(\{c_1,c_2\}\) is implemented by two Hadamard gates on the endpoints [1105.3921]. This identity is a particularly transparent operational meaning of 2-local complementation: a nontrivial graph rewrite concentrated on two vertices becomes an inexpensive local Clifford circuit.

## 4. Networks, codes, and state-preparation applications

In quantum-network routing, local complementation is used to reduce measurement overhead and to reconfigure entanglement before deletion of unwanted vertices. For a shortest path \((v_1=a,v_2,\ldots,v_l=b)\), the \(X\)-protocol of graph-state routing first \(X\)-measures the intermediate vertices and then \(Z\)-measures the remaining neighbors of the endpoints. The central theorem states that this protocol creates an EPR pair between arbitrary nodes \(a\) and \(b\) with at most as many measurements as the repeater protocol, and it is precisely the decomposition of pathwise \(X\)-measurements into local-complementation chains plus deletions that gives the advantage [1805.04559].

The butterfly network is the canonical bottleneck example. There the desired simultaneous pairs \((1,6)\) and \((2,5)\) are obtained by consecutive local complementations on nodes \(1\), \(3\), and \(4\), followed by \(Z\)-measurements on \(3\) and \(4\). In the 9-qubit cluster example, local complementations at nodes \(1,2,5,6,1\) followed by deletion of \(2,5,6\) realize the same effect as a pathwise \(X\)-measurement protocol while preserving a residual entangled resource [1805.04559]. These examples are often best interpreted as chained 2-local moves assembled from edge-pivot patterns.

Binary linear coding theory provides another canonical application. If a binary \([n,k]\) code has generator matrix \(C=(I\mid P)\), then it corresponds to the \((k,n-k)\)-bipartite graph with adjacency matrix
\[
\Gamma=
\begin{pmatrix}
\mathbf{0}_{k\times k} & P\\
P^{\mathrm T} & \mathbf{0}_{(n-k)\times(n-k)}
\end{pmatrix}.
\]
The ELC orbit of this bipartite graph is exactly the equivalence class of the code under coordinate permutation [0710.2243]. More specifically, a single ELC on an edge \(\{u,v\}\), together with the endpoint swap built into the definition, corresponds to swapping two code coordinates and then restoring standard form by row operations.

This orbit viewpoint encodes standard coding data. Each labeled graph in the ELC orbit corresponds to an information set of the code, and if the code is self-dual then each labeled bipartite graph corresponds to two information sets. The minimum distance \(d\) is recovered from the orbit by
\[
d=\delta+1,
\]
where \(\delta\) is the smallest vertex degree attained by a vertex in the partition of size \(k\) over the whole ELC orbit [0710.2243]. The class of **ELC-preserved graphs** consists of graphs with ELC orbit of size one; exhaustive search identifies all such graphs up to order \(12\), and all bipartite ELC-preserved graphs up to order \(16\) [1006.5802].

The same 2-local machinery also yields efficient encoded-state constructions. For logical cluster states based on the five-qubit code, a single physical \(CZ\) together with Hadamards implementing edge local complementation suffices to realize a logical \(CZ\) between two logical qubits. The resulting construction reduces the number of required entangling gates relative to the naive implementation and extends to hierarchical encoded graph states [1105.3921].

## 5. Orbit theory and nonbinary extensions

LC and ELC are most naturally organized through orbit structure. For qubit graph states, repeated application of local complementation generates the full local-Clifford equivalence class, and orbit graphs up to \(9\) qubits reveal systematic correlations between orbit-theoretic observables and entanglement measures. In particular, orbit diameter, chromatic number, and related graph-theoretic quantities correlate with Schmidt measure, rank-width, and preparation complexity [1910.03969]. This suggests that the geometry of an LC orbit is itself a useful descriptor of entanglement class.

A more elaborate invariant is the graph \(H(G)\) built from the stabilizer events of the graph state associated with \(G\): its vertices are the stabilizer-consistent events and its edges encode exclusivity. If \(G'\) and \(G''\) lie in the same Kotzig orbit, then
\[
H(G')=H(G''),
\]
and conversely the same \(H\) arises only from graphs in the same orbit [1211.4250]. For connected \(G\) with \(n>2\),
\[
\alpha(H)<\vartheta(H)=\alpha^\ast(H)=2^n-1,
\]
linking LC orbits to contextuality, Bell inequalities, and entanglement-assisted zero-error capacity [1211.4250].

The nonbinary case modifies both the definitions and the generators. For qutrit graph states, the adjacency matrix \(\Gamma\) is symmetric over \(\mathbb{F}_3\), edge weights lie in \(\{0,1,2\}\), and local Clifford equivalence on graphs is generated not by local complementation alone but by **local complementation together with local scaling**. The qutrit local-complementation rule is
\[
(\Gamma \overset{\gamma}{\star} w)_{uv}
=
\Gamma_{uv}+\gamma\,\Gamma_{uw}\Gamma_{vw}\pmod 3
\qquad (u\neq v),
\]
and orbit classification up to \(7\) qutrits shows strong correlations between orbit-graph connectivity and Schmidt measure [2506.05478]. In this framework, the term “2-local complementation” does **not** denote an edge pivot; all primitive moves remain single-vertex operations, and the paper explicitly states that it does not introduce a two-vertex complementation primitive [2506.05478].

A different nonbinary usage appears in the qutrit ZX-calculus. There, local complementation is parameterized by \(\lambda\in\{1,2\}\), so the \(\lambda=2\) case is literally called 2-local complementation. The local-complementation property for qutrit graph states is equivalent to an Euler decomposition of the qutrit Hadamard gate into \(4\pi/3\)-green and red rotations, and the paper states that the \(\lambda=2\) case is proved in the same way as the \(\lambda=1\) case [1704.05955]. This is a second, conceptually distinct, meaning of the term.

## 6. Complexity, bounds, and algorithmic status

The most developed complexity theory in this area concerns the **local minimum degree**
\[
\delta_{\mathrm{loc}}(G)
=
\min\{\delta(G')\mid G'\equiv_{\mathrm{LC}} G\},
\]
which measures the smallest minimum degree attainable within the LC orbit. It admits the characterization
\[
\delta_{\mathrm{loc}}(G)
=
\min\{|D\cup \mathrm{Odd}(D)|: D\neq \emptyset,\ D\subseteq V(G)\}-1,
\]
where
\[
\mathrm{Odd}(D)=\{v\in V(G)\mid |N(v)\cap D|\equiv 1\pmod 2\}.
\]
This quantity is NP-complete to decide and admits no constant-factor approximation unless \(P=NP\), even for bipartite graphs [1204.4564].

The same line of work gives both lower and upper extremal bounds. For Paley graphs \(\mathrm{Pal}_p\),
\[
\delta_{\mathrm{loc}}(\mathrm{Pal}_p)\ge \frac{\sqrt p -3}{2}.
\]
Probabilistic arguments yield infinitely many graphs with local minimum degree at least \(0.189n\), and infinitely many bipartite graphs with local minimum degree at least \(0.110n\) [1204.4564]. On the upper side, every graph of order \(n\) satisfies
\[
\delta_{\mathrm{loc}}(G)\le \frac{3n}{8}+o(n),
\]
and every bipartite graph satisfies
\[
\delta_{\mathrm{loc}}(G)\le \frac{n}{4}+o(n).
\]
There is also the bound that \(\delta_{\mathrm{loc}}(G)\) is smaller than half of the vertex cover number up to a logarithmic term [1503.04702].

Parameterized and exact algorithms refine this picture. LOCAL MINIMUM DEGREE and its bipartite restriction are in \(W[2]\) and are FPT-equivalent to EVENSET, whose \(W[1]\)-hardness remains a long-standing open question [1503.04702]. Exact algorithms compute \(\delta_{\mathrm{loc}}(G)\) in time \(O^\*(1.938^n)\) for general graphs and \(O^\*(1.466^n)\) for bipartite graphs [1503.04702].

A distinct but complementary complexity result concerns explicit evaluation of a prescribed LC sequence. Given a graph \(G\), a sequence of vertices \(s\), and a pair \(u,v\), the **Local Complementation Problem** asks whether \((u,v)\) is present in \(G*s\). This problem is \(\mathsf{P}\)-complete; for complete and star graphs it drops to \(\mathsf{LOGSPACE}\), and the paper conjectures \(\mathsf{P}\)-completeness also for circle graphs [2503.24144]. Because edge local complementation is a fixed short composition of local complementations, this suggests that algorithmic questions about 2-local complementation in the edge-pivot sense inherit the same essentially sequential character.

Taken together, these results delimit the subject sharply. Local and 2-local complementations are algebraically compact and physically implementable, yet the orbit structure they generate is rich enough to support nontrivial classification theorems, coding correspondences, and routing protocols, while also exhibiting NP-complete minimization problems and \(\mathsf{P}\)-complete forward-evaluation problems.

Source: https://www.emergentmind.com/topics/2-local-complementation