pygsti.extras.rpe.rpeconstruction.create_rpe_angle_circuit_lists

pygsti.extras.rpe.rpeconstruction.create_rpe_angle_circuit_lists#

create_rpe_angle_circuit_lists(k_list, angle_name, rpeconfig_inst)#

Make cosine and sine circuit lists. These operation sequences are used to estimate the angle specified by angle_name (‘alpha’, ‘epsilon’, or ‘theta’)

Parameters:
  • k_list (list of ints) – The list of “germ powers” to be used. Typically successive powers of two; e.g. [1,2,4,8,16].

  • angle_name (string) – The angle to be deduced from these operation sequences. (Choices are ‘alpha’, ‘epsilon’, or ‘theta’)

  • rpeconfig_inst (RPEconfig object) – Declares which model configuration RPE should be trying to fit; determines particular functions and values to be used.

Returns:

  • cosStrList (list of Circuits) – The list of “cosine strings” to be used for alpha estimation.

  • sinStrList (list of Circuits) – The list of “sine strings” to be used for alpha estimation.