plot_sequences

qctrlvisualizer.plot_sequences(figure, seq)

Creates plot of dynamical decoupling sequences.

Parameters
  • figure (matplotlib.figure.Figure) – The matplotlib Figure in which the plots should be placed. The dimensions of the Figure will be overridden by this method.

  • seq (dict) – The dictionary of controls to plot. Works the same as the dictionary for plot_controls, but takes ‘offset’ instead of ‘duration’ and ‘rotation’ instead of ‘value’. Rotations can be around any axis in the XY plane. Information about this axis is encoded in the complex argument of the rotation. For example, a pi X-rotation is represented by the complex number 3.14+0.j, whereas a pi Y-rotation is 0.+3.14j. The argument of the complex number is plotted separately as the azimuthal angle.