Tamil
மொழிகள்
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.utils.mitigation.TensoredMeasFitter.subset_fitter

TensoredMeasFitter.subset_fitter(qubit_sublist)[source]

Return a fitter object that is a subset of the qubits in the original list.

This is only a partial implementation of the subset_fitter method since only mitigation patterns of length 1 are supported. This corresponds to patterns of the form [[0], [1], [2], ...]. Note however, that such patterns are a good first approximation to mitigate readout errors on large quantum circuits.

Parameters

qubit_sublist (list) -- must be a subset of qubit_list

Returns

A new fitter that has the calibration for a

subset of qubits

Return type

TensoredMeasFitter

Raises
  • QiskitError -- If the calibration matrix is not initialized

  • QiskitError -- If the mit pattern is not a tensor of single-qubit measurement error mitigation.

  • QiskitError -- If a qubit in the given qubit_sublist is not in the list of qubits in the mit. pattern.