Hcpb_analytic#
- class Hcpb_analytic(Ej: float | None = None, Ec: float | None = None, ng: float = 0.5)[source]#
Analytic version of Hamiltonian-model Cooper pair box (Hcpb) class.
Used calculate the exact eigenvalues for arbitrary Ej, Ec, ng values.
Generate a Cooper-pair box (CPB) model.
- Parameters:
Ej (float) – Josephson energy of the JJ
Ec (float) – Charging energy of the CPB
ng (float) – Offset charge of the CPB (ng=0.5 is the sweet spot). ng only needs to run between -0.5 and 0.5. ng is defined in units of cooper pairs (2e)
Methods