openfermion.transforms.opconversions.dissolve

Decomposition helper.

Takes a product of binary variables and outputs the Pauli-string sum that corresponds to the decomposed multi-qubit operator.

term tuple

product of binary variables, i.e.: 'w0 w2 w3'

Returns (QubitOperator): superposition of Pauli-strings

ValueError if the variable in term is not integer