pygsti.report.direct_lgst_gatesets¶
-
pygsti.report.
direct_lgst_gatesets
(gateStrings, dataset, specs, targetGateset, svdTruncateTo=0, verbosity=0)¶ Constructs a dictionary with keys == gate strings and values == Direct-LGST GateSets.
Parameters: - gateStrings (list of GateString or tuple objects) – The gate strings to estimate using LGST. The elements of this list are the keys of the returned dictionary.
- dataset (DataSet) – The data to use for all LGST 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.
- verbosity (int, optional) – Verbosity value to send to do_lgst(...) call.
Returns: A dictionary that relates each gate string of gateStrings to a GateSet containing the LGST estimate of that gate string stored under the gate label “GsigmaLbl”, along with LGST estimates of the gates in targetGateset.
Return type: dict