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 some way to sample a circuit while recording the errors #536

Open
Strilanc opened this issue Apr 24, 2023 · 0 comments
Open

Add some way to sample a circuit while recording the errors #536

Strilanc opened this issue Apr 24, 2023 · 0 comments

Comments

@Strilanc
Copy link
Collaborator

This is a recurring question on the quantum stack exchange, and the dem stuff is too not-the-abstraction-they-are-using for beginners.

What I'm thinking is basically the following: every error channel specifies some number of "which error" bits, e.g. X_ERROR has 1 and DEPOLARIZE2 has 4. While the frame simulator runs it can optionally stash these bits. The compiled circuit sampler's sample method would gain an option record_errors=True, or maybe an alternate method, which would add the error data to the result tuple. There should also be an option to convert the errors from these raw bits into their explained form (and vice versa), so users don't have to do that task.

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