NoiseModel.to_dict

NoiseModel.to_dict(serializable=False)[source]

Return the noise model as a dictionary.

Parameters

serializable (bool) – if True, return a dict containing only types that can be serializable by the stdlib json module.

Returns

a dictionary for a noise model.

Return type

dict