analysis
tergite_autocalibration.lib.nodes.characterization.t1.analysis
Module containing a class that fits and plots data from a T1 experiment.
Classes:
| Name | Description |
|---|---|
T1NodeAnalysis |
Class for T1 analysis node, which uses T1QubitAnalysis for each qubit |
T1QubitAnalysis |
Class for T1 analysis of a single qubit, which fits the data from a T1 experiment |
T1NodeAnalysis
Bases: BaseAllQubitsAnalysis
Class for T1 analysis node, which uses T1QubitAnalysis for each qubit
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:
| Name | Type | Description |
|---|---|---|
analysis_results |
QOI
|
Dictionary with the analysis results for each qubit |
T1QubitAnalysis
Bases: BaseQubitAnalysis
Class for T1 analysis of a single qubit, which fits the data from a T1 experiment and plots the results.
Methods:
| Name | Description |
|---|---|
analyse_qubit |
Perform the analysis of the T1 data for a single qubit. |
plot |
Plot the fitted values from the analysis |
plotter |
Plot the results of the T1 analysis on the provided axes. |
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
Perform the analysis of the T1 data for a single qubit. Returns: QOI: A QOI object containing the analysis results.
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 results of the T1 analysis on the provided axes. Args: ax: The axes on which to plot the results.
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