German
Sprachen
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.quantum_info.pauli_basis

pauli_basis(num_qubits, weight=False)[Quellcode]

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

Parameter
  • num_qubits (int) – number of qubits

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

Rückgabe

the PauliTable for the basis

Rückgabetyp

PauliTable