qiskit.quantum_info.PauliTable.from_labels¶
- classmethod PauliTable.from_labels(labels)[fuente]¶
Construct a PauliTable from a list of Pauli strings.
- Parámetros
labels (list) – Pauli string label(es).
- Devuelve
the constructed PauliTable.
- Tipo del valor devuelto
- Muestra
QiskitError – If the input list is empty or contains invalid
Pauli strings. –