Skip to content

Commit

Permalink
renaming brf
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSarlle committed Sep 27, 2023
1 parent a86ab21 commit a79ea7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
22 changes: 0 additions & 22 deletions src/qibolab/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,28 +198,6 @@ def update(self, updates: dict):
elif par == "classifiers_hpars":
self.qubits[qubit].classifiers_hpars = value

# Flux resonator spectroscopy
elif par == "flux_to_bias":
self.qubits[qubit].flux_to_bias = float(value)

elif par == "asymmetry":
self.qubits[qubit].asymmetry = float(value)

elif par == "readout_coupling":
self.qubits[qubit].g = float(value)

elif par == "brf":
self.qubits[qubit].brf = float(value)

elif par == "ssf_brf":
self.qubits[qubit].ssf_brf = float(value)

elif par == "Ec":
self.qubits[qubit].Ec = float(value)

elif par == "Ej":
self.qubits[qubit].Ej = float(value)

else:
raise_error(ValueError, f"Unknown parameter {par} for qubit {qubit}")

Expand Down
2 changes: 1 addition & 1 deletion src/qibolab/qubits.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Qubit:
sweetspot: float = 0.0
flux_to_bias: float = 0.0
asymmetry: float = 0.0
brf: 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"""
Expand Down

0 comments on commit a79ea7d

Please sign in to comment.