Skip to content

Rng refactor#135

Merged
ciaranra merged 3 commits intofeat/hyrbid-engine-rsfrom
rng-refactor
May 7, 2025
Merged

Rng refactor#135
ciaranra merged 3 commits intofeat/hyrbid-engine-rsfrom
rng-refactor

Conversation

@ciaranra
Copy link
Member

@ciaranra ciaranra commented May 7, 2025

No description provided.

@ciaranra ciaranra merged commit 34208ca into feat/hyrbid-engine-rs May 7, 2025
1 check passed
@ciaranra ciaranra deleted the rng-refactor branch May 7, 2025 15:33
ciaranra added a commit that referenced this pull request May 13, 2025
* Moving seepage for sq gates down

* Rng refactor (#135)

* refactor rng in noise

* Clean up: remove pop0_prop and simplified crosstalk funcs to just placeholders

* Hopefully fixing PR #134 for TQ gates + allowing multiple SQ gates at once

* removed setters, moved scaling to builder, split seepage_prob to p1 and p2

- removed setters to pivot to focus on builder
- seepage_prob -> p1_seepage_prob, p2_seepage_prob
- p_crosstalk_meas -> p_meas_crosstalk
- p_crosstalk_prep -> p_prep_crosstalk
- p_crosstalk_meas_rescale -> p_meas_crosstalk_scale
- p_crosstalk_prep_rescale -> p_prep_crosstalk_scale
- removed scales for GeneralNoiseModel params but left them in builder
- added average_p1_probability and average_p2_probability so users can enter average probability and get it automatically rescaled to total probability
- add p_meas_max as an internal GeneralNoiseModel variable to represent the overall measurement error rate
- added with_meas_probability() so users who don't want biased noise can enter just one measurement error rate

* Switched WeightedSampler and related code to use BTreeMap. Added LLVM 14 errors
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.

1 participant