scqubits.utils.spectrum_utils.standardize_phases#

scqubits.utils.spectrum_utils.standardize_phases(complex_array)[source]#

Uses extract_phase to obtain global phase from array and returns standardized array with global phase factor standardized.

Parameters:

complex_array (ndarray) – complex

Return type:

ndarray