plot_pauli_bar_rep_of_state

forest.benchmarking.plotting.plot_pauli_bar_rep_of_state(state_pl_basis, ax, labels, title)

Visualize a quantum state in the Pauli-Liouville basis. The magnitude of the operator coefficients are represented by the height of a bar in the bargraph.

Parameters:
  • state_pl_basis (numpy.ndarray) – The quantum state represented in the Pauli-Liouville basis.
  • ax – The matplotlib axes.
  • labels – The labels for the operator basis states.
  • title – The title for the plot.