qiskit-documentation/docs/api/qiskit/0.26/qiskit.ignis.verification.c...

36 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: coherence_limit (v0.26)
description: API reference for qiskit.ignis.verification.coherence_limit in qiskit v0.26
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.ignis.verification.coherence_limit
---
<span id="qiskit-ignis-verification-coherence-limit" />
# qiskit.ignis.verification.coherence\_limit
<Function id="qiskit.ignis.verification.coherence_limit" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/verification/randomized_benchmarking/rb_utils.py" signature="coherence_limit(nQ=2, T1_list=None, T2_list=None, gatelen=0.1)">
The error per gate (1-average\_gate\_fidelity) given by the T1,T2 limit.
**Parameters**
* **nQ** (*int*) number of qubits (1 and 2 supported).
* **T1\_list** (*list*) list of T1s (Q1,…,Qn).
* **T2\_list** (*list*) list of T2s (as measured, not Tphi). If not given assume T2=2\*T1 .
* **gatelen** (*float*) length of the gate.
**Returns**
coherence limited error per gate.
**Return type**
float
**Raises**
**ValueError** if there are invalid inputs
</Function>