Circuit Varieties in Mathematics & Engineering
- Circuit varieties are classifications of circuit behaviors defined by invariant structures such as dependencies and topologies across fields like matroid theory, quantum, and electrical engineering.
- They capture configurations that over-realize dependencies, classify equivalent quantum circuits, and characterize edge directions in polyhedral projections.
- Applications span from algebraic-geometric modeling and minimal dependency extensions to engineered topolectrical circuits and circuit discovery in transformer models.
Circuit varieties are studied under several distinct meanings across contemporary mathematics, physics, computer science, and machine learning. In matroid theory, the term has a precise algebraic-geometric meaning: for a matroid of rank on and , the circuit ideal is
and its zero set is the circuit variety; equivalently, it is the set of collections of vectors in whose dependencies include those of (Liwski et al., 2024). In other literatures, “circuit varieties” denotes taxonomies of topolectrical and topological LC architectures (Sahin et al., 25 Feb 2025), families of equivalent quantum circuits generated by rewrite rules (Garcia-Escartin et al., 2011), formulation-dependent families of polyhedral circuits under projection (Borgwardt et al., 2022), and task-dependent subgraphs in transformer models (Wu et al., 15 Jun 2026). This suggests that the common thread is classification by invariant structure—dependency, topology, equivalence, or functional role—rather than by hardware alone.
1. Matroid-theoretic and algebraic-geometric meaning
For a matroid , the circuit variety is larger than the matroid variety because it encodes only the requirement that every circuit of remain dependent. By construction,
0
so the circuit variety contains the Zariski closure of exact realizations as a distinguished subvariety (Liwski et al., 2024). In the minimal ambient dimension 1, the notation is typically shortened to 2 for the realization space, 3 for the matroid variety, and 4 for its defining ideal (Liwski et al., 2024).
In rank 5, where simple matroids correspond to point-line configurations, the circuit variety admits a particularly transparent interpretation. The circuit ideal is generated by the 6 minors attached to collinear triples, and the circuit variety parametrizes point configurations obeying the prescribed collinearity constraints but possibly carrying additional dependencies (Clarke et al., 2024). In that setting, the paper identifies the circuit variety with the combinatorial closure
7
so it is the union of matroid varieties of all matroids 8 extending the dependency structure of 9 (Clarke et al., 2024).
This distinction between exact realization and over-realization is the central structural feature of circuit varieties. The matroid variety records configurations whose dependence relations match 0 exactly, whereas the circuit variety records configurations whose dependence relations contain those of 1. In general, understanding when the two coincide, and when extra components appear, is the main geometric problem (Liwski et al., 2024).
2. Liftability, nilpotency, and defining equations
A major line of work analyzes circuit varieties through liftability. For rank-2 point-line configurations, liftability is defined by asking whether any 3-tuple of distinct collinear points in 4 arises as the projection of a non-degenerate realization of the configuration, and the condition is encoded by a collinearity matrix 5 whose kernel describes possible lifts (Clarke et al., 2024). Forest configurations are liftable, and for configurations with no triplets of concurrent lines, liftability forces equality
6
For connected quasi-liftable configurations in which every point lies on at most two lines, the circuit variety has exactly two irreducible components,
7
where 8 is the matroid variety of a line with 9 marked points (Clarke et al., 2024).
The higher-rank generalization uses nilpotent, weak-nilpotent, strong-nilpotent, and solvable matroids. Nilpotent matroids are realizable and have irreducible realization spaces, and for nilpotent 0-paving matroids with no points of degree greater than two one has
1
For forest point-line configurations, even when points of degree greater than two occur, the matroid ideal is controlled by the circuit ideal together with a Grassmann–Cayley ideal 2,
3
and for strong-nilpotent matroids the circuit and matroid varieties again coincide (Liwski et al., 2024).
For paving matroids, a third method constructs defining equations by combining the circuit ideal with lifting polynomials and graph polynomials. When 4 is an 5-paving matroid with no points of degree greater than two,
6
and the graph-ideal formulation yields a finite generating set (Liwski et al., 2024). In the same class, if all submatroids of hyperplanes are liftable then 7, while if all proper submatroids of hyperplanes are liftable then
8
with 9 the uniform rank-0 component (Liwski et al., 2024).
3. Minimal extensions and irreducible decomposition
Recent work treats circuit varieties through the dependency poset of matroids. For matroids 1 on the same ground set, the dependency order is defined by
2
and the minimal extensions 3 are the minimal elements above 4 in this order (Liwski et al., 23 Apr 2025). The key structural proposition is
5
which turns the study of a circuit variety into an inductive study of minimal extensions and their own circuit varieties (Liwski et al., 23 Apr 2025).
This leads to explicit irreducible decompositions for classical examples. For the Vámos matroid,
6
and for the dual of the graphic matroid of 7,
8
with both components irreducible and incomparable (Liwski et al., 23 Apr 2025). The same algorithmic framework computes minimal irreducible decompositions for the Steiner quadruple system 9 and the dual of the Fano matroid (Liwski et al., 23 Apr 2025).
For rank-0 point-line configurations, the analogous statement uses 1, the minimal matroids above 2 in dependency order: 3 This formula underlies explicit decompositions for the Fano matroid, the MacLane configuration, the affine plane of order three, the Pappus configuration, and the second 4 configuration (Liwski et al., 2 Feb 2025). In the Fano case, for example,
5
and each component is an irreducible matroid variety (Liwski et al., 2 Feb 2025).
Algorithmically, these decompositions rely on systematic generation of minimal matroids via formulas encoding identifications and non-identifications of points, together with hypergraph procedures that merge lines when new circuits are introduced (Liwski et al., 2 Feb 2025). A plausible implication is that the geometry of circuit varieties is governed less by arbitrary determinantal elimination than by the local combinatorics of minimal dependency extensions.
4. Polyhedral circuits under projection
In linear programming theory, the word “circuit” denotes elementary directions of a polyhedron rather than subcircuits of an electrical or logical device. For a polyhedron
6
its circuits are the nonzero vectors 7 such that 8 has inclusion-minimal support among all nonzero vectors 9 with 0 (Borgwardt et al., 2022). Every edge direction of 1 is a circuit, but the set of circuits is generally larger and describes potential edge directions across right-hand-side perturbations (Borgwardt et al., 2022).
For an extended formulation 2 with linear projection 3, edge directions are always inherited from 4, but general circuits are not. The paper proves that there exist full-dimensional pointed polyhedra 5, 6, with 7, such that
8
and the difference between inherited and non-inherited circuit directions can be exponentially large in the dimension (Borgwardt et al., 2022). In this sense, the “variety” of circuit directions is formulation-dependent rather than intrinsic to the projected object alone.
The structural results are sharp. A linear map 9 satisfies 0 for all polyhedra 1 if and only if 2 is injective, and a pointed polyhedron 3 inherits circuits from every extension if and only if all circuits of 4 are edge directions (Borgwardt et al., 2022). This establishes a clear distinction between the stable core of polyhedral circuit theory—edge directions—and the unstable part created or destroyed by projection.
5. Equivalence classes in quantum circuits and algebraic circuit complexity
In quantum information, “circuit varieties” can mean families of circuits related by explicit equivalence rules and implementing the same overall transformation. The rules cataloged in “Equivalent Quantum Circuits” include null gates, control reversal, the principle of deferred measurement, quantum-classical substitution, distributed CNOT, the CNOT mirror rule, and the parallel-to-5 CNOT rule (Garcia-Escartin et al., 2011). These identities generate equivalence classes of circuits for SWAP, teleportation, dense coding, and gate teleportation, so that visually distinct circuits can be treated as members of the same variety when they realize the same unitary transformation up to global phase and the same measurement statistics (Garcia-Escartin et al., 2011).
In circuit complexity, the term enters through varieties of languages recognized by circuit families. A base of gate types is defined by a variety 6 of regular commutative languages, and the corresponding constant-size circuit class is described by the block-product construction
7
the Boolean algebra generated by languages 8 for finite partitions 9 of 0 and languages 1 (Czarnetzki et al., 2015). The paper proves that these are exactly the languages recognized by constant-size circuits over the base defined by 2, and it derives equations for the circuit class from equations for the gate variety (Czarnetzki et al., 2015).
The main theorem states that 3 is defined by equations of the form
4
where 5 is a profinite identity holding in 6 and 7 are ultrafilters satisfying the stated compatibility conditions on lengths, substituted words, and position filters (Czarnetzki et al., 2015). This makes circuit classes themselves into variety-like objects in the sense of Stone duality and Boolean algebras of languages.
6. Topolectrical and topological LC circuit varieties
In condensed-matter-inspired electrical engineering, topolectrical circuits are electrical networks deliberately arranged as metamaterials so that their nodal voltages and currents realize the band structures and eigenmodes of lattice Hamiltonians (Sahin et al., 25 Feb 2025). Their linear steady-state behavior is encoded by the circuit Laplacian
8
and the review classifies contemporary implementations into passive circuits, active operational-amplifier circuits, non-Hermitian circuits, nonlinear circuits, Floquet or time-modulated circuits, and synthetic or quantum-inspired circuits (Sahin et al., 25 Feb 2025). In that literature, “circuit varieties” denotes a taxonomy organized by the emulated physics: SSH chains, Chern and higher-order insulators, Weyl and Dirac semimetals, PT-symmetric dimers, exceptional points, non-Hermitian skin modes, nonlinear topological modes, Floquet frequency lattices, hyperbolic graphs, synthetic dimensions, and integrated high-frequency topological ICs (Sahin et al., 25 Feb 2025).
A closely related but more specialized construction appears in topological LC circuits built purely from inductors and capacitors. There the entire analysis is organized around a Lagrangian formalism and a Hermitian dynamical 9-matrix,
0
which plays the role of a tight-binding Hamiltonian (Zhao, 2018). Zhao develops a modular design language based on loops, stars, and 1-shift permutation wiring, from which one obtains emergent pseudo-spin degrees of freedom and synthetic gauge fields (Zhao, 2018).
This framework realizes a sequence of topological circuit varieties: the SSH transmission line, the braided ladder analogous to the 2-flux ladder, two-dimensional Haldane and Hofstadter analogs, and a four-dimensional quantum Hall insulator with finite second Chern numbers (Zhao, 2018). The classification is controlled by winding numbers, Zak phases, first Chern numbers, and second Chern numbers computed from the 3-matrix, and the protected observables are electromagnetic edge modes localized at boundaries and interfaces (Zhao, 2018).
7. Engineered and learned systems
In technology studies, “circuit varieties” can denote different styles of information-processing hardware. “Evolution of Technologies and Multivalued Circuits” places multivalued logic within a larger taxonomy including binary digital circuits, multivalued digital circuits, analog circuits, and quantum circuits (Etiemble, 2019). The paper argues that classical multivalued circuits face fundamental disadvantages because the signal levels are totally ordered, extra levels require extra thresholds and more circuitry, and the reduction of 4 in modern CMOS further shrinks noise margins (Etiemble, 2019). It treats multilevel flash as the main practical exception and concludes that quantum devices are probably the only actual M-valued devices (Etiemble, 2019). In this usage, circuit varieties are technology-centered categories rather than algebraic varieties.
In mechanistic interpretability, a circuit is a subgraph of a transformer chosen to be necessary and sufficient for reproducing behavior on a task, and recent work studies the “varieties” of such circuits across data and prompt families (Wu et al., 15 Jun 2026). The paper distinguishes resampling variance, rephrasing variance, and sample-wise variance, and introduces CEAP, a conductance-based circuit discovery method with additive order preservation that reduces resampling variance relative to EAP-IG (Wu et al., 15 Jun 2026). It also shows that prompts with different templates tend to activate different circuits, so rephrasing variance reflects genuine multiplicity of task circuits rather than merely estimator noise (Wu et al., 15 Jun 2026).
The resulting picture is not that of a single canonical task circuit. Different prompt templates cluster into distinct circuits, sparsity fails to eliminate that dependence, and sample-wise extremes in unfaithfulness are often driven by the definition of unfaithfulness and by selective contribution scaling rather than by defective circuits (Wu et al., 15 Jun 2026). This suggests that, in learned systems, “circuit varieties” names a family of prompt-conditioned computational subgraphs rather than a unique mechanism for a semantic task.