iqm.benchmarks.compressive_gst.mgst.additional_fns.depol

Contents

iqm.benchmarks.compressive_gst.mgst.additional_fns.depol#

iqm.benchmarks.compressive_gst.mgst.additional_fns.depol(pdim: int, p: float) ndarray#

Kraus representation of depolarizing channel.

Parameters:
  • pdim (int) – Physical dimension

  • p (float) – Error probability

Returns:

Each entry along the first axis contains a set of Kraus operators. The second axis enumerates

Kraus operators for a gate specified by the first axis.

Return type:

K_depol

Notes

The depolarizing channel is defined as L(rho) = (1-p)*rho + p/pdim*Id.