pygsti.report.direct_mlgst_gatesets¶
-
pygsti.report.
direct_mlgst_gatesets
(gateStrings, dataset, specs, targetGateset, svdTruncateTo=0, minProbClip=1e-06, probClipInterval=(-1000000.0, 1000000.0), verbosity=0)¶ Constructs a dictionary with keys == gate strings and values == Direct-MLEGST GateSets.
Parameters: - gateStrings (list of GateString or tuple objects) – The gate strings to estimate using MLEGST. The elements of this list are the keys of the returned dictionary.
- dataset (DataSet) – The data to use for all LGST and LSGST estimates.
- specs (2-tuple) – A (prepSpecs,effectSpecs) tuple usually generated by calling build_spam_specs(...)
- targetGateset (GateSet) – The target gate set used by LGST to extract gate labels and an initial gauge
- svdTruncateTo (int, optional) – The Hilbert space dimension to truncate the gate matrices to using a SVD to keep only the largest svdToTruncateTo singular values of the I_tildle LGST matrix. Defaults to no truncation.
- minProbClip (float, optional) – defines the minimum probability “patch point” used within the logl function.
- probClipInterval (2-tuple, optional) – (min,max) to clip probabilities to within GateSet probability computation routines (see GateSet.bulk_fill_probs)
- verbosity (int, optional) – Verbosity value to send to do_lgst(...) and do_mlgst(...) calls.
Returns: A dictionary that relates each gate string of gateStrings to a GateSet containing the MLEGST estimate of that gate string stored under the gate label “GsigmaLbl”, along with MLEGST estimates of the gates in targetGateset.
Return type: dict