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

Avoid re-initializing decoders #103

Open
perlinm opened this issue Jun 8, 2024 · 0 comments
Open

Avoid re-initializing decoders #103

perlinm opened this issue Jun 8, 2024 · 0 comments

Comments

@perlinm
Copy link
Collaborator

perlinm commented Jun 8, 2024

At the moment, qldpc.decoder.decode* methods accept both a matrix and a syndrome vector. However, a significant fraction of decoding time is spent initializing a decoder out of the matrix alone. It would be nice to avoid re-initializing the decoder when possible.

There may not be a way to avoid having to repeatedly initialize a decoder for code distance estimation, because this task involves constructing a new "effective" parity check matrix at every call of the decoder. However, it would be reasonable for each AbstractCode instance to recycle the same decoder for "ordinary" decoding tasks.

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

No branches or pull requests

1 participant