openfermion.measurements.pauli_string_iterator

Generates a set of Pauli strings such that each word of k Pauli operators lies in at least one string.

num_qubits int

number of qubits in string

max_word_size int

maximum required word

pauli_string iterator of strings

iterator over Pauli strings