Add a virtual Z rotation to a model.
model (Model) – Model to update.
Model
spin_name (str) – Name of the spin receiving the phase shift.
str
angle (float) – Rotation angle.
float
Updated model.