qiskit.opflow.state_fns.VectorStateFn.add¶
- VectorStateFn.add(other)[소스]¶
Return Operator addition of self and other, overloaded by
+
.- 매개변수
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).- 반환
An
OperatorBase
equivalent to the sum of self and other.- 반환 형식