TensoredFilter

class TensoredFilter(cal_matrices, substate_labels_list)[source]

Tensored measurement error mitigation filter.

Produced from a tensored measurement calibration fitter and can be applied to data.

Initialize a tensored measurement error mitigation filter using the cal_matrices from a tensored measurement calibration fitter.

Parameters
  • cal_matrices (matrix) – the calibration matrices for applying the correction.

  • substate_labels_list (list) – for each calibration matrix a list of the states (as strings, states in the subspace)

Attributes

TensoredFilter.cal_matrices

Return cal_matrices.

TensoredFilter.nqubits

Return the number of qubits.

TensoredFilter.qubit_list_sizes

Return _qubit_list_sizes.

TensoredFilter.substate_labels_list

Return _substate_labels_list

Methods

TensoredFilter.apply(raw_data[, method])

Apply the calibration matrices to results.