qiskit.opflow.primitive_ops.MatrixOp.primitive_strings¶
- MatrixOp.primitive_strings()[ソース]¶
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.- 戻り値
A set of strings describing the primitives contained within the Operator.
- 戻り値の型
Set[str]