Skip to content

analysis

tergite_autocalibration.lib.nodes.readout.ro_frequency_optimization.analysis

Module containing a class that fits data from a resonator spectroscopy experiment.

Classes:

Name Description
OptimalRO01FrequencyQubitAnalysis

Analysis that fits the data of resonator spectroscopy experiments

OptimalRO01FrequencyQubitAnalysis

OptimalRO01FrequencyQubitAnalysis(name, redis_fields)

Bases: BaseQubitAnalysis

Analysis that fits the data of resonator spectroscopy experiments and extractst the optimal RO frequency.

Methods:

Name Description
plot

Plot the fitted values from the analysis

plotter

primary axis: the |0> and |1> resonator traces on the IQ plane.

process_qubit

Setup the qubit data and analyze it.

rotate_to_probability_axis

Rotates the S21 IQ points to the real - normalized axis

plot

plot(primary_axis)

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

plotter(ax, secondary_axes)
the |0> and |1> resonator traces on the IQ plane.

The points for which the distance between the traces is maximized is denoted.

magnitude_axis: s21 magnitudes in terms of the frequency for both the |0> and |1> resonator traces. Optimal frequency is denoted. phase_axis: s21 phases in terms of the frequency for both the |0> and |1> resonator traces. Optimal frequency is denoted.

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

rotate_to_probability_axis

rotate_to_probability_axis(complex_measurement_data)

Rotates the S21 IQ points to the real - normalized axis that describes the |0> - |1> axis. !!! It Assumes that complex_measurement_data[-2] corresponds to the |0> and complex_measurement_data[-1] corresponds to the |1>