Quil-T
API Reference
NoiseModel.
to_dict
Create a JSON serializable representation of the noise model.
For example:
{ "gates": [ # list of embedded dictionary representations of KrausModels here [...] ] "assignment_probs": { "0": [[.8, .1], [.2, .9]], "1": [[.9, .4], [.1, .6]], } }
Dict[str, Any]
Dict
str
Any
A dictionary representation of self.