# qiskit.opflow.primitive_ops.PrimitiveOp.log_i¶

PrimitiveOp.log_i(massive=False)[source]

Return a MatrixOp equivalent to log(H)/-i for this operator H. This function is the effective inverse of exp_i, equivalent to finding the Hermitian Operator which produces self when exponentiated.

Return type

OperatorBase