quri_parts.stim.operator package#

convert_operator(operator, qubit_count)#

Converts an Operator (or PauliLabel) to the Sequence of stim.PauliString and it’s coefficient.

Parameters:
Return type:

Sequence[tuple[PauliString, complex]]