iqm.benchmarks.compressive_gst.mgst.utils_gst.std2pp

Contents

iqm.benchmarks.compressive_gst.mgst.utils_gst.std2pp#

iqm.benchmarks.compressive_gst.mgst.utils_gst.std2pp(X: ndarray, E: ndarray, rho: ndarray) tuple[ndarray, ndarray, ndarray]#

Basis change of an mGST model from the standard basis to the Pauli basis.

Parameters:
  • X (ndarray) – Gate set tensor of shape (Number of Gates, Kraus rank, dimension^2, dimension^2) in standard basis

  • E (ndarray) – POVM matrix of shape (#POVM elements, dimension^2) in standard basis

  • rho (ndarray) – Initial state vector of shape (dimension^2) in standard basis

Returns:

Gate set tensor of shape (Number of Gates, Kraus rank, dimension^2, dimension^2) in Pauli basis Epp: POVM matrix of shape (#POVM elements, dimension^2) in Pauli basis rhopp: Initial state vector of shape (dimension^2) in Pauli basis

Return type:

Xpp