Four short examples. Each answers the same two questions: where are the free parameters, and which action do they intertwine? No new theory. The design checklist at the end is “have you written the intertwiner?”

p4 G-CNN: Module 5 on images

Cohen & Welling’s group-equivariant convolutional networks are Proposition 5.1 with , the group of translations of combined with rotations. A feature map stores, at each pixel, a -vector of orientation channels. A filter is a small array on ; convolving it against a feature map simultaneously translates the response across the plane and cycles the orientation stack when the input is rotated by .

A p4 G-CNN feature map. Each pixel stores a 4-vector of orientation channels. Rotating the input cycles those channels and shifts the spatial support.
Figure 9.1. A p4 G-CNN feature map. Each pixel stores a 4-vector of orientation channels. Rotating the input cycles those channels and shifts the spatial support.

Figure 9.1 is as four orientation channels per pixel.

Start from a single-channel convolution (nine free weights). To add equivariance: expand the filter support from a patch in to a array on ; store feature maps as ; replace spatial convolution by correlation. Keep pointwise ReLU — on regular features the group action permutes coordinates, so Proposition 8.1 does not fire. Free parameters are the independent entries of the filter, one orbit of weights, not four independent CNN filters.

Two-atom TFN: relative geometry plus CG

Point clouds are the first break of Module 8. Tensor field networks repair it with geometric message passing. Each node carries a stack of type- features . A message from to is built from the relative vector :

The radial network holds the learnable continuous parameters. Spherical harmonics supply a steerable angular basis. Clebsch–Gordan coefficients are themselves the components of the unique (up to scale) intertwiners . Equivariance is proved edgewise from Theorem 6.1 applied to relative coordinates, not from Theorem 5.1 on a global .

TFN filter anatomy: relative vector factored into a radial network and spherical harmonics, then CG coupling.
Figure 9.2. TFN filter anatomy: relative vector factored into a radial network and spherical harmonics, then CG coupling.

Figure 9.2 is where the free parameters of a TFN message live.

For , the product decomposes as — dot product, cross product, traceless quadrupole. Those three maps are the intertwiners. The script so3_cg_equivariance.py checks they commute with rotations to about ; so3_tfn_two_atom.py runs a two-atom message and prints the same residual.

A two-atom TFN message: relative geometry, a radial net, and CG paths. Rotation residuals sit at machine precision.
Figure 9.3. A two-atom TFN message: relative geometry, a radial net, and CG paths. Rotation residuals sit at machine precision.

Figure 9.3 is the smallest TFN that still has a commuting square.

Clebsch-Gordan tensor product as an equivariant bilinear layer.
Figure 9.4. Clebsch-Gordan tensor product as an equivariant bilinear layer.

Figure 9.4 is the bilinear intertwiner .

EGNN: scalars plus equivariant glue

EGNN answers the same non-homogeneous-space break with a minimal intertwiner structure. Node features are treated as invariant scalars (type ). Messages use only invariant geometry,

and coordinates update as type- vectors,

with ordinary MLPs. Rotating all rotates the updates; permuting nodes permutes outputs; no spherical harmonics and no CG coefficients appear. Villar et al. supply the moral: for a wide class of problems, equivariant maps can be built from complete sets of scalar invariants plus a small amount of equivariant glue (here, relative vectors).

EGNN versus TFN. Left: invariant scalars through MLPs, relative vectors only to update positions. Right: type-ell features and CG products at every layer.
Figure 9.5. EGNN versus TFN. Left: invariant scalars through MLPs, relative vectors only to update positions. Right: type-ell features and CG products at every layer.

Figure 9.5 is the same constraint, two parameterisations.

Prefer EGNN-style when features are naturally scalar and the engineering budget forbids CG. Prefer TFN / e3nn-style when angular structure is the signal and data are scarce.

Twirl: the projector onto Hom_G

The same intertwiner equation on a new substrate. A group acts on quantum states by a unitary representation , . A linear map on operators (a channel, or a generator) is equivariant when . For a gate this holds for all if and only if the generator lives in the commutant

Theorem 7.1 applied to the isotypic decomposition gives — the same multiplicity count as in Module 7.

The machine that produces commutant elements from arbitrary operators is the twirl. For finite ,

Proposition 9.1 (The twirl is the projector onto the commutant).

lies in for every . Moreover if and only if already commutes with every . is the orthogonal projection onto (here ) with respect to the Hilbert–Schmidt inner product.

The first claim is a change of summation index: conjugating by reindexes the sum and leaves it invariant. The second is immediate from the definition. Averaging over the group is the same construction as “take an arbitrary kernel and project it onto orbit-constant kernels” — the finite-group form of step 1 in Theorem 5.1.

Example 9.1 (Z2 on one qubit).

Let acting on by itself. The twirl of a generic Hermitian is

because and . The commutant is , dimension for this representation. An equivariant generator is a linear combination of and ; the and directions have been projected out. That is the Schur count with two matching one-dimensional irreps of .

Nguyen et al. (arXiv:2210.08566) run this construction for channels, not just unitaries, and give three algorithms (nullspace, twirl, Choi) that compute a basis of . The rest of geometric QML — dynamical Lie algebras, barren plateaus, PauLie, g-sim — is a different course. The only sentence borrowed here is: twirling is how you project onto the intertwiner space.

Have you written the intertwiner?

Design order for an equivariant architecture. The free parameters of every linear layer live in Hom_G.
Figure 9.6. Design order for an equivariant architecture. The free parameters of every linear layer live in Hom_G.

Figure 9.6 is the checklist below, as a flow.

Checklist

  1. Pick . What transformations leave the task law unchanged? Write the group in the model card; “something geometric” is not a group.
  2. Pick the base space. Homogeneous / grid: CNN, -CNN, steerable CNN (Theorem 4.1, Theorem 6.1). Point set / graph: TFN, EGNN. If the base is not homogeneous, do not pretend Theorem 5.1 applies literally.
  3. Pick and . Width is a multiset of types, not a single integer .
  4. Parameterise . Discrete : kernel on . Steerable: solve Theorem 6.1; learn radial profiles plus multiplicity matrices. Point clouds: radial net spherical harmonics CG paths. Count degrees of freedom with Theorem 7.1. If the implementation has more free weights than Schur allows, it is not equivariant.
  5. Pick equivariant nonlinearities. Gates, norms, CG, or regular-rep activations. Not componentwise ReLU on type (Proposition 8.1).
  6. Invariant head when the task is invariant. Global pooling over orbits; scalar readout.

Skipping a line is how silent symmetry bugs appear. The six lines are Proposition 3.1, applied in order.