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

pauli_error(noise_ops, standard_gates=True)

GitHub

Return a mixed Pauli quantum error channel.

The input should be a list of pairs (P[j], p[j]), where P[j] is a Pauli object or string label, and p[j] is a probability. All probabilities must sum to 1 for the input ops to be valid.

Parameters

  • noise_ops (list[pair[Pauli, double]]) – Pauli error terms.
  • standard_gates (bool) – if True return the operators as standard qobj Pauli gate instructions. If false return as unitary matrix qobj instructions. (Default: True)

Returns

The quantum error object.

Return type

QuantumError

Raises

NoiseError – If depolarizing probability is less than 0 or greater than 1.

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