all_traceless_pauli_z_terms

forest.benchmarking.utils.all_traceless_pauli_z_terms(qubits: Sequence[int])

Generate list of all Pauli Z terms (with weight > 0) on N qubits

Parameters:qubits – The integer labels for the qubits
Returns:list of PauliTerm