pygsti.modelmembers.povms.unconstrainedpovm
Defines the UnconstrainedPOVM class
Module Contents
Classes
A POVM that just holds a set of effect vectors, parameterized individually however you want. |
- class pygsti.modelmembers.povms.unconstrainedpovm.UnconstrainedPOVM(effects, evotype=None, state_space=None, called_from_reduce=False)
Bases:
pygsti.modelmembers.povms.basepovm._BasePOVM
A POVM that just holds a set of effect vectors, parameterized individually however you want.
Parameters
- effectsdict of POVMEffects or array-like
A dict (or list of key,value pairs) of the effect vectors.
- evotypeEvotype 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_spaceStateSpace, 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.
Creates a new BasePOVM object.
Parameters
- effectsdict of POVMEffects or array-like
A dict (or list of key,value pairs) of the effect vectors.
- evotypeEvotype 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_spaceStateSpace, 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.
- preserve_sumbool, optional
If true, the sum of effects is taken to be a constraint and so the final effect vector is made into a
ComplementPOVMEffect
.