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 enumerated noise_model_type to noise interface #2200

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bmhowe23
Copy link
Collaborator

@bmhowe23 bmhowe23 commented Sep 9, 2024

This is related to #2193 but will require additional review.

noise_model_type noise_type = noise_model_type::unknown;

/// @brief Noise probability
real probability = 0.0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we envision a need for multiple noise parameters?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do we envision a need for multiple noise parameters?

Yes, I suppose that could happen for some future noise models. For example, if we wanted to mimic the PAULI_CHANNEL_1 noise option from Stim, then that would need multiple parameters. Do you think we should change probability to a vector of doubles?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yea I think that would be a good idea, maybe call it parameters

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