pyEPR.calcs.basic module#

Basic calculations that apply in general .

class pyEPR.calcs.basic.CalcsBasic[source]#

Bases: object

static epr_cap_to_nzpf(Pmj_cap, SJ, Ω, Ec)[source]#

Experimental. To be tested

static epr_to_zpf(Pmj, SJ, Ω, EJ)[source]#
Arguments, All as matrices (numpy arrays):
Pnj:

MxJ energy-participation-ratio matrix, p_mj

SJ:

MxJ sign matrix, s_mj

Ω:

MxM diagonal matrix of frequencies (GHz, not radians, diagonal)

EJ:

JxJ diagonal matrix matrix of Josephson energies (in same units as Om)

Returns:

reduced zpf (in units of \(\phi_0\))