quri_parts.qiskit.operator package#

operator_from_qiskit_op(pauli_operator)#

Converts a SparsePauliOp to Operator.

Currently, SparsePauliOp with parametric coefficient is not supported.

Parameters:

pauli_operator (SparsePauliOp) –

Return type:

Operator