Tomography.tomography_states_generator

Tomography.tomography_states_generator(n)

Uses monte carlo simulation to create random states similar to the estimated state. The states are also saved under self.mont_carlo_states

Parameters:
  • n : int

    Number of approximate states you want to create. If no value is given it will use the conf settings.

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

    The approximate density matrices.

  • intenp : 1darray with length = n

    The intensity of each approximate density matrices.

  • fvalp : 1darray with length = n

    The fval of the regression associated with each approximate density matrices.


Contact

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