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 python binding for decoder apis #68

Merged
merged 6 commits into from
Feb 11, 2025

Conversation

melody-ren
Copy link
Collaborator

Expose the following two functions to python:

virtual std::future<decoder_result> decode_async(const std::vector<float_t> &syndrome);
virtual std::vector<decoder_result> decode_multi(const std::vector<std::vector<float_t>> &syndrome);

Signed-off-by: Melody Ren <melodyr@nvidia.com>
@melody-ren melody-ren requested a review from bmhowe23 February 5, 2025 21:32
@melody-ren melody-ren marked this pull request as ready for review February 5, 2025 21:32
Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

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

Thanks, Melody ... just one small comment.

libs/qec/include/cudaq/qec/decoder.h Show resolved Hide resolved
@melody-ren melody-ren merged commit 9434eb1 into NVIDIA:main Feb 11, 2025
14 checks passed
@melody-ren melody-ren deleted the expose_decoder_apis_to_python branch February 11, 2025 06:03
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