qiskit.quantum_info.pauli_basis
qiskit.quantum_info.pauli_basis(num_qubits, weight=False)
Return the ordered PauliList 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 Paulis for the basis
Return type
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.