pygsti.circuits.circuitconstruction.list_all_circuits_without_powers_and_cycles#
- list_all_circuits_without_powers_and_cycles(op_labels, max_length)#
List all distinct aperiodic circuits up to a maximum length.
That is, list all sequences that are not a shorter gate sequence raised to a power, and are also distinct up to cycling (e.g. (‘Gx’,’Gy’,’Gy’) and (‘Gy’,’Gy’,’Gx’) are considered equivalent and only one would be included in the returned list).
- Parameters:
op_labels (list) – A list of the operation (gate) labels to form circuits from.
max_length (int) – The maximum length strings to return. Circuits from length 1 to max_length will be returned.
- Returns:
Of
Circuitobjects.- Return type:
list