Table of Contents

TomoClass

  • Tomography
  • filter_data
  • getBasisMeas
  • getBellSettings
  • getMeasurements
  • getNumBits
  • getTimes
  • linear_tomography
  • maximum_likelihood_tomography
  • mont_carl_states
  • setConfSetting
  • state_tomography
  • tomo_input
  • tomography_states_generator

TomoFunctions

  • performOperation
  • toDensity

TomoDisplay

  • printLastOutput

Other Files

Class

Tomography

Tomography()

This is the main tomography object that the library is built around.

The goal is to only have one tomography object and edit the configuration settings as you go.
The constructor initalizes the conf settings and error functions with the default values below:

self.conf = {'NQubits': 2,
'NDetectors': 1,
'Crosstalk': np.array([[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]),
'Bellstate': 0,
'DoDriftCorrection': 0,
'DoAccidentalCorrection' : 1,
'DoErrorEstimation': 0,
'Window': 0,
'Efficiency': 0,
'RhoStart': [],
'IntensityMap': [[1]],
'Beta': 0}
self.err_functions = ['concurrence','tangle','entropy','linear_entropy','negativity','purity']

See Also:

  • err_functions
  • importEval
  • importConf
  • importData

Contact

In case you have any further questions about the Python code, you should direct them to Scott Turro.