Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.primitive_ops.MatrixOp.add

MatrixOp.add(other)[fuente]

Return Operator addition of self and other, overloaded by +.

Parámetros

other (OperatorBase) – An OperatorBase with the same number of qubits as self, and in the same “Operator”, “State function”, or “Measurement” category as self (i.e. the same type of underlying function).

Devuelve

An OperatorBase equivalent to the sum of self and other.

Tipo del valor devuelto

Union[MatrixOp, SummedOp]