'BraBase*other'

def __mul__(self, other):

    from sympy.physics.quantum.innerproduct import InnerProduct
    if isinstance(other, KetBase):
        return InnerProduct(self, other)
    else:
        return Expr.__mul__(self, other)
