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

[Enhancement] Investigate/use Chex for assertions and type handling #30

Open
atiyo opened this issue Sep 19, 2024 · 0 comments
Open

[Enhancement] Investigate/use Chex for assertions and type handling #30

atiyo opened this issue Sep 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@atiyo
Copy link
Collaborator

atiyo commented Sep 19, 2024

The use of checkify.check can alter the return type of jitted functions, so it has been proposed to investigate chex (https://github.com/google-deepmind/chex) to replace the checkify.check calls in https://github.com/pasqal-io/horqrux/compare/feature/psr_on_all_gates

Also, it might be more streamlined in general to replace custom pytrees, e.g. in Primitive and Parametric among others with chex.dataclasses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant