pygsti.modelmembers.term.exponentiate_terms_above_mag#
- exponentiate_terms_above_mag(terms, order, postterm, cache=None, min_term_mag=None)#
Exponentiate a list of terms with magnitude above min_term_mag.
This function collects those terms of the orders given in orders. Optionally post-multiplies the single term postterm (so this term actually acts before the exponential-derived terms).
- Parameters:
terms (list) – The list of terms to exponentiate. All these terms are considered “first order” terms.
order (int) – Integer specifying the order to compute.
postterm (RankOneTerm) – A term that is composed first (so “post” in the sense of matrix multiplication, not composition).
cache (dict, optional) – A cache to speedup repeated calls. Currently unused because min_term_mag is likely to be different on every call.
min_term_mag (float, optional) – The minimum term magnitude.
- Return type:
list