Skip to content

Fix issue 218: Add fine grained noise injection in a custom qec code - #227

Merged
kvmto merged 9 commits into
NVIDIA:mainfrom
kvmto:fix_issue_218
Jul 24, 2025
Merged

kvmto merged 9 commits into
NVIDIA:mainfrom
kvmto:fix_issue_218

Conversation

@kvmto

@kvmto kvmto commented Jul 22, 2025 •

Copy link
Copy Markdown
Collaborator

This PR a new example script to demonstrate how to create a new error correction code in python and adding noise with fine grained level of control.

Summary of Changes:

Added a new Python example illustrating the creation of custom QEC codes.
Modified function to check all the codes available: qec.get_available_codes()
Add the generation of a H and O from DEM.
Sample the memory experiment.
Updated Docs

Resolves: #218

Signed-off-by: kvmto <kmato@nvidia.com>
@kvmto
kvmto requested review from amccaskey and bmhowe23 July 23, 2025 16:24
Signed-off-by: kvmto <kmato@nvidia.com>

@bmhowe23 bmhowe23 left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looking good, Kevin. Just a few minor comments.

Comment thread libs/qec/python/bindings/py_code.cpp Resolved
Comment thread libs/qec/python/bindings/py_code.cpp Resolved
kvmto and others added 5 commits July 24, 2025 09:51
…ain_noise.py

Co-authored-by: Ben Howe <141149032+bmhowe23@users.noreply.github.com>
Signed-off-by: Kevin Mato <kmato@nvidia.com>
Co-authored-by: Ben Howe <141149032+bmhowe23@users.noreply.github.com>
Signed-off-by: Kevin Mato <kmato@nvidia.com>
Co-authored-by: Ben Howe <141149032+bmhowe23@users.noreply.github.com>
Signed-off-by: Kevin Mato <kmato@nvidia.com>
Signed-off-by: kvmto <kmato@nvidia.com>
Signed-off-by: kvmto <kmato@nvidia.com>

@bmhowe23 bmhowe23 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Thanks, Kevin.

@kvmto
kvmto merged commit 35ba857 into NVIDIA:main Jul 24, 2025
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.

Add new example for python custom QEC codes workflows

2 participants