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