Tomography.importData

Tomography.importData(datatxt)

Import a text file containing the tomography data and run tomography.

Parameters:
  • datatxt : string

    path to data file

Returns:
  • rhog : ndarray with shape = (2^numQubits, 2^numQubits)

    The predicted density matrix.

  • intensity : float

    The predicted overall intensity used to normalize the state.

  • fvalp : float

    Final value of the internal optimization function. Values greater than the number of measurements indicate poor agreement with a quantum state.


Contact

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