-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Support multiplication of SparsePauliOp with Parameter #10185
Comments
Hi @kevinsung! I think that the development of this feature and, more in general, the support for symbolic computation within the if isinstance(other, ParameterExpression):
self.coeffs = other * self.coeffs This works but it converts By the way, I started working on symbolic computation in Qiskit (inspired by #4751) to allow something similar to what you are proposing here and I recently released the package qiskit-symb to leverage sympy for symbolic computation on quantum statevectors, density matrices, and operators as the ones defined in |
The stored coefficients can already have data type |
@kevinsung you are right, sorry for the confusion! It also looks that the |
Closed by #10264. |
What should we add?
The text was updated successfully, but these errors were encountered: