pygsti.extras.rpe.rpetools

pygsti.extras.rpe.rpetools#

Utility functions for RPE

Functions

analyze_rpe_data(input_dataset, ...[, ...])

Compute angle estimates and compare to true or target values for alpha, epsilon, and theta.

consistency_check(angle_k, angle_final, k)

Check internal consistency

estimate_angles(dataset, angle_sin_strs, ...)

For a dataset containing sin and cos strings to estimate either alpha, epsilon, or Phi return a list of alpha, epsilon, or Phi estimates (one for each generation).

estimate_thetas(dataset, angle_sin_strs, ...)

For a dataset containing sin and cos strings to estimate theta, along with already-made estimates of epsilon, return a list of theta (one for each generation).

extract_alpha(model, rpeconfig_inst)

For a given model, obtain the angle of rotation about the "fixed axis"

extract_epsilon(model, rpeconfig_inst)

For a given model, obtain the angle of rotation about the "loose axis"

extract_rotation_hat(xhat, yhat, k, nx, ny)

For a single germ generation (k value), estimate the angle of rotation for either alpha, epsilon, or Phi.

extract_theta(model, rpeconfig_inst)

For a given model, obtain the angle between the estimated "loose axis" and the target "loose axis".