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

Removing DeviceArray from jax types #22

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

DanPuzzuoli
Copy link
Collaborator

Summary

DeviceArray was removed in JAX 0.4.11. We were still adding this to the JAX_TYPES when registering if the version was <= 0.4.11, however it turns out this isn't actually necessary for any version above 0.4.0. (I discovered this while working on Dynamics #232.

This PR complete removes DeviceArray from the JAX types.

Details and comments

@DanPuzzuoli DanPuzzuoli requested a review from to24toro June 17, 2023 00:26
Copy link
Collaborator

@to24toro to24toro left a comment

Choose a reason for hiding this comment

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

LGTM!

@DanPuzzuoli DanPuzzuoli requested a review from to24toro June 19, 2023 15:17
@DanPuzzuoli DanPuzzuoli merged commit 25ab068 into qiskit-community:main Jun 20, 2023
@DanPuzzuoli DanPuzzuoli deleted the remove-DeviceArray branch September 26, 2023 17:53
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.

2 participants