pygsti.models.modelnoise.DepolarizationNoise#
- class DepolarizationNoise(depolarization_rate, parameterization='depolarize')#
Bases:
OpNoiseDepolarization noise.
- Parameters:
depolarization_rate (float) – The uniform depolarization strength.
parameterization ({"depolarize", "stochastic", "lindblad", "exp(lindblad)", "1+lindblad"}) – Determines whether a
DepolarizeOp,StochasticNoiseOp, orLindbladErrorgenis used to represent the depolarization noise, respectively. When “depolarize” (the default), a DepolarizeOp is created with the strength given in depolarization_strengths. When “stochastic”, the depolarization strength is split evenly among the stochastic channels of a StochasticOp. When “lindblad”, the depolarization strength is split evenly among the coefficients of the stochastic error generators (which are exponentiated to form a LindbladErrorgen with the “depol” parameterization).
Methods
__init__(depolarization_rate[, parameterization])create_errorgen(evotype, state_space)Create an error generator for this noise operation.
create_errormap(evotype, state_space)Create an error map (operator or superoperator) for this noise operation.
- create_errorgen(evotype, state_space)#
Create an error generator for this noise operation.
- Parameters:
evotype (str or Evotype) – The evolution type for the returned operator.
state_space (StateSpace) – The state space for the returned operator.
- Return type:
- create_errormap(evotype, state_space)#
Create an error map (operator or superoperator) for this noise operation.
- Parameters:
evotype (str or Evotype) – The evolution type for the returned operator.
state_space (StateSpace) – The state space for the returned operator.
- Return type: