German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.utils.QuantumInstance.cals_matrix

QuantumInstance.cals_matrix(qubit_index=None)[Quellcode]

Get the stored calibration matrices and its timestamp.

Parameter

qubit_index (Optional[List[int]]) – the qubit index of corresponding calibration matrix. If None, return all stored calibration matrices.

Rückgabetyp

Union[Tuple[ndarray, float], Dict[str, Tuple[ndarray, float]], None]

Rückgabe

The calibration matrix and the creation timestamp if qubit_index is not None otherwise, return all matrices and their timestamp in a dictionary.