pygsti.extras.rpe.rpeconstruction.create_rpe_angle_circuits_dict

pygsti.extras.rpe.rpeconstruction.create_rpe_angle_circuits_dict#

create_rpe_angle_circuits_dict(log2k_max_or_k_list, rpeconfig_inst)#

Generates a dictionary that contains operation sequences for all RPE cosine and sine experiments for all three angles.

Parameters:
  • log2k_max_or_k_list (int or list) – int - log2(Maximum number of times to repeat an RPE germ) list - List of maximum number of times to repeat an RPE germ

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

Returns:

totalStrListD – A dictionary containing all operation sequences for all sine and cosine experiments for alpha, epsilon, and theta. The keys of the returned dictionary are:

  • ’alpha’,’cos’ : List of operation sequences for cosine experiments used to determine alpha.

  • ’alpha’,’sin’ : List of operation sequences for sine experiments used to determine alpha.

  • ’epsilon’,’cos’List of operation sequences for cosine experiments used to

    determine epsilon.

  • ’epsilon’,’sin’ : List of operation sequences for sine experiments used to determine epsilon.

  • ’theta’,’cos’ : List of operation sequences for cosine experiments used to determine theta.

  • ’theta’,’sin’ : List of operation sequences for sine experiments used to determine theta.

  • ’totalStrList’ : All above operation sequences combined into one list; duplicates removed.

Return type:

dict