diff --git a/src/qibolab/qubits.py b/src/qibolab/qubits.py index dd2392414..4f328d4a2 100644 --- a/src/qibolab/qubits.py +++ b/src/qibolab/qubits.py @@ -38,14 +38,25 @@ class Qubit: name: QubitId bare_resonator_frequency: int = 0 - readout_frequency: int = 0 # this is the dressed frequency + readout_frequency: int = 0 + """ Readout dressed frequency""" drive_frequency: int = 0 anharmonicity: int = 0 - Ec: int = 0 - Ej: int = 0 - g: int = 0 + sweetspot: float = 0.0 + flux_to_bias: float = 0.0 + asymmetry: float = 0.0 + bare_resonator_frequency_sweetspot: float = 0.0 + """Bare resonator frequency at sweetspot""" + ssf_brf: float = 0.0 + """Estimated sweetspot qubit frequency divided by the bare_resonator_frequency""" + Ec: float = 0.0 + """Readout Charge Energy""" + Ej: float = 0.0 + """Readout Josephson Energy""" + g: float = 0.0 + """Readout coupling""" + assigment_fidelity: float = 0.0 - sweetspot: float = 0 peak_voltage: float = 0 pi_pulse_amplitude: float = 0 T1: int = 0 @@ -55,7 +66,6 @@ class Qubit: state1_voltage: int = 0 mean_gnd_states: List[float] = field(default_factory=lambda: [0, 0]) mean_exc_states: List[float] = field(default_factory=lambda: [0, 0]) - resonator_polycoef_flux: List[float] = field(default_factory=list) # parameters for single shot classification threshold: Optional[float] = None diff --git a/tests/dummy_qrc/zurich.yml b/tests/dummy_qrc/zurich.yml index baa85f595..e6d6b3b18 100644 --- a/tests/dummy_qrc/zurich.yml +++ b/tests/dummy_qrc/zurich.yml @@ -163,7 +163,6 @@ characterization: single_qubit: 0: readout_frequency: 5_229_200_000 #5_233_200_000 - resonator_polycoef_flux: [] drive_frequency: 4_095_830_788 #4_093_830_788 T1: 0.0 T2: 0.0 @@ -182,7 +181,6 @@ characterization: 1: readout_frequency: 4_931_000_000 - resonator_polycoef_flux: [] drive_frequency: 4_170_000_000 T1: 0. T2: 0. @@ -191,7 +189,6 @@ characterization: mean_exc_states: [0, 0] 2: readout_frequency: 6.109e+9 #6_112_000_000 - resonator_polycoef_flux: [] drive_frequency: 4_300_587_281 # 4_401_600_000 #4_541_100_000 T1: 0. T2: 0. @@ -204,7 +201,6 @@ characterization: # alpha: 208 MHz 3: readout_frequency: 5_783_000_000 - resonator_polycoef_flux: [] drive_frequency: 4_100_000_000 T1: 0. T2: 0. @@ -213,7 +209,6 @@ characterization: mean_exc_states: [0, 0] 4: readout_frequency: 5_515_000_000 - resonator_polycoef_flux: [] drive_frequency: 4_196_800_000 T1: 0. T2: 0.