A functor for making bras and kets, and some convenience operators