예제 #1
0
 def __mul__(self, other):
     if isinstance(other, FockStateKet):
         return InnerProduct(self, other)
     else:
         return Basic.__mul__(self, other)
예제 #2
0
 def __mul__(self, other):
     if isinstance(other, FockStateKet):
         return InnerProduct(self, other)
     else:
         return Basic.__mul__(self, other)