qiskit.providers.aer.noise.kraus_error
kraus_error(noise_ops, standard_gates=True, canonical_kraus=False)
Return a Kraus quantum error channel.
Parameters
- noise_ops (list[matrix]) – Kraus matrices.
- standard_gates (bool) – 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.