qiskit.opflow.state_fns.DictStateFn.to_spmatrix_op¶ DictStateFn.to_spmatrix_op()[source]¶ Convert this state function to a SparseVectorStateFn. Return type OperatorBase