quantcore_circuits.analysis.circuits¶
Circuit-quantisation cross-checks: QuCat (lumped network incl. losses), SQcircuit (exact transmon), QuTiP (model).
All return qcc conventions (GHz / MHz, α < 0, χ = E11 − E10 − E01 + E00).
Functions¶
|
Lumped (C fF, L nH) of a λ/4 resonator near resonance, seen from its open end: C = π/(4 ω Z0). |
|
Quantise a Maxwell C-matrix (signal nets, ground excluded) + grounded junction with QuCat. |
|
Kerr-transmon + resonator with exchange coupling g (QuTiP); dressed f_q, f_r and χ by state overlap. |
|
Grounded transmon (single node) diagonalised with SQcircuit; returns f01 (GHz) and α (MHz). |
Module Contents¶
- quantcore_circuits.analysis.circuits.quarter_wave_lc(f_r_GHz: float, z0: float = 50.0) tuple[float, float]¶
Lumped (C fF, L nH) of a λ/4 resonator near resonance, seen from its open end: C = π/(4 ω Z0).
- quantcore_circuits.analysis.circuits.qucat_from_cmatrix(cmatrix_fF, labels: list[str], island: str, lj_nH: float, resonators: dict[str, tuple[float, float]] | None = None, loads: dict[str, float] | None = None) dict¶
Quantise a Maxwell C-matrix (signal nets, ground excluded) + grounded junction with QuCat.
resonators:{node: (f_r_GHz, Z0)}— a λ/4 resonator (equivalent parallel LC) fromnodeto ground.loads:{node: R_ohm}— resistive loads (e.g. 50 Ω feedline) for κ. Returns all modes and the qubit-like one (largest anharmonicity) with f, κ, α, χ to every other mode.
- quantcore_circuits.analysis.circuits.qutip_transmon_resonator(f_q_GHz: float, alpha_MHz: float, f_r_GHz: float, g_MHz: float, nq: int = 5, nr: int = 12) dict¶
Kerr-transmon + resonator with exchange coupling g (QuTiP); dressed f_q, f_r and χ by state overlap.
- quantcore_circuits.analysis.circuits.sqcircuit_transmon(c_sigma_fF: float, lj_nH: float, ncut: int = 30) dict¶
Grounded transmon (single node) diagonalised with SQcircuit; returns f01 (GHz) and α (MHz).