category with duals (list of them)
dualizable object (what they have)
ribbon category, a.k.a. tortile category
monoidal dagger-category?
For $a$ a dualizable object in a symmetric monoidal category $C$ (or more generally an object in a traced monoidal category), there is a natural notion of the trace of an endomorphism $f:a \to a$, which reproduces the ordinary notion of trace of a linear map of finite dimensional vector spaces in linear algebra for the case that $C = Vect$.
The idea of the trace operation is easily seen in string diagram notation: essentially one takes the endomorphism $a \stackrel{f}{\to} a$, “bends it around” using the duality and the symmetry and connects its output to its input.
This definition makes sense in any braided monoidal category, but often in non-symmetric cases one wants instead a slightly modified version which requires the extra structure of a balancing.
The trace of the identity $1_a:a \to a$ is called the dimension or Euler characteristic of $a$.
$C = Vect$ with its standard monoidal structure (tensor product of vector spaces): in this case tr(f) is the usual trace of a linear map;
$C = SuperVect = (Vect_{\mathbb{Z}_2}, \otimes, b)$, the category of $\mathbb{Z}_2$-graded vector spaces with the nontrivial symmetric braiding which is $-1$ on two odd graded vector spaces: in this case the above is the supertrace on supervectorspaces, $str(V) = tr(V_{even}) - tr(V_odd)$.
$C = Span(Top^{op})$: here the trace is the co-span co-trace which can be seen as describing the gluing of in/out boundaries of cobordisms
$C = Span(Grpd)$: this reproduces the notion of trace of a linear map within the interpretation of spans of groupoids as linear maps in the context of groupoidification and geometric function theory, made explicit at span trace
In the symmetric monoidal (infinity,1)-category of spectra, the trace on the identity on a suspension spectrum of a manifold $X$ is the Euler characteristic of $X$ (see there).
If the morphism described above is the endomorphism of a tensor product object $V \otimes W$, then there is a similarly evident way to “bend around” only the W-strand.
TO DO: Draw the diagram just described.
Suppose $V$, $W$ are finite-dimensional vector spaces over a field, with dimensions $m$ and $n$, respectively. For any space $A$ let $L(A)$ denote the space of linear operators on $A$. The partial trace over $W$, Tr$_{W}$, is a mapping
Let $e_{1}, \ldots, e_{m}$ and $f_{1}, \ldots, f_{n}$ be bases for $V$ and $W$ respectively. Then $T$ has a matrix representation $\{a_{k l,i j}\}$ where $1 \le k,i \le m$ and $1 \le l,j \le n$ relative to the basis of the space $V \otimes W$ given by $e_{k} \otimes f_{l}$. Consider the sum
for $k,i$ over $1, \ldots, m$. This gives the matrix $b_{k,i}$. The associated linear operator on $V$ is independent of the choice of bases and is defined as the partial trace.
Consider a quantum system, $\rho$, in the presence of an environment, $\rho_{env}$. Consider what is known in quantum information theory as the CNOT gate:
Suppose our system has the simple state ${|1\rangle}{\langle 1|}$ and the environment has the simple state ${|0\rangle}{\langle 0|}$. Then $\rho \otimes \rho_{env} = {|10\rangle}{\langle 10|}$. In the quantum operation formalism we have
where we inserted the normalization factor $\frac{1}{2}$.
The categorical notion of trace in a monoidal category is due to
and
Surveys include
Peter Selinger, A survey of graphical languages for monoidal categories (pdf), Section 5
Kate Ponto, Mike Shulman, Traces in symmetric monoidal categories (pdf).
Generalization of this to indexed monoidal categories is in
and to bicategories in
Further developments are in
Andre Joyal, Ross Street, and Dominic Verity, Traced Monoidal Categories
David Ben-Zvi, David Nadler, Nonlinear traces (arXiv:1305.7175)
For the notion of partial trace, particularly its application to quantum mechanics, see: