qiskit.opflow.OperatorBase.neg¶
- OperatorBase.neg()[código fonte]¶
Return the Operator’s negation, effectively just multiplying by -1.0, overloaded by
-
.- Tipo de retorno
- Retorno
An
OperatorBase
equivalent to the negation of self.
Return the Operator’s negation, effectively just multiplying by -1.0,
overloaded by -
.
An OperatorBase
equivalent to the negation of self.