# qiskit.quantum_info.PauliList.expand¶

PauliList.expand(other)[source]

Return the expand product of each Pauli in the list.

Parameters

other (PauliList) – another PauliList.

Returns

the list of tensor product Paulis.

Return type

PauliList

Raises

QiskitError – if other cannot be converted to a PauliList, does not have either 1 or the same number of Paulis as the current list.