pygsti.modelmembers.povms.fullpureeffect

The FullPOVMPureEffect class and supporting functionality.

Module Contents

Classes

FullPOVMPureEffect

TODO: docstring

class pygsti.modelmembers.povms.fullpureeffect.FullPOVMPureEffect(vec, basis='pp', evotype='default', state_space=None)

Bases: pygsti.modelmembers.povms.conjugatedeffect.ConjugatedStatePOVMEffect

TODO: docstring A “fully parameterized” effect vector where each element is an independent parameter.

Parameters
  • vec (array_like or POVMEffect) – a 1D numpy array representing the POVM effect. The shape of this array sets the dimension of the POVM effect.

  • evotype (Evotype or str, optional) – The evolution type. The special value “default” is equivalent to specifying the value of pygsti.evotypes.Evotype.default_evotype.

set_dense(self, vec)

Set the dense-vector value of this POVM effect vector.

Attempts to modify this POVM effect vector’s parameters so that the raw POVM effect vector becomes vec. Will raise ValueError if this operation is not possible.

Parameters

vec (array_like or POVMEffect) – A numpy array representing a POVM effect vector, or a POVMEffect object.

Returns

None