Skip to content

node

tergite_autocalibration.lib.nodes.coupler.spectroscopy.node

Classes:

Name Description
QubitSpectroscopyVsCurrentNode

This node performs a qubit spectroscopy measurement while varying the

ResonatorSpectroscopyVsCurrentNode

This node performs a resonator spectroscopy measurement while varying the

QubitSpectroscopyVsCurrentNode

QubitSpectroscopyVsCurrentNode(name: str, couplers: list[str], **schedule_keywords)

Bases: ExternalParameterFixedScheduleCouplerNode

This node performs a qubit spectroscopy measurement while varying the current through the coupler to measure the crossing point of the coupler with the qubit.

Methods:

Name Description
configure_dataset

The dataset retrieved from the instrument coordinator is

initial_operation

To be implemented by the child measurement nodes.

measure_compiled_schedule

Execute a measurement for a node and save the resulting dataset.

Attributes:

Name Type Description
dimensions list

array of dimensions used for raw dataset reshaping

external_dimensions list

Multidimensional External Samplespace:

dimensions property

dimensions: list

array of dimensions used for raw dataset reshaping

external_dimensions property

external_dimensions: list

Multidimensional External Samplespace: size of external samplespace E.g. in self.external_samplespace = { 'dc_currents': {'q06_q07': np.array([1e-6, 2e-6, 3e-6, 4e-6])} 'crosstalk_currents': {'q08_q09': np.array([-3e-3, 0, 3e-3])} } the external_dimensions is [4, 3]

configure_dataset

configure_dataset(raw_ds: Dataset) -> Dataset

The dataset retrieved from the instrument coordinator is too bare-bones. Here the dims, coords and data_vars are configured

initial_operation

initial_operation()

To be implemented by the child measurement nodes. This is called before the execution of each and every iteration of the samples of the external samplespace. See coupler_spectroscopy for examples.

measure_compiled_schedule

measure_compiled_schedule(compiled_schedule: CompiledSchedule, cluster_status=real, measurement: Tuple[int, int] = (1, 1)) -> Dataset

Execute a measurement for a node and save the resulting dataset.

Parameters:

Name Type Description Default
compiled_schedule CompiledSchedule

The compiled schedule to execute.

required
cluster_status real

The status of the measurement mode.

real
measurement tuple

Tuple of (current_measurement, total_measurements).

(1, 1)

Returns:

Type Description
Dataset

xarray.Dataset: The dataset containing the measurement results.

ResonatorSpectroscopyVsCurrentNode

ResonatorSpectroscopyVsCurrentNode(name: str, couplers: list[str], **schedule_keywords)

Bases: ExternalParameterFixedScheduleCouplerNode

This node performs a resonator spectroscopy measurement while varying the current through the coupler to measure the crossing point of the coupler with the resonator.

Methods:

Name Description
configure_dataset

The dataset retrieved from the instrument coordinator is

initial_operation

To be implemented by the child measurement nodes.

measure_compiled_schedule

Execute a measurement for a node and save the resulting dataset.

Attributes:

Name Type Description
dimensions list

array of dimensions used for raw dataset reshaping

external_dimensions list

Multidimensional External Samplespace:

dimensions property

dimensions: list

array of dimensions used for raw dataset reshaping

external_dimensions property

external_dimensions: list

Multidimensional External Samplespace: size of external samplespace E.g. in self.external_samplespace = { 'dc_currents': {'q06_q07': np.array([1e-6, 2e-6, 3e-6, 4e-6])} 'crosstalk_currents': {'q08_q09': np.array([-3e-3, 0, 3e-3])} } the external_dimensions is [4, 3]

configure_dataset

configure_dataset(raw_ds: Dataset) -> Dataset

The dataset retrieved from the instrument coordinator is too bare-bones. Here the dims, coords and data_vars are configured

initial_operation

initial_operation()

To be implemented by the child measurement nodes. This is called before the execution of each and every iteration of the samples of the external samplespace. See coupler_spectroscopy for examples.

measure_compiled_schedule

measure_compiled_schedule(compiled_schedule: CompiledSchedule, cluster_status=real, measurement: Tuple[int, int] = (1, 1)) -> Dataset

Execute a measurement for a node and save the resulting dataset.

Parameters:

Name Type Description Default
compiled_schedule CompiledSchedule

The compiled schedule to execute.

required
cluster_status real

The status of the measurement mode.

real
measurement tuple

Tuple of (current_measurement, total_measurements).

(1, 1)

Returns:

Type Description
Dataset

xarray.Dataset: The dataset containing the measurement results.