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.mixed_unitary_error

mixed_unitary_error(noise_ops, standard_gates=True)

GitHub

Return a mixed unitary quantum error channel.

The input should be a list of pairs (U[j], p[j]), where U[j] is a unitary matrix and p[j] is a probability. All probabilities must sum to 1 for the input ops to be valid.

Parameters

  • noise_ops (list[pair[matrix, double]]) – unitary error matrices.
  • standard_gates (bool) – Check if input matrices are standard gates.

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.