Skip to content

node

tergite_autocalibration.lib.nodes.characterization.t1.node

Classes:

Name Description
T1Node

Node for T1 measurement and analysis.

T1Node

T1Node(name: str, all_qubits: list[str], **schedule_keywords)

Bases: ExternalParameterFixedScheduleQubitNode

Node for T1 measurement and analysis. This node performs T1 measurements on multiple qubits and analyzes the results to extract T1 times. It uses the T1Measurement class for measurement and T1NodeAnalysis for analysis.

Methods:

Name Description
configure_dataset

The dataset retrieved from the instrument coordinator is

final_operation

To be implemented by the child measurement nodes.

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

final_operation

final_operation()

To be implemented by the child measurement nodes. This is called after ALL the iteration samples of the external samplespace have been executed. e.g. set back the dc_current to 0 in coupler_spectroscopy. See coupler_spectroscopy for examples.

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.