Need to check that self is of a type that is compatible with to_choi. `basis(2).iscptp` results in a expection and traceback.