36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
---
|
||
title: pauli_error (v0.29)
|
||
description: API reference for qiskit.providers.aer.noise.pauli_error in qiskit v0.29
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.providers.aer.noise.pauli_error
|
||
---
|
||
|
||
<span id="qiskit-providers-aer-noise-pauli-error" />
|
||
|
||
# qiskit.providers.aer.noise.pauli\_error
|
||
|
||
<Function id="qiskit.providers.aer.noise.pauli_error" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.8/qiskit/providers/aer/noise/errors/standard_errors.py" signature="pauli_error(noise_ops, standard_gates=True)">
|
||
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*](qiskit.quantum_info.Pauli "qiskit.quantum_info.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](qiskit.providers.aer.noise.QuantumError "qiskit.providers.aer.noise.QuantumError")
|
||
|
||
**Raises**
|
||
|
||
**NoiseError** – If depolarizing probability is less than 0 or greater than 1.
|
||
</Function>
|
||
|