qiskit.quantum_info.PauliTable.from_labels¶
- classmethod PauliTable.from_labels(labels)[Quellcode]¶
Construct a PauliTable from a list of Pauli strings.
- Parameter
labels (list) – Pauli string label(es).
- Rückgabe
the constructed PauliTable.
- Rückgabetyp
- Verursacht
QiskitError – If the input list is empty or contains invalid
Pauli strings. –