Open jcjaskula-aws opened 7 months ago
Thank you for this issue! We will look into this.
Dumping some thoughts here:
Parameter.sympify()
and then create the Braket FreeParameterExpression.Parameter("a")*Parameter("b")
and assign inverted values to b.Division will be solved with https://github.com/amazon-braket/amazon-braket-sdk-python/pull/885
Steps to reproduce the problem
Translating circuits like:
will throw an error because we serialize and parse the ast to create a FreeParameterExpression instead of relying on Sympy.
What is the current behavior?
Throws an error.
What is the expected behavior?
Create a correct FreeParameterExpression.