Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.providers.aer.noise.kraus_error

kraus_error(noise_ops, standard_gates=True, canonical_kraus=False)

GitHub

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

QuantumError

Raises

NoiseError – if error parameters are invalid.

Was this page helpful?
Report a bug or request content on GitHub.