utils
tergite_autocalibration.lib.nodes.readout.ro_amplitude_optimization.utils
Functions:
| Name | Description |
|---|---|
align_on_y_axis |
Translate and rotate the IQ samples so that all the |0> are on the I<0 semi-plane |
align_on_y_axis
align_on_y_axis(iq_points: ndarray, classified_states: ndarray, boundary_angle_rad: float, absolute_threshold: float, zero_state_index=0, first_state_index=1) -> tuple[ndarray, float, float]
Translate and rotate the IQ samples so that all the |0> are on the I<0 semi-plane and all the |1> states are on the I>0 semi plane in accordance to Quantify Scheduler convention for Thresholded Acquisitions