please copy this and name it `__apply_operator(self, func, ket, **options)` then change references to `JxKet` to `func` then all 6 of the functions below are just one liners:

```
def _apply_operator_JxKet(self, ket, **options):
    return self.__apply_operator(JxKet, ket, **options) # or is it __apply_operator(self, JxKet, ket, **options)?
```