pygsti.tools.locking.histonested_circuitlists

pygsti.tools.locking.histonested_circuitlists#

histonested_circuitlists(circuits, bins='auto-int', trans='log')#

This is a helper function for building CircuitListsDesign objects with certain nested structures. If clists is the output of this function, then the induced design is canonically

d = CircuitListsDesign(clists nested=True, remove_duplicates=True).

If circuits contained no duplicates, then we’ll have

set(circuits) == set(d.all_circuits_needing_data).

Parameters:
  • circuits (CircuitList | list[Circuit])

  • bins (int | Literal['auto-int'] | ~typing.Literal['auto'] | ~typing.Literal['fd'] | ~typing.Literal['doane'] | ~typing.Literal['scott'] | ~typing.Literal['stone'] | ~typing.Literal['sturges'])

  • trans (Literal['log'] | ~typing.Literal['none'] | None | ~numpy.ufunc)

Return type:

list[list[Circuit]]