Experiments¶
- class lightworks.tomography.experiments.ProcessTomographyExperiment(*, circuit: PhotonicCircuit, input_state: State, input_basis: str, measurement_basis: str)¶
Bases:
_TomographyExperimentContains the data for running a required tomography experiment.
- class lightworks.tomography.experiments.ProcessTomographyList(initlist=None)¶
Bases:
_TomographyList[ProcessTomographyExperiment]Stores a list of tomography experiments.
- property all_input_basis: list[str]¶
Returns a list of the input basis used for each tomography experiment.
- class lightworks.tomography.experiments.StateTomographyExperiment(*, circuit: PhotonicCircuit, measurement_basis: str)¶
Bases:
_TomographyExperimentContains the data for running a required state tomography experiment.
- class lightworks.tomography.experiments.StateTomographyList(initlist=None)¶
Bases:
_TomographyList[StateTomographyExperiment]Stores a list of state tomography experiments.
- class lightworks.tomography.experiments._TomographyExperiment¶
Bases:
objectContains the data for running a required state tomography experiment.
- class lightworks.tomography.experiments._TomographyList(initlist=None)¶
Bases:
UserList[TE]Base class for all list of tomography experiments.
- property all_circuits: list[PhotonicCircuit]¶
Returns a list of circuits corresponding to each of the tomography experiments in the list.
- property all_measurement_basis: list[str]¶
Returns a list of the measurement basis used for each tomography experiment.