pygsti.extras.rpe.rpetools.extract_alpha

Contents

pygsti.extras.rpe.rpetools.extract_alpha#

extract_alpha(model, rpeconfig_inst)#

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

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

Parameters:
  • model (Model) – The model whose angle of rotation about the fixed axis 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:

alphaVal – The value of alpha for the input model.

Return type:

float