Skip to content

Commit f36cd16

Browse files
committed
Rolled back an unnecessary change
1 parent 0855b4d commit f36cd16

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

python/pecos-rslib/rust/src/engine_builders.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -832,17 +832,10 @@ impl PyGeneralNoiseModelBuilder {
832832
})
833833
}
834834

835-
/// Set the probability of global crosstalk during measurement operations
836-
fn with_p_meas_crosstalk_global(&self, prob: f64) -> PyResult<Self> {
835+
/// Set the probability of crosstalk during measurement operations
836+
fn with_p_meas_crosstalk(&self, prob: f64) -> PyResult<Self> {
837837
Ok(Self {
838-
inner: self.inner.clone().with_p_meas_crosstalk_global(prob),
839-
})
840-
}
841-
842-
/// Set the probability of local crosstalk during measurement operations
843-
fn with_p_meas_crosstalk_local(&self, prob: f64) -> PyResult<Self> {
844-
Ok(Self {
845-
inner: self.inner.clone().with_p_meas_crosstalk_local(prob),
838+
inner: self.inner.clone().with_p_meas_crosstalk(prob),
846839
})
847840
}
848841

0 commit comments

Comments
 (0)