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

Use opflow operators in dynamics #167

Conversation

donsano33
Copy link
Contributor

@donsano33 donsano33 commented Dec 13, 2022

Summary

Add support and type hints, so that qiskit.opflow operators inheriting from qiskit.opflow.OperatorBase can be used to construct a HamiltonianModel and a RotatingFrame.

Details and comments

It kind of gets messy with the type hints, not sure what to do about that.

Needs the "New Feature" Label, not sure if I can do this myself.

@CLAassistant
Copy link

CLAassistant commented Dec 13, 2022

CLA assistant check
All committers have signed the CLA.

@donsano33 donsano33 marked this pull request as ready for review December 13, 2022 14:20
@woodsp-ibm
Copy link
Member

I will note that the current plan is to deprecate (next release) and later remove opflow from Terra Qiskit/qiskit#9176

@DanPuzzuoli
Copy link
Collaborator

I will note that the current plan is to deprecate (next release) and later remove opflow from Terra Qiskit/qiskit-terra#9176

Ah good to know, thanks.

@donsano33 based on this I think I will actually prefer to not merge this. Apologies for that. Even though it will be convenient in the short term, I think it will be more inconvenient when we run into the eventual known incompatibility of an upcoming version of terra.

@donsano33 donsano33 deleted the use-opflow-operators-in-dynamics branch November 15, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants