Skip to content

analysis

tergite_autocalibration.lib.nodes.coupler.coupler_anticrossing.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
adjust_figures

modify the figures dictionary attributed of the current analysis

analyze_node

Analyze the node and save the results to redis.

adjust_figures

adjust_figures()

modify the figures dictionary attributed of the current analysis so the figures have a more standardized appearance

analyze_node

analyze_node(dataset: Dataset) -> dict[str, QOI]

Analyze the node and save the results to redis. Args: dataset: the full configured result dataset

Returns:

Name Type Description
analysis_results dict[str, QOI]

Dictionary with the analysis results for each qubit

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
adjust_figures

modify the figures dictionary attributed of the current analysis

analyze_node

Analyze the node and save the results to redis.

adjust_figures

adjust_figures()

modify the figures dictionary attributed of the current analysis so the figures have a more standardized appearance

analyze_node

analyze_node(dataset: Dataset) -> dict[str, QOI]

Analyze the node and save the results to redis. Args: dataset: the full configured result dataset

Returns:

Name Type Description
analysis_results dict[str, QOI]

Dictionary with the analysis results for each qubit