pygsti.algorithms.make_prep_mxs

pygsti.algorithms.make_prep_mxs(gs, prepFidList)

Makes a list of matrices, where each matrix corresponds to a single preparation operation in the gate set, and the column of each matrix is a fiducial acting on that state preparation.

Parameters:
  • gs (GateSet) – The gate set (associates gate matrices with gate labels).
  • prepFidList (list of GateStrings) – List of fiducial gate sequences for preparation.
  • Returns
  • ----------
  • outputMatList (list of arrays) – List of arrays, where each array corresponds to one preparation in the gate set, and each column therein corresponds to a single fiducial.