diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/04_reflectometry_spectroscopy.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/04_reflectometry_spectroscopy.py index 9926cf503..379d3a3f0 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/04_reflectometry_spectroscopy.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/04_reflectometry_spectroscopy.py @@ -93,7 +93,7 @@ # Fetch results I, Q, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase # Progress bar diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_DC_source.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_DC_source.py index 73140af6f..df36c308c 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_DC_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_DC_source.py @@ -107,10 +107,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points) # Plot results diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_OPX.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_OPX.py index 043ec5fb0..0cc755486 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_OPX.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/05_sensor_gate_sweep_OPX.py @@ -102,7 +102,7 @@ # Fetch results I, Q, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase # Progress bar diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_external_dc_source.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_external_dc_source.py index 962b35ee4..a311eca21 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_external_dc_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_external_dc_source.py @@ -147,10 +147,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_opx_and_dc_source.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_opx_and_dc_source.py index bde0b5af4..a83d4ed71 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_opx_and_dc_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_opx_and_dc_source.py @@ -123,10 +123,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow, start_time=results.start_time) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_with_triggered_qdac2.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_with_triggered_qdac2.py index 8728b2824..cd5641e6e 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_with_triggered_qdac2.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/06_charge_stability_map_with_triggered_qdac2.py @@ -164,10 +164,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow, start_time=results.start_time) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_external_dc_source.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_external_dc_source.py index 6d2a68ba3..25d8cee63 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_external_dc_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_external_dc_source.py @@ -155,10 +155,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I[: iteration + 1] + 1j * Q[: iteration + 1], reflectometry_readout_length) + S = u.demod2volts(I[: iteration + 1] + 1j * Q[: iteration + 1], reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_qdac2_triggered.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_qdac2_triggered.py index 680d95181..dec356500 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_qdac2_triggered.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/07_PSB_search_qdac2_triggered.py @@ -173,10 +173,10 @@ I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts min_idx = min(I.shape[0], Q.shape[0]) - S = u.demod2volts(I[:min_idx, :] + 1j * Q[:min_idx, :], reflectometry_readout_length) + S = u.demod2volts(I[:min_idx, :] + 1j * Q[:min_idx, :], reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08a_qubit_spectroscopy.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08a_qubit_spectroscopy.py index 4c4a8e573..b8f8e287b 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08a_qubit_spectroscopy.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08a_qubit_spectroscopy.py @@ -174,10 +174,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, len(B_fields)) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08b_qubit_spectroscopy_with_chirp.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08b_qubit_spectroscopy_with_chirp.py index 0ab12529d..48705ec90 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08b_qubit_spectroscopy_with_chirp.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/08b_qubit_spectroscopy_with_chirp.py @@ -199,10 +199,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, len(B_fields)) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09a_rabi_chevron_qua.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09a_rabi_chevron_qua.py index 99ba3b1c0..88df19f12 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09a_rabi_chevron_qua.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09a_rabi_chevron_qua.py @@ -145,10 +145,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09b_rabi_chevron_baking.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09b_rabi_chevron_baking.py index 994b56706..226a410a7 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09b_rabi_chevron_baking.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09b_rabi_chevron_baking.py @@ -170,10 +170,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09c_rabi_chevron_baking+qua.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09c_rabi_chevron_baking+qua.py index feec0a522..388390bfa 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09c_rabi_chevron_baking+qua.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/09c_rabi_chevron_baking+qua.py @@ -201,10 +201,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/10_T1.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/10_T1.py index e0d76a0f4..1521e6ea8 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/10_T1.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/10_T1.py @@ -150,10 +150,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11a_ramsey_chevron_4ns.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11a_ramsey_chevron_4ns.py index 2692f7ff6..9f52d53ae 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11a_ramsey_chevron_4ns.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11a_ramsey_chevron_4ns.py @@ -163,10 +163,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11b_ramsey_chevron_full_baking.py b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11b_ramsey_chevron_full_baking.py index 490006150..a67727d08 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11b_ramsey_chevron_full_baking.py +++ b/Quantum-Control-Applications/Quantum-Dots/Single_Spin_EDSR/11b_ramsey_chevron_full_baking.py @@ -188,10 +188,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/04_reflectometry_spectroscopy.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/04_reflectometry_spectroscopy.py index 9926cf503..379d3a3f0 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/04_reflectometry_spectroscopy.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/04_reflectometry_spectroscopy.py @@ -93,7 +93,7 @@ # Fetch results I, Q, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase # Progress bar diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_DC_source.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_DC_source.py index 73140af6f..df36c308c 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_DC_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_DC_source.py @@ -107,10 +107,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points) # Plot results diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_OPX.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_OPX.py index 043ec5fb0..0cc755486 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_OPX.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/05_sensor_gate_sweep_OPX.py @@ -102,7 +102,7 @@ # Fetch results I, Q, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase # Progress bar diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_external_dc_source.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_external_dc_source.py index 962b35ee4..a311eca21 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_external_dc_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_external_dc_source.py @@ -147,10 +147,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_opx_and_dc_source.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_opx_and_dc_source.py index bde0b5af4..a83d4ed71 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_opx_and_dc_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_opx_and_dc_source.py @@ -123,10 +123,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow, start_time=results.start_time) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_with_triggered_qdac2.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_with_triggered_qdac2.py index 8728b2824..cd5641e6e 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_with_triggered_qdac2.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/06_charge_stability_map_with_triggered_qdac2.py @@ -164,10 +164,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow, start_time=results.start_time) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_external_dc_source.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_external_dc_source.py index 6d2a68ba3..25d8cee63 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_external_dc_source.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_external_dc_source.py @@ -155,10 +155,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I[: iteration + 1] + 1j * Q[: iteration + 1], reflectometry_readout_length) + S = u.demod2volts(I[: iteration + 1] + 1j * Q[: iteration + 1], reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_qdac2_triggered.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_qdac2_triggered.py index 680d95181..a3c4db45f 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_qdac2_triggered.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/07_PSB_search_qdac2_triggered.py @@ -24,16 +24,15 @@ - Identify the PSB region and update the config. """ -from qm.qua import * -from qm import QuantumMachinesManager -from qm import SimulationConfig +import matplotlib.pyplot as plt from configuration import * -from qualang_tools.results import progress_counter, fetching_tool -from qualang_tools.plot import interrupt_on_close -from qualang_tools.addons.variables import assign_variables_to_element +from macros import DC_current_sensing_macro, RF_reflectometry_macro from qdac2_driver import QDACII, load_voltage_list -import matplotlib.pyplot as plt -from macros import RF_reflectometry_macro, DC_current_sensing_macro +from qm import QuantumMachinesManager, SimulationConfig +from qm.qua import * +from qualang_tools.addons.variables import assign_variables_to_element +from qualang_tools.plot import interrupt_on_close +from qualang_tools.results import fetching_tool, progress_counter ################### # The QUA program # @@ -173,10 +172,10 @@ I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts min_idx = min(I.shape[0], Q.shape[0]) - S = u.demod2volts(I[:min_idx, :] + 1j * Q[:min_idx, :], reflectometry_readout_length) + S = u.demod2volts(I[:min_idx, :] + 1j * Q[:min_idx, :], reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_points_slow) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08a_rabi_chevron_qua.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08a_rabi_chevron_qua.py index 442c1f3bf..314952ffb 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08a_rabi_chevron_qua.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08a_rabi_chevron_qua.py @@ -145,10 +145,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08b_rabi_chevron_baking.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08b_rabi_chevron_baking.py index 9047e2352..99c872759 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08b_rabi_chevron_baking.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08b_rabi_chevron_baking.py @@ -178,10 +178,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08c_rabi_chevron_baking+qua.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08c_rabi_chevron_baking+qua.py index cfdece608..8ec2be8ca 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08c_rabi_chevron_baking+qua.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/08c_rabi_chevron_baking+qua.py @@ -216,10 +216,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/09_rabi_chevron_1ns_long_vs_Bfield.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/09_rabi_chevron_1ns_long_vs_Bfield.py index 93eed98a0..cba8ffd59 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/09_rabi_chevron_1ns_long_vs_Bfield.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/09_rabi_chevron_1ns_long_vs_Bfield.py @@ -227,10 +227,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, len(B_fields)) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/10_T1.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/10_T1.py index 2c410eecf..5fe1ce574 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/10_T1.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/10_T1.py @@ -155,10 +155,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11a_ramsey_chevron_4ns.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11a_ramsey_chevron_4ns.py index e9b4742c4..e2906cc9b 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11a_ramsey_chevron_4ns.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11a_ramsey_chevron_4ns.py @@ -23,17 +23,15 @@ - Extract J, T2*... """ -from qm.qua import * -from qm import QuantumMachinesManager -from qm import SimulationConfig +import matplotlib.pyplot as plt from configuration import * -from qualang_tools.results import progress_counter, fetching_tool -from qualang_tools.plot import interrupt_on_close -from qualang_tools.loops import from_array +from macros import DC_current_sensing_macro, RF_reflectometry_macro +from qm import QuantumMachinesManager, SimulationConfig +from qm.qua import * from qualang_tools.addons.variables import assign_variables_to_element -import matplotlib.pyplot as plt -from macros import RF_reflectometry_macro, DC_current_sensing_macro - +from qualang_tools.loops import from_array +from qualang_tools.plot import interrupt_on_close +from qualang_tools.results import fetching_tool, progress_counter ################### # The QUA program # @@ -165,10 +163,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11b_ramsey_chevron_full_baking.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11b_ramsey_chevron_full_baking.py index fe34260a8..fc356336d 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11b_ramsey_chevron_full_baking.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/11b_ramsey_chevron_full_baking.py @@ -202,10 +202,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data diff --git a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/12_probing_the_Landau_Zener_transition.py b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/12_probing_the_Landau_Zener_transition.py index 90a8b4b36..a91a236ae 100644 --- a/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/12_probing_the_Landau_Zener_transition.py +++ b/Quantum-Control-Applications/Quantum-Dots/Singlet_Triplet_Qubit/12_probing_the_Landau_Zener_transition.py @@ -162,10 +162,10 @@ # Fetch the data from the last OPX run corresponding to the current slow axis iteration I, Q, DC_signal, iteration = results.fetch_all() # Convert results into Volts - S = u.demod2volts(I + 1j * Q, reflectometry_readout_length) + S = u.demod2volts(I + 1j * Q, reflectometry_readout_length, single_demod=True) R = np.abs(S) # Amplitude phase = np.angle(S) # Phase - DC_signal = u.demod2volts(DC_signal, readout_len) + DC_signal = u.demod2volts(DC_signal, readout_len, single_demod=True) # Progress bar progress_counter(iteration, n_avg) # Plot data