pygsti.modelmembers.term

pygsti.modelmembers.term#

Defines classes which represent terms in gate expansions

Functions

compose_terms(terms)

Compose a sequence of terms.

compose_terms_with_mag(terms, magnitude)

Compose multiple terms and set the resulting term's magnitude.

exponentiate_terms(terms, order, postterm[, ...])

Exponentiate a list of terms.

exponentiate_terms_above_mag(terms, order, ...)

Exponentiate a list of terms with magnitude above min_term_mag.

Classes

RankOneDirectEffectTerm(rep, evotype)

A POVM effect term with numerical coefficient (and no magnitude tracking).

RankOneDirectOpTerm(rep, evotype)

An operation term with numerical coefficient (and no magnitude tracking).

RankOneDirectPrepTerm(rep, evotype)

A state preparation term with numerical coefficient (and no magnitude tracking).

RankOneEffectTerm(rep, evotype)

A POVM effect term.

RankOneEffectTermWithMagnitude(rep, evotype)

A POVM effect term with magnitude tracking.

RankOneOpTerm(rep, evotype)

An operation term.

RankOneOpTermWithMagnitude(rep, evotype)

An operation term with magnitude tracking.

RankOnePolynomialEffectTerm(rep, evotype)

A POVM effect term with polynomial coefficient.

RankOnePolynomialEffectTermWithMagnitude(...)

A POVM effect term with polynomial coefficient and magnitude tracking.

RankOnePolynomialOpTerm(rep, evotype)

An operation term with polynomial coefficient.

RankOnePolynomialOpTermWithMagnitude(rep, ...)

An operation term with polynomial coefficient and magnitude tracking.

RankOnePolynomialPrepTerm(rep, evotype)

A state preparation term with polynomial coefficient.

RankOnePolynomialPrepTermWithMagnitude(rep, ...)

A state preparation term with polynomial coefficient and magnitude tracking.

RankOnePrepTerm(rep, evotype)

A state preparation term.

RankOnePrepTermWithMagnitude(rep, evotype)

A state preparation term with magnitude tracking.

RankOneTerm(rep, evotype)

An operation, like a gate, that maps a density matrix to another density matrix but in a restricted way.