pygsti.modelmembers.operations.krausop
The KrausOperatorInterface class and supporting functionality.
Module Contents
Classes
Adds an interface for extracting the Kraus operator(s) of an operation (quantum map). |
- class pygsti.modelmembers.operations.krausop.KrausOperatorInterface
Bases:
object
Adds an interface for extracting the Kraus operator(s) of an operation (quantum map).
- abstract property kraus_operators
A list of this operation’s Kraus operators as numpy arrays.
- property num_kraus_operators
The number of Kraus operators in the Kraus decomposition of this operation.
- abstract classmethod from_kraus_operators(kraus_operators, basis='pp', evotype='default', state_space=None)
Create an operation by specifying its Kraus operators.
Parameters
- kraus_operatorslist
A list of numpy arrays, each of which specifyies a Kraus operator.
- basisstr or Basis, optional
The basis in which the created operator’s superoperator representation is in.
- 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.