openfermion.transforms.check_no_sympy

Checks whether a SymbolicOperator contains any sympy expressions, which will prevent it being converted to a PolynomialTensor or DiagonalCoulombHamiltonian

operator SymbolicOperator

the operator to be tested