Conf File

This file states the configurations of the tomography. The syntax of the txt file is python. You write the conf settings just like you would set a python dictionary.

These are the following configuration settings:

  • 'NQubits'
    • Values : >= 1
    • Desc : The number of qubits the quantum state has. It will take exponentially more time for more qubits.
    • Default : 2
  • 'NDetectors'
    • Values : 1 or 2
    • Desc : The number of detectors per qubit used during the physical tomography of the quantum state.
    • Default : 1
  • 'ctalk'
    • Values : matrix that is (2^NQubits) by (2^NQubits)
    • Desc : Cross talk Matrix of the setup.
    • Default : identity matrix with appropriate size
  • 'Bellstate'
    • Values : 'no' or 'yes'
    • Desc : Give the optimal measurement settings for a CHSH bell inequality for the estimated density matrix. These settings are found through a numerical search over all possible measurement settings.
    • Default : 'no'
  • 'DoDriftCorrection'
    • Values : 'no' or 'yes'
    • Desc : Whether of not you want to perform drift correction on the state
    • Default : 'no'
  • 'DoAccidentalCorrection'
    • Values : 'no' or 'yes'
    • Desc : Whether of not you want to perform accidental corrections on the state.
    • Default : 'no'
  • 'Window'
    • Values : 0 or array like, dimension = 1
    • Desc : Coincidence window durations (in nanoseconds) to calculate the accidental rates. The four windows should be entered in the order of the detector pairs 1-2, 1-4, 3-2, 3-4, where A-B corresponds to a coincidence measurement between detector A and detector B.
    • Default : '0'
  • 'Efficiency'
    • Values : 0 or array like, dimension = 1
    • Desc : vector that lists the relative coincidence efficiencies of detector pairs when using 2 detectors per qubit. The order is detector 1-2, 1-4, 3-2, 3-4.
    • Default : 0

Example:

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]

See Also:


Contact

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