pygsti.extras.idletomography.idtcore.determine_paulidicts

pygsti.extras.idletomography.idtcore.determine_paulidicts#

determine_paulidicts(model)#

Intelligently determine preparation and measurement Pauli basis dictionaries from a Model.

The returned dictionaries are required for various parts of idle tomography, as they bridge the native model’s gates to the “Pauli basis language” used in idle tomography.

Parameters:

model (Model) – The model which defines the available preparation, measurement, and operations. It is assumed that model’s operation are expressed in a Pauli-product basis.

Returns:

If successful, a (prepDict,measureDict) 2-tuple of Pauli basis dictionaries. If unsuccessful, None.

Return type:

pauli_basis_dicts or None