We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To enable bloqs such as the Product block encoding to be serialized, we need to make changes to the serialization infrastructure:
Product
To support serialization we'll have to update Qualtran/qualtran/protos/bloq.proto Line 40 in f8d2db0 int32 subbloq = 7; to add a new NDArray subbloqs that stores an NDArray of integers corresponding to IDs of each of the subbloqs and then update Qualtran/qualtran/serialization/bloq.py Line 349 in f8d2db0 if isinstance(val, Bloq): to check if the argument is an ndarray of bloqs, then delegate to a different method that serializes it.
To support serialization we'll have to update
Qualtran/qualtran/protos/bloq.proto
Line 40 in f8d2db0
NDArray subbloqs
Qualtran/qualtran/serialization/bloq.py
Line 349 in f8d2db0
Originally posted by @tanujkhattar in #1106 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To enable bloqs such as the
Product
block encoding to be serialized, we need to make changes to the serialization infrastructure:Originally posted by @tanujkhattar in #1106 (comment)
The text was updated successfully, but these errors were encountered: