quri_parts.qulacs.operator package#

quri_parts.qulacs.operator.convert_operator(operator: Operator | PauliLabel, n_qubits: int) GeneralQuantumOperator#

Convert an Operator or a PauliLabel to a qulacs.GeneralQuantumOperator.