pygsti.construction.make_parameterized_rpe_gate_set

pygsti.construction.make_parameterized_rpe_gate_set(alphaTrue, epsilonTrue, Yrot, SPAMdepol, gateDepol=None, withId=True)

Make a gateset for simulating RPE, paramaterized by rotation angles. Note that the output gateset also has thetaTrue, alphaTrue, and epsilonTrue added attributes.

Parameters:
  • alphaTrue (float) – Angle of Z rotation (canonical RPE requires alphaTrue to be close to pi/2).
  • epsilonTrue (float) – Angle of X rotation (canonical RPE requires epsilonTrue to be close to pi/4).
  • Yrot (float) – Angle of rotation about Y axis that, by similarity transformation, rotates X rotation.
  • SPAMdepol (float) – Amount to depolarize SPAM by.
  • gateDepol (float, optional) – Amount to depolarize gates by (defaults to None).
  • withId (bool, optional) – Do we include (perfect) identity or no identity? (Defaults to False; should be False for RPE, True for GST)
Returns:

The desired gateset for RPE; gateset also has attributes thetaTrue, alphaTrue, and epsilonTrue, automatically extracted.

Return type:

GateSet