Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version


Primitive Operators


Deprecated since version 0.24.0

The qiskit.opflow module is deprecated and will be removed no earlier than 3 months after the release date. For code migration guidelines, visit in a new tab).

Operators are defined to be functions which take State functions to State functions.

PrimitiveOps are the classes for representing basic Operators, backed by computational Operator primitives from Terra. These classes (and inheritors) primarily serve to allow the underlying primitives to “flow” - i.e. interoperability and adherence to the Operator formalism - while the core computational logic mostly remains in the underlying primitives. For example, we would not produce an interface in Terra in which QuantumCircuit1 + QuantumCircuit2 equaled the Operator sum of the circuit unitaries, rather than simply appending the circuits. However, within the Operator flow summing the unitaries is the expected behavior.


All mathematical methods are not in-place, meaning that they return a new object, but the underlying primitives are not copied.

Primitive Operators

PrimitiveOp(primitive[, coeff])Deprecated: A class for representing basic Operators, backed by Operator primitives from Terra.
CircuitOp(*args, **kwargs)Deprecated: Class for Operators backed by Terra's QuantumCircuit module.
MatrixOp(*args, **kwargs)Deprecated: Class for Operators represented by matrices, backed by Terra's Operator module.
PauliOp(*args, **kwargs)Deprecated: Class for Operators backed by Terra's Pauli module.
PauliSumOp(*args, **kwargs)Deprecated: Class for Operators backed by Terra's SparsePauliOp class.
TaperedPauliSumOp(*args, **kwargs)Deprecated: Class for PauliSumOp after tapering


Z2Symmetries(symmetries, sq_paulis, sq_list)Deprecated: Z2 Symmetries
Was this page helpful?
Report a bug or request content on GitHub.