pygsti.models.rpemodel.make_rpe_model#
- make_rpe_model(alpha_true, epsilon_true, y_rot, spam_depol, gate_depol=None, with_id=True)#
Make a model for simulating RPE, parameterized by rotation angles.
Note that the output model also has thetaTrue, alpha_true, and epsilon_true added attributes.
- Parameters:
alpha_true (float) – Angle of Z rotation (canonical RPE requires alpha_true to be close to pi/2).
epsilon_true (float) – Angle of X rotation (canonical RPE requires epsilon_true to be close to pi/4).
y_rot (float) – Angle of rotation about Y axis that, by similarity transformation, rotates X rotation.
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)
- Returns:
The desired model for RPE; model also has attributes thetaTrue, alpha_true, and epsilon_true, automatically extracted.
- Return type: