qiskit-documentation/docs/api/qiskit/0.39/qiskit_aer.noise.mixed_unit...

34 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: mixed_unitary_error
description: API reference for qiskit_aer.noise.mixed_unitary_error
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit_aer.noise.mixed_unitary_error
---
# qiskit\_aer.noise.mixed\_unitary\_error
<Function id="qiskit_aer.noise.mixed_unitary_error" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.11/qiskit_aer/noise/errors/standard_errors.py" signature="mixed_unitary_error(noise_ops, standard_gates=None)">
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*) DEPRECATED, Check if input matrices are standard gates.
**Returns**
The quantum error object.
**Return type**
[QuantumError](qiskit_aer.noise.QuantumError "qiskit_aer.noise.QuantumError")
**Raises**
**NoiseError** if error parameters are invalid.
</Function>