quri_parts.stim.operator package#
- convert_operator(operator, qubit_count)#
- Converts an - Operator(or- PauliLabel) to the Sequence of- stim.PauliStringand it’s coefficient.- Parameters:
- operator (Operator | PauliLabel) – 
- qubit_count (int) – 
 
- Return type:
- Sequence[tuple[PauliString, complex]]