pygsti.objectsΒΆ
Gate Set Tomography Objects Python Package
Functions
compose (gate1, gate2[, parameterization]) |
Returns a new Gate that is the composition of gate1 and gate2. |
optimize_gate (gateToOptimize, targetGate) |
Optimize the parameters of gateToOptimize so that the the resulting gate matrix is as close as possible to targetGate’s matrix. |
Classes
ConfidenceRegion (gateset, hessian, ...[, ...]) |
Encapsulates a hessian-based confidence region in gate-set space. |
DataSet ([counts, gateStrings, ...]) |
The DataSet class associates gate strings with counts for each spam label, and can be thought of as a table with gate strings labeling the rows and spam labels labeling the columns. |
EvalTree ([items]) |
An Evaluation Tree. |
FullyParameterizedGate (M) |
Encapsulates a gate matrix that is fully parameterized, that is, each element of the gate matrix is an independent parameter. |
FullyParameterizedSPAMVec (vec) |
Encapsulates a SPAM vector that is fully parameterized, that is, each element of the SPAM vector is an independent parameter. |
Gate ([mx]) |
Excapulates a parameterization of a gate matrix. |
GateSet ([default_param, prep_prefix, ...]) |
Encapsulates a set of gate, state preparation, and POVM effect operations. |
GateString (tupleOfGateLabels[, ...]) |
Encapsulates a gate string as a tuple of gate labels associated with a string representation for that tuple. |
LinearlyParameterizedGate (baseMatrix, ...[, ...]) |
Encapsulates a gate matrix that is parameterized such that each element of the gate matrix depends only linearly on any parameter. |
MultiDataSet ([countsDict, gateStrings, ...]) |
The MultiDataSet class allows for the combined access and storage of several static DataSets that contain the same gate strings (in the same order). |
SPAMVec (vec) |
Excapulates a parameterization of a state preparation OR POVM effect vector. |
SpamSpec (label, gatestring) |
Encapsulates a rho- or E-vector label paired with a gate string, which serves as either a “prep-specifier” or an “effect-specifier” respectively. |
StaticGate (M) |
Encapsulates a gate matrix that is completely fixed, or “static”, meaning that is contains no parameters. |
StaticSPAMVec (vec) |
Encapsulates a SPAM vector that is completely fixed, or “static”, meaning that is contains no parameters. |
TPParameterizedGate (M) |
Encapsulates a gate matrix that is fully parameterized except for the first row, which is frozen to be [1 0 ... |
TPParameterizedSPAMVec (vec) |
Encapsulates a SPAM vector that is fully parameterized except for the first element, which is frozen to be 1/(d**0.25). |
WeightedGateString (tupleOfGateLabels[, ...]) |
A GateString that contains an additional “weight” member used for building up weighted lists of gate strings. |
Exceptions
GSTRuntimeError |
Gate Set Tomography run-time exception class. |
GSTValueError |
Gate Set Tomography value error exception class. |