quri_parts.qulacs.operator package#

convert_operator(operator, n_qubits)#

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

Parameters:
Return type:

GeneralQuantumOperator