These are chat archives for symengine/symengine
SymPy, the arguments are passed as
Qubit('00'), which are processed as
SymPy, but the same expression gets processed to
SymEngine.py, which raises an error. Can I introduce a
sympifychecking for conversion to
int? Is there another approach to this?
I'm not too sure on that. From
if isinstance(a, str): return c2py(symengine.parse(a.encode("utf-8"))) return _sympify(a, True)
Ideally all strings should be parsed directly, but I think the string object is also being passed to
_sympify() which gives:
symengine.lib.symengine_wrapper.SympifyError: sympy2symengine: Cannot convert ''0'' to a symengine type.