iqm.benchmarks.compressive_gst.mgst.reporting.reporting.dephasing_dist

Contents

iqm.benchmarks.compressive_gst.mgst.reporting.reporting.dephasing_dist#

iqm.benchmarks.compressive_gst.mgst.reporting.reporting.dephasing_dist(prob_vec: list[float], X_pp: ndarray) float#

Returns the distance between a given channel and a local dephasing channel with given probabilities.

Parameters:
  • prob_vec (list[float]) – A list of dephasing probabilities

  • X_pp (ndarray) – Array where CPT superoperators in Pauli basis are stacked along the first axis.

Returns:

The norm between the channel difference

Return type:

float