diff --git a/src/qibocal/protocols/characterization/couplers/coupler_qubit_spectroscopy.py b/src/qibocal/protocols/characterization/couplers/coupler_qubit_spectroscopy.py index 8ab71fff3..8b5cb1c15 100644 --- a/src/qibocal/protocols/characterization/couplers/coupler_qubit_spectroscopy.py +++ b/src/qibocal/protocols/characterization/couplers/coupler_qubit_spectroscopy.py @@ -82,13 +82,13 @@ def _acquisition( type=SweeperType.OFFSET, ) - delta_bias_flux_range = np.arange( + delta_bias_range = np.arange( -params.bias_width / 2, params.bias_width / 2, params.bias_step ) sweepers = [ Sweeper( Parameter.bias, - delta_bias_flux_range, + delta_bias_range, qubits=couplers, type=SweeperType.OFFSET, ) @@ -123,7 +123,7 @@ def _acquisition( signal=result.magnitude, phase=result.phase, freq=delta_frequency_range + qd_pulses[qubit].frequency, - bias=delta_bias_flux_range, + bias=delta_bias_range, ) return data diff --git a/src/qibocal/protocols/characterization/couplers/coupler_resonator_spectroscopy.py b/src/qibocal/protocols/characterization/couplers/coupler_resonator_spectroscopy.py index d430edb4b..9848a2a8c 100644 --- a/src/qibocal/protocols/characterization/couplers/coupler_resonator_spectroscopy.py +++ b/src/qibocal/protocols/characterization/couplers/coupler_resonator_spectroscopy.py @@ -71,13 +71,13 @@ def _acquisition( type=SweeperType.OFFSET, ) - delta_bias_flux_range = np.arange( + delta_bias_range = np.arange( -params.bias_width / 2, params.bias_width / 2, params.bias_step ) sweepers = [ Sweeper( Parameter.bias, - delta_bias_flux_range, + delta_bias_range, qubits=couplers, type=SweeperType.OFFSET, ) @@ -112,7 +112,7 @@ def _acquisition( signal=result.magnitude, phase=result.phase, freq=delta_frequency_range + ro_pulses[qubit].frequency, - bias=delta_bias_flux_range, + bias=delta_bias_range, ) return data diff --git a/src/qibocal/protocols/characterization/flux_dependence/qubit_crosstalk.py b/src/qibocal/protocols/characterization/flux_dependence/qubit_crosstalk.py index c2397fb26..a51d47445 100644 --- a/src/qibocal/protocols/characterization/flux_dependence/qubit_crosstalk.py +++ b/src/qibocal/protocols/characterization/flux_dependence/qubit_crosstalk.py @@ -165,14 +165,14 @@ def _acquisition( else: flux_qubits = params.flux_qubits - delta_bias_flux_range = np.arange( + delta_bias_range = np.arange( -params.bias_width / 2, params.bias_width / 2, params.bias_step ) sequences = [sequence] * len(flux_qubits) sweepers = [ Sweeper( Parameter.bias, - delta_bias_flux_range, + delta_bias_range, qubits=[platform.qubits[flux_qubit]], type=SweeperType.OFFSET, ) @@ -209,7 +209,7 @@ def _acquisition( signal=result.magnitude, phase=result.phase, freq=delta_frequency_range + qd_pulses[qubit].frequency, - bias=delta_bias_flux_range + sweetspot, + bias=delta_bias_range + sweetspot, ) return data diff --git a/src/qibocal/protocols/characterization/flux_dependence/qubit_flux_dependence.py b/src/qibocal/protocols/characterization/flux_dependence/qubit_flux_dependence.py index d33b6f29d..bcb625385 100644 --- a/src/qibocal/protocols/characterization/flux_dependence/qubit_flux_dependence.py +++ b/src/qibocal/protocols/characterization/flux_dependence/qubit_flux_dependence.py @@ -131,13 +131,13 @@ def _acquisition( type=SweeperType.OFFSET, ) - delta_bias_flux_range = np.arange( + delta_bias_range = np.arange( -params.bias_width / 2, params.bias_width / 2, params.bias_step ) sweepers = [ Sweeper( Parameter.bias, - delta_bias_flux_range, + delta_bias_range, qubits=[platform.qubits[qubit] for qubit in targets], type=SweeperType.OFFSET, ) @@ -165,7 +165,7 @@ def _acquisition( signal=result.magnitude, phase=result.phase, freq=delta_frequency_range + qd_pulses[qubit].frequency, - bias=delta_bias_flux_range + sweetspot, + bias=delta_bias_range + sweetspot, ) return data diff --git a/src/qibocal/protocols/characterization/flux_dependence/resonator_crosstalk.py b/src/qibocal/protocols/characterization/flux_dependence/resonator_crosstalk.py index 3ca6af6dc..135781f91 100644 --- a/src/qibocal/protocols/characterization/flux_dependence/resonator_crosstalk.py +++ b/src/qibocal/protocols/characterization/flux_dependence/resonator_crosstalk.py @@ -158,14 +158,14 @@ def _acquisition( else: flux_qubits = params.flux_qubits - delta_bias_flux_range = np.arange( + delta_bias_range = np.arange( -params.bias_width / 2, params.bias_width / 2, params.bias_step ) sequences = [sequence] * len(flux_qubits) sweepers = [ Sweeper( Parameter.bias, - delta_bias_flux_range, + delta_bias_range, qubits=[platform.qubits[flux_qubit]], type=SweeperType.OFFSET, ) @@ -204,7 +204,7 @@ def _acquisition( signal=result.magnitude, phase=result.phase, freq=delta_frequency_range + ro_pulses[qubit].frequency, - bias=delta_bias_flux_range + sweetspot, + bias=delta_bias_range + sweetspot, ) return data diff --git a/src/qibocal/protocols/characterization/flux_dependence/resonator_flux_dependence.py b/src/qibocal/protocols/characterization/flux_dependence/resonator_flux_dependence.py index a8cf19683..8a2f5d473 100644 --- a/src/qibocal/protocols/characterization/flux_dependence/resonator_flux_dependence.py +++ b/src/qibocal/protocols/characterization/flux_dependence/resonator_flux_dependence.py @@ -121,13 +121,13 @@ def _acquisition( type=SweeperType.OFFSET, ) - delta_bias_flux_range = np.arange( + delta_bias_range = np.arange( -params.bias_width / 2, params.bias_width / 2, params.bias_step ) sweepers = [ Sweeper( Parameter.bias, - delta_bias_flux_range, + delta_bias_range, qubits=[platform.qubits[qubit] for qubit in targets], type=SweeperType.OFFSET, ) @@ -157,7 +157,7 @@ def _acquisition( signal=result.magnitude, phase=result.phase, freq=delta_frequency_range + ro_pulses[qubit].frequency, - bias=delta_bias_flux_range + sweetspot, + bias=delta_bias_range + sweetspot, ) return data