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
In qiskit, StatePreparation is treated as an instruction, and state vector is treated as parameters.
There are many parameter checking logic in qiskit.
In the initial version, I have extracted initialize as an independent module and modified some source code to avoid this issue.
However, after upgrading to qiskit 1.0, I find this difficult to extract because initialize is tightly coupled with QuantumCircuit, and some logic in append can cause issue.
In qiskit,
StatePreparation
is treated as an instruction, and state vector is treated as parameters.There are many parameter checking logic in qiskit.
In the initial version, I have extracted
initialize
as an independent module and modified some source code to avoid this issue.However, after upgrading to qiskit 1.0, I find this difficult to extract because
initialize
is tightly coupled withQuantumCircuit
, and some logic inappend
can cause issue.Code pointers
The text was updated successfully, but these errors were encountered: