iqm.benchmarks.compressive_gst.mgst.utils_gst

iqm.benchmarks.compressive_gst.mgst.utils_gst#

Utility functions for mGST.

Functions

average_gate_fidelities(X1, X2)

Return the average gate fidelities between gates of two pygsti models.

basis_transform(matrix[, in_basis, out_basis])

Transform a matrix or vector between standard and Pauli bases.

pp2std(Xpp, Epp, rhopp)

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

std2pp(X, E, rho)

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