quri_parts.itensor.operator package#
- quri_parts.itensor.operator.convert_operator(operator: Operator | PauliLabel, qubit_sites: VectorValue) AnyValue #
Convert an
Operator
or aPauliLabel
to an ITensor MPO operator.qubit_sites: collection of N “Qubit” sites. please follow the Itensor doc