Skip to content
New issue

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

performance issue with qiskit 1.0 #14

Open
Zhaoyilunnn opened this issue Mar 11, 2024 · 0 comments
Open

performance issue with qiskit 1.0 #14

Zhaoyilunnn opened this issue Mar 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Zhaoyilunnn
Copy link
Owner

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.

Code pointers

@Zhaoyilunnn Zhaoyilunnn added the enhancement New feature or request label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant