Ejemplo n.º 1
0
 def __mul__(self, other):
     if isinstance(other, FockStateKet):
         return InnerProduct(self, other)
     else:
         return Basic.__mul__(self, other)
Ejemplo n.º 2
0
 def __mul__(self, other):
     if isinstance(other, FockStateKet):
         return InnerProduct(self, other)
     else:
         return Basic.__mul__(self, other)