qit.invariant.plot_makhlin_2q

qit.invariant.plot_makhlin_2q(ax: Axes3D = None, perfect_entanglers: bool = True, *, sdiv: int = 21, tdiv: int = 21) Axes3D

Plots the set of two-qubit gates in the space of Makhlin invariants.

Plots the set of two-qubit gates in the space of Makhlin invariants (see makhlin_inv), returns the Axes3D object.

Parameters
  • ax (Axes3D) – axes to plot in

  • perfect_entanglers (bool) – iff True, plot also the set of perfect entanglers

  • sdiv (int) – number of s and t divisions in the mesh

  • tdiv (int) – number of s and t divisions in the mesh

Returns

plot axes

Return type

Axes3D