Are there some books or papers about the general definition of traces:
If $\mathscr{A}$ is an associative algebra over $K$ then the space of traces is the set of all linear functionals $\tau:\mathscr{A}\to K$ which satisfy $\tau(\mathcal{A}\mathcal{B})=\tau(\mathcal{B}\mathcal{A})$ for all $\mathcal{A},\mathcal{B}\in\mathscr{A}$.
Thanks.