pygsti.extras.rpe.rpeconstruction.create_parameterized_rpe_model#
- create_parameterized_rpe_model(alpha_true, epsilon_true, aux_rot, spam_depol, gate_depol=None, with_id=True, rpeconfig_inst=None)#
Make a model for simulating RPE, paramaterized by rotation angles. Note that the output model also has thetaTrue, alpha_true, and epsilon_true added attributes.
- Parameters:
alpha_true (float) – Angle of rotation about “fixed axis”
epsilon_true (float) – Angle of rotation about “loose axis”
aux_rot (float) – Angle of rotation about the axis perpendicular to fixed and loose axes, that, by similarity transformation, changes loose axis.
spam_depol (float) – Amount to depolarize SPAM by.
gate_depol (float, optional) – Amount to depolarize gates by (defaults to None).
with_id (bool, optional) – Do we include (perfect) identity or no identity? (Defaults to False; should be False for RPE, True for GST)
rpeconfig_inst (RPEconfig object) – Declares which model configuration RPE should be trying to fit; determines particular functions and values to be used.
- Returns:
The desired model for RPE; model also has attributes thetaTrue, alpha_true, and epsilon_true, automatically extracted.
- Return type: