1

This looks like a bug$^1$. Look at following lines of code from the v1.3.0 release branch for the implementation of SymbolicOperator.isclose (which implements FermionOperator.__eq__): if not (isinstance(a, sympy.Expr) or isinstance(b, sympy.Expr)): tol *= max(1, abs(a), abs(b)) This occurs inside of a for loop comparing A and B componentwise. tol is ...


Only top voted, non community-wiki answers of a minimum length are eligible