Two fundamental contributions to categorical quantum mechanics are presented.
First, we generalize the CP-construction, that turns any dagger compact
category into one with completely positive maps, to arbitrary dimension.
Second, we axiomatize when a given category is the result of this construction.
We propose a mathematical framework for a unification of the distributional
theory of meaning in terms of vector space models, and a compositional theory
for grammatical types, for which we rely on the algebra of Pregroups,
introduced by Lambek. This mathematical framework enables us to compute the
meaning of a well-typed sentence from the meanings of its constituents.
Concretely, the type reductions of Pregroups are `lifted' to morphisms in a
category, a procedure that transforms meanings of constituents into a meaning
of the (well-typed) whole.