qiskit-documentation/docs/api/qiskit/0.29/qiskit.ignis.characterizati...

32 lines
1.2 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: t1_circuits
description: API reference for qiskit.ignis.characterization.t1_circuits
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.ignis.characterization.t1_circuits
---
# qiskit.ignis.characterization.t1\_circuits
<Function id="qiskit.ignis.characterization.t1_circuits" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/characterization/coherence/circuits.py" signature="t1_circuits(num_of_gates, gate_time, qubits)">
Generate circuits for T1 measurement.
Each circuit consists of an X gate, followed by a sequence of identity gates.
**Parameters**
* **num\_of\_gates** (`Union`\[`List`\[`int`], `array`]) the number of identity gates in each circuit. Must be in an increasing order.
* **gate\_time** (`float`) time of running a single identity gate.
* **qubits** (`List`\[`int`]) indices of the qubits whose T1s are to be measured.
**Return type**
`Tuple`\[`List`\[`QuantumCircuit`], `array`]
**Returns**
* Generated circuits
* Delay times, i.e., gate\_time multiplied by the numbers in num\_of\_gates
</Function>