(self, other)
other*KetBase
other*KetBase
other * KetBase
def __rmul__(self, other):
        """other*KetBase"""
        from sympy.physics.quantum.innerproduct import InnerProduct
        if isinstance(other, BraBase):
            return InnerProduct(other, self)
        else:
            return Expr.__rmul__(self, other)
def __rmul__ ( self , other ) : from sympy . physics . quantum . innerproduct import InnerProduct if isinstance ( other , BraBase ) : return InnerProduct ( other , self ) else : return Expr . __rmul__ ( self , other )