qiskit-documentation/docs/api/qiskit/0.29/qiskit.providers.aer.noise....

53 lines
2.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: phase_amplitude_damping_error (v0.29)
description: API reference for qiskit.providers.aer.noise.phase_amplitude_damping_error in qiskit v0.29
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.providers.aer.noise.phase_amplitude_damping_error
---
<span id="qiskit-providers-aer-noise-phase-amplitude-damping-error" />
# qiskit.providers.aer.noise.phase\_amplitude\_damping\_error
<Function id="qiskit.providers.aer.noise.phase_amplitude_damping_error" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.8/qiskit/providers/aer/noise/errors/standard_errors.py" signature="phase_amplitude_damping_error(param_amp, param_phase, excited_state_population=0, canonical_kraus=True)">
Return a single-qubit combined phase and amplitude damping quantum error channel.
The single-qubit combined phase and amplitude damping channel is described by the following Kraus matrices:
```python
A0 = sqrt(1 - p1) * [[1, 0], [0, sqrt(1 - a - b)]]
A1 = sqrt(1 - p1) * [[0, sqrt(a)], [0, 0]]
A2 = sqrt(1 - p1) * [[0, 0], [0, sqrt(b)]]
B0 = sqrt(p1) * [[sqrt(1 - a - b), 0], [0, 1]]
B1 = sqrt(p1) * [[0, 0], [sqrt(a), 0]]
B2 = sqrt(p1) * [[sqrt(b), 0], [0, 0]]
```
where `a = param_amp`, `b = param_phase`, and `p1 = excited_state_population`. The equilibrium state after infinitely many applications of the channel is:
```python
rho_eq = [[1 - p1, 0]], [0, p1]]
```
**Parameters**
* **param\_amp** (*double*) the amplitude damping error parameter.
* **param\_phase** (*double*) the phase damping error parameter.
* **excited\_state\_population** (*double*) the population of $|1\rangle$ state at equilibrium (default: 0).
* **canonical\_kraus** (*bool*) Convert input Kraus matrices into the canonical Kraus representation (default: True)
**Returns**
a quantum error object for a noise model.
**Return type**
[QuantumError](qiskit.providers.aer.noise.QuantumError "qiskit.providers.aer.noise.QuantumError")
**Raises**
**NoiseError** If noise parameters are invalid.
</Function>