Tomography.importEval

Tomography.importEval(evaltxt)

Import a eval file containing the tomography data and the configuration setting, then run tomography.

Parameters:
  • evaltxt : string

    path to eval 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.