pygsti.circuits.circuitconstruction#
Utility functions for creating and acting on lists of circuits.
Functions
|
Create a list of circuits using a nested loop. |
|
List the circuits required for running LGST. |
|
Filters circuit by keeping only a subset of its "lines" (i.e. state space labels, often qubits). |
|
Applies |
|
Iterative version of |
|
Iterative version of |
|
List all the circuits in a given length range. |
|
List all the circuits of a given length. |
List all distinct aperiodic circuits up to a maximum length. |
|
|
Compute the circuits that LGST is able to estimate from dataset and sets of fiducials. |
|
List the partial sub-circuits of circuit. |
|
Create a list of random circuits of a given length. |
|
Manipulates a Circuit object according to rules. |
|
Applies |
|
Repeat x num_times times. |
|
Repeat and truncate x to yield a sequence with exactly length n. |
|
The maximum number of times x can be repeated such that its length is <= max_length. |
|
Repeat the x an integer number of times such that the result has length <= max_length. |
|
Converts a list of operation label tuples or strings to a list of |
|
Translates circuit according to the aliases in alias_dict. |
|
Applies |