pygsti.extras.rpe.rpetools.extract_theta

Contents

pygsti.extras.rpe.rpetools.extract_theta#

extract_theta(model, rpeconfig_inst)#

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

WARNING: This is a gauge-covariant parameter! (I think!) Gauge must be fixed prior to estimating.

Parameters:
  • model (Model) – The model whose loose axis misalignment is to be calculated.

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

Returns:

thetaVal – The value of theta for the input model.

Return type:

float