scqubits.TunableTransmon.tphi_1_over_f¶
- TunableTransmon.tphi_1_over_f(A_noise, i, j, noise_op, esys=None, get_rate=False, **kwargs)¶
Calculate the 1/f dephasing time (or rate) due to arbitrary noise source.
We assume that the qubit energies (or the passed in eigenspectrum) has units of frequency (and not angular frequency).
- Parameters:
A_noise (
float) – noise strengthi (int >=0) – state index that along with j defines a qubit
j (int >=0) – state index that along with i defines a qubit
noise_op (
Union[ndarray,csc_matrix]) – noise operator, typically Hamiltonian derivative w.r.t. noisy parameteresys (
Tuple[ndarray,ndarray]) – evals, evecs tupleget_rate (
bool) – get rate or time
- Returns:
time or rate – decoherence time in units of \(2\pi ({\rm system\,\,units})\), or rate in inverse units.
- Return type:
float