qiskit.providers.aer.noise.kraus_error
kraus_error(noise_ops, standard_gates=None, canonical_kraus=False)
Return a Kraus quantum error channel.
Parameters
- noise_ops (list[matrix]) – Kraus matrices.
- standard_gates (bool) – DEPRECATED, Check if input matrices are standard gates.
- canonical_kraus (bool) – Convert input Kraus matrices into the canonical Kraus representation (default: False)
Returns
The quantum error object.
Return type
Raises
NoiseError – if error parameters are invalid.
Was this page helpful?
Report a bug or request content on GitHub.