rand_map_with_BCSZ_dist¶
-
forest.benchmarking.operator_tools.random_operators.
rand_map_with_BCSZ_dist
(dim: int, kraus_rank: int) → numpy.ndarray¶ Given a Hilbert space dimension dim and a Kraus rank K, returns a dim^2 by dim^2 Choi matrix J(Λ) of a channel drawn from the BCSZ distribution with Kraus rank K [RQO].
[RQO] Random quantum operations. Bruzda et al. Physics Letters A 373, 320 (2009). https://doi.org/10.1016/j.physleta.2008.11.043 https://arxiv.org/abs/0804.2361 Parameters: - dim – Hilbert space dimension.
- kraus_rank – The number of Kraus operators in the operator sum description of the channel.
Returns: dim^2 by dim^2 Choi matrix, drawn from the BCSZ distribution with Kraus rank K.