pygsti.report.direct_lgst_gateset¶
-
pygsti.report.
direct_lgst_gateset
(gateStringToEstimate, gateStringLabel, dataset, specs, targetGateset, svdTruncateTo=0, verbosity=0)¶ Constructs a gateset of LGST estimates for target gates and gateStringToEstimate.
Parameters: - gateStringToEstimate (GateString or tuple) – The single gate string to estimate using LGST
- gateStringLabel (string) – The label for the estimate of gateStringToEstimate. i.e. gate_matrix = returned_gateset[gate_label]
- dataset (DataSet) – The data to use for LGST
- 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 gateset containing LGST estimates of gateStringToEstimate and the gates of targetGateset.
Return type: Gateset