iqm.benchmarks.compressive_gst.mgst.additional_fns.random_gs_Haar#
- iqm.benchmarks.compressive_gst.mgst.additional_fns.random_gs_Haar(d: int, r: int, rK: int, n_povm: int) tuple[ndarray, ndarray, ndarray, ndarray]#
Generates a random gate set with gates from Haar random unitaries, 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.
- Return type:
K
Notes
The Kraus operators are generated from Haar random unitaries, see function randKrausSet_Haar