qiskit.quantum_info.SparsePauliOp.label_iter¶
- SparsePauliOp.label_iter()[fuente]¶
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.- Devuelve
label iterator object for the PauliTable.
- Tipo del valor devuelto
LabelIterator