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

First shot memory #61

Merged
merged 14 commits into from
Feb 7, 2025
Merged

First shot memory #61

merged 14 commits into from
Feb 7, 2025

Conversation

justinlietz
Copy link
Collaborator

Change the API of qec::sample_memory_circuit to return nRounds of data as opposed to nRounds - 1 of data. Along with returning nRounds - 1 of xor'd syndrome data, the initial unxor'd shot is also returned first.

@justinlietz justinlietz requested a review from bmhowe23 January 26, 2025 20:07
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, Justin

@justinlietz justinlietz merged commit 7067133 into NVIDIA:main Feb 7, 2025
14 checks passed
bmhowe23 added a commit to bmhowe23/cudaqx that referenced this pull request Feb 13, 2025
bmhowe23 added a commit that referenced this pull request Feb 19, 2025
This fixes what a bug with #61.

The problem was that the first round data in `syndromeTensor` was only
being copied for `shot == 0` and was left uninitialized/uncopied for all
other shots.

Signed-off-by: Ben Howe <[email protected]>
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