File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
python/pecos-rslib/rust/src Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments