append_default_xy8_sequence
- append_default_xy8_sequence(model, dd_duration, duration=None, spin_name='e', wait_durations=None, driving_field_name='MW_x')
Add a default XY8 pulse sequence.
The XY8 sequence consists of an X-Y-X-Y-Y-X-Y-X dynamical-decoupling pattern interleaved with pulseless intervals.
- Parameters:
model (
Model) – Model to update.dd_duration (
float) – Duration of each dynamical-decoupling \(\pi\) pulse applied to the electron spin.duration (
float) – Total duration of the pulse sequence. Ignored whenwait_durationsis provided.spin_name (
str) – Name of the electron spin.wait_durations (
List[float]) – Waiting times between the \(\pi\) pulses. Must contain 9 values when provided.driving_field_name (
str) – Name of the microwave driving field.
- Return type:
- Returns:
Updated model.
- Raises:
SimphonyError – If neither
durationnorwait_durationsdefines a valid XY8 schedule.