36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
---
|
||
title: mixed_unitary_error (v0.26)
|
||
description: API reference for qiskit.providers.aer.noise.mixed_unitary_error in qiskit v0.26
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.providers.aer.noise.mixed_unitary_error
|
||
---
|
||
|
||
<span id="qiskit-providers-aer-noise-mixed-unitary-error" />
|
||
|
||
# qiskit.providers.aer.noise.mixed\_unitary\_error
|
||
|
||
<Function id="qiskit.providers.aer.noise.mixed_unitary_error" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.8/qiskit/providers/aer/noise/errors/standard_errors.py" signature="mixed_unitary_error(noise_ops, standard_gates=True)">
|
||
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](qiskit.providers.aer.noise.QuantumError "qiskit.providers.aer.noise.QuantumError")
|
||
|
||
**Raises**
|
||
|
||
**NoiseError** – if error parameters are invalid.
|
||
</Function>
|
||
|