phase_helper#
Full path: exa.core.util.phase_helper
Helpers for creating phase and conditional phase datasets.
Functions
|
Uses |
|
Adds the phase and amplitude calculated by |
|
Calculate the qubit phase, assuming two points in the phase sweep were used, and the excited state probability is well-calibrated, so the data offset is 0.5. |
|
Calculates the fit, phase and amplitude arrays, by collapsing the phase dimension on the given data. |
|
Generates a fitter function for cosine oscillation with frequency 1, used to determine the phase of the data. |
|
Calculate the qubit phase, assuming more than two points in the phase sweep were used. |
|
Produce an unwrapped array skipping NaNs. |
|
Unwrap y along x, skipping NaNs. |