Japanese
言語
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.quantum_info.pauli_basis

pauli_basis(num_qubits, weight=False)[ソース]

Return the ordered PauliTable for the n-qubit Pauli basis.

パラメータ
  • num_qubits (int) – number of qubits

  • weight (bool) – if True optionally return the basis sorted by Pauli weight rather than lexicographic order (Default: False)

戻り値

the PauliTable for the basis

戻り値の型

PauliTable