qiskit.quantum_info.PauliList.from_symplectic¶
-
classmethod
PauliList.
from_symplectic
(z, x, phase=0)[source]¶ Construct a PauliList from a symplectic data.
- Parameters
z (np.ndarray) – 2D boolean Numpy array.
x (np.ndarray) – 2D boolean Numpy array.
phase (np.ndarray or None) – Optional, 1D integer array from Z_4.
- Returns
the constructed PauliList.
- Return type