qiskit.quantum_info.SparsePauliOp.label_iter¶
- SparsePauliOp.label_iter()[ソース]¶
Return a label representation iterator.
This is a lazy iterator that converts each term in the SparsePauliOp into a tuple (label, coeff). To convert the entire table to labels use the
to_labels()
method.- 戻り値
label iterator object for the SparsePauliOp.
- 戻り値の型
LabelIterator