![]() |
Computes a sum, using the iadd operator.
openfermion.transforms.opconversions.inline_sum(
summands, seed
)
Args | |
---|---|
seed (T): The starting total. The zero value. summands (iterable[T]): Values to add (with +=) into the total. |
Returns | |
---|---|
T
|
The result of adding all the factors into the zero value. |