pygsti.modelmembers.term.compose_terms#
- compose_terms(terms)#
Compose a sequence of terms.
Composition is done with time ordered left-to-right. Thus composition order is NOT the same as usual matrix order. E.g. if there are three terms: terms[0] = T0: rho -> A*rho*A terms[1] = T1: rho -> B*rho*B terms[2] = T2: rho -> C*rho*C Then the resulting term T = T0*T1*T2 : rho -> CBA*rho*ABC, so that term[0] is applied first not last to a state.
- Parameters:
terms (list) – A list of
RankOneTermobjects to compose.- Return type: