Skip to content

Commit

Permalink
Merge pull request #581 from qiboteam/david/qubit_tracking
Browse files Browse the repository at this point in the history
David/qubit tracking
  • Loading branch information
andrea-pasquale committed Sep 27, 2023
2 parents e6fbee7 + 603514e commit 2185079
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
22 changes: 16 additions & 6 deletions src/qibolab/qubits.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 0 additions & 5 deletions tests/dummy_qrc/zurich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 2185079

Please sign in to comment.