analysis
tergite_autocalibration.lib.nodes.coupler.spectroscopy.analysis
Classes:
| Name | Description |
|---|---|
QubitSpectroscopyVsCurrentCouplerAnalysis |
This class analyzes the qubit spectroscopy data as a function of the current for a coupler. |
QubitSpectroscopyVsCurrentNodeAnalysis |
This class analyzes the qubit spectroscopy data as a function of the current for all coupler. |
QubitSpectroscopyVsCurrentQubitAnalysis |
This class analyzes the qubit frequencies as obtained from the scpescroscopies |
ResonatorSpectroscopyVsCurrentCouplerAnalysis |
This class analyzes the resonator spectroscopy data as a function of the current for a coupler. |
ResonatorSpectroscopyVsCurrentNodeAnalysis |
This class analyzes the resonator spectroscopy data as a function of the current for all coupler. |
ResonatorSpectroscopyVsCurrentQubitAnalysis |
This class analyzes the resonator spectroscopy fitted frequencies to find crossing currents. |
QubitSpectroscopyVsCurrentCouplerAnalysis
Bases: BaseCouplerAnalysis
This class analyzes the qubit spectroscopy data as a function of the current for a coupler.
Methods:
| Name | Description |
|---|---|
plot |
Plot the fitted values from the analysis |
plot_spectroscopies |
Plot all the spectroscopy analyses for both qubits and save the figures. |
plotter |
Plot the results of the analysis on the provided axes. |
process_coupler |
Setup the coupler data and analyze it. |
rotate_to_probability_axis |
Rotates the S21 IQ points to the real - normalized axis |
plot
Plot the fitted values from the analysis Args: primary_axis: The axis object from matplotlib to be plotted secondary_axis: The axis object from matplotlib to be plotted Returns: None, will just plot the fitted values
plot_spectroscopies
plot_spectroscopies(data_path: Path)
Plot all the spectroscopy analyses for both qubits and save the figures.
plotter
Plot the results of the analysis on the provided axes. Args: primary_axis (plt.Axes): The primary axis for the first qubit. secondary_axis (plt.Axes): The secondary axis for the second qubit.
process_coupler
process_coupler(dataset, coupler_element) -> QOI
Setup the coupler data and analyze it. Args: dataset: xarray dataset with the coupler data coupler_element: name of the coupler element Returns: QOI: Quantity of interest as QOI wrapped object
QubitSpectroscopyVsCurrentNodeAnalysis
Bases: BaseAllCouplersAnalysis
This class analyzes the qubit spectroscopy data as a function of the current for all coupler.
Methods:
| Name | Description |
|---|---|
analyze_node |
Analyze the node and save the results to redis. |
open_dataset |
Open the dataset for the analysis. |
analyze_node
Analyze the node and save the results to redis. Args: data_path: Path to the dataset index: Index of the dataset to be analyzed Returns: analysis_results: Dictionary with the analysis results for each qubit
QubitSpectroscopyVsCurrentQubitAnalysis
Bases: BaseQubitAnalysis
This class analyzes the qubit frequencies as obtained from the scpescroscopies to find crossing currents.
Methods:
| Name | Description |
|---|---|
analyse_qubit |
This function analyzes the qubit spectroscopy data to find crossing currents. |
plot |
Plot the fitted values from the analysis |
plotter |
Plot the detected frequencies and currents, along with crossing currents. |
process_qubit |
Setup the qubit data and analyze it. |
rotate_to_probability_axis |
Rotates the S21 IQ points to the real - normalized axis |
analyse_qubit
plot
Plot the fitted values from the analysis Args: primary_axis: The axis object from matplotlib to be plotted Returns: None, will just plot the fitted values
plotter
Plot the detected frequencies and currents, along with crossing currents. Args: ax (plt.Axes): The axes to plot on.
process_qubit
process_qubit(dataset, qubit_element) -> QOI
Setup the qubit data and analyze it. Args: dataset: xarray dataset with the qubit data qubit_element: name of the qubit element Returns: QOI: Quantity of interest as QOI wrapped object
ResonatorSpectroscopyVsCurrentCouplerAnalysis
Bases: BaseCouplerAnalysis
This class analyzes the resonator spectroscopy data as a function of the current for a coupler.
Methods:
| Name | Description |
|---|---|
analyze_coupler |
This function analyzes the coupler data to find crossing currents for both qubits. |
plot |
Plot the fitted values from the analysis |
plot_spectroscopies |
Plot all the spectroscopy analyses for both qubits and save the figures. |
process_coupler |
Setup the coupler data and analyze it. |
rotate_to_probability_axis |
Rotates the S21 IQ points to the real - normalized axis |
analyze_coupler
This function analyzes the coupler data to find crossing currents for both qubits.
plot
Plot the fitted values from the analysis Args: primary_axis: The axis object from matplotlib to be plotted secondary_axis: The axis object from matplotlib to be plotted Returns: None, will just plot the fitted values
plot_spectroscopies
plot_spectroscopies(data_path: Path)
Plot all the spectroscopy analyses for both qubits and save the figures.
process_coupler
process_coupler(dataset, coupler_element) -> QOI
Setup the coupler data and analyze it. Args: dataset: xarray dataset with the coupler data coupler_element: name of the coupler element Returns: QOI: Quantity of interest as QOI wrapped object
ResonatorSpectroscopyVsCurrentNodeAnalysis
Bases: BaseAllCouplersAnalysis
This class analyzes the resonator spectroscopy data as a function of the current for all coupler.
Methods:
| Name | Description |
|---|---|
analyze_node |
Analyze the node and save the results to redis. |
open_dataset |
Open the dataset for the analysis. |
analyze_node
Analyze the node and save the results to redis. Args: data_path: Path to the dataset index: Index of the dataset to be analyzed Returns: analysis_results: Dictionary with the analysis results for each qubit
ResonatorSpectroscopyVsCurrentQubitAnalysis
Bases: BaseQubitAnalysis
This class analyzes the resonator spectroscopy fitted frequencies to find crossing currents.
Methods:
| Name | Description |
|---|---|
analyse_qubit |
This function analyzes the resonator spectroscopy data to find crossing currents. |
plot |
Plot the fitted values from the analysis |
plotter |
Plot the detected frequencies and currents, along with crossing currents. |
process_qubit |
Setup the qubit data and analyze it. |
rotate_to_probability_axis |
Rotates the S21 IQ points to the real - normalized axis |
analyse_qubit
plot
Plot the fitted values from the analysis Args: primary_axis: The axis object from matplotlib to be plotted Returns: None, will just plot the fitted values
plotter
Plot the detected frequencies and currents, along with crossing currents. Args: ax (plt.Axes): The axes to plot on.
process_qubit
process_qubit(dataset, qubit_element) -> QOI
Setup the qubit data and analyze it. Args: dataset: xarray dataset with the qubit data qubit_element: name of the qubit element Returns: QOI: Quantity of interest as QOI wrapped object