random_bell_state

random_bell_state(N)

Randomly returns one of the 4 bell state. For 1 qubits on of the standard basis states is returned. For states with dimension greater then 2 the Greenberger-Horne-Zeilingerstate is returned with a random phase.

Parameters:
Returns:
  • pure_state : ndarray with shape = (2^N, 2^N)

    The random quantum state.


Contact

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