(self, other)
KetBase*other
KetBase*other
KetBase * other
def __mul__(self, other):
        """KetBase*other"""
        from sympy.physics.quantum.operator import OuterProduct
        if isinstance(other, BraBase):
            return OuterProduct(self, other)
        else:
            return Expr.__mul__(self, other)
def __mul__ ( self , other ) : from sympy . physics . quantum . operator import OuterProduct if isinstance ( other , BraBase ) : return OuterProduct ( self , other ) else : return Expr . __mul__ ( self , other )