qiskit.providers.aer.noise.depolarizing_error
depolarizing_error(param, num_qubits, standard_gates=None)
Return a depolarizing quantum error channel.
The depolarizing channel is defined as:
with
where is the depolarizing error param and :math`n` is the number of qubits.
- If this is the identity channel
- If this is a completely depolarizing channel
- If this is a uniform Pauli error channel: for all .
Parameters
- param (double) – depolarizing error parameter.
- num_qubits (int) – the number of qubits for the error channel.
- standard_gates (bool) – DEPRECATED, if True return the operators as Pauli gates. If false return as unitary gates. (Default: None)
Returns
The quantum error object.
Return type
Raises
NoiseError – If noise parameters are invalid.
Was this page helpful?
Report a bug or request content on GitHub.