Shortcuts

qiskit.quantum_info.pauli_group

pauli_group(number_of_qubits, case='weight')[소스]

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

반환 형식

list

예외
  • QiskitError – case is not 〈weight〉 or 〈tensor〉

  • QiskitError – number_of_qubits is larger than 4

당신은 다음 언어로 문서를 보고 있다 lang: Korean
언어
English
Japanese
German
Korean