PauliSum.get_qubits

PauliSum.get_qubits()[source]

The support of all the operators in the PauliSum object.

Return type:List[Union[int, FormalArgument, QubitPlaceholder]]
Returns:A list of all the qubits in the sum of terms.