depolarizing_error
depolarizing_error(param, num_qubits, standard_gates=True)
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) – 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
Raises
NoiseError – If noise parameters are invalid.
Was this page helpful?
Report a bug or request content on GitHub.