Getting the following TypeError when attempting to utilize the Qiskit plugin to convert a Qiskit circuit containing a ParameterExpression:
TypeError: ParameterExpression with unbound parameters ({ParameterVectorElement(θ[0])}) cannot be cast to a float.
Code to reproduce the error:
from qiskit.circuit.library import RealAmplitudes
from torchquantum.plugins import qiskit2tq
ansatz = RealAmplitudes(2, reps=1)
tq_layer = qiskit2tq(ansatz)