quri_parts.openfermion.operator.conversions module#

operator_from_openfermion_op(openfermion_op)#

Converts a OpenFermion QubitOperator to a qp Operator.

Parameters:

openfermion_op (OpenFermionQubitOperator) – OpenFermion QubitOperator

Returns:

Operator

Return type:

operator