'Returns the tensor corresponding to the permutation ``g``
For further details, see the method in ``TIDS`` with the same name.'

def perm2tensor(self, g, is_canon_bp=False):

    return perm2tensor(self, g, is_canon_bp=is_canon_bp)
