Return the Pauli group with 4^n elements.
The phases have been removed. case 〈weight〉 is ordered by Pauli weights and case 〈tensor〉 is ordered by I,X,Y,Z counting lowest qubit fastest.
number_of_qubits (int) – number of qubits
case (str) – determines ordering of group elements (〈weight〉 or 〈tensor〉)
list of Pauli objects
- 반환 형식
QiskitError – case is not 〈weight〉 or 〈tensor〉
QiskitError – number_of_qubits is larger than 4