pygsti.modelmembers.operations.staticarbitraryop
The StaticArbitraryOp class and supporting functionality.
Module Contents
Classes
An operation matrix that is completely fixed, or "static" (i.e. that posesses no parameters). |
- class pygsti.modelmembers.operations.staticarbitraryop.StaticArbitraryOp(m, basis=None, evotype='default', state_space=None)
Bases:
pygsti.modelmembers.operations.denseop.DenseOperator
,pygsti.modelmembers.errorgencontainer.NoErrorGeneratorInterface
An operation matrix that is completely fixed, or “static” (i.e. that posesses no parameters).
Parameters
- marray_like or LinearOperator
a square 2D array-like or LinearOperator object representing the operation action. The shape of m sets the dimension of the operation.
- basisBasis or {‘pp’,’gm’,’std’} or None
The basis used to construct the Hilbert-Schmidt space representation of this state as a super-operator. If None, certain functionality, such as access to Kraus operators, will be unavailable.
- evotypeEvotype or str, optional
The evolution type. The special value “default” is equivalent to specifying the value of pygsti.evotypes.Evotype.default_evotype.
- state_spaceStateSpace, optional
The state space for this operation. If None a default state space with the appropriate number of qubits is used.
Initialize a new LinearOperator