pygsti.modelmembers.operations.lpdenseop.LinearlyParameterizedElementTerm

pygsti.modelmembers.operations.lpdenseop.LinearlyParameterizedElementTerm#

class LinearlyParameterizedElementTerm(coeff=1.0, param_indices=None)#

Bases: object

Encapsulates a single term within a LinearlyParamArbitraryOp.

Parameters:
  • coeff (float, optional) – The term’s coefficient

  • param_indices (list) – A list of integers, specifying which parameters are muliplied together (and finally, with coeff) to form this term.

Create a new LinearlyParameterizedElementTerm

Parameters:
  • coeff (float, optional) – The term’s coefficient

  • param_indices (list) – A list of integers, specifying which parameters are muliplied together (and finally, with coeff) to form this term.

Methods

__init__([coeff, param_indices])

Create a new LinearlyParameterizedElementTerm