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

Move to the current API of qiskit-nature #91

Merged
merged 21 commits into from
Jan 16, 2024

Conversation

fretchen
Copy link
Collaborator

@fretchen fretchen commented Jan 5, 2024

Summary

This attempts to fix #87 and most likely also #88

Details and comments

However, we have to jump from the syntax of 0.4 to the syntax of 0.7 for qiskit-nature and this seems to be a fairly major shift. I think that I might have found most of the operators, but some problems and questions remain:
I think that I might have found most of the operators, but some problems and questions remain:

  • It would seem that SparseLabelOp is the new name of SecondQuantizedOp ? Not sure what has to be changed to make it work.
  • The register_length seems to not exist anymore and had to be updated to num_spin_orbitals or num_spins.
  • For the moment the tests still fail with 'Gate rlx has no defined generator'. No idea why.
  • I think that we should also enable dependabot updates to avoid another massive version jump like this one in the future.

@CLAassistant
Copy link

CLAassistant commented Jan 9, 2024

CLA assistant check
All committers have signed the CLA.

@fretchen fretchen requested a review from eggerdj January 9, 2024 19:52
@fretchen fretchen marked this pull request as ready for review January 9, 2024 19:52
Copy link
Collaborator

@eggerdj eggerdj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good. Thanks a lot for all the effort. From my perspective there are still two open points:

  • A bit more description in the reno
  • Resolve the merge conflicts

Comment on lines +4 to +6
qiskit-terra>= 0.45.1
qiskit-nature>=0.7.1
qiskit-aer>=0.8.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Collaborator

@LaurinFischer LaurinFischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With these changes the tests should be good and the releasenote a bit more detailed.

@fretchen fretchen requested a review from eggerdj January 16, 2024 11:49
@fretchen
Copy link
Collaborator Author

@eggerdj I think that the comments should now be taken into account and we are again ready for review.

Copy link
Collaborator

@eggerdj eggerdj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks a lot for this!

@LaurinFischer LaurinFischer merged commit f6c2390 into qiskit-community:main Jan 16, 2024
9 checks passed
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.

qiskit-cold-atom not compatible with qiskit-nature 0.7.1
4 participants