t2star_circuits
t2star_circuits(num_of_gates, gate_time, qubits, nosc=0)
Generate circuits for T2* measurement.
Each circuit consists of a Hadamard gate, followed by a sequence of identity gates, a phase gate (with a linear phase), and an additional Hadamard gate.
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 T2*‘s are to be measured. - nosc (
int
) – number of oscillations to induce using the phase gate
Return type
Tuple
[List
[QuantumCircuit
], array
, float
]
Returns
- The generated circuits
- Delay times, i.e., gate_time multiplied by the numbers in num_of_gates
- The induced oscillation frequency
Was this page helpful?
Report a bug or request content on GitHub.