We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translating circuits like:
qiskit_circuit = QuantumCircuit(1) v = ParameterVector("v", 2) qiskit_circuit.rx(Parameter("a")/Parameter("b"), 0) braket_circuit = to_braket(qiskit_circuit)
will throw an error because we serialize and parse the ast to create a FreeParameterExpression instead of relying on Sympy.
Throws an error.
ValueError: Unsupported binary operation: <class 'ast.Div'>
Create a correct FreeParameterExpression.
The text was updated successfully, but these errors were encountered:
Thank you for this issue! We will look into this.
Sorry, something went wrong.
Dumping some thoughts here:
Parameter.sympify()
Parameter("a")*Parameter("b")
Division will be solved with amazon-braket/amazon-braket-sdk-python#885
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: