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

795 conda env python3 10 #807

Merged
merged 20 commits into from
Aug 2, 2022
Merged

Conversation

priti-ashvin-shah-ibm
Copy link
Collaborator

What are the issues this pull addresses (issue numbers / links)?

#795 is mostly finished, however, we still need to add python 3.10 CI.

Did you add tests to cover your changes (yes/no)?

no

Did you update the documentation accordingly (yes/no)?

Yes

Did you read the CONTRIBUTING document (yes/no)?

yes

Summary

pyaedt has dependencies which limit python to 3.9. So we are holding off on merging this pull request for now.

Details and comments

priti-ashvin-shah-ibm and others added 9 commits May 25, 2022 11:29
* 795 conda env  python3 10 using updated tag from pyepr (#796)

* Callable from collections is depreicated for python 3.10 so need to use collections.abc.

* Add new tag for pyepr.

* Update tags for new Metal pypi release.

* Wait until Samarth s pull request is merged.

* To make run_all_tests to pass.  @GyeongHun had the fix.

* Use later tag.

* Implement Ability to Extract Q-factors from Eigenmode Simulations (#794)

* Implement Ability to Extract Q-factors from Eigenmode Simulations

* Updated tests

* Added Tutorial

* Revert "Updated tests"

This reverts commit 146b0e9.
Tests would be restored to the one in main.

* When one plot_convergences(), then the frequiences are gathered so they gotten by get_frequencies().

* Removed solution_type variable. Replaced by pyEPR implementation

* Updated tests

Co-authored-by: Priti Ashvin Shah <74020801+priti-ashvin-shah-ibm@users.noreply.github.com>
Co-authored-by: Priti A Shah <Priti.Ashvin.Shah@ibm.com>

* Create a new tag for pip release. (#802)

Co-authored-by: Priti Shah <Priti.Ashvin.Shah@ibm.com>

* Fixed the FakeJunctionGDS error this time for Issue 733 (#801)

Co-authored-by: Priti Ashvin Shah <74020801+priti-ashvin-shah-ibm@users.noreply.github.com>

* Optimize-performance (#803)

* allow for using cached s_remove and s_keep; vectorize extract_energies()

* initialize chi matrix with np.empty instead of list

* cache c_k, c_inv_k, l_inv_k

* no need to validate input for add_interaction since it's called internally

* Add python 3.10

* Change python version from number to text

Co-authored-by: Priti Ashvin Shah <74020801+priti-ashvin-shah-ibm@users.noreply.github.com>
Co-authored-by: Samarth Hawaldar <47246334+SamarthH@users.noreply.github.com>
Co-authored-by: Priti A Shah <Priti.Ashvin.Shah@ibm.com>
Co-authored-by: Connor Bowman <58343812+bowmanconnor@users.noreply.github.com>
Co-authored-by: Soham Bopardikar <bopardikarsoham@gmail.com>
Co-authored-by: Yehan Liu <74025052+quantum-quant@users.noreply.github.com>
@priti-ashvin-shah-ibm
Copy link
Collaborator Author

This work was done by @GyeonghunKim as part of QAMP.

@priti-ashvin-shah-ibm
Copy link
Collaborator Author

Regarding Qiskit Metal, when we are using the latest commit, the conda environment has python 3.10. When we add the dependencies for pyaedt i.e. PythonNet and PyVista, then generate a new conda env, the environment is python 3.9. This makes us believe PythonNet and PyVista have some code which is not python 3.10 compatible. This is just sharing of information; however, it would be ideal to not limit python version.

@priti-ashvin-shah-ibm
Copy link
Collaborator Author

We noticed pyaedt is not part of conda-forge. If we want to use that package, we would need to manually pip install.

obrienpja
obrienpja previously approved these changes Aug 2, 2022
Copy link
Collaborator

@obrienpja obrienpja left a comment

Choose a reason for hiding this comment

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

LGTM, go team!

@priti-ashvin-shah-ibm
Copy link
Collaborator Author

@GyeonghunKim Thank you for all of your help to get the repo to work with python 3.10.

@priti-ashvin-shah-ibm priti-ashvin-shah-ibm marked this pull request as ready for review August 2, 2022 15:13
obrienpja
obrienpja previously approved these changes Aug 2, 2022
Copy link
Collaborator

@obrienpja obrienpja left a comment

Choose a reason for hiding this comment

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

LGTM, good job!

Copy link
Collaborator

@obrienpja obrienpja left a comment

Choose a reason for hiding this comment

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

LGTM, glad we are slimming this down!

@priti-ashvin-shah-ibm priti-ashvin-shah-ibm merged commit e71a799 into main Aug 2, 2022
@priti-ashvin-shah-ibm priti-ashvin-shah-ibm deleted the 795_conda_env__python3_10 branch August 2, 2022 17:18
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.

3 participants