iqm.benchmarks.compressive_gst.mgst.reporting.reporting.generate_Choi_EV_table

iqm.benchmarks.compressive_gst.mgst.reporting.reporting.generate_Choi_EV_table#

iqm.benchmarks.compressive_gst.mgst.reporting.reporting.generate_Choi_EV_table(X_opt: ndarray, n_evals: int, gate_labels: dict[int, str], filename: str | None = None) DataFrame#

Outputs a .tex document containing a table with the larges eigenvalues of the Choi matrix for each gate.

Parameters:
  • X_opt (ndarray) – Array where CPT superoperators in standard basis are stacked along the first axis.

  • n_evals (int) – Number of eigenvalues to be returned

  • gate_labels (dict[int, str]) – The names of gates in the gate set

  • filename (str | None) – The file name of the output .tex file

Return type:

DataFrame