Tomography.getTomoInputTemplate

Tomography.getTomoInputTemplate()

returns a standard template for tomo_input for the given number of qubits.

Parameters:
  • numBits : int

    number of qubits you want for each measurement. Default will use the number of qubits in the current configurations.

  • numDet : 1 or 2

    Number of detectors for each measurement Default will use the number of qubits in the current configurations.

Returns:
  • Tomoinput : ndarray

    The input data for the current tomography.Example can be seen at top of page.


Contact

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