qiskit-documentation/docs/api/qiskit/0.40/qiskit_aer.noise.reset_erro...

42 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: reset_error
description: API reference for qiskit_aer.noise.reset_error
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit_aer.noise.reset_error
---
# qiskit\_aer.noise.reset\_error
<Function id="qiskit_aer.noise.reset_error" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.11/qiskit_aer/noise/errors/standard_errors.py" signature="reset_error(prob0, prob1=0)">
Return a single qubit reset quantum error channel.
The error channel returned is given by the map
$$
E(ρ) = (1 - p_0 - p_1) ρ + \text{Tr}[ρ] \left(
p_0 |0 \rangle\langle 0|
+ p_1 |1 \rangle\langle 1| \right)
$$
where the probability of no reset is given by $1 - p_0 - p_1$.
**Parameters**
* **prob0** (*double*) reset probability to $|0\rangle$.
* **prob1** (*double*) reset probability to $|1\rangle$.
**Returns**
the quantum error object.
**Return type**
[QuantumError](qiskit_aer.noise.QuantumError "qiskit_aer.noise.QuantumError")
**Raises**
**NoiseError** If noise parameters are invalid.
</Function>