We define invariants for templates that appear in certain dynamical systems. Invariants are derived from certain bialgebras. Diagrammatic relations between projections of templates and the algebraic structures are used to define invariants. We also construct 3-manifolds via framed links associated to tamplate diagrams, so that any 3-manifold invariant can be used as a template invariant.
Kauffman, Louis H., Saito, Masahico and Sullivan, Michael C. "Quantum Invariants of Templates." (Aug 2003).