qiskit.quantum_info.PauliTable.from_labels¶
- classmethod PauliTable.from_labels(labels)[código fonte]¶
Construct a PauliTable from a list of Pauli strings.
- Parâmetros
labels (list) – Pauli string label(es).
- Retorno
the constructed PauliTable.
- Tipo de retorno
- Levanta
QiskitError – If the input list is empty or contains invalid
Pauli strings. –