deltakit.circuit.before_measure_flip_probability#
- deltakit.circuit.before_measure_flip_probability(probability: float) list[Callable[[NoiseContext], PauliXError[T] | PauliYError[T] | PauliZError[T] | PauliChannel1[T] | PauliChannel2[T] | Depolarise1[T] | Depolarise2[T] | CorrelatedError[T] | ElseCorrelatedError[T] | Leakage | Relax | Iterable[PauliXError[T] | PauliYError[T] | PauliZError[T] | PauliChannel1[T] | PauliChannel2[T] | Depolarise1[T] | Depolarise2[T] | CorrelatedError[T] | ElseCorrelatedError[T] | Leakage | Relax]]]#
Returns a set of callables that can be passed to deltakit_circuit.Circuit.apply_gate_noise to apply X_ERROR(probability) operations before every measurement gate that is not in the X basis and Z_ERROR(probability) operations on every measurement gate that is in the X basis