pygsti.tools.listtools.incd_product

Contents

pygsti.tools.listtools.incd_product#

incd_product(*args)#

Like itertools.product but returns the first modified (incremented) index along with the product tuple itself.

Parameters:

*args (iterables) – Any number of iterable things that we’re taking the product of.