pygsti.modelmembers.instruments.instrument_type_from_op_type

pygsti.modelmembers.instruments.instrument_type_from_op_type#

instrument_type_from_op_type(op_type)#

Decode an op type into an appropriate instrument type.

Parameters:#

op_type: str or list of str

Operation parameterization type (or list of preferences)

returns:

instr_type_preferences – POVM parameterization types

rtype:

tuple of str

Parameters:

op_type (str | list[str])

Return type:

str