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

Add from_abstract_repr to Device and VirtualDevice #727

Merged
merged 6 commits into from
Sep 18, 2024

Conversation

a-corni
Copy link
Collaborator

@a-corni a-corni commented Aug 29, 2024

from_abstract_repr uses deserialize_device and checks the type of the returned device for it to match the class that generated it:

@a-corni a-corni requested a review from HGSilveri August 29, 2024 11:57
@a-corni
Copy link
Collaborator Author

a-corni commented Aug 29, 2024

@nataliejpg does this close your issue ?

@a-corni
Copy link
Collaborator Author

a-corni commented Sep 13, 2024

@MatthieuMoreau0 that's of interest for you as well :)

Copy link
Collaborator

@HGSilveri HGSilveri left a comment

Choose a reason for hiding this comment

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

LGTM!

@a-corni a-corni merged commit 02122e2 into develop Sep 18, 2024
9 checks passed
@a-corni a-corni deleted the device_from_abstract_repr branch September 18, 2024 15:01
@HGSilveri HGSilveri mentioned this pull request Sep 20, 2024
HGSilveri added a commit that referenced this pull request Sep 20, 2024
**Main changes:**
- Reworking the NoiseModel interface (#710)
- Allow modification of the EOM setpoint without disabling EOM mode (#708)
- Enable definition of effective noise operators in all basis (#716)
- Add leakage (#720)
- Support differentiability through Torch tensors (#703)
- Add from_abstract_repr to Device and VirtualDevice (#727) 
- [FEAT] Handle batches with partial results (#707)
- Add open batches to pulser-pasqal (#701)
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.

Have a method from_abstract_repr in Device to deserialize an abstract Device
3 participants