pygsti.objectivefns.objectivefns#
Defines objective-function objects
Classes
|
Holds various values of an objective function at a particular point. |
|
Model-based chi-squared function: N(p-f)^2 / p |
|
Model-based chi-alpha function: N[x + 1/(alpha * x^alpha) - (1 + 1/alpha)] where x := p/f. |
|
Model-based custom-weighted chi-squared function: cw^2 (p-f)^2 |
|
Model-based delta log-likelihood function: N*f*log(f/p). |
Additionally holds quantities at a specific model-parameter-space point. |
|
|
Model-based frequency-weighted chi-squared function: N(p-f)^2 / f |
|
A wildcard-budget bolt-on to an existing objective function. |
|
Model-based loss function: |p-f|^power. |
|
An objective function whose probabilities and counts are given by a Model and DataSet, respectively. |
|
Model-based maximum-model log-likelihood function: N*f*log(f) |
|
Contains all the information that we'd like to persist when performing (multiple) evaluations of the same circuits using the same model and data set. |
So far, this is just a base class for organizational purposes |
|
|
A factory class for building objective functions. |
|
Model-based poisson-picture delta log-likelihood function: N*f*log(f/p) - N*(f-p). |
|
The function |p-f|^power. |
|
The function N(p-f)^2 / p |
|
The function N[x + 1/(alpha * x^alpha) - (1 + 1/alpha)] where x := p/f. |
The function custom_weight^2 (p-f)^2, with custom weights that default to 1. |
|
|
The function N*f*log(f/p). |
|
The function N(p-f)^2 / f |
|
The function N*f*log(f) (note this doesn't depend on the probability!). |
|
An objective function that acts on probabilities and counts directly. |
The function N*f*log(f/p) - N*(f-p). |
|
|
The function 0.5 * |p-f|. |
|
Model-based TVD function: 0.5 * w * |p-f|, where w is a vector of weights. |
|
Represents an objective whose term function takes the form |
|
Chi-squared function that can handle time-dependent circuits and data. |
|
A time-dependent model-based objective function |
|
Poisson-picture delta log-likelihood function that can handle time-dependent circuits and data. |
|
A time-independent model-based ( |