paulie.application.animation.animation_anti_commutation_graph#

paulie.application.animation.animation_anti_commutation_graph(generators, storage=None, interval=1000, show=False)#

Generates an animation showing the transformation of the anti-commutation graph into canonical form.

Parameters:
  • generators (PauliStringCollection) – Collection of Pauli strings.

  • storage (dict[str, str], optional) – Location and format to save the animation to.

  • interval (int, optional) – Interval between recording frames in milliseconds.

  • show (bool, optional) – Whether to display the animation window.

Returns:

matplotlib.animation.Animation