Skip to content

Commit

Permalink
fix: Fixing #1018
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale authored and stavros11 committed Nov 7, 2024
1 parent b596aca commit 241fa34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/qibocal/protocols/qubit_spectroscopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _acquisition(
error_phase = np.std(_phase, axis=0, ddof=1) / np.sqrt(_phase.shape[0])
_phase = np.mean(_phase, axis=0)
else:
error_signal, error_phase = 0, 0
error_signal, error_phase = None, None
data.register_qubit(
ResSpecType,
(qubit),
Expand Down Expand Up @@ -170,7 +170,9 @@ def _plot(data: QubitSpectroscopyData, target: QubitId, fit: QubitSpectroscopyRe


def _update(results: QubitSpectroscopyResults, platform: Platform, target: QubitId):
pass
platform.calibration.single_qubits[target].qubit.frequency_01 = results.frequency[
target
]
# update.drive_frequency(results.frequency[target], platform, target)


Expand Down

0 comments on commit 241fa34

Please sign in to comment.