Tomography.getStandardBasis

Tomography.getStandardBasis(numBit,numDet = -1)

Returns an array of standard measurements in separated pure state form for the given number of qubits. It is the same format used in the tomo_input matrix.

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:

Contact

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