qiskit.opflow.state_fns.VectorStateFn.primitive_strings¶
- VectorStateFn.primitive_strings()[source]¶
Return a set of strings describing the primitives contained in the Operator. For example,
{'QuantumCircuit', 'Pauli'}
. For hierarchical Operators, such asListOps
, this can help illuminate the primitives represented in the various recursive levels, and therefore which conversions can be applied.- Returns
A set of strings describing the primitives contained within the Operator.
- Return type
Set[str]