pygsti.modelmembers.povms.tppovm

Defines the TPPOVM class

Module Contents

Classes

TPPOVM

A POVM whose sum-of-effects is constrained to what, by definition, we call the "identity".

class pygsti.modelmembers.povms.tppovm.TPPOVM(effects, evotype=None, state_space=None)

Bases: pygsti.modelmembers.povms.basepovm._BasePOVM

A POVM whose sum-of-effects is constrained to what, by definition, we call the “identity”.

Parameters
  • effects (dict of POVMEffects or array-like) – A dict (or list of key,value pairs) of the effect vectors. The final effect vector will be stripped of any existing parameterization and turned into a ComplementPOVMEffect which has no additional parameters and is always equal to identity - sum(other_effects, where identity is the sum of effects when this __init__ call is made.

  • evotype (Evotype or str, optional) – The evolution type. If None, the evotype is inferred from the first effect vector. If len(effects) == 0 in this case, an error is raised.

  • state_space (StateSpace, optional) – The state space for this POVM. If None, the space is inferred from the first effect vector. If len(effects) == 0 in this case, an error is raised.

__reduce__(self)

Needed for OrderedDict-derived classes (to set dict items)