Eval File

This text file contains all the information for a tomography. It is essentially a conf file and a data file combined into one file.

Example:

This example is for 2 qubits using 1 detector.

conf['NQubits'] = 2
conf['NDetectors'] = 1
conf['Crosstalk'] = [[0.9842,0.0049,0.0049,0],[0.0079,0.9871,0,0.0050],[0.0079,0,0.9871,0.0050],[0.001,0.0079,0.0079,0.9901]]
conf['UseDerivative'] = 0
conf['Bellstate'] = 1
conf['DoErrorEstimation'] = 3
conf['DoDriftCorrection'] = 'no'
conf['Window'] = 0
conf['Efficiency'] = [0.9998,1.0146,0.9195,0.9265]
tomo_input = np.array(
[[1,0,0,3708,1,0,1,0],
[1,0,0,77,1,0,0,1],
[1,0,0,1791,1,0,0.7071,0.7071],
[1,0,0,2048,1,0,0.7071,0.7071j],
[1,0,0,51,0,1,1,0],
[1,0,0,3642,0,1,0,1],
[1,0,0,2096,0,1,0.7071,0.7071],
[1,0,0,1926,0,1,0.7071,0.7071j],
[1,0,0,1766,0.7071,0.7071,1,0],
[1,0,0,1914,0.7071,0.7071,0,1],
[1,0,0,1713,0.7071,0.7071,0.7071,0.7071],
[1,0,0,3729,0.7071,0.7071,0.7071,0.7071j],
[1,0,0,2017,0.7071,0.7071j,1,0],
[1,0,0,1709,0.7071,0.7071j,0,1],
[1,0,0,3686,0.7071,0.7071j,0.7071,0.7071],
[1,0,0,2404,0.7071,0.7071j,0.7071,0.7071j]])
intensity = np.array([1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1])

See Also:


Contact

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