iqm.benchmarks.compressive_gst.mgst.additional_fns.random_gs#
- iqm.benchmarks.compressive_gst.mgst.additional_fns.random_gs(d: int, r: int, rK: int, n_povm: int) tuple[ndarray, ndarray, ndarray, ndarray]#
Generates a random gate using the Gaussian unitary ensemble, initial state and POVM.
- Parameters:
- Returns:
- Each subarray along the first axis contains a set of Kraus operators.
The second axis enumerates Kraus operators for a gate specified by the first axis.
X: Array where random CPT superoperators are stacked along the first axis. E: Randomly generated POVM elements stacked along the first axis. rho: Random initial state vector
- Return type:
K
Notes
The Kraus operators are generated from random unitaries, see function randKrausSet