chore: add qubit-spec-flux (from rebase) #27
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR focuses solely on pre-commit (pylint/black) compliance for qubit spectroscopy versus flux calibration files.
File-by-file summary of changes (non-functional only)
calibrations/1Q_calibrations/03b_qubit_spectroscopy_vs_flux.py"""Qubit spectroscopy versus flux bias calibration."""execute_qua_programfunction (lines 181-182): Split docstring from 126 characters into two linesanalyse_datafunction (lines 222-223): Split docstring from 147 characters into two linescustom_paramfunction (line 56):"""Allow the user to locally set the node parameters for debugging purposes."""save_resultsfunction (line 269):"""Save the node results and state."""any([q.z is None for q in qubits])toany(q.z is None for q in qubits)per pylint R1729elseaftercontinuestatement and de-indented the codecalibration_utils/qubit_spectroscopy_vs_flux/__init__.py"""Qubit spectroscopy versus flux calibration utilities."""calibration_utils/qubit_spectroscopy_vs_flux/analysis.py"""Analysis utilities for qubit spectroscopy versus flux calibration."""process_raw_datasetfunction (lines 53-54): Split docstring from 140 characters into two lines__bool__()withbool()(line 145):fit.sel(qubit=q).success.values.__bool__()tobool(fit.sel(qubit=q).success.values)calibration_utils/qubit_spectroscopy_vs_flux/parameters.py"""Parameters for qubit spectroscopy versus flux calibration."""NodeSpecificParametersclass (line 10):"""Node-specific parameters for qubit spectroscopy versus flux."""Parametersclass (line 39):"""Combined parameters for qubit spectroscopy versus flux calibration."""calibration_utils/qubit_spectroscopy_vs_flux/plotting.py"""Plotting utilities for qubit spectroscopy versus flux calibration."""