quara.protocol.qtomography.standard.standard_qmpt module¶
- class StandardQmpt(experiment, set_qoperations)[source]¶
Bases:
quara.protocol.qtomography.standard.standard_qtomography.StandardQTomographyinitialize standard quantum tomography class.
To inherit from this class, set the following instance variables in the constructor of the subclass.
_coeffs_0th: return value ofget_coeffs_0thfunction._coeffs_1st: return value ofget_coeffs_1stfunction._map_experiment_to_setqoperations: a map from indices of Experiment to indices of SetQOperations.if you map the 0th state to the 1st state, set
{("state", 0): ("state", 1)}.
_map_setqoperations_to_experiment: a map from indices of SetQOperations to indices of Experiment.
- Parameters
experiment (Experiment) – Experiment class used in quantum tomography.
set_qoperations (SetQOperations) – SetQOperations class used in quantum tomography.