You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
A parametric Qiskit circuit should be converted to a Braket parametric circuit.
Currently, trying to convert a Qiskit parametric circuit to a Braket circuit like so:
from qiskit_braket_provider.providers.adapter import convert_qiskit_to_braket_circuit
from qiskit.circuit import Parameter
theta = Parameter('θ')
qc = QuantumCircuit(1, 1)
qc.rz(theta, 0)
yields the following error:
TypeError: ParameterExpression with unbound parameters ({Parameter(θ)}) cannot be cast to a float.
Expected outcome: This should return a Braket circuit with Rz gate and FreeParameter θ
The text was updated successfully, but these errors were encountered:
@kshitijc this bounty is showing as completed by @urihan, but it looks like it was completed by @king-p3nguin. Please ensure the hacker who has been responsible to the issue being resolved is assigned to the issue. Thanks!
What is the expected behavior?
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
A parametric Qiskit circuit should be converted to a Braket parametric circuit.
Currently, trying to convert a Qiskit parametric circuit to a Braket circuit like so:
yields the following error:
Expected outcome: This should return a Braket circuit with Rz gate and FreeParameter
θ
The text was updated successfully, but these errors were encountered: