Shortcuts

qiskit.quantum_info.pauli_basis

pauli_basis(num_qubits, weight=False)[source]

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

Parameters
  • num_qubits (int) – number of qubits

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

Returns

the PauliTable for the basis

Return type

PauliTable

You are viewing lang: English
Languages
English
Japanese
German
Korean