Skip to content

analysis

tergite_autocalibration.lib.nodes.coupler.spectroscopy.analysis

Classes:

Name Description
CouplerAnticrossingAnalysis

This class analyzes the qubit spectroscopy data as a function of the current for a coupler.

CouplerAnticrossingNodeAnalysis

This class analyzes the qubit spectroscopy data as a function of the current for all coupler.

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.

CouplerAnticrossingAnalysis

CouplerAnticrossingAnalysis(name, redis_fields)

Bases: BaseCouplerAnalysis

This class analyzes the qubit spectroscopy data as a function of the current for a coupler.

Methods:

Name Description
plotter

Create the anticrossing figures and populate the figures dictionary.

plotter

plotter(figures_dictionary: dict[str, list])

Create the anticrossing figures and populate the figures dictionary. Args: figures_dictionary: A reference to the figures dictionary that the base analysis plots the key is the coupler labe and the value is a list containing the anticrossing figure for that coupler

CouplerAnticrossingNodeAnalysis

CouplerAnticrossingNodeAnalysis(name, redis_fields)

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_node(data_path: Path) -> QOI

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

open_dataset

open_dataset() -> Dataset

Open the dataset for the analysis.

Args:

Returns:

Type Description
Dataset

xarray.Dataset with measurement results

ResonatorSpectroscopyVsCurrentCouplerAnalysis

ResonatorSpectroscopyVsCurrentCouplerAnalysis(name, redis_fields)

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.

plotter

Create the anticrossing figures and populate the figures dictionary.

analyze_coupler

analyze_coupler()

This function analyzes the coupler data to find crossing currents for both qubits.

plotter

plotter(figures_dictionary)

Create the anticrossing figures and populate the figures dictionary. Args: figures_dictionary: A reference to the figures dictionary that the base analysis plots the key is the coupler labe and the value is a list containing the anticrossing figure for that coupler

ResonatorSpectroscopyVsCurrentNodeAnalysis

ResonatorSpectroscopyVsCurrentNodeAnalysis(name, redis_fields)

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_node(data_path: Path) -> QOI

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

open_dataset

open_dataset() -> Dataset

Open the dataset for the analysis.

Args:

Returns:

Type Description
Dataset

xarray.Dataset with measurement results