Learn more about our quantum error correction milestone

openfermion.transforms.opconversions.inline_sum

Computes a sum, using the iadd operator.

seed (T): The starting total. The zero value. summands (iterable[T]): Values to add (with +=) into the total.

T The result of adding all the factors into the zero value.